X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fpackf.c;h=763b6e708b9369d9f5c59bde5bbd60d9258f7b18;hb=10e03b3fba3e01052baf92c963c46a2a5529b4e0;hp=70065c0dd740600324a8a75d8c25c118641388b9;hpb=ca1023716d4c2ab890696f3e41fa0d94267a940e;p=mmh diff --git a/uip/packf.c b/uip/packf.c index 70065c0..763b6e7 100644 --- a/uip/packf.c +++ b/uip/packf.c @@ -14,7 +14,7 @@ static struct swit switches[] = { #define VERSIONSW 0 - { "version", 0 }, + { "Version", 0 }, #define HELPSW 1 { "help", 0 }, { NULL, 0 } @@ -30,9 +30,7 @@ main(int argc, char **argv) struct msgs_array msgs = { 0, 0, NULL }; struct msgs *mp; -#ifdef LOCALE setlocale(LC_ALL, ""); -#endif invo_name = mhbasename(argv[0]); /* read user profile/context */ @@ -103,7 +101,7 @@ main(int argc, char **argv) admonish(msgnam, "unable to read message"); break; } - if (mbx_copy(fileno(stdout), fd) == NOTOK) { + if (mbox_copy(fileno(stdout), fd) == NOTOK) { adios(NULL, "error writing to stdout"); } close(fd);