Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
1004a533
Commit
1004a533
authored
May 15, 2006
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #1488312, Fix memory alignment problem on SPARC in unicode. Will backport
parent
373f0a71
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+2
-0
Objects/unicodeobject.c
Objects/unicodeobject.c
+1
-1
No files found.
Misc/ACKS
View file @
1004a533
...
...
@@ -455,6 +455,7 @@ Denis S. Otkidach
Russel Owen
Mike Pall
Todd R. Palmer
Jan Palus
Alexandre Parenteau
Dan Parisien
Harri Pasanen
...
...
Misc/NEWS
View file @
1004a533
...
...
@@ -12,6 +12,8 @@ What's New in Python 2.5 alpha 3?
Core and builtins
-----------------
- Patch #1488312, Fix memory alignment problem on SPARC in unicode
- Bug #1487966: Fix SystemError with conditional expression in assignment
- WindowsError now has two error code attributes: errno, which carries
...
...
Objects/unicodeobject.c
View file @
1004a533
...
...
@@ -2313,7 +2313,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. */
if
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment