[Python-checkins] python/dist/src/Objects unicodeobject.c, 2.205, 2.206

perky at users.sourceforge.net perky at users.sourceforge.net
Sun Dec 21 20:31:16 EST 2003


Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1:/tmp/cvs-serv26442

Modified Files:
	unicodeobject.c 
Log Message:
Fix broken xmlcharrefreplace by rev 2.204.
(Pointy hat goes to perky)


Index: unicodeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/unicodeobject.c,v
retrieving revision 2.205
retrieving revision 2.206
diff -C2 -d -r2.205 -r2.206
*** unicodeobject.c	19 Dec 2003 01:59:56 -0000	2.205
--- unicodeobject.c	22 Dec 2003 01:31:13 -0000	2.206
***************
*** 2414,2423 ****
  			else if (*p<1000)
  			    repsize += 2+3+1;
  #ifndef Py_UNICODE_WIDE
  			else
! 			    repsize += 2+4+1;
  #else
- 			else if (*p<10000)
- 			    repsize += 2+4+1;
  			else if (*p<100000)
  			    repsize += 2+5+1;
--- 2414,2423 ----
  			else if (*p<1000)
  			    repsize += 2+3+1;
+ 			else if (*p<10000)
+ 			    repsize += 2+4+1;
  #ifndef Py_UNICODE_WIDE
  			else
! 			    repsize += 2+5+1;
  #else
  			else if (*p<100000)
  			    repsize += 2+5+1;





More information about the Python-checkins mailing list