summaryrefslogtreecommitdiff
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-08 16:28:52 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-08 16:28:52 -0700
commiteb3f1cc8dfe6a96505f1c5f9174b2712998cb52f (patch)
tree6a665600f22bde851b7112ffb2c3ac724f4972c5 /lisp/replace.el
parent7ec98caf7757bbf462d91a5cebd440cf12cc5816 (diff)
downloademacs-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 'lisp/replace.el')
0 files changed, 0 insertions, 0 deletions