Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | We don't need a private #define "unsgn" for "unsigned", especially since | 2009-05-25 | 2 | -5/+4 | |
| | | | it was used exactly once. | ||||
* | Use the time to call srandom(), not getpid(). | 2009-05-25 | 1 | -3/+4 | |
| | |||||
* | KNF/whitespace: format preprocessor directives correctly. | 2009-05-25 | 11 | -147/+147 | |
| | |||||
* | ANSIfy function declarations. Object file diffs checked. | 2009-05-25 | 12 | -88/+64 | |
| | |||||
* | sprintf -> snprintf | 2009-05-25 | 3 | -8/+9 | |
| | |||||
* | Sort sections. | 2009-04-12 | 1 | -6/+6 | |
| | |||||
* | Convert to mdoc markup. With input from wiz. | 2009-04-12 | 1 | -182/+181 | |
| | |||||
* | if initscr() fails, exit with a message rather than crash in the | 2008-08-08 | 1 | -3/+4 | |
| | | | next curses call | ||||
* | Remove the \n and tabs from the __COPYRIGHT() strings. | 2008-07-20 | 2 | -8/+8 | |
| | |||||
* | make mille build with WARNS=4 | 2008-01-28 | 1 | -6/+6 | |
| | |||||
* | convert __attribute__s to applicable cdefs.h macros | 2007-12-15 | 2 | -6/+6 | |
| | |||||
* | Coverity CID 695: Remove impossible condition. This changes the scoring as | 2006-03-19 | 1 | -5/+3 | |
| | | | it was probably intended originally. | ||||
* | Use standard AUTHORS section header. From YOMURA Masanori in private mail | 2005-09-15 | 1 | -2/+2 | |
| | | | Sort sections if necessary. Use more/better markup. | ||||
* | Add (unsigned char) cast to ctype functions | 2004-11-05 | 1 | -5/+5 | |
| | |||||
* | If the current player has no cards, skip to the other player. | 2004-04-06 | 1 | -2/+15 | |
| | | | | While we're here, make this compile with -DDEBUG. Fixes PR bin/12530 from Thomas Klausner. | ||||
* | Remove uses of __P. | 2004-01-27 | 3 | -44/+44 | |
| | |||||
* | Move UCB-licensed code from 4-clause to 3-clause licence. | 2003-08-07 | 15 | -103/+43 | |
| | | | Patches provided by Joel Baker in PR 22269, verified by myself. | ||||
* | New sentences begin on new lines. | 2002-09-26 | 1 | -14/+24 | |
| | | | Patch from Richard Elz, slightly improved by yours truly. | ||||
* | __STDC__ is always defined on NetBSD. | 2002-05-26 | 1 | -17/+3 | |
| | |||||
* | Generate <>& symbolically. I'm avoiding .../dist/... directories for now. | 2002-02-08 | 1 | -6/+6 | |
| | |||||
* | Change deprecated curses function to new equivalent. | 2001-12-06 | 1 | -3/+3 | |
| | |||||
* | Negative exit code cleanup: Replace exit(-x) with exit(x). | 2001-04-06 | 1 | -3/+3 | |
| | | | As seen on tech-userlevel. | ||||
* | Use setgid(), not setregid(). | 2000-05-08 | 1 | -3/+3 | |
| | |||||
* | Cast pointer difference to long when printing w/ %ld. | 2000-04-27 | 1 | -3/+3 | |
| | |||||
* | Clear to end of line on the correct window. | 2000-04-27 | 1 | -3/+3 | |
| | |||||
* | Fix arguments to *printw(). | 2000-04-27 | 1 | -3/+3 | |
| | |||||
* | Fix error in last namespace change (only relevant #ifdef DEBUG). | 1999-10-01 | 1 | -3/+3 | |
| | |||||
* | Fix uses of namespaces reserved by ISO C or POSIX.1. | 1999-09-30 | 5 | -27/+35 | |
| | |||||
* | Fix -Wsign-compare warnings. | 1999-09-18 | 1 | -3/+3 | |
| | |||||
* | Security improvements for games (largely from or inspired by OpenBSD). | 1999-09-12 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | 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. | ||||
* | Include <time.h> in various places in the games where time() or time_t | 1999-09-09 | 1 | -2/+4 | |
| | | | are used. | ||||
* | Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in | 1999-09-08 | 1 | -3/+3 | |
| | | | the games. | ||||
* | Add `__noreturn__' and `__unused__' attributes where appropriate to | 1999-09-08 | 2 | -6/+10 | |
| | | | | | | | | | | | | 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). Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed). | ||||
* | Add use of `const' where appropriate to the games. | 1999-09-08 | 6 | -39/+41 | |
| | | | | | | | | | 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. | ||||
* | Removed unused array Movenames[]. | 1999-09-08 | 1 | -6/+2 | |
| | |||||
* | defined(attron) does not mean there is a <term.h> | 1999-03-29 | 4 | -23/+8 | |
| | |||||
* | mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>) | 1998-09-13 | 1 | -2/+2 | |
| | |||||
* | const poisoning. | 1998-07-26 | 2 | -6/+6 | |
| | |||||
* | Simply include -lcurses instead of -lcurses -ltermcap | 1998-02-18 | 1 | -3/+3 | |
| | |||||
* | Remove -lcompat; not needed | 1998-02-04 | 1 | -3/+3 | |
| | |||||
* | WARNSify | 1997-10-12 | 15 | -206/+320 | |
| | |||||
* | curses needs termcap | 1997-05-29 | 1 | -3/+3 | |
| | |||||
* | Remove unctrl.h, use public version. | 1997-05-23 | 2 | -47/+3 | |
| | |||||
* | Change "reg" to "register" | 1997-05-23 | 11 | -95/+87 | |
| | | | Remove private implementation of erasechar() and killchar(). | ||||
* | Make these compile on the PowerPC (an unsigned char system). | 1997-03-29 | 1 | -3/+3 | |
| | |||||
* | Sync to 4.4BSD-Lite2 | 1997-01-07 | 1 | -3/+4 | |
| | |||||
* | rcs id conventions | 1995-03-24 | 17 | -34/+102 | |
| | |||||
* | specify man pages the new way. | 1994-12-22 | 1 | -2/+2 | |
| | |||||
* | sync with 44lite, seems to fix bug #224 | 1994-05-12 | 17 | -138/+120 | |
| | |||||
* | Avoid infinite loop. | 1994-01-13 | 1 | -3/+3 | |
| |