Changeset 27592
- Timestamp:
- Apr 3, 2010, 2:02:46 PM (16 years ago)
- Location:
- trunk/Ohana/src/opihi
- Files:
-
- 3 edited
-
lib.shell/gprint.c (modified) (1 diff)
-
pcontrol/StartHost.c (modified) (1 diff)
-
pcontrol/StopHosts.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/gprint.c
r27435 r27592 351 351 352 352 // there are two strerror_r implementations; choose the right one: 353 #if (( _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE)353 #if (((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE) || __APPLE__) 354 354 strerror_r (myError, errorBuf, MAX_ERROR_LENGTH); 355 355 errorMsg = errorBuf; -
trunk/Ohana/src/opihi/pcontrol/StartHost.c
r27435 r27592 14 14 if (VarConfig ("SHELL", "%s", shell) == NULL) strcpy (shell, "pclient"); 15 15 16 if (VerboseMode()) gprint (GP_ERR, "starting host within thread %lld\n", (long long) pthread_self()); 17 16 if (VerboseMode()) gprint (GP_ERR, "starting host within thread %lld\n", (int64_t) pthread_self()); 18 17 pid = rconnect (command, host[0].hostname, shell, stdio); 19 18 if (!pid) { -
trunk/Ohana/src/opihi/pcontrol/StopHosts.c
r27435 r27592 121 121 int i, result, waitstatus; 122 122 123 #ifndef __APPLE__ 123 124 if (VerboseMode()) gprint (GP_ERR, "harvesting within thread %lld\n", (long long) pthread_self()); 125 #endif 124 126 if (VerboseMode()) gprint (GP_ERR, "child process %d is down, wait for exit status\n", pid); 125 127
Note:
See TracChangeset
for help on using the changeset viewer.
