1
1

Wow - fix an error that has been around for a long time. opal_path_access requires a NULL pointer, not an empty string, to correctly operate.

Thanks to Marco Atzeri for chasing this down!

cmr:v1.6,v1.7

This commit was SVN r27539.
Этот коммит содержится в:
Ralph Castain 2012-10-31 14:10:51 +00:00
родитель 6f9dd378eb
Коммит a1c51dc1d6

Просмотреть файл

@ -85,7 +85,7 @@ char *opal_path_find(char *fname, char **pathv, int mode, char **envv)
/* If absolute path is given, return it without searching. */
if( opal_path_is_absolute(fname) ) {
return opal_path_access(fname, "", mode);
return opal_path_access(fname, NULL, mode);
}
/* Initialize. */