Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | When using -lcurses, you also need -lterminfo. | he | 2010-02-06 | 1 | -3/+3 |
| | | | | This fixes the build for sun2, and also builds with LDSTATIC=-static, since archive libraries don't record inter-library dependencies. | ||||
* | sprinkle static | dholland | 2009-08-12 | 5 | -23/+27 |
| | |||||
* | don't use char values for functions that can return -1; chars are not always | christos | 2009-08-05 | 1 | -4/+3 |
| | | | signed. | ||||
* | Use getopt instead of hand-rolled options code. Document all the arguments | dholland | 2009-08-05 | 2 | -76/+87 |
| | | | | | and options. Don't allow the previously undocumented method to change the maximum number of scores kept per user to be used on the system-wide high score file. Sort options list in the man page. Bump its date. | ||||
* | don't ignore errors from read(); found by lint | dholland | 2009-08-03 | 1 | -5/+4 |
| | |||||
* | Use random() instead of rand(), and seed with time instead of pid. | dholland | 2009-07-20 | 2 | -6/+7 |
| | |||||
* | Assorted minor cleanups, no functional change: | dholland | 2009-07-20 | 13 | -112/+137 |
| | | | | | | | | | | - u_int* -> uint* - don't make private typedefs of system structures - use curses TRUE and FALSE only with curses booleans, otherwise true and false; - includes cleanup - group globals in extern.c by functionality Object file diffs inspected. | ||||
* | A bit more whitespace. | dholland | 2009-07-20 | 2 | -7/+7 |
| | |||||
* | Whitespace. | dholland | 2009-07-20 | 13 | -231/+231 |
| | |||||
* | ANSIfy. Use __dead. Object diffs checked. | dholland | 2009-07-20 | 12 | -98/+69 |
| | |||||
* | \@ is not a valid escape sequence. | joerg | 2009-04-09 | 1 | -2/+2 |
| | |||||
* | if initscr() fails, exit with a message rather than crash in the | drochner | 2008-08-08 | 1 | -3/+4 |
| | | | next curses call | ||||
* | Remove the \n and tabs from the __COPYRIGHT() strings. | lukem | 2008-07-20 | 1 | -4/+4 |
| | |||||
* | Remove clause 3 and 4 from TNF licenses | martin | 2008-04-28 | 1 | -8/+1 |
| | |||||
* | convert __attribute__s to applicable cdefs.h macros | perry | 2007-12-15 | 1 | -3/+3 |
| | |||||
* | If getpwuid() returns null, its not usually a good idea to dereference | abs | 2006-03-17 | 1 | -5/+5 |
| | | | | | that to try to assign a default value. Just copy the default value into the final destination. Addresses Coverty CID 925 | ||||
* | Use standard AUTHORS section header. From YOMURA Masanori in private mail | wiz | 2005-09-15 | 1 | -4/+5 |
| | | | Sort sections if necessary. Use more/better markup. | ||||
* | Add (unsigned char) cast to ctype functions | dsl | 2004-11-05 | 1 | -3/+3 |
| | |||||
* | - sleep a little in autobot mode so that we can see what is happening. | christos | 2004-08-27 | 1 | -5/+9 |
| | | | - use refresh() instead of wrefresh() | ||||
* | describe the algorithm better. | christos | 2004-08-27 | 1 | -10/+8 |
| | |||||
* | Remove uses of __P. | jsm | 2004-01-27 | 4 | -43/+43 |
| | |||||
* | Include <sys/endian.h>. | jsm | 2004-01-27 | 1 | -1/+2 |
| | |||||
* | Move UCB-licensed code from 4-clause to 3-clause licence. | agc | 2003-08-07 | 14 | -95/+39 |
| | | | Patches provided by Joel Baker in PR 22269, verified by myself. | ||||
* | Lots of minor fixes resulting from reading these man pages in detail. | wiz | 2002-09-26 | 1 | -4/+4 |
| | |||||
* | New sentences begin on new lines. | wiz | 2002-09-26 | 1 | -2/+3 |
| | | | Patch from Richard Elz, slightly improved by yours truly. | ||||
* | Generate <>& symbolically. I'm avoiding .../dist/... directories for now. | ross | 2002-02-08 | 1 | -2/+2 |
| | |||||
* | Be more verbose about teleports, and fix a minor problem in autobot mode. | christos | 2002-01-31 | 4 | -8/+26 |
| | |||||
* | Change deprecated curses function to new equivalent. | blymn | 2001-12-06 | 1 | -3/+3 |
| | |||||
* | Whitespace and/or punctuation fixes. | wiz | 2001-04-02 | 1 | -3/+3 |
| | |||||
* | fix nested externs | christos | 2001-02-05 | 1 | -4/+5 |
| | |||||
* | comment or delete text after CPP directives. | cgd | 2001-01-16 | 2 | -6/+6 |
| | |||||
* | Use setgid(), not setregid(). | mycroft | 2000-05-08 | 1 | -3/+3 |
| | |||||
* | Cast pointer diffs to long for printing with %ld. | thorpej | 2000-04-27 | 1 | -3/+3 |
| | |||||
* | Fix arguments to *printw(). | jdc | 2000-04-27 | 1 | -3/+3 |
| | |||||
* | Don't insert leading 0s in the score display. (HI CHRISTOS!) | mycroft | 2000-04-09 | 1 | -4/+4 |
| | |||||
* | Report scores as auto-bot or not correctly. | jsm | 2000-01-20 | 1 | -3/+3 |
| | | | Bug report and fix from Malcolm Parsons <malcolm@bits.bris.ac.uk>. | ||||
* | Ensure correct prompt asking about another game is given at the end of | jsm | 2000-01-19 | 1 | -2/+3 |
| | | | | | each game. Bug report and fix from Malcolm Parsons <malcolm@bits.bris.ac.uk>. | ||||
* | Typo fix in unknown option message (from Malcolm Parsons | jsm | 2000-01-19 | 1 | -3/+3 |
| | | | <malcolm@bits.bris.ac.uk>). | ||||
* | Remove definition of __cputchar. | jsm | 2000-01-19 | 1 | -9/+2 |
| | |||||
* | update after change to return value of tputs() third argument | lukem | 1999-10-04 | 1 | -4/+4 |
| | |||||
* | Fix uses of namespaces reserved by ISO C or POSIX.1. | jsm | 1999-09-30 | 1 | -1/+2 |
| | |||||
* | Fix -Wsign-compare warnings. | jsm | 1999-09-18 | 3 | -10/+11 |
| | |||||
* | Security improvements for games (largely from or inspired by OpenBSD). | jsm | 1999-09-12 | 3 | -16/+37 |
| | | | | | | | | | | | | | | | 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. | ||||
* | Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in | jsm | 1999-09-08 | 1 | -3/+3 |
| | | | the games. | ||||
* | Add `__noreturn__' and `__unused__' attributes where appropriate to | jsm | 1999-09-08 | 1 | -3/+3 |
| | | | | | | | | | | | | 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. | jsm | 1999-09-08 | 8 | -35/+36 |
| | | | | | | | | | 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. | ||||
* | Fixi uninit vars warnings. | christos | 1999-05-16 | 1 | -3/+3 |
| | |||||
* | Add missing prototypes | christos | 1999-05-16 | 3 | -8/+20 |
| | |||||
* | Add -A for automatic playing mode. | christos | 1999-05-15 | 10 | -62/+531 |
| | | | Make the score file MI | ||||
* | mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>) | hubertf | 1998-09-13 | 1 | -2/+2 |
| |