Home | History | Annotate | Download | only in cribbage
History log of /src/games/cribbage/crib.c
RevisionDateAuthorComments
 1.27  01-Jun-2023  andvar fix various typos in comments.
 1.26  06-Jan-2023  christos PR/57164: Greywolf: Add -y to cribbage to keep playing without asking
 1.25  13-Oct-2012  dholland Pass -Wstrict-overflow, and while here, don't read from index -1 of
an array.
 1.24  12-Aug-2009  dholland branches: 1.24.6; 1.24.12;
sprinkle static
 1.23  13-Jul-2009  roy Rename internal getline() function to get_line() so it does
conflict with the soon to be added getline(3) libc function.
 1.22  08-Aug-2008  drochner if initscr() fails, exit with a message rather than crash in the
next curses call
 1.21  20-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
 1.20  02-Jul-2005  jmc branches: 1.20.20;
KNF and WARNS=3
 1.19  27-Jan-2004  jsm Remove uses of __P.
 1.18  26-Jan-2004  jsm Rename rint to receive_intr to avoid conflict with GCC 3.4 built-in C99
function.
 1.17  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.16  06-Dec-2001  blymn Change deprecated curses function to new equivalent.
 1.15  04-Dec-2001  blymn Replace deprecated curses call with supported equivalent.
 1.14  05-Feb-2001  christos remove redundant decl
 1.13  08-May-2000  mycroft Use setgid(), not setregid().
 1.12  12-Sep-1999  jsm Security improvements for games (largely from or inspired by OpenBSD).

Games which run setgid from dm, but don't need to, should drop their
privileges at startup.

Games which have a scorefile should open it at startup, then drop all
privileges leaving just the open writable file descriptor. If the
game can invoke subprocesses, this should be made close-on-exec.

Games with scorefiles should make sure they do not get a file
descriptor < 3. (Otherwise, they could get confused and corrupt the
scorefile when using stdin, stdout or stderr.)

Some old setuid revokes from the days of setuid games change into gid
revokes.
 1.11  08-Sep-1999  jsm Add use of `const' where appropriate to the games.

This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).

Some such changes were previously covered in PRs bin/6041, bin/6146,
bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994,
bin/8039, bin/8057 and bin/8093.
 1.10  30-Aug-1998  veego Add braces to make the new egcs happy.
 1.9  11-Oct-1997  lukem minor KNFify
 1.8  10-Oct-1997  lukem WARNSify
 1.7  10-Jul-1997  mikel make explicit comparisons to NULL, s/rindex/strrchr/
 1.6  09-Jul-1997  phil Clean up play, let player see play more often, improve display timing.
Preliminary work from PR 2055 (as reverse patches).
 1.5  21-Mar-1995  cgd clean up import
 1.4  28-Feb-1995  jtc change <sys/signal.h> to <signal.h>
 1.3  01-Aug-1993  mycroft Add RCS identifiers.
 1.2  18-Apr-1993  mycroft Cleanup for GCC 2.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  21-Mar-1995  cgd from Lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.20.20.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.24.12.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.24.6.1  30-Oct-2012  yamt sync with head

RSS XML Feed