aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2013-01-18 20:44:34 -0800
committerPaul Eggert2013-01-18 20:44:34 -0800
commit9fe43ff672d02d6f43bd5bc7b08f40823c7a1851 (patch)
tree89f42a987eff9a5559c4735c19b37d06994c342a /src/ChangeLog
parentfa705c9927b57158e8973cd950419a2ac0f72c53 (diff)
downloademacs-9fe43ff672d02d6f43bd5bc7b08f40823c7a1851.tar.gz
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 'src/ChangeLog')
-rw-r--r--src/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4cd417868a1..2954df9d6b8 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,18 @@
12013-01-19 Paul Eggert <eggert@cs.ucla.edu> 12013-01-19 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Work around bug in CIFS and vboxsf file systems (Bug#13149).
4 The bug was observed on Ubuntu operating inside a virtual machine,
5 editing files mounted via CIFS or vboxsf from the MS Windows 7 host.
6 The workaround introduces a race condition on non-buggy hosts,
7 but it's an unlikely race and anyway there's a nearly identical
8 nearby race that can't be fixed.
9 * fileio.c (valid_timestamp_file_system, timestamp_file_system):
10 New static vars.
11 (Fwrite_region): Test for file system time stamp bug.
12 (init_fileio): New function.
13 * lisp.h (init_fileio): Declare it.
14 * emacs.c (main): Call it.
15
3 * fileio.c (Finsert_file_contents): Simplify new diagnostic 16 * fileio.c (Finsert_file_contents): Simplify new diagnostic
4 and make it more consistent with other stat-failure diagnostics. 17 and make it more consistent with other stat-failure diagnostics.
5 18