aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2014-01-22 11:02:41 -0800
committerPaul Eggert2014-01-22 11:02:41 -0800
commitdc217d0180ce964d4a4cb9abf505c7654eab658d (patch)
treee99c095a7f2079cc64b1608c0516679063b946f8 /lib-src/ChangeLog
parentedace89f2670ed235d98c6d33f32d49228f423e3 (diff)
downloademacs-dc217d0180ce964d4a4cb9abf505c7654eab658d.tar.gz
emacs-dc217d0180ce964d4a4cb9abf505c7654eab658d.zip
Fix miscellaneous update-game-score bugs.
* configure.ac (difftime): Remove. * lib/update-game-score.c (difftime) [!HAVE_DIFFTIME]: Remove. (read_score) [HAVE_GETDELIM]: Don't access uninitialized storage. (read_scores, write_scores): Check for fclose failure. (write_scores): Use fchmod, not chmod, to avoid a race. (lock_file): Fix test for out-of-date lock file; it was reversed. Use ordinary subtraction rather than difftime; since we're already assuming POSIX we don't need to worry about the possibility of time_t being a magic cookie.
Diffstat (limited to 'lib-src/ChangeLog')
-rw-r--r--lib-src/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index a354f832f32..0d06a926bae 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,15 @@
12014-01-22 Paul Eggert <eggert@cs.ucla.edu>
2
3 Fix miscellaneous update-game-score bugs.
4 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Remove.
5 (read_score) [HAVE_GETDELIM]: Don't access uninitialized storage.
6 (read_scores, write_scores): Check for fclose failure.
7 (write_scores): Use fchmod, not chmod, to avoid a race.
8 (lock_file): Fix test for out-of-date lock file; it was reversed.
9 Use ordinary subtraction rather than difftime; since we're already
10 assuming POSIX we don't need to worry about the possibility of
11 time_t being a magic cookie.
12
12014-01-19 Paul Eggert <eggert@cs.ucla.edu> 132014-01-19 Paul Eggert <eggert@cs.ucla.edu>
2 14
3 update-game-score fixes for -m and integer overflow (Bug#16428) 15 update-game-score fixes for -m and integer overflow (Bug#16428)