[Python-checkins] CVS: python/dist/src/Modules posixmodule.c,2.216,2.216.4.1
Michael Hudson
mwh@users.sourceforge.net
Fri, 28 Dec 2001 02:24:47 -0800
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv22755
Modified Files:
Tag: release22-maint
posixmodule.c
Log Message:
Backport gvanrossum's checkin of version 2.217:
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.216.4.1
diff -C2 -d -r2.216 -r2.216.4.1
*** posixmodule.c 2001/12/19 19:05:01 2.216
--- posixmodule.c 2001/12/28 10:24:44 2.216.4.1
***************
*** 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);
}