X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/71458b3b2492943349f7693a46792756d5013c69..cf1f3bdaa19bf1b5e1e99ee1e8a28d61a524395e:/uip/repl.c diff --git a/uip/repl.c b/uip/repl.c index d1c8ebfa..f8437288 100644 --- a/uip/repl.c +++ b/uip/repl.c @@ -108,7 +108,7 @@ static char *fcc = NULL; /* folders to add to Fcc: header */ /* * prototypes */ -void docc (char *, int); +static void docc (char *, int); int @@ -129,11 +129,7 @@ main (int argc, char **argv) int buildsw = 0; - setlocale(LC_ALL, ""); - invo_name = r1bindex (argv[0], '/'); - - /* read user profile/context */ - context_read(); + if (nmh_init(argv[0], 1)) { return 1; } arguments = getarguments (invo_name, argc, argv, 1); argp = arguments;