From 70476b54414db1be5261c71073fc991eab5cd34a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 6 Apr 2011 22:19:50 -0700 Subject: [PATCH] * eval.c (verror): Initial buffer size is 4000 (not 200) bytes. --- src/ChangeLog | 2 ++ src/eval.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.2