• Paul Eggert's avatar
    * eval.c: Port to Windows vsnprintf (Bug#8435). · eb3f1cc8
    Paul Eggert authored
    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.
ChangeLog 62.5 KB