mirror of https://github.com/aria2/aria2
2009-07-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Avoid to create zombie process when commands specified in --on-download-* options are executed. Tested on Linux 2.6, Mac OS X and NetBSD. * src/main.ccpull/1/head
parent
9c62df8038
commit
757e758fa1
|
@ -1,3 +1,10 @@
|
|||
2009-07-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Avoid to create zombie process when commands specified in
|
||||
--on-download-* options are executed. Tested on Linux 2.6, Mac OS
|
||||
X and NetBSD.
|
||||
* src/main.cc
|
||||
|
||||
2009-07-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Fixed typo
|
||||
|
|
|
@ -212,6 +212,9 @@ downloadresultcode::RESULT main(int argc, char* argv[])
|
|||
#ifdef SIGPIPE
|
||||
Util::setGlobalSignalHandler(SIGPIPE, SIG_IGN, 0);
|
||||
#endif
|
||||
#ifdef SIGCHLD
|
||||
Util::setGlobalSignalHandler(SIGCHLD, SIG_IGN, 0);
|
||||
#endif // SIGCHILD
|
||||
std::deque<SharedHandle<RequestGroup> > requestGroups;
|
||||
#ifdef ENABLE_BITTORRENT
|
||||
if(!op->blank(PREF_TORRENT_FILE)) {
|
||||
|
|
Loading…
Reference in New Issue