X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c703902741e0f7ce55f87e48ef0d00901195f1bc..95a485d2b8a2bf28fdb80ca62c12d0541ac0a2fc:/uip/fmtdump.c diff --git a/uip/fmtdump.c b/uip/fmtdump.c index 65358168..f1df6f35 100644 --- a/uip/fmtdump.c +++ b/uip/fmtdump.c @@ -51,13 +51,7 @@ main (int argc, char **argv) char buf[BUFSIZ], *nfs, **argp, **arguments; struct format *fmt; -#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; } arguments = getarguments (invo_name, argc, argv, 1); argp = arguments;