comparison lib-src/ChangeLog @ 44489:11cfa2d8efb5

*** empty log message ***
author Colin Walters <walters@gnu.org>
date Wed, 10 Apr 2002 19:17:05 +0000
parents 3d2cd2b5a07b
children 2575114cfbee
comparison
equal deleted inserted replaced
44488:5194a24a806f 44489:11cfa2d8efb5
1 2002-04-10 Colin Walters <walters@verbum.org> 1 2002-04-10 Colin Walters <walters@verbum.org>
2
3 * update-game-score.c: (toplevel): Include stdarg.h.
4 (MAX_DATA_LEN, MAX_SCORES): New.
5 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
6 default to ~/.emacs.d/games.
7 (get_user_id): Don't zero uid in the case where we can't get the
8 username.
9 (lose): New function.
10 (main): Actually use `max', and default it to MAX_SCORES.
11 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
12 function.
13 (read_score): Handle the case of reading unamelen characters, then
14 finishing. Use mktemp if mkstemp isn't available.
15 (lock_file, unlock_file): Delete unused versions.
16 (lock_file): Always sleep, even if we unlinked the lock file.
2 17
3 * Makefile.in (gamedir, gameuser): New variables. 18 * Makefile.in (gamedir, gameuser): New variables.
4 (toplevel, UTILITIES): Add update-game-score. 19 (toplevel, UTILITIES): Add update-game-score.
5 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR. 20 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
6 21