[Python-checkins] CVS: python/dist/src/Modules pyexpat.c,2.45.4.1,2.45.4.2

Tim Peters tim_one@users.sourceforge.net
2001年7月29日 21:08:16 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv9082/descr/dist/src/Modules
Modified Files:
 Tag: descr-branch
	pyexpat.c 
Log Message:
Merge of trunk tag delta date2001-07-28 to date2001-07-30.
Index: pyexpat.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pyexpat.c,v
retrieving revision 2.45.4.1
retrieving revision 2.45.4.2
diff -C2 -d -r2.45.4.1 -r2.45.4.2
*** pyexpat.c	2001年07月07日 22:55:29	2.45.4.1
--- pyexpat.c	2001年07月30日 04:08:14	2.45.4.2
***************
*** 586,590 ****
 
 if (children != NULL) {
! for (i = 0; i < model->numchildren; ++i) {
 PyObject *child = conv_content_model(&model->children[i],
 conv_string);
--- 586,591 ----
 
 if (children != NULL) {
! assert(model->numchildren < INT_MAX);
! for (i = 0; i < (int)model->numchildren; ++i) {
 PyObject *child = conv_content_model(&model->children[i],
 conv_string);

AltStyle によって変換されたページ (->オリジナル) /