Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add __attribute__() to a variable. From PR 6557, after discussion with | hubertf | 1999-02-10 | 1 | -3/+3 | |
| | | | Joseph S. Myers <jsm28@cam.ac.uk> | |||||
* | The patch below makes the game backgammon(6) use `const' where | hubertf | 1999-02-10 | 16 | -195/+162 | |
| | | | | | | | | | | | | | | appropriate. It also removes some obsolete, unused code to check the number of users on the system (obsoleted by dm); removes a prototype for an unused function that was removed earlier; and removes a control character from one message that was I think intended to clear the screen on some particular terminal (though I can't find the comment to that effect in any of the BSD source trees I have handy) but no longer serves any useful purpose. From PR 6580 by Joseph Myers <jsm28@cam.ac.uk>. Also contains two more patches, one in teachgammon/tutor.h (by Joseph) and one in common_source/fancy.c (by me). | |||||
* | Only invoke pager given in $PAGER if output goes to a tty, feed pager | hubertf | 1999-02-10 | 1 | -9/+28 | |
| | | | via stdin, per PR 6699 by Joseph Myers <jsm28@cam.ac.uk> | |||||
* | Const poisoning, per PR 6660 by Joseph Myers <jsm28@cam.ac.uk> | hubertf | 1999-02-10 | 12 | -69/+69 | |
| | ||||||
* | The game sail(6) has a function Write() which is used both with | hubertf | 1999-02-10 | 16 | -123/+141 | |
| | | | | | | | | | | | | integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability. The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun. Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>. | |||||
* | The patch below does some minor cleanup of adventure(6): an additional | hubertf | 1999-02-10 | 3 | -12/+15 | |
| | | | | | | | | | | | use of const I missed in bin/6041; avoiding a signed/unsigned warning; marking an unused parameter as such; revoking setgid privileges (including the saved gid) rather than setuid ones; includes and function prototypes in setup.c; the string passed to err() should not end with a `.'. Together with the patch sent concerning adventure's EOF handling, this synchronises adventure(6) in NetBSD with the Linux port of the NetBSD games. Via PR 6557 by Joseph Myers <jsm28@cam.ac.uk> | |||||
* | The game adventure(6) handles EOF on standard input rather | hubertf | 1999-02-10 | 3 | -16/+30 | |
| | | | | | | ungracefully. The patch, derived from OpenBSD, improves this handling. Sent in in PR 6556 by Joseph Myers <jsm28@cam.ac.uk>. | |||||
* | only show preview if the -p option is given | hubertf | 1999-01-03 | 4 | -16/+16 | |
| | ||||||
* | document morse's decode option -d | hubertf | 1999-01-03 | 1 | -2/+2 | |
| | ||||||
* | Add previewing of next shape. Old (previous) behaviour can be | hubertf | 1999-01-03 | 6 | -27/+62 | |
| | | | restored by compiling with NO_PREVIEW defined. | |||||
* | Remove obsolete header file. Fixes PR bin/6700 by Joseph S. Myers. | tron | 1999-01-02 | 1 | -56/+0 | |
| | ||||||
* | tweaks to pass DESTDIR to subprograms when it is defined in /etc/mk.conf | dbj | 1998-12-06 | 2 | -4/+6 | |
| | | | but is not in the environment. | |||||
* | typo. | pk | 1998-12-05 | 1 | -1/+1 | |
| | ||||||
* | Fix spelling of `Churchill' in 3 places | jwise | 1998-11-20 | 2 | -3/+3 | |
| | ||||||
* | Add support for decoding of morse code. | hubertf | 1998-11-18 | 2 | -16/+115 | |
| | ||||||
* | fix usage | hubertf | 1998-11-18 | 1 | -3/+3 | |
| | ||||||
* | constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk> | hubertf | 1998-11-10 | 7 | -93/+96 | |
| | ||||||
* | constify, per PR 6148 | hubertf | 1998-11-10 | 20 | -176/+181 | |
| | ||||||
* | make objdir-aware | hubertf | 1998-11-09 | 1 | -5/+5 | |
| | ||||||
* | don't install in /usr/share if NOSHARE is defined | lukem | 1998-09-29 | 10 | -13/+34 | |
| | ||||||
* | Fix args processing of backgammon and teachgammon, closes pr 5345 by | frueauf | 1998-09-15 | 3 | -9/+9 | |
| | | | David Brownlee. | |||||
* | constify (PR#6151, once more by Joseph Myers <jsm28@cam.ac.uk>) | hubertf | 1998-09-14 | 1 | -4/+4 | |
| | ||||||
* | return error on errors (PR#6147 by Joseph Myers <jsm28@cam.ac.uk>) | hubertf | 1998-09-14 | 4 | -31/+21 | |
| | ||||||
* | constify, as per PR#6136 by Joseph Myers <jsm28@cam.ac.uk> | hubertf | 1998-09-14 | 1 | -6/+6 | |
| | ||||||
* | remove x bit from save files (PR#6077) | hubertf | 1998-09-13 | 1 | -3/+3 | |
| | ||||||
* | Remove unused function and mark non-returning ones(PR#6076, #6144 by Joseph ↵ | hubertf | 1998-09-13 | 1 | -3/+2 | |
| | | | | Myers <jsm28@cam.ac.uk>) | |||||
* | mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>) | hubertf | 1998-09-13 | 29 | -89/+89 | |
| | ||||||
* | fix bug w/ negative numbers, mark non-returning functions (PR#6142+6144 by ↵ | hubertf | 1998-09-13 | 1 | -3/+4 | |
| | | | | Joseph Myers <jsm28@cam.ac.uk>) | |||||
* | add sanity checks when saving/restoring games (PR#6138 by Joseph Myers ↵ | hubertf | 1998-09-13 | 1 | -4/+10 | |
| | | | | <jsm28@cam.ac.uk>) | |||||
* | check for malloc failures (PR#6136 by Joseph Myers <jsm28@cam.ac.uk>) | hubertf | 1998-09-13 | 2 | -7/+16 | |
| | ||||||
* | some cleanups as per PR#6082 by Joseph Myers <jsm28@cam.ac.uk> | hubertf | 1998-09-13 | 1 | -9/+9 | |
| | ||||||
* | remove unused files (PR#6083 by Joseph Myers <jsm28@cam.ac.uk>) | hubertf | 1998-09-13 | 7 | -88/+2 | |
| | ||||||
* | remove unused function return values (PR#6079 by Joseph Myers <jsm28@cam.ac.uk>) | hubertf | 1998-09-13 | 4 | -31/+22 | |
| | ||||||
* | Saved games can NOT be restored by executing the save file (PR#6077) | hubertf | 1998-09-13 | 1 | -3/+1 | |
| | ||||||
* | Replace special handling of \r by using ICRNL (PR#6078 by Joseph Myers ↵ | hubertf | 1998-09-13 | 2 | -19/+5 | |
| | | | | <jsm28@cam.ac.uk>) | |||||
* | Remove unused function (PR#6076 by Joseph Myers <jsm28@cam.ac.uk>) | hubertf | 1998-09-13 | 2 | -18/+4 | |
| | ||||||
* | Make dm ignore TZ; PR#6073 by Joseph Myers <jsm28@cam.ac.uk> | hubertf | 1998-09-13 | 1 | -2/+3 | |
| | ||||||
* | constify, per PR 6041 by Joseph Myers <jsm28@cam.ac.uk> | hubertf | 1998-09-13 | 5 | -23/+24 | |
| | ||||||
* | Correct attribution as pointed out in pr 6114 by Jim Wise. | frueauf | 1998-09-12 | 1 | -1/+2 | |
| | ||||||
* | Make the helper programs compile right in a cross-compiling environment. | wrstuden | 1998-09-12 | 2 | -2/+8 | |
| | ||||||
* | add main() prototype | hubertf | 1998-09-11 | 1 | -2/+4 | |
| | ||||||
* | fix prototype, PR#5867 | hubertf | 1998-09-11 | 1 | -2/+3 | |
| | ||||||
* | use symbolic constant for open(), PR#5867 | hubertf | 1998-09-11 | 1 | -3/+3 | |
| | ||||||
* | fix main() prototype, per PR#5867 | hubertf | 1998-09-11 | 1 | -6/+4 | |
| | ||||||
* | fix prototype, per PR#5867 | hubertf | 1998-09-11 | 3 | -7/+9 | |
| | ||||||
* | fix prototypes, per PR#5867 | hubertf | 1998-09-11 | 2 | -4/+8 | |
| | ||||||
* | fix prototype of mon_sees(), per PR#5867 | hubertf | 1998-09-11 | 1 | -2/+3 | |
| | ||||||
* | be more precise for PI, as per PR5867 | hubertf | 1998-09-11 | 1 | -3/+5 | |
| | ||||||
* | use symbolic constants for signals & open(2), as per PR#5867 | hubertf | 1998-09-11 | 2 | -6/+6 | |
| | ||||||
* | remove unneeded typedef for TTYB, as per PR#5867 | hubertf | 1998-09-11 | 1 | -2/+1 | |
| |