1
1

Correct a comment and protect the usage of the environ variable against Windows.

This commit was SVN r11397.
Этот коммит содержится в:
George Bosilca 2006-08-24 16:18:42 +00:00
родитель 76d2a0bb74
Коммит e04032ca2f
2 изменённых файлов: 6 добавлений и 4 удалений

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

@ -2,7 +2,7 @@
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University
* Copyright (c) 2004-2006 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
@ -68,7 +68,9 @@
#include "orte/tools/orted/orted.h"
extern char**environ;
#if !defined(__WINDOWS__)
extern char** environ;
#endif /* !defined(__WINDOWS__) */
orted_globals_t orted_globals;

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

@ -3,7 +3,7 @@
* Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University
* Copyright (c) 2004-2006 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
@ -1324,7 +1324,7 @@ static int create_app(int argc, char* argv[], orte_app_context_t **app_ptr,
}
if (NULL != param) {
/* "Parse" the param, aka remove superfluous path_sep "/". */
/* "Parse" the param, aka remove superfluous path_sep. */
param_len = strlen(param);
while (0 == strcmp (OPAL_PATH_SEP, &(param[param_len-1]))) {
param[param_len-1] = '\0';