aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2013-02-02 11:18:00 -0800
committerPaul Eggert2013-02-02 11:18:00 -0800
commit8ea41ea99608c7483ef5c91e230a760cf90bfb54 (patch)
treea3cb2538ecd6f106b6e55c4d4c76be1487b01431 /src/ChangeLog
parente7ac588e198385a9bc5a2338000ab6db69c2353c (diff)
downloademacs-8ea41ea99608c7483ef5c91e230a760cf90bfb54.tar.gz
emacs-8ea41ea99608c7483ef5c91e230a760cf90bfb54.zip
Avoid file time stamp bug on MS-Windows.
* fileio.c (Fwrite_region): Don't use the heuristic on empty files, as FAT32 doesn't update time stamps when truncating them. Also, check that a file time stamp is not a multiple of 100 ns; this should catch all instances of the problem on MS-Windows, as its native file system resolution is 100 ns or worse, and checking for a non-multiple of 100 ns should impose only a small overhead on systems with ns resolution. Fixes: debbugs:13149
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b90f18eba91..092302d6492 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,14 @@
12013-02-02 Paul Eggert <eggert@cs.ucla.edu>
2
3 Avoid file time stamp bug on MS-Windows (Bug#13149).
4 * fileio.c (Fwrite_region): Don't use the heuristic on empty files,
5 as FAT32 doesn't update time stamps when truncating them.
6 Also, check that a file time stamp is not a multiple of 100 ns;
7 this should catch all instances of the problem on MS-Windows,
8 as its native file system resolution is 100 ns or worse, and
9 checking for a non-multiple of 100 ns should impose only a small
10 overhead on systems with ns resolution.
11
12013-02-02 Eli Zaretskii <eliz@gnu.org> 122013-02-02 Eli Zaretskii <eliz@gnu.org>
2 13
3 Avoid encoding file names on MS-Windows when they need to be run 14 Avoid encoding file names on MS-Windows when they need to be run