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
7e9065cf
Commit
7e9065cf
authored
Oct 25, 2010
by
Jesus Cea
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #10143: Update "os.pathconf" values
parent
97019ff6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
1 deletion
+36
-1
Misc/NEWS
Misc/NEWS
+3
-1
Modules/posixmodule.c
Modules/posixmodule.c
+33
-0
No files found.
Misc/NEWS
View file @
7e9065cf
+++++++++++
+++++++++++
Python News
+++++++++++
...
...
@@ -135,6 +135,8 @@ Library
Extensions
----------
- Issue #10143: Update "os.pathconf" values.
- Issue #6518: Support context manager protcol for ossaudiodev types.
- Issue #678250: Make mmap flush a noop on ACCESS_READ and ACCESS_COPY.
...
...
Modules/posixmodule.c
View file @
7e9065cf
...
...
@@ -6437,6 +6437,39 @@ static struct constdef posix_constants_pathconf[] = {
#ifdef _PC_VDISABLE
{
"PC_VDISABLE"
,
_PC_VDISABLE
},
#endif
#ifdef _PC_ACL_ENABLED
{
"PC_ACL_ENABLED"
,
_PC_ACL_ENABLED
},
#endif
#ifdef _PC_MIN_HOLE_SIZE
{
"PC_MIN_HOLE_SIZE"
,
_PC_MIN_HOLE_SIZE
},
#endif
#ifdef _PC_ALLOC_SIZE_MIN
{
"PC_ALLOC_SIZE_MIN"
,
_PC_ALLOC_SIZE_MIN
},
#endif
#ifdef _PC_REC_INCR_XFER_SIZE
{
"PC_REC_INCR_XFER_SIZE"
,
_PC_REC_INCR_XFER_SIZE
},
#endif
#ifdef _PC_REC_MAX_XFER_SIZE
{
"PC_REC_MAX_XFER_SIZE"
,
_PC_REC_MAX_XFER_SIZE
},
#endif
#ifdef _PC_REC_MIN_XFER_SIZE
{
"PC_REC_MIN_XFER_SIZE"
,
_PC_REC_MIN_XFER_SIZE
},
#endif
#ifdef _PC_REC_XFER_ALIGN
{
"PC_REC_XFER_ALIGN"
,
_PC_REC_XFER_ALIGN
},
#endif
#ifdef _PC_SYMLINK_MAX
{
"PC_SYMLINK_MAX"
,
_PC_SYMLINK_MAX
},
#endif
#ifdef _PC_XATTR_ENABLED
{
"PC_XATTR_ENABLED"
,
_PC_XATTR_ENABLED
},
#endif
#ifdef _PC_XATTR_EXISTS
{
"PC_XATTR_EXISTS"
,
_PC_XATTR_EXISTS
},
#endif
#ifdef _PC_TIMESTAMP_RESOLUTION
{
"PC_TIMESTAMP_RESOLUTION"
,
_PC_TIMESTAMP_RESOLUTION
},
#endif
};
static
int
...
...
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