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
23e1ecbd
Commit
23e1ecbd
authored
Nov 02, 2011
by
Charles-François Natali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #13324: fcntlmodule: Add the F_NOCACHE flag. Patch by Alex Stewart.
parent
ca897e96
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
Misc/ACKS
Misc/ACKS
+1
-0
Modules/fcntlmodule.c
Modules/fcntlmodule.c
+4
-1
No files found.
Misc/ACKS
View file @
23e1ecbd
...
...
@@ -919,6 +919,7 @@ Joel Stanley
Oliver Steele
Greg Stein
Chris Stern
Alex Stewart
Victor Stinner
Richard Stoakley
Peter Stoehr
...
...
Modules/fcntlmodule.c
View file @
23e1ecbd
...
...
@@ -540,10 +540,13 @@ all_ins(PyObject* d)
if
(
ins
(
d
,
"F_SHLCK"
,
(
long
)
F_SHLCK
))
return
-
1
;
#endif
/* OS X
(and maybe others) let you tell the storage device to flush to physical media
*/
/* OS X
specifics
*/
#ifdef F_FULLFSYNC
if
(
ins
(
d
,
"F_FULLFSYNC"
,
(
long
)
F_FULLFSYNC
))
return
-
1
;
#endif
#ifdef F_NOCACHE
if
(
ins
(
d
,
"F_NOCACHE"
,
(
long
)
F_NOCACHE
))
return
-
1
;
#endif
/* For F_{GET|SET}FL */
#ifdef FD_CLOEXEC
...
...
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