[Patches] [ python-Patches-1488312 ] Memory alignment fix on SPARC

SourceForge.net noreply at sourceforge.net
Sun May 14 15:33:13 CEST 2006


Patches item #1488312, was opened at 2006-05-14 15:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1488312&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core (C code)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Jan Palus (atler_)
Assigned to: Nobody/Anonymous (nobody)
Summary: Memory alignment fix on SPARC

Initial Comment:
test_codecscallback fails on sparc becasue of line (in
Objects/unicodeobject.c):

*p = *(Py_UNICODE *)s;

which may break memory alignment rules. Attached patch
fixes the problem by using memcpy instead.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1488312&group_id=5470


More information about the Patches mailing list