mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
#7647: add ST_RDONLY, ST_NOSUID constants to os module.
(Also fix a name ordering in the ACKS file.)
This commit is contained in:
parent
0fc86b86ed
commit
4ea04a306f
5 changed files with 25 additions and 1 deletions
|
@ -8169,6 +8169,14 @@ all_ins(PyObject *d)
|
|||
if (ins(d, "EX_NOTFOUND", (long)EX_NOTFOUND)) return -1;
|
||||
#endif /* EX_NOTFOUND */
|
||||
|
||||
/* statvfs */
|
||||
#ifdef ST_RDONLY
|
||||
if (ins(d, "ST_RDONLY", (long)ST_RDONLY)) return -1;
|
||||
#endif /* ST_RDONLY */
|
||||
#ifdef ST_NOSUID
|
||||
if (ins(d, "ST_NOSUID", (long)ST_NOSUID)) return -1;
|
||||
#endif /* ST_NOSUID */
|
||||
|
||||
#ifdef HAVE_SPAWNV
|
||||
#if defined(PYOS_OS2) && defined(PYCC_GCC)
|
||||
if (ins(d, "P_WAIT", (long)P_WAIT)) return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue