1. 11 Sep, 2009 1 commit
  2. 08 Jan, 2009 1 commit
  3. 09 May, 2008 1 commit
  4. 07 Jan, 2008 1 commit
  5. 25 Jul, 2007 1 commit
  6. 21 Jan, 2007 1 commit
  7. 06 Feb, 2006 1 commit
  8. 07 Aug, 2005 1 commit
  9. 04 Jul, 2005 1 commit
  10. 08 May, 2004 1 commit
  11. 16 Apr, 2004 1 commit
  12. 08 Sep, 2003 1 commit
  13. 01 Sep, 2003 1 commit
  14. 22 May, 2003 1 commit
  15. 27 Apr, 2003 1 commit
  16. 04 Feb, 2003 3 commits
  17. 18 Nov, 2002 1 commit
    • Dave Love's avatar
      Include unistd.h, string.h, stdlib.h, · 5b400482
      Dave Love authored
      fcntl.h, stdarg.h conditionally.
      (_GNU_SOURCE, __attribute__): Don't define.
      (optarg, optind, opterr): Declare.
      (lose, lose_syserr): Use NO_RETURN.
      (get_user_id): Use P_.
      5b400482
  18. 01 Aug, 2002 1 commit
  19. 29 Apr, 2002 1 commit
    • Colin Walters's avatar
      (SCORE_FILE_PREFIX): Delete. · d99fabf0
      Colin Walters authored
      (main): New argument -d, for specifying directory.
      (usage): Document.
      (get_user_id): Compute
      (get_home_dir): Deleted.
      (get_prefix): New function, taken from main.
      (main): Check whether or not we are running setuid.  Move prefix
      computation to get_prefix.  Don't call getpwent; we don't need to
      any more.  Instead, move it to get_user_id().
      d99fabf0
  20. 23 Apr, 2002 1 commit
  21. 16 Apr, 2002 1 commit
  22. 14 Apr, 2002 2 commits
  23. 10 Apr, 2002 1 commit
    • Colin Walters's avatar
      (toplevel): Include stdarg.h. · 8eec804f
      Colin Walters authored
      (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.
      8eec804f
  24. 07 Apr, 2002 1 commit
  25. 05 Apr, 2002 2 commits
  26. 27 Mar, 2002 1 commit