From: <ped...@us...> - 2007-06-30 21:15:48
|
Revision: 1028 http://svn.sourceforge.net/cegcc/?rev=1028&view=rev Author: pedroalves Date: 2007-06-30 14:15:46 -0700 (Sat, 30 Jun 2007) Log Message: ----------- * rshd.c (stdin_thread): If connection closed gracefully but child is still running, return 1. Remove unneeded log call. Modified Paths: -------------- trunk/cegcc/tools/rshd/ChangeLog trunk/cegcc/tools/rshd/rshd.c Modified: trunk/cegcc/tools/rshd/ChangeLog =================================================================== --- trunk/cegcc/tools/rshd/ChangeLog 2007-06-30 21:13:29 UTC (rev 1027) +++ trunk/cegcc/tools/rshd/ChangeLog 2007-06-30 21:15:46 UTC (rev 1028) @@ -1,5 +1,10 @@ 2007-06-30 Pedro Alves <ped...@po...> + * rshd.c (stdin_thread): If connection closed gracefully but child + is still running, return 1. Remove unneeded log call. + +2007-06-30 Pedro Alves <ped...@po...> + * Makefile (LDFLAGS): Clear. (CFLAGS): Remove PipeLib reference. (PIPELIBDIR): New. Modified: trunk/cegcc/tools/rshd/rshd.c =================================================================== --- trunk/cegcc/tools/rshd/rshd.c 2007-06-30 21:13:29 UTC (rev 1027) +++ trunk/cegcc/tools/rshd/rshd.c 2007-06-30 21:15:46 UTC (rev 1028) @@ -296,6 +296,8 @@ else if (read == 0) { logprintf ("%s: connection closed\n", thread_name); + if (!data->stop) + ret = 1; break; } @@ -391,7 +393,6 @@ } out: - logprintf ("%s (%d): at out\n", thread_name, __LINE__); release_data (data); logprintf ("%s gone : %lu\n", thread_name, ret); return ret; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |