]> git.eshelyaron.com Git - emacs.git/commit
Fix directory-files-and-attributes race
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 12 Sep 2019 06:22:46 +0000 (23:22 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 12 Sep 2019 06:23:22 +0000 (23:23 -0700)
commitf7228a6479cc8c88a23138980d958c4c431dd6a5
tree4e3ded6342bfebf5ab3bc871ec4ad4c2fdba2c85
parentef926ce3b6a078039303ae210e599dc4d3faa13b
Fix directory-files-and-attributes race

* src/dired.c (directory_files_internal): Fix race condition:
when some other process removed a file between the readdir and
the ensuing lstat, directory-files-and-attributes would return
a list containing nil.
src/dired.c