Reduce buffer size since we do not need 1k

This commit is contained in:
Neal Norwitz 2008-01-27 17:12:15 +00:00
parent 183c5346fe
commit 8250fbeac6
1 changed files with 1 additions and 1 deletions

View File

@ -2492,7 +2492,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
else { else {
/* This check is expensive! */ /* This check is expensive! */
if (PyErr_Occurred()) { if (PyErr_Occurred()) {
char buf[1024]; char buf[128];
sprintf(buf, "Stack unwind with exception " sprintf(buf, "Stack unwind with exception "
"set and why=%d", why); "set and why=%d", why);
Py_FatalError(buf); Py_FatalError(buf);