From: Paul Eggert Date: Thu, 7 Apr 2011 05:19:50 +0000 (-0700) Subject: * eval.c (verror): Initial buffer size is 4000 (not 200) bytes. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~356^2~21 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=70476b54414db1be5261c71073fc991eab5cd34a;p=emacs.git * eval.c (verror): Initial buffer size is 4000 (not 200) bytes. --- diff --git a/src/ChangeLog b/src/ChangeLog index a98c4e72ba1..0993b67cbca 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-04-07 Paul Eggert + * 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. diff --git a/src/eval.c b/src/eval.c index 77411a911ee..f794a18da7d 100644 --- a/src/eval.c +++ b/src/eval.c @@ -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;