diff 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
line wrap: on
line diff
--- a/lib-src/ChangeLog	Wed Apr 10 19:16:49 2002 +0000
+++ b/lib-src/ChangeLog	Wed Apr 10 19:17:05 2002 +0000
@@ -1,5 +1,20 @@
 2002-04-10  Colin Walters  <walters@verbum.org>
 
+	* update-game-score.c: (toplevel): Include stdarg.h.
+	(MAX_DATA_LEN, MAX_SCORES): New.
+	(SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
+	default to ~/.emacs.d/games.
+	(get_user_id): Don't zero uid in the case where we can't get the
+	username.
+	(lose): New function.
+	(main): Actually use `max', and default it to MAX_SCORES.
+	Correctly handle new default for SCORE_FILE_PREFIX.  Use `lose'
+	function.
+	(read_score): Handle the case of reading unamelen characters, then
+	finishing.  Use mktemp if mkstemp isn't available.
+	(lock_file, unlock_file): Delete unused versions.
+	(lock_file): Always sleep, even if we unlinked the lock file.
+
 	* Makefile.in (gamedir, gameuser): New variables.
 	(toplevel, UTILITIES): Add update-game-score.
 	(${archlibdir}): Handle HAVE_SHARED_GAME_DIR.