more extra parenthesēs (gcc4 strict warnings + broken system headers)

This commit is contained in:
tg 2009-04-05 13:07:11 +00:00
parent 5c76604402
commit 7e7c648bd8

6
jobs.c
View File

@ -2,7 +2,7 @@
#include "sh.h" #include "sh.h"
__RCSID("$MirOS: src/bin/mksh/jobs.c,v 1.49 2009/04/05 12:35:31 tg Exp $"); __RCSID("$MirOS: src/bin/mksh/jobs.c,v 1.50 2009/04/05 13:07:11 tg Exp $");
/* Order important! */ /* Order important! */
#define PRUNNING 0 #define PRUNNING 0
@ -1110,11 +1110,11 @@ j_sigchld(int sig __unused)
ru0 = ru1; ru0 = ru1;
p->status = status; p->status = status;
#ifndef MKSH_UNEMPLOYED #ifndef MKSH_UNEMPLOYED
if (WIFSTOPPED(status)) if ((WIFSTOPPED(status)))
p->state = PSTOPPED; p->state = PSTOPPED;
else else
#endif #endif
if (WIFSIGNALED(status)) if ((WIFSIGNALED(status)))
p->state = PSIGNALLED; p->state = PSIGNALLED;
else else
p->state = PEXITED; p->state = PEXITED;