>so this hadn't been pushed for the previous change. Shouldn't these be
>in sync to make Windows port easier next time around ?
Yes - Uri submitted a patch to create a directory months ago...seems the patch
fell by the wayside?
Uri's original patch plus Sean's enhancement should be in the opensm mainline.
stan.
>
>-- Hal
>
>> + {
>> + int ret;
>> +
>> + /* Check if the directory exists. If not - create it. */
>> + ret = SHCreateDirectoryEx(NULL, p_db_imp->db_dir_name, NULL);
>> + if (ret != ERROR_SUCCESS && ret != ERROR_ALREADY_EXISTS &&
>> + ret != ERROR_FILE_EXISTS) {
>> OSM_LOG(p_log, OSM_LOG_ERROR, "ERR 0x%x: "
>> "Failed to create the db directory:%s\n",
>> - gle, p_db_imp->db_dir_name);
>> + ret, p_db_imp->db_dir_name);
>> OSM_LOG_EXIT(p_log);
>> return 1;
>> }
>>
>> _______________________________________________
>> ofw mailing list
>> [email protected]
>> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
>>
_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw