[Python-checkins] r46440 - python/trunk/Objects/unicodeobject.c

martin.v.loewis python-checkins at python.org
Sat May 27 13:07:50 CEST 2006


Author: martin.v.loewis
Date: Sat May 27 13:07:49 2006
New Revision: 46440

Modified:
   python/trunk/Objects/unicodeobject.c
Log:
Revert bogus change committed in 46432 to this file.


Modified: python/trunk/Objects/unicodeobject.c
==============================================================================
--- python/trunk/Objects/unicodeobject.c	(original)
+++ python/trunk/Objects/unicodeobject.c	Sat May 27 13:07:49 2006
@@ -2376,7 +2376,6 @@
     end = s + size;
 
     while (s < end) {
-	*p = *(Py_UNICODE*)s;
         memcpy(p, s, sizeof(Py_UNICODE));
         /* We have to sanity check the raw data, otherwise doom looms for
            some malformed UCS-4 data. */


More information about the Python-checkins mailing list