]> git.eshelyaron.com Git - emacs.git/commit
Be less picky about EACCES in file test predicates
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 Sep 2019 11:21:19 +0000 (04:21 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 Sep 2019 11:21:55 +0000 (04:21 -0700)
commit735940f4551a43f3b4381105dc074cd7d494f2f3
treeac0cf15878e2be0b8e6ebf043c529d5aaa4468b1
parent94ca934a5c4ef4908fdb7bcd78950bacf9c4ce88
Be less picky about EACCES in file test predicates

Problem reported by Tino Calancha (Bug#37445) and others.
* src/fileio.c (PICKY_EACCES): New constant, false by default.
(file_test_errno): Ignore EACCES if not picky.
(check_file_access): Investigate EACCES problems further
if picky.
src/fileio.c