Author: atler Date: Mon May 15 13:25:12 2006 GMT Module: SOURCES Tag: HEAD ---- Log message: - fix memory alignment bug
---- Files affected: SOURCES: python-sparc_fix.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/python-sparc_fix.patch diff -u /dev/null SOURCES/python-sparc_fix.patch:1.1 --- /dev/null Mon May 15 15:25:12 2006 +++ SOURCES/python-sparc_fix.patch Mon May 15 15:25:07 2006 @@ -0,0 +1,11 @@ +--- Python-2.4.3/Objects/unicodeobject.c.orig 2006-05-13 20:34:03.118998250 +0200 ++++ Python-2.4.3/Objects/unicodeobject.c 2006-05-13 20:33:52.970364000 +0200 +@@ -2302,7 +2302,7 @@ + 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. */ + if ( ================================================================ _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit