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

SourceForge.net noreply at sourceforge.net
Mon May 15 09:22:36 CEST 2006


Patches item #1488312, was opened at 2006-05-14 06:33
Message generated for change (Comment added) made by nnorwitz
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: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Jan Palus (atler_)
>Assigned to: Neal Norwitz (nnorwitz)
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.

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

>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-05-15 00:22

Message:
Logged In: YES 
user_id=33168

Thanks!

Committed revision 46001.
Committed revision 46002.


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

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