Message304059
These are needed only sometimes.
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -1466,6 +1466,7 @@ path_error2(path_t *path, path_t *path2)
/* POSIX generic methods */
+#if defined(HAVE_FSYNC) || defined(HAVE_FDATASYNC) || defined(HAVE_FCHDIR)
static int
fildes_converter(PyObject *o, void *p)
{
@@ -1495,6 +1496,7 @@ posix_fildes_fd(int fd, int (*func)(int))
return (!async_err) ? posix_error() : NULL;
Py_RETURN_NONE;
}
+#endif
#ifdef MS_WINDOWS |
|
| Date |
User |
Action |
Args |
| 2017-10-10 17:05:50 | dilyan.palauzov | set | recipients:
+ dilyan.palauzov |
| 2017-10-10 17:05:50 | dilyan.palauzov | set | messageid: <1507655150.66.0.213398074469.issue31748@psf.upfronthosting.co.za> |
| 2017-10-10 17:05:50 | dilyan.palauzov | link | issue31748 messages |
| 2017-10-10 17:05:50 | dilyan.palauzov | create | |
|