From 2e3f6b77d5278abf399029dd64240329ad71f5b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 27 May 2006 11:07:49 +0000 Subject: Revert bogus change committed in 46432 to this file. --- Objects/unicodeobject.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index d37ca0c..1711b2d 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. */ -- cgit v0.12