From: Martin v. Löwis Date: Sat, 27 May 2006 11:07:49 +0000 (+0000) Subject: Revert bogus change committed in 46432 to this file. X-Git-Tag: v2.5b1~412 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e3f6b77d5278abf399029dd64240329ad71f5b2;p=python Revert bogus change committed in 46432 to this file. --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index d37ca0c3a5..1711b2db73 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -2376,7 +2376,6 @@ PyObject *_PyUnicode_DecodeUnicodeInternal(const char *s, 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. */