From: Gregory P. Smith Date: Tue, 14 Dec 2010 18:20:45 +0000 (+0000) Subject: SIGCHLD is a more portable name than SIGCLD (OSX has no SIGCLD). X-Git-Tag: v3.2.1b1~347^2~171 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c6637a507a46bb73d08374f56993064be0d0fae0;p=thirdparty%2FPython%2Fcpython.git SIGCHLD is a more portable name than SIGCLD (OSX has no SIGCLD). --- diff --git a/Lib/test/subprocessdata/sigchild_ignore.py b/Lib/test/subprocessdata/sigchild_ignore.py index 1d03303e447e..6072aece28a8 100644 --- a/Lib/test/subprocessdata/sigchild_ignore.py +++ b/Lib/test/subprocessdata/sigchild_ignore.py @@ -2,5 +2,5 @@ import signal, subprocess, sys # On Linux this causes os.waitpid to fail with OSError as the OS has already # reaped our child process. The wait() passing the OSError on to the caller # and causing us to exit with an error is what we are testing against. -signal.signal(signal.SIGCLD, signal.SIG_IGN) +signal.signal(signal.SIGCHLD, signal.SIG_IGN) subprocess.Popen([sys.executable, '-c', 'print("albatross")']).wait()