diff options
| author | Paul Eggert | 2011-04-08 16:28:52 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-08 16:28:52 -0700 |
| commit | eb3f1cc8dfe6a96505f1c5f9174b2712998cb52f (patch) | |
| tree | 6a665600f22bde851b7112ffb2c3ac724f4972c5 /src/ChangeLog | |
| parent | 7ec98caf7757bbf462d91a5cebd440cf12cc5816 (diff) | |
| download | emacs-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/ChangeLog | 11 |
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 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2011-04-07 Paul Eggert <eggert@cs.ucla.edu> | 12 | 2011-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. |