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
6fdd7b81
Commit
6fdd7b81
authored
May 16, 2013
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #17964: Fix os.sysconf(): the return type of the C sysconf() function
is long, not int.
parent
0b1bc56b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Misc/NEWS
Misc/NEWS
+3
-0
Modules/posixmodule.c
Modules/posixmodule.c
+1
-1
No files found.
Misc/NEWS
View file @
6fdd7b81
...
...
@@ -91,6 +91,9 @@ Core and Builtins
Library
-------
- Issue #17964: Fix os.sysconf(): the return type of the C sysconf() function
is long, not int.
- Fix typos in the multiprocessing module.
- Issue #17754: Make ctypes.util.find_library() independent of the locale.
...
...
Modules/posixmodule.c
View file @
6fdd7b81
...
...
@@ -9550,7 +9550,7 @@ posix_sysconf(PyObject *self, PyObject *args)
int
name
;
if
(
PyArg_ParseTuple
(
args
,
"O&:sysconf"
,
conv_sysconf_confname
,
&
name
))
{
int
value
;
long
value
;
errno
=
0
;
value
=
sysconf
(
name
);
...
...
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