svn commit: r290637 - head/lib/libc/locale

Baptiste Daroussin bapt at FreeBSD.org
Tue Nov 10 13:04:35 UTC 2015


On Tue, Nov 10, 2015 at 03:48:52PM +0300, Andrey Chernov wrote:
> On 10.11.2015 11:11, Baptiste Daroussin wrote:
> > 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.
> 
> You can return "ANSI_X3.4-1968" (another name of "US-ASCII") to be
> different with real US-ASCII. It is what glibc returns for C/POSIX
> locale and most ports expected, being linux-oriented.
> 
I thought about it, but in the end it is probably safer for now that nl_langinfo
return US-ASCII as it did in the past, to reduce breakage with FreeBSD only code
that maybe be existing ou there.

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20151110/694d9ad3/attachment.bin>


More information about the svn-src-all mailing list