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 /doc/lispintro/emacs-lisp-intro.texi | |
parent | edace89f2670ed235d98c6d33f32d49228f423e3 (diff) | |
download | emacs-dc217d0180ce964d4a4cb9abf505c7654eab658d.tar.gz emacs-dc217d0180ce964d4a4cb9abf505c7654eab658d.tar.bz2 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 'doc/lispintro/emacs-lisp-intro.texi')
0 files changed, 0 insertions, 0 deletions