diff options
author | Jesus Cea <jcea@jcea.es> | 2012-04-24 18:44:40 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2012-04-24 18:44:40 (GMT) |
commit | cf381206fcfe8e028412aee573c39b56eca240a7 (patch) | |
tree | 76717b7a96192e263e8fb08c09fbb28c0e4ad7c1 /Modules | |
parent | 15ee821eb50b1d764fad358d7a9ce9f32813d4ee (diff) | |
download | cpython-cf381206fcfe8e028412aee573c39b56eca240a7.zip cpython-cf381206fcfe8e028412aee573c39b56eca240a7.tar.gz cpython-cf381206fcfe8e028412aee573c39b56eca240a7.tar.bz2 |
Issue #14661: posix module: add O_EXEC, O_SEARCH, O_TTY_INIT
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 3713d1c..01185fd 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -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 |