1
1
This commit was SVN r11338.
Этот коммит содержится в:
George Bosilca 2006-08-22 23:49:57 +00:00
родитель 63fe3bb2d9
Коммит 663175df1a
2 изменённых файлов: 5 добавлений и 3 удалений

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

@ -582,7 +582,6 @@ main(int argc, char *argv[])
free(exec_argv[0]);
exec_argv[0] = tmp;
//free(tmp);
ret = opal_few(exec_argv, &status);
exit_status = WIFEXITED(status) ? WEXITSTATUS(status) :
(WIFSIGNALED(status) ? WTERMSIG(status) :

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

@ -20,6 +20,9 @@
#include <stdlib.h>
#include <string.h>
#if HAVE_DIRNAME
#include <libgen.h>
#endif /* HAVE_DIRNAME */
#include "opal/util/basename.h"
#include "opal/util/os_path.h"
@ -42,7 +45,7 @@ static inline char* opal_find_last_path_separator( const char* filename, size_t
if( (*p != '\\') && (*p != '/') )
break;
#else
if( *p != OPAL_PATH_SEP )
if( *p != OPAL_PATH_SEP[0] )
break;
#endif /* defined(__WINDOWS__) */
}
@ -52,7 +55,7 @@ static inline char* opal_find_last_path_separator( const char* filename, size_t
if( (*p == '\\') || (*p == '/') )
return p;
#else
if( *p == OPAL_PATH_SEP )
if( *p == OPAL_PATH_SEP[0] )
return p;
#endif /* defined(__WINDOWS__) */
}