[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-commit] emacs/lib-src update-game-score.c
From: |
Colin Walters |
Subject: |
[Emacs-commit] emacs/lib-src update-game-score.c |
Date: |
Wed, 10 Apr 2002 15:10:23 -0400 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Colin Walters <address@hidden> 02/04/10 15:10:23
Modified files:
lib-src : update-game-score.c
Log message:
(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.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lib-src/update-game-score.c.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
- [Emacs-commit] emacs/lib-src update-game-score.c, Colin Walters, 2002/04/05
- [Emacs-commit] emacs/lib-src update-game-score.c, Colin Walters, 2002/04/05
- [Emacs-commit] emacs/lib-src update-game-score.c, Colin Walters, 2002/04/07
- [Emacs-commit] emacs/lib-src update-game-score.c,
Colin Walters <=
- [Emacs-commit] emacs/lib-src update-game-score.c, Andreas Schwab, 2002/04/13
- [Emacs-commit] emacs/lib-src update-game-score.c, Colin Walters, 2002/04/14
- [Emacs-commit] emacs/lib-src update-game-score.c, Eli Zaretskii, 2002/04/16
- [Emacs-commit] emacs/lib-src update-game-score.c, Colin Walters, 2002/04/23
- [Emacs-commit] emacs/lib-src update-game-score.c, Colin Walters, 2002/04/29