X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/294ef4a95bc276d138ca68d269adc66bf2314123..4dc32bd4c12c4bdba806e91d0319ea677cd87362:/uip/mhtest.c diff --git a/uip/mhtest.c b/uip/mhtest.c index abdfdadf..b85a91ea 100644 --- a/uip/mhtest.c +++ b/uip/mhtest.c @@ -99,15 +99,9 @@ main (int argc, char **argv) struct msgs *mp = NULL; CT ct, *ctp; - done=freects_done; - -#ifdef LOCALE - setlocale(LC_ALL, ""); -#endif - invo_name = r1bindex (argv[0], '/'); + if (nmh_init(argv[0], 1)) { return 1; } - /* read user profile/context */ - context_read(); + done=freects_done; arguments = getarguments (invo_name, argc, argv, 1); argp = arguments; @@ -349,7 +343,6 @@ static void pipeser (int i) { if (i == SIGQUIT) { - unlink ("core"); fflush (stdout); fprintf (stderr, "\n"); fflush (stderr);