X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/475649a9d4bc5abb5028392da45f3ec3306288f6..43cfc6660af9677d520d578713f57ae0d8d1b81f:/uip/slocal.c diff --git a/uip/slocal.c b/uip/slocal.c index d1ade5db..8dace059 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -31,7 +31,6 @@ #include #include -#include #include #include @@ -189,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 */ @@ -1043,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; @@ -1478,7 +1476,6 @@ suppress_duplicates (int fd, char *file) free (cp); fclose (in); return result; - break; case BODY: case FILEEOF: