]> diplodocus.org Git - nmh/blobdiff - uip/rcvpack.c
Added -debug switch to pick(1) and deprecated $MHPDEBUG.
[nmh] / uip / rcvpack.c
index 4725f26cc94a876066bfaf828a863badbc4f461f..bbd0e08e7ff34c10cb5538ef328545948d70352d 100644 (file)
@@ -40,13 +40,7 @@ main (int argc, char **argv)
     char *cp, *file = NULL, buf[BUFSIZ];
     char **argp, **arguments;
 
-#ifdef LOCALE
-    setlocale(LC_ALL, "");
-#endif
-    invo_name = r1bindex (argv[0], '/');
-
-    /* read user profile/context */
-    context_read();
+    if (nmh_init(argv[0], 1)) { return 1; }
 
     mts_init (invo_name);
     arguments = getarguments (invo_name, argc, argv, 1);