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

Hefty, Sean sean.hefty at intel.com
Thu Apr 21 07:21:52 PDT 2011


> 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.


More information about the ofw mailing list