summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/sco3.2.4/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/sco3.2.4/system.c')
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/system.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/sco3.2.4/system.c b/sysdeps/unix/sysv/sco3.2.4/system.c
new file mode 100644
index 0000000000..06dc066b88
--- /dev/null
+++ b/sysdeps/unix/sysv/sco3.2.4/system.c
@@ -0,0 +1,10 @@
+/* SCO has a bug where `waitpid' will never return if SIGCHLD is blocked.
+ They have acknowledged that this is a bug but I have not seen nor heard
+ of any forthcoming fix. */
+
+#define WAITPID_CANNOT_BLOCK_SIGCHLD
+
+/* SCO 3.2v4 does have `waitpid'.
+ Avoid unix/system.c, which says we don't. */
+
+#include <sysdeps/posix/system.c>