diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-01-22 11:02:41 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-01-22 11:02:41 -0800 |
commit | dc217d0180ce964d4a4cb9abf505c7654eab658d (patch) | |
tree | e99c095a7f2079cc64b1608c0516679063b946f8 /ChangeLog | |
parent | edace89f2670ed235d98c6d33f32d49228f423e3 (diff) | |
download | emacs-dc217d0180ce964d4a4cb9abf505c7654eab658d.tar.gz |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 5d82fc0b6d6..f9cec0339ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-01-22 Paul Eggert <eggert@cs.ucla.edu> + + Fix miscellaneous update-game-score bugs. + * configure.ac (difftime): Remove. + 2014-01-20 Paul Eggert <eggert@cs.ucla.edu> Merge from gnulib, incorporating: |