X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/55f65ae2d3baf60396d3359db952460939de03ca..43cfc6660af9677d520d578713f57ae0d8d1b81f:/uip/slocal.c diff --git a/uip/slocal.c b/uip/slocal.c index 11a44cc9..8dace059 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -188,9 +188,7 @@ main (int argc, char **argv) char mailbox[BUFSIZ], tmpfil[BUFSIZ]; char **argp, **arguments; -#ifdef LOCALE setlocale(LC_ALL, ""); -#endif invo_name = r1bindex (*argv, '/'); /* foil search of user profile/context */ @@ -1042,8 +1040,9 @@ usr_folder (int fd, char *string) */ static int -usr_pipe (int fd, char *cmd, char *pgm, char **vec, int suppress) +usr_pipe (int fd_arg, char *cmd, char *pgm, char **vec, int suppress) { + volatile int fd = fd_arg; pid_t child_id; int i, bytes, seconds, status; struct stat st; @@ -1477,7 +1476,6 @@ suppress_duplicates (int fd, char *file) free (cp); fclose (in); return result; - break; case BODY: case FILEEOF: