]> diplodocus.org Git - nmh/blobdiff - uip/slocal.c
Fixed three LC_ALL settings:
[nmh] / uip / slocal.c
index 11a44cc..8dace05 100644 (file)
@@ -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: