[New-bugs-announce] [issue18667] missing HAVE_FCHOWNAT

Petr.Salinger report at bugs.python.org
Tue Aug 6 08:54:47 CEST 2013


New submission from Petr.Salinger:

During test on kfreebsd:

test_chown_dir_fd (test.test_posix.PosixTester) ... skipped 'test needs dir_fd support in os.chown()'

But all *AT syscalls are supported.
It looks like posixmodule.c misses propagation of that fact.

--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -12004,6 +12004,10 @@
     "HAVE_FCHOWN",
 #endif
 
+#ifdef HAVE_FCHOWNAT
+    "HAVE_FCHOWNAT",
+#endif
+
 #ifdef HAVE_FEXECVE
     "HAVE_FEXECVE",
 #endif

----------
components: Extension Modules
messages: 194529
nosy: Petr.Salinger
priority: normal
severity: normal
status: open
title: missing HAVE_FCHOWNAT
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18667>
_______________________________________


More information about the New-bugs-announce mailing list