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