projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07c6b68
)
Formerly job.c.~97~
author
Roland McGrath
<roland@redhat.com>
Tue, 6 Apr 1993 00:21:23 +0000
(
00:21
+0000)
committer
Roland McGrath
<roland@redhat.com>
Tue, 6 Apr 1993 00:21:23 +0000
(
00:21
+0000)
job.c
patch
|
blob
|
history
diff --git
a/job.c
b/job.c
index
2ae14c0
..
43453b8
100644
(file)
--- a/
job.c
+++ b/
job.c
@@
-47,6
+47,10
@@
char default_shell[] = "/bin/sh";
#ifdef HAVE_WAITPID
#define WAIT_NOHANG(status) waitpid (-1, (status), WNOHANG)
+/* The second arg to `waitpid' is always an `int *'.
+ The system might support `union wait' for compatibility in calls to
+ `wait3' or `wait', but most such systems don't support it for `waitpid'. */
+#undef HAVE_UNION_WAIT
#else /* Don't have waitpid. */
#ifdef HAVE_WAIT3
#ifndef wait3