[Python-3000-checkins] r55969 - python/branches/py3k-struni/Modules/cjkcodecs/multibytecodec.c

guido.van.rossum python-3000-checkins at python.org
Thu Jun 14 02:29:49 CEST 2007


Author: guido.van.rossum
Date: Thu Jun 14 02:29:43 2007
New Revision: 55969

Modified:
   python/branches/py3k-struni/Modules/cjkcodecs/multibytecodec.c
Log:
Fix another issue likely introduced by the merge.


Modified: python/branches/py3k-struni/Modules/cjkcodecs/multibytecodec.c
==============================================================================
--- python/branches/py3k-struni/Modules/cjkcodecs/multibytecodec.c	(original)
+++ python/branches/py3k-struni/Modules/cjkcodecs/multibytecodec.c	Thu Jun 14 02:29:43 2007
@@ -1247,7 +1247,7 @@
 			goto errorexit;
 		}
 
-		endoffile = (PyString_GET_SIZE(cres) == 0);
+ 		endoffile = (PyBytes_GET_SIZE(cres) == 0);
 
 		if (self->pendingsize > 0) {
 			PyObject *ctr;


More information about the Python-3000-checkins mailing list