]> code.delx.au - gnu-emacs/commit
Improve error checking and error messages in string-collation functions.
authorEli Zaretskii <eliz@gnu.org>
Sat, 30 Aug 2014 08:19:24 +0000 (11:19 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 30 Aug 2014 08:19:24 +0000 (11:19 +0300)
commite7027eab55d9b3b63ddc1c26f3e222692c8c9499
tree62f5b2569c009499c0c5ff5c896a0df9b4b49f30
parente1a9bbbd4f719a2256bd180ae9e9fffb64db63e4
Improve error checking and error messages in string-collation functions.

 src/sysdep.c (str_collate) [__STDC_ISO_10646__]: Improve the
 wording of the error messages.
 (str_collate) [WINDOWSNT]: Signal an error if w32_compare_strings
 sets errno.
 src/w32proc.c (get_lcid_callback): Accept locale specifications
 without the country part, as in "enu" vs "enu_USA".
 (w32_compare_strings): Signal an error if a locale was specified,
 but couldn't be translated into a valid LCID.
src/ChangeLog
src/sysdep.c
src/w32proc.c