myserver-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myserver-commit] [SCM] GNU MyServer branch, master, updated. v0.9.2-496


From: Giuseppe Scrivano
Subject: [myserver-commit] [SCM] GNU MyServer branch, master, updated. v0.9.2-496-gc17497c
Date: Sat, 14 May 2011 13:18:24 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU MyServer".

The branch, master has been updated
       via  c17497cb447405b55b75c940a2aafeed97a2e115 (commit)
      from  8b24a0444542acb91ff97b41bd162bea18d29f2a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------


commit c17497cb447405b55b75c940a2aafeed97a2e115
Author: Giuseppe Scrivano <address@hidden>
Date:   Sat May 14 15:18:11 2011 +0200

    Process: do not attempt to close invalid file handles.

diff --git a/myserver/src/base/process/process.cpp 
b/myserver/src/base/process/process.cpp
index 5bf9652..8fc58c3 100644
--- a/myserver/src/base/process/process.cpp
+++ b/myserver/src/base/process/process.cpp
@@ -280,14 +280,6 @@ int Process::exec (StartProcInfo* spi, bool waitEnd)
       else
         checked::dup2 (spi->stdError, 2);
 
-
-      if (spi->stdIn < 0)
-        gnulib::close (spi->stdIn);
-      if (spi->stdOut < 0)
-        gnulib::close (spi->stdOut);
-      if (spi->stdError < 0)
-        gnulib::close (spi->stdError);
-
       if (spi->handlesToClose)
         {
           FileHandle* h = spi->handlesToClose;

-----------------------------------------------------------------------

Summary of changes:
 myserver/src/base/process/process.cpp |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
GNU MyServer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]