Module Name: othersrc Committed By: lukem Date: Sun May 5 11:48:16 UTC 2013
Modified Files: othersrc/usr.bin/tnftp/src: main.c Log Message: Reenable setlocale() if HAVE_SETLOCALE To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 othersrc/usr.bin/tnftp/src/main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: othersrc/usr.bin/tnftp/src/main.c diff -u othersrc/usr.bin/tnftp/src/main.c:1.18 othersrc/usr.bin/tnftp/src/main.c:1.19 --- othersrc/usr.bin/tnftp/src/main.c:1.18 Sun May 5 11:17:31 2013 +++ othersrc/usr.bin/tnftp/src/main.c Sun May 5 11:48:16 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.18 2013/05/05 11:17:31 lukem Exp $ */ +/* $NetBSD: main.c,v 1.19 2013/05/05 11:48:16 lukem Exp $ */ /* from NetBSD: main.c,v 1.122 2012/12/22 16:57:10 christos Exp */ /*- @@ -151,9 +151,9 @@ main(int volatile argc, char **volatile size_t len; tzset(); -#if 0 /* tnftp */ /* XXX */ +#if defined(HAVE_SETLOCALE) setlocale(LC_ALL, ""); -#endif /* tnftp */ +#endif setprogname(argv[0]); sigint_raised = 0;