aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2014-08-24 22:44:57 -0700
committerPaul Eggert2014-08-24 22:44:57 -0700
commit90c5c87753fb69dafd664615558fa3fdce3ba5b1 (patch)
treed072b51fd01b88140786d85b5fb4927ccce1a1af /src/ChangeLog
parentd74553559b62cc7b07ed32c35391c1b75eda540f (diff)
downloademacs-90c5c87753fb69dafd664615558fa3fdce3ba5b1.tar.gz
emacs-90c5c87753fb69dafd664615558fa3fdce3ba5b1.zip
Minor cleanups of str_collate fix.
* fns.c (str_collate): Move decl from here ... * lisp.h (str_collate): ... to here. * sysdep.c (str_collate): Prune away some of the forest of ifdefs. Remove unnecessary casts. Use SAFE_NALLOCA to avoid potential problems with integer overflow. Don't assume setlocale succeeds. Remove unnecessary test before restoring locale via setlocale, and free the copied setlocale string when done with it. Fixes: debbugs:18051
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 72d7d405f7a..9b70b8f5411 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,15 @@
12014-08-25 Paul Eggert <eggert@cs.ucla.edu>
2
3 Minor cleanups of str_collate fix (Bug#18051).
4 * fns.c (str_collate): Move decl from here ...
5 * lisp.h (str_collate): ... to here.
6 * sysdep.c (str_collate): Prune away some of the forest of ifdefs.
7 Remove unnecessary casts. Use SAFE_NALLOCA to avoid
8 potential problems with integer overflow. Don't assume
9 setlocale succeeds. Remove unnecessary test before restoring
10 locale via setlocale, and free the copied setlocale string
11 when done with it.
12
12014-08-24 Michael Albinus <michael.albinus@gmx.de> 132014-08-24 Michael Albinus <michael.albinus@gmx.de>
2 14
3 * fns.c (Fstring_collate_lessp, Fstring_collate_equalp): New DEFUNs. 15 * fns.c (Fstring_collate_lessp, Fstring_collate_equalp): New DEFUNs.