Possible bug in wcsxfrm() with included testcase
Martin Schlemmer
azarah@gentoo.org
Tue Jul 22 19:15:00 GMT 2003
Hi
> > I was using '/tmp' just as an example. The choice of directories aside,
> > the setlocale(LC_COLLATE, "") is taken from the glib/gunicollate.c code.
> > I don't have an LC_COLLATE environment variable defined in my environment,
> > but I just tried running this program like so:
> >
> > $ LC_COLLATE=en_US EF_PROTECT_BELOW=1 ef ./wcsxfrm_test /tmp
> >
> > and it ran without problems, so my possible bug report is wrong. Thanks
> > for looking at this.
>
Here it still breaks for LC_COLLATE=C, although en_US works fine.
> setlocale(LC_COLLATE, "") says to take the LC_COLLATE value from the
> current value in your environment; first it will look at the LC_ALL
> environment variable, then the LC_COLLATE environment variable,
> then at LANG, then uses "C" if that's not set.
>
Ok, but this is closer to what I want to know - shouldn't LC_ALL=C then
work fine ?
Thanks,
--
Martin Schlemmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20030722/83bbc9a2/attachment.sig>
More information about the Libc-alpha
mailing list