diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-07-17 10:33:33 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-07-17 10:33:33 +0000 |
| commit | e6422f82ebbe0f315bb03b174d56afeff30ddb90 (patch) | |
| tree | 7d757120c57fe998f1cc44eafa9313668d563110 | |
| parent | 85cec59174f8fa12917090eee5671f282077d00c (diff) | |
2009-07-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated doc
* src/main.cc
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | src/main.cc | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2009-07-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> + Updated doc + * src/main.cc + +2009-07-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> + Updated debug log message * src/AbstractCommand.cc * src/message.h diff --git a/src/main.cc b/src/main.cc index e67d3829..36e98cdf 100644 --- a/src/main.cc +++ b/src/main.cc @@ -213,6 +213,8 @@ downloadresultcode::RESULT main(int argc, char* argv[]) Util::setGlobalSignalHandler(SIGPIPE, SIG_IGN, 0); #endif #ifdef SIGCHLD + // Avoid to create zombie process when forked child processes are + // died. Util::setGlobalSignalHandler(SIGCHLD, SIG_IGN, 0); #endif // SIGCHILD std::deque<SharedHandle<RequestGroup> > requestGroups; |
