Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r91580:84f77db110c0
Date: 2017-06-11 23:22 +0200
http://bitbucket.org/pypy/pypy/changeset/84f77db110c0/
Log: Update posix to call the new stat3() instead of stat() in py3.5
diff --git a/pypy/module/posix/interp_posix.py
b/pypy/module/posix/interp_posix.py
--- a/pypy/module/posix/interp_posix.py
+++ b/pypy/module/posix/interp_posix.py
@@ -531,9 +531,9 @@
"%s: cannot use fd and follow_symlinks together", funcname)
st = rposix_stat.fstat(path.as_fd)
elif follow_symlinks and dir_fd == DEFAULT_DIR_FD:
- st = call_rposix(rposix_stat.stat, path)
+ st = call_rposix(rposix_stat.stat3, path)
elif not follow_symlinks and dir_fd == DEFAULT_DIR_FD:
- st = call_rposix(rposix_stat.lstat, path)
+ st = call_rposix(rposix_stat.lstat3, path)
elif rposix.HAVE_FSTATAT:
st = call_rposix(rposix_stat.fstatat, path, dir_fd,
follow_symlinks)
else:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit