X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0bfb53a23531bea3aaeadcd1a6f6c372eef96612..e99539ae6376c4b33e1a23f2ce50830c0d107786:/uip/dp.c diff --git a/uip/dp.c b/uip/dp.c index eef77908..8245f60a 100644 --- a/uip/dp.c +++ b/uip/dp.c @@ -51,9 +51,7 @@ main (int argc, char **argv) char buf[BUFSIZ], **argp, **arguments; char *dates[NDATES]; -#ifdef LOCALE setlocale(LC_ALL, ""); -#endif invo_name = r1bindex (argv[0], '/'); /* read user profile/context */ @@ -149,7 +147,7 @@ process (char *date, int length) free(cptr->c_text); cptr->c_text = getcpy(date); } - fmt_scan (fmt, buffer, sizeof buffer - 1, length, dat); + fmt_scan (fmt, buffer, sizeof buffer - 1, length, dat, NULL); fputs (buffer, stdout); return status;