*** empty log message ***
[bpt/emacs.git] / lib-src / ChangeLog
index f2ac9d9..e287ecd 100644 (file)
@@ -1,3 +1,75 @@
+2002-04-14  Colin Walters  <walters@debian.org>
+
+       * update-game-score.c (lock_file): If the lock file is older than
+       an hour, delete it.  Reset attempts to zero if we have to break
+       the lock.
+
+2002-04-14  Andreas Schwab  <schwab@suse.de>
+
+       * update-game-score.c (read_score): Fix type of second parameter
+       of getdelim to be of type size_t instead of int.  Use 0 instead of
+       ESUCCES.
+
+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.
+
+2002-04-07  Colin Walters  <walters@verbum.org>
+
+       * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
+       (get_user_id): Take struct passwd as an argument.
+       (get_home_dir): New function.
+       (main): Read in user information here.  Discover home directory if
+       necessary.
+       (read_score): Trim newline only in `getline' case.
+
+2002-04-05  Colin Walters  <walters@debian.org>
+       
+       * update-game-score.c (toplevel): Include pwd.h.
+       (struct score_entry): Add username field.
+       (push_score): Use it.
+       (get_user_id): New function.
+       (main): Don't malloc excessively.
+       (main): Use username field.
+       (read_score): Read it.
+       (push_score): Handle it.
+       (write_scores) Write it.
+       (read_score): Handle arbitrary length data. 
+       
+2002-03-30  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
+
+2002-03-29  Gerd Moellmann  <gerd@gnu.org>
+
+       * ebrowse.c (add_declarator, skip_initializer): New functions.
+       (declaration): Use them.
+
+2002-03-28  Jason Rumney  <jasonr@gnu.org>
+
+       * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
+
+2002-03-27  Colin Walters  <walters@debian.org>
+
+       * update-game-score.c: New file.
+
 2002-03-22  Paul Eggert  <eggert@twinsun.com>
 
        * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of