chiark
/
gitweb
/
~mdw
/
termux-packages
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0464f2a7be382ec3479fd12c7cf91e7b14c35bb2
[termux-packages]
/
packages
/
python
/
fileutils.c.patch
1
--- Python-3.5.1/Python/fileutils.c 2015-12-07 02:39:11.000000000 +0100
2
+++ src/Python/fileutils.c 2016-05-17 21:46:09.006285776 +0200
3
@@ -856,7 +856,7 @@
4
return 0;
5
}
6
7
- if (errno != ENOTTY) {
8
+ if (errno != ENOTTY && errno != EACCES) {
9
if (raise)
10
PyErr_SetFromErrno(PyExc_OSError);
11
return -1;