aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-04-08 16:28:52 -0700
committerPaul Eggert2011-04-08 16:28:52 -0700
commiteb3f1cc8dfe6a96505f1c5f9174b2712998cb52f (patch)
tree6a665600f22bde851b7112ffb2c3ac724f4972c5 /src/ChangeLog
parent7ec98caf7757bbf462d91a5cebd440cf12cc5816 (diff)
downloademacs-eb3f1cc8dfe6a96505f1c5f9174b2712998cb52f.tar.gz
emacs-eb3f1cc8dfe6a96505f1c5f9174b2712998cb52f.zip
* eval.c: Port to Windows vsnprintf (Bug#8435).
Include <limits.h>. (SIZE_MAX): Define if the headers do not. (verror): Do not give up if vsnprintf returns a negative count. Instead, grow the buffer. This ports to Windows vsnprintf, which does not conform to C99. Problem reported by Eli Zaretskii. Also, simplify the allocation scheme, by avoiding the need for calling realloc, and removing the ALLOCATED variable.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0993b67cbca..68f3dbdedcb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,14 @@
12011-04-08 Paul Eggert <eggert@cs.ucla.edu>
2
3 * eval.c: Port to Windows vsnprintf (Bug#8435).
4 Include <limits.h>.
5 (SIZE_MAX): Define if the headers do not.
6 (verror): Do not give up if vsnprintf returns a negative count.
7 Instead, grow the buffer. This ports to Windows vsnprintf, which
8 does not conform to C99. Problem reported by Eli Zaretskii.
9 Also, simplify the allocation scheme, by avoiding the need for
10 calling realloc, and removing the ALLOCATED variable.
11
12011-04-07 Paul Eggert <eggert@cs.ucla.edu> 122011-04-07 Paul Eggert <eggert@cs.ucla.edu>
2 13
3 * eval.c (verror): Initial buffer size is 4000 (not 200) bytes. 14 * eval.c (verror): Initial buffer size is 4000 (not 200) bytes.