mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	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().
This commit is contained in:
		
							parent
							
								
									048eb75c2d
								
							
						
					
					
						commit
						c15c4f1f39
					
				
					 2 changed files with 7 additions and 2 deletions
				
			
		|  | @ -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; | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tim Peters
						Tim Peters