diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-01-18 20:44:34 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-01-18 20:44:34 -0800 |
commit | 9fe43ff672d02d6f43bd5bc7b08f40823c7a1851 (patch) | |
tree | 89f42a987eff9a5559c4735c19b37d06994c342a /lisp/emacs-lisp/testcover.el | |
parent | fa705c9927b57158e8973cd950419a2ac0f72c53 (diff) | |
download | emacs-9fe43ff672d02d6f43bd5bc7b08f40823c7a1851.tar.gz emacs-9fe43ff672d02d6f43bd5bc7b08f40823c7a1851.tar.bz2 emacs-9fe43ff672d02d6f43bd5bc7b08f40823c7a1851.zip |
Work around bug in CIFS and vboxsf file systems.
The bug was observed on Ubuntu operating inside a virtual machine,
editing files mounted via CIFS or vboxsf from the MS Windows 7 host.
The workaround introduces a race condition on non-buggy hosts,
but it's an unlikely race and anyway there's a nearly identical
nearby race that can't be fixed.
* fileio.c (valid_timestamp_file_system, timestamp_file_system):
New static vars.
(Fwrite_region): Test for file system time stamp bug.
(init_fileio): New function.
* lisp.h (init_fileio): Declare it.
* emacs.c (main): Call it.
Fixes: debbugs:13149
Diffstat (limited to 'lisp/emacs-lisp/testcover.el')
0 files changed, 0 insertions, 0 deletions