diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-08 16:28:52 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-08 16:28:52 -0700 |
commit | eb3f1cc8dfe6a96505f1c5f9174b2712998cb52f (patch) | |
tree | 6a665600f22bde851b7112ffb2c3ac724f4972c5 /lib | |
parent | 7ec98caf7757bbf462d91a5cebd440cf12cc5816 (diff) | |
download | emacs-eb3f1cc8dfe6a96505f1c5f9174b2712998cb52f.tar.gz emacs-eb3f1cc8dfe6a96505f1c5f9174b2712998cb52f.tar.bz2 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 'lib')
0 files changed, 0 insertions, 0 deletions