This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Possible bug in wcsxfrm() with included testcase


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



Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]