X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fslocal.c;h=17be186bcd540625e84ad97f0b509698687452ff;hp=cf9a9b0f160c2abeb67181e22a06fde4b132b6d0;hb=77ce143a56ef8238d974fd7e1e893516ec58772f;hpb=92005d4291ac03dae4481c72d1549b2f75264cb9 diff --git a/uip/slocal.c b/uip/slocal.c index cf9a9b0..17be186 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -91,7 +91,7 @@ static char ddate[BUFSIZ]; /* record the delivery date */ struct tws *now; volatile sig_atomic_t eflag = 0; /* flag to indecate interrupt */ -static pid_t child_id; +static volatile pid_t child_id; /* flags for pair->p_flags */ #define P_NIL 0x00 @@ -981,7 +981,6 @@ usr_folder(int fd, char *string) static int usr_pipe(int fd, char *cmd, char *pgm, char **vec, int suppress) { - pid_t child_id; int bytes, seconds, status, n; struct stat st; char *path;