[Python-checkins] CVS: python/dist/src/Python errors.c,2.65,2.66

Tim Peters tim_one@users.sourceforge.net
Tue, 02 Oct 2001 14:32:10 -0700


Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv475/python/Python

Modified Files:
	errors.c 
Log Message:
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().


Index: errors.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/errors.c,v
retrieving revision 2.65
retrieving revision 2.66
diff -C2 -d -r2.65 -r2.66
*** errors.c	2001/09/26 19:58:38	2.65
--- errors.c	2001/10/02 21:32:07	2.66
***************
*** 408,412 ****
  	PyErr_SetObject(exception, string);
  	Py_XDECREF(string);
! 	
  	return NULL;
  }
--- 408,412 ----
  	PyErr_SetObject(exception, string);
  	Py_XDECREF(string);
! 	va_end(vargs);
  	return NULL;
  }