From: <bh...@us...> - 2011-01-31 20:36:32
|
Revision: 19837 http://x10.svn.sourceforge.net/x10/?rev=19837&view=rev Author: bherta Date: 2011-01-31 20:36:26 +0000 (Mon, 31 Jan 2011) Log Message: ----------- removed the non-zero return code warning messages, since the problem they were added to highlight in the nightly regression tests appears to have been solved. Modified Paths: -------------- trunk/x10.runtime/x10rt/sockets/Launcher.cc Modified: trunk/x10.runtime/x10rt/sockets/Launcher.cc =================================================================== --- trunk/x10.runtime/x10rt/sockets/Launcher.cc 2011-01-31 20:22:49 UTC (rev 19836) +++ trunk/x10.runtime/x10rt/sockets/Launcher.cc 2011-01-31 20:36:26 UTC (rev 19837) @@ -408,8 +408,10 @@ if (waitpid(_pidlst[_numchildren], &status, 0) == _pidlst[_numchildren]) { exitcode = WEXITSTATUS(status); + #ifdef DEBUG if (exitcode != 0) fprintf(stderr, "Launcher %d: Non-zero return code from local runtime (pid=%d), status=%d (previous stored status=%d)\n", _myproc, _pidlst[_numchildren], exitcode, _returncode); + #endif _pidlst[_numchildren] = -1; } } @@ -897,10 +899,10 @@ if (i == _singleton->_numchildren) { #ifdef DEBUG - fprintf(stderr, "Launcher %d: SIGCHLD from runtime (pid=%d), status=%d\n", _singleton->_myproc, pid, WEXITSTATUS(status)); - #endif + fprintf(stderr, "Launcher %d: SIGCHLD from runtime (pid=%d), status=%d\n", _singleton->_myproc, pid, WEXITSTATUS(status)); if (WEXITSTATUS(status) != 0) fprintf(stderr, "Launcher %d: non-zero return code from local runtime (pid=%d), status=%d (previous stored status=%d)\n", _singleton->_myproc, pid, WEXITSTATUS(status), WEXITSTATUS(_singleton->_returncode)); + #endif _singleton->_returncode = WEXITSTATUS(status); if (_singleton->_runtimePort) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |