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
..
2015-09-03 00:33:19 +01:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-13 10:59:56 +00:00
2016-01-13 11:16:37 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2008-11-20 10:21:52 +01:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-13 10:59:56 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-13 11:16:39 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2005-07-18 07:52:37 +00:00
2015-01-31 17:39:04 +01:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-13 10:59:55 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-03 12:58:39 +00:00
2016-01-01 14:10:41 +00:00
2016-01-13 10:59:18 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2012-01-09 21:51:59 +01:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-13 11:11:36 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-13 10:59:56 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-14 01:26:00 +00:00
2016-01-01 14:10:41 +00:00
2016-01-13 11:16:39 +00:00
2016-01-01 14:10:41 +00:00
2016-01-06 16:04:19 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-13 10:59:18 +00:00
2016-01-01 14:10:41 +00:00
2016-01-13 10:59:56 +00:00
2016-01-13 10:59:55 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2007-07-10 19:00:00 +02:00
2007-07-10 19:00:00 +02:00
2016-01-01 14:10:41 +00:00
2012-01-09 21:51:59 +01:00
2016-01-01 14:10:41 +00:00
2016-01-13 10:59:18 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-13 11:11:36 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00
2016-01-01 14:10:41 +00:00