]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #14661: posix module: add O_EXEC, O_SEARCH, O_TTY_INIT
authorJesus Cea <jcea@jcea.es>
Tue, 24 Apr 2012 18:44:40 +0000 (20:44 +0200)
committerJesus Cea <jcea@jcea.es>
Tue, 24 Apr 2012 18:44:40 +0000 (20:44 +0200)
Modules/posixmodule.c

index 3713d1cb523b07a52445d12d56187494555d1f6e..01185fd51f950be7c2e3194cd84209b1beb2cab2 100644 (file)
@@ -11176,6 +11176,15 @@ all_ins(PyObject *d)
 #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