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
346f95ff
Commit
346f95ff
authored
Jul 19, 2011
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Plain Diff
Upstream merge
parents
2ea6fccf
d460a76e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
Misc/NEWS
Misc/NEWS
+9
-2
Modules/_ctypes/libffi/src/dlmalloc.c
Modules/_ctypes/libffi/src/dlmalloc.c
+5
-0
No files found.
Misc/NEWS
View file @
346f95ff
...
...
@@ -14,8 +14,8 @@ Core and Builtins
format string that contains positional fields. Initial patch by
Julian Berman.
- Issue #11627: Fix segfault when __new__ on a exception returns a
non-exception
class.
- Issue #11627: Fix segfault when __new__ on a exception returns a
non-exception
class.
- Issue #12149: Update the method cache after a type's dictionnary gets
cleared by the garbage collector. This fixes a segfault when an instance
...
...
@@ -75,6 +75,13 @@ Library
- Issue #12451: xml.dom.pulldom: parse() now opens files in binary mode instead
of the text mode (using the locale encoding) to avoid encoding issues.
Extension Modules
-----------------
- Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper
signature. Without this, architectures where sizeof void* != sizeof int are
broken. Patch given by Hallvard B Furuseth.
C-API
-----
...
...
Modules/_ctypes/libffi/src/dlmalloc.c
View file @
346f95ff
...
...
@@ -457,6 +457,11 @@ DEFAULT_MMAP_THRESHOLD default: 256K
#define LACKS_ERRNO_H
#define MALLOC_FAILURE_ACTION
#define MMAP_CLEARS 0
/* WINCE and some others apparently don't clear */
#elif !defined _GNU_SOURCE
/* mremap() on Linux requires this via sys/mman.h
* See roundup issue 10309
*/
#define _GNU_SOURCE 1
#endif
/* WIN32 */
#if defined(DARWIN) || defined(_DARWIN)
...
...
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