]> git.eshelyaron.com Git - emacs.git/commit
Don’t worry about unlink if errno == ENOENT
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Aug 2017 00:24:28 +0000 (17:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Aug 2017 00:24:50 +0000 (17:24 -0700)
commit1a65afb7ecc2a52127d6164bad19313440237f9d
treecebf29b8dbbcec14fbdb1e8c13b143334c8fbca6
parentf74164a845eff579635da0a1267514ef9d040ad2
Don’t worry about unlink if errno == ENOENT

* src/fileio.c (Fdelete_file):
* src/keyboard.c (Fopen_dribble_file): Do not report failure to
remove a file if unlink fails with errno == ENOENT.  This can
happen even if Emacs is the only program removing the file, in
case an NFS cache overflows.  The file does not exist if errno ==
ENOENT, so it is OK to proceed.
src/fileio.c
src/keyboard.c