Author: bapt
Date: Tue Nov 10 08:11:27 2015
New Revision: 290637
URL: https://svnweb.freebsd.org/changeset/base/290637

Log:
  return "US-ASCII" instead of "POSIX" for "C" and "POSIX" locales
  as it used to be in previous version of the locales. Returning
  "POSIX" has too many fallouts.

Modified:
  head/lib/libc/locale/nl_langinfo.c

Modified: head/lib/libc/locale/nl_langinfo.c
==============================================================================
--- head/lib/libc/locale/nl_langinfo.c  Tue Nov 10 07:32:49 2015        
(r290636)
+++ head/lib/libc/locale/nl_langinfo.c  Tue Nov 10 08:11:27 2015        
(r290637)
@@ -71,7 +71,7 @@ nl_langinfo_l(nl_item item, locale_t loc
                else if (strcmp(s, "MSKanji") == 0)
                        ret = "SJIS";
                else if (strcmp(s, "NONE") == 0)
-                       ret = "POSIX";
+                       ret = "US-ASCII";
                else if (strncmp(s, "NONE:", 5) == 0)
                        ret = (char *)(s + 5);
                else
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to