[ofw] [PATCH] opensm: create all directories in database path

Hal Rosenstock hal.rosenstock at gmail.com
Thu Apr 21 07:28:37 PDT 2011


On Thu, Apr 21, 2011 at 10:21 AM, Hefty, Sean <sean.hefty at intel.com> wrote:
>> Latest main/Linux version of this file shows:
>>
>>         /* Create the directory if it doesn't exist */
>>         /* There is a difference in creating directory between windows
>> and linux */
>> #ifdef __WIN__
>>         /* Check if the directory exists. If not - create it. */
>>         CreateDirectory(p_db_imp->db_dir_name, NULL);
>> #else
>>
>> so this hadn't been pushed for the previous change. Shouldn't these be
>> in sync to make Windows port easier next time around ?
>
> IMO, all changes to opensm should go through the Linux tree.  I'll submit a patch against it to do the same.

Thanks.

I agree with one minor clarification: changes to opensm core rather
than all changes to opensm. I know certain things: complib and even
ib_types.h are separate implementations.



More information about the ofw mailing list