diff options
author | Vinay Sharma <vinay04sharma@icloud.com> | 2019-08-29 01:56:17 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-08-29 01:56:17 (GMT) |
commit | 13f37f2ba8b1fa39f312dca920e847d9c0313c77 (patch) | |
tree | c7e61cf2549b54e70ab574ba7df923487f84b0b9 /Modules/fcntlmodule.c | |
parent | e4a5e9b5bb69025eb879cb133259667241d61a1f (diff) | |
download | cpython-13f37f2ba8b1fa39f312dca920e847d9c0313c77.zip cpython-13f37f2ba8b1fa39f312dca920e847d9c0313c77.tar.gz cpython-13f37f2ba8b1fa39f312dca920e847d9c0313c77.tar.bz2 |
closes bpo-37964: add F_GETPATH command to fcntl (GH-15550)
https://bugs.python.org/issue37964
Automerge-Triggered-By: @benjaminp
Diffstat (limited to 'Modules/fcntlmodule.c')
-rw-r--r-- | Modules/fcntlmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/fcntlmodule.c b/Modules/fcntlmodule.c index 0fbf787..cfa1225 100644 --- a/Modules/fcntlmodule.c +++ b/Modules/fcntlmodule.c @@ -501,6 +501,9 @@ all_ins(PyObject* m) #ifdef F_SETOWN if (PyModule_AddIntMacro(m, F_SETOWN)) return -1; #endif +#ifdef F_GETPATH + if (PyModule_AddIntMacro(m, F_GETPATH)) return -1; +#endif #ifdef F_GETSIG if (PyModule_AddIntMacro(m, F_GETSIG)) return -1; #endif |