diff options
author | Christian Heimes <christian@cheimes.de> | 2007-11-30 21:11:28 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-11-30 21:11:28 (GMT) |
commit | 3628187b66287bdeb8c3c323092bf17e714e68de (patch) | |
tree | 269471b6c5a302d00196e483e2ceb132533ef389 /pyconfig.h.in | |
parent | dafd32b730c246b76a28e4089253e3a2b614df58 (diff) | |
download | cpython-3628187b66287bdeb8c3c323092bf17e714e68de.zip cpython-3628187b66287bdeb8c3c323092bf17e714e68de.tar.gz cpython-3628187b66287bdeb8c3c323092bf17e714e68de.tar.bz2 |
Fix for feature request #1528 Add os.fchmod
Georg Brandl has added fchmod() and fchown(). I've contributed lchown but I'm not able to test it on Linux. However it should be available on Mac and some other flavors of Unix.
I've made a quick test of fchmod() and fchown() on my system. They are working as expected.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index 16c85a5..1ba3e58 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -144,6 +144,12 @@ /* Define if you have the 'fchdir' function. */ #undef HAVE_FCHDIR +/* Define to 1 if you have the `fchmod' function. */ +#undef HAVE_FCHMOD + +/* Define to 1 if you have the `fchown' function. */ +#undef HAVE_FCHOWN + /* Define to 1 if you have the <fcntl.h> header file. */ #undef HAVE_FCNTL_H @@ -300,6 +306,9 @@ /* Define to 1 if you have the `lchflags' function. */ #undef HAVE_LCHFLAGS +/* Define to 1 if you have the `lchmod' function. */ +#undef HAVE_LCHMOD + /* Define to 1 if you have the `lchown' function. */ #undef HAVE_LCHOWN |