Files
coreutils/src
Pádraig Brady 611e7e02bf sort: with --debug, flag setlocale() failures on OpenBSD
Locale categories are not equivalent on OpenBSD,
and LC_COLLATE only supports "C" for example.
Now LC_ALL is supported to set multiple other categories
on OpenBSD, so setlocale(LC_ALL, "") returns a string
indicating which categories were updated and which ignored.
Therefore...

* src/sort.c (main): ...Call setlocale(LC_COLLATE, "")
to explicitly check whether a specified LC_ALL or
LC_COLLATE environment variable value is supported
for the LC_COLLATE category.  Also use !! to explicitly
convert to bool to support c89 systems where bool is an int,
and thus would get values > 1.
Reported by Assaf Gordon.
2016-01-14 01:26:00 +00:00
..
2008-11-20 10:21:52 +01:00
2016-01-13 10:59:56 +00:00
2005-07-18 07:52:37 +00:00
…
…
…
2016-01-06 16:04:19 +00:00
2016-01-13 10:59:56 +00:00
2007-07-10 19:00:00 +02:00
2007-07-10 19:00:00 +02:00