[Python-checkins] CVS: python/dist/src/Modules posixmodule.c,2.216,2.217

Guido van Rossum gvanrossum@users.sourceforge.net
Thu, 27 Dec 2001 08:23:31 -0800


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

Modified Files:
	posixmodule.c 
Log Message:
Due to a cut-and-paste error, the type object exported under the name
statvfs_result was in fact the stat_result type object. :-(

2.2.1 bugfix!


Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.216
retrieving revision 2.217
diff -C2 -d -r2.216 -r2.217
*** posixmodule.c	2001/12/19 19:05:01	2.216
--- posixmodule.c	2001/12/27 16:23:28	2.217
***************
*** 6015,6018 ****
  	statvfs_result_desc.name = MODNAME ".statvfs_result";
  	PyStructSequence_InitType(&StatVFSResultType, &statvfs_result_desc);
! 	PyDict_SetItemString(d, "statvfs_result", (PyObject*) &StatResultType);
  }
--- 6015,6018 ----
  	statvfs_result_desc.name = MODNAME ".statvfs_result";
  	PyStructSequence_InitType(&StatVFSResultType, &statvfs_result_desc);
! 	PyDict_SetItemString(d, "statvfs_result", (PyObject*) &StatVFSResultType);
  }