summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-10-02 21:32:07 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-10-02 21:32:07 (GMT)
commitc15c4f1f39b2b3ca799c9a36b72a7c19a3c76e20 (patch)
treee9fb0ad5dbacfe54676271e06ecc180f699da960 /Python
parent048eb75c2dca8bf6d483b290c901a53510c9b78a (diff)
downloadcpython-c15c4f1f39b2b3ca799c9a36b72a7c19a3c76e20.zip
cpython-c15c4f1f39b2b3ca799c9a36b72a7c19a3c76e20.tar.gz
cpython-c15c4f1f39b2b3ca799c9a36b72a7c19a3c76e20.tar.bz2
SF bug [#467265] Compile errors on SuSe Linux on IBM/s390.
Unknown whether this fixes it. - stringobject.c, PyString_FromFormatV: don't assume that va_list is of a type that can be copied via an initializer. - errors.c, PyErr_Format: add a va_end() to balance the va_start().
Diffstat (limited to 'Python')
-rw-r--r--Python/errors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/errors.c b/Python/errors.c
index c37d86b..2799cff 100644
--- a/Python/errors.c
+++ b/Python/errors.c
@@ -407,7 +407,7 @@ PyErr_Format(PyObject *exception, const char *format, ...)
string = PyString_FromFormatV(format, vargs);
PyErr_SetObject(exception, string);
Py_XDECREF(string);
-
+ va_end(vargs);
return NULL;
}