Message275290
It looks as though this change in posixmodule.c is the cause:
#ifdef MS_WINDOWS
- if (path->wide)
- fd = _wopen(path->wide, flags, mode);
- else
+ fd = _wopen(path->wide, flags, mode);
#endif
#ifdef HAVE_OPENAT
if (dir_fd != DEFAULT_DIR_FD)
fd = openat(dir_fd, path->narrow, flags, mode);
else
-#endif
fd = open(path->narrow, flags, mode);
+#endif
The move of the final #endif means that `fd` is not defined on OS X. If I move the #endif back again, the compile succeeds. |
|
Date |
User |
Action |
Args |
2016-09-09 08:55:59 | mark.dickinson | set | recipients:
+ mark.dickinson, brett.cannon, paul.moore, ncoghlan, vstinner, tim.golden, jkloth, python-dev, zach.ware, steve.dower, yan12125, Decorater |
2016-09-09 08:55:59 | mark.dickinson | set | messageid: <1473411359.23.0.804888664296.issue27781@psf.upfronthosting.co.za> |
2016-09-09 08:55:59 | mark.dickinson | link | issue27781 messages |
2016-09-09 08:55:59 | mark.dickinson | create | |
|