You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by jo...@apache.org on 2012/03/11 01:51:08 UTC

svn commit: r1299317 - /subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py

Author: joes
Date: Sun Mar 11 00:51:08 2012
New Revision: 1299317

URL: http://svn.apache.org/viewvc?rev=1299317&view=rev
Log:
* trunk/tools/server-side/svnpubsub/svnwcsub.py
 need to reinstall default SIGCHLD handler for python before launching subprocesses (changed by daemonize.py)

Modified:
    subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py

Modified: subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py?rev=1299317&r1=1299316&r2=1299317&view=diff
==============================================================================
--- subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py (original)
+++ subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py Sun Mar 11 00:51:08 2012
@@ -29,6 +29,7 @@
 # See svnwcsub.conf for more information on its contents.
 #
 
+import signal
 import subprocess
 import threading
 import sys
@@ -139,6 +140,7 @@ class BigDoEverythingClasss(object):
             self.hostports.append((parsed.hostname, parsed.port))
 
     def start(self):
+        signal.signal(signal.SIGCHLD, signal.SIG_DFL)
         for path, url in self.tracking.items():
             # working copies auto-register with the BDEC when they are ready.
             WorkingCopy(self, path, url)