bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18051: [Emacs-diffs] trunk r117726: Add string collation.


From: Paul Eggert
Subject: bug#18051: [Emacs-diffs] trunk r117726: Add string collation.
Date: Wed, 27 Aug 2014 12:00:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

I found the following issues and installed what I hope are fixes as trunk bzr 117751.

First, the code should use wcscoll_t rather than uselocale, as uselocale modifies thread state and this is less robust; for example, it wasn't safe to call 'error' right after the first call to uselocale.

Second, if the locale is invalid, string-collate-lessp should throw an error, the same way it throws an error when the strings are invalid.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]