* eval.c (verror): Initial buffer size is 4000 (not 200) bytes.

This commit is contained in:
Paul Eggert 2011-04-06 22:19:50 -07:00
parent ea6c7ae6bf
commit 70476b5441
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2011-04-07 Paul Eggert <eggert@cs.ucla.edu>
* eval.c (verror): Initial buffer size is 4000 (not 200) bytes.
Remove the doprnt implementation, as Emacs now uses vsnprintf.
* doprnt.c: Remove.
* lisp.h (doprnt): Remove.

View file

@ -1976,7 +1976,7 @@ find_handler_clause (Lisp_Object handlers, Lisp_Object conditions,
void
verror (const char *m, va_list ap)
{
char buf[200];
char buf[4000];
size_t size = sizeof buf;
size_t size_max = (size_t) -1;
char *buffer = buf;