[Python-checkins] cpython: Issue #14661: posix module: add O_EXEC, O_SEARCH, O_TTY_INIT
jesus.cea
python-checkins at python.org
Tue Apr 24 21:00:48 CEST 2012
http://hg.python.org/cpython/rev/34de406f566d
changeset: 76536:34de406f566d
user: Jesus Cea <jcea at jcea.es>
date: Tue Apr 24 20:44:40 2012 +0200
summary:
Issue #14661: posix module: add O_EXEC, O_SEARCH, O_TTY_INIT
files:
Modules/posixmodule.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -11176,6 +11176,15 @@
#ifdef O_EXLOCK
if (ins(d, "O_EXLOCK", (long)O_EXLOCK)) return -1;
#endif
+#ifdef O_EXEC
+ if (ins(d, "O_EXEC", (long)O_EXEC)) return -1;
+#endif
+#ifdef O_SEARCH
+ if (ins(d, "O_SEARCH", (long)O_SEARCH)) return -1;
+#endif
+#ifdef O_TTY_INIT
+ if (ins(d, "O_TTY_INIT", (long)O_TTY_INIT)) return -1;
+#endif
#ifdef PRIO_PROCESS
if (ins(d, "PRIO_PROCESS", (long)PRIO_PROCESS)) return -1;
#endif
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list