summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-05-27 08:36:52 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-05-27 08:36:52 (GMT)
commitd004fc810af3e1985686e616763e14a1b0aa60c1 (patch)
tree84d813c5639518d647144fb8befbfcb524052175 /Objects/unicodeobject.c
parentd1b6cd7bfb35ffecd8b52d9d2b3cd608ab6515e0 (diff)
downloadcpython-d004fc810af3e1985686e616763e14a1b0aa60c1.zip
cpython-d004fc810af3e1985686e616763e14a1b0aa60c1.tar.gz
cpython-d004fc810af3e1985686e616763e14a1b0aa60c1.tar.bz2
Patch 1494554: Update numeric properties to Unicode 4.1.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 783eb8f..26cf521 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -2376,6 +2376,7 @@ 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. */