From 5d25a9b2c48a09dc8c78cb6739759e3682a14d88 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 31 Aug 1999 19:02:02 +0000 Subject: zsh-workers/7584 --- Src/jobs.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Src/jobs.c') diff --git a/Src/jobs.c b/Src/jobs.c index 4b9d66986..fdf69a960 100644 --- a/Src/jobs.c +++ b/Src/jobs.c @@ -835,11 +835,7 @@ waitforpid(pid_t pid) /* child_block() around this loop in case #ifndef WNOHANG */ child_block(); /* unblocked in child_suspend() */ -#ifdef BROKEN_KILL_ESRCH - while (!errflag && (kill(pid, 0) >= 0 || (errno != ESRCH && errno != EINVAL))) { -#else /* not BROKEN_KILL_ESRCH */ while (!errflag && (kill(pid, 0) >= 0 || errno != ESRCH)) { -#endif /* BROKEN_KILL_ESRCH */ if (first) first = 0; else -- cgit 1.4.1