Author: ume Date: Fri Nov 18 16:48:37 2016 New Revision: 308808 URL: https://svnweb.freebsd.org/changeset/base/308808
Log: Lookup locale when print all keywords as well. Reported by: dumbbell Reviewed by: dumbbell MFC after: 1 week Modified: head/usr.bin/locale/locale.c Modified: head/usr.bin/locale/locale.c ============================================================================== --- head/usr.bin/locale/locale.c Fri Nov 18 16:23:31 2016 (r308807) +++ head/usr.bin/locale/locale.c Fri Nov 18 16:48:37 2016 (r308808) @@ -283,8 +283,9 @@ main(int argc, char *argv[]) /* process '-c', '-k', or command line arguments. */ if (prt_categories || prt_keywords || argc > 0) { - if (argc > 0) { + if (prt_keywords) setlocale(LC_ALL, ""); + if (argc > 0) { while (argc > 0) { showdetails(*argv); argv++; _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"