[Python-checkins] CVS: python/dist/src/Python errors.c,2.43,2.44

Guido van Rossum guido@cnri.reston.va.us
Thu, 2 Mar 2000 08:55:04 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Python
In directory eric:/projects/python/develop/guido/src/Python

Modified Files:
	errors.c 
Log Message:
Mark discovered a bug in his patch: he didn't *use* PyExc_WindowsError
in PyErr_SetFromWindowsErrWithFilename() like he intended to... :-)


Index: errors.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Python/errors.c,v
retrieving revision 2.43
retrieving revision 2.44
diff -C2 -r2.43 -r2.44
*** errors.c	2000/02/21 16:50:31	2.43
--- errors.c	2000/03/02 13:55:01	2.44
***************
*** 385,389 ****
  		v = Py_BuildValue("(is)", err, s);
  	if (v != NULL) {
! 		PyErr_SetObject(PyExc_EnvironmentError, v);
  		Py_DECREF(v);
  	}
--- 385,389 ----
  		v = Py_BuildValue("(is)", err, s);
  	if (v != NULL) {
! 		PyErr_SetObject(PyExc_WindowsError, v);
  		Py_DECREF(v);
  	}