summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* tgetent() handles const correctly in currenthubertf1999-02-101-3/+3
|
* Add __attribute__() to a variable. From PR 6557, after discussion withhubertf1999-02-101-3/+3
| | | Joseph S. Myers <jsm28@cam.ac.uk>
* The patch below makes the game backgammon(6) use `const' wherehubertf1999-02-1016-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 pagerhubertf1999-02-101-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>hubertf1999-02-1012-69/+69
|
* The game sail(6) has a function Write() which is used both withhubertf1999-02-1016-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 additionalhubertf1999-02-103-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 ratherhubertf1999-02-103-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 givenhubertf1999-01-034-16/+16
|
* document morse's decode option -dhubertf1999-01-031-2/+2
|
* Add previewing of next shape. Old (previous) behaviour can behubertf1999-01-036-27/+62
| | | restored by compiling with NO_PREVIEW defined.
* Remove obsolete header file. Fixes PR bin/6700 by Joseph S. Myers.tron1999-01-021-56/+0
|
* tweaks to pass DESTDIR to subprograms when it is defined in /etc/mk.confdbj1998-12-062-4/+6
| | | but is not in the environment.
* typo.pk1998-12-051-1/+1
|
* Fix spelling of `Churchill' in 3 placesjwise1998-11-202-3/+3
|
* Add support for decoding of morse code.hubertf1998-11-182-16/+115
|
* fix usagehubertf1998-11-181-3/+3
|
* constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>hubertf1998-11-107-93/+96
|
* constify, per PR 6148hubertf1998-11-1020-176/+181
|
* make objdir-awarehubertf1998-11-091-5/+5
|
* don't install in /usr/share if NOSHARE is definedlukem1998-09-2910-13/+34
|
* Fix args processing of backgammon and teachgammon, closes pr 5345 byfrueauf1998-09-153-9/+9
| | | David Brownlee.
* constify (PR#6151, once more by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-141-4/+4
|
* return error on errors (PR#6147 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-144-31/+21
|
* constify, as per PR#6136 by Joseph Myers <jsm28@cam.ac.uk>hubertf1998-09-141-6/+6
|
* remove x bit from save files (PR#6077)hubertf1998-09-131-3/+3
|
* Remove unused function and mark non-returning ones(PR#6076, #6144 by Joseph ↵hubertf1998-09-131-3/+2
| | | | Myers <jsm28@cam.ac.uk>)
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-1329-89/+89
|
* fix bug w/ negative numbers, mark non-returning functions (PR#6142+6144 by ↵hubertf1998-09-131-3/+4
| | | | Joseph Myers <jsm28@cam.ac.uk>)
* add sanity checks when saving/restoring games (PR#6138 by Joseph Myers ↵hubertf1998-09-131-4/+10
| | | | <jsm28@cam.ac.uk>)
* check for malloc failures (PR#6136 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-132-7/+16
|
* some cleanups as per PR#6082 by Joseph Myers <jsm28@cam.ac.uk>hubertf1998-09-131-9/+9
|
* remove unused files (PR#6083 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-137-88/+2
|
* remove unused function return values (PR#6079 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-134-31/+22
|
* Saved games can NOT be restored by executing the save file (PR#6077)hubertf1998-09-131-3/+1
|
* Replace special handling of \r by using ICRNL (PR#6078 by Joseph Myers ↵hubertf1998-09-132-19/+5
| | | | <jsm28@cam.ac.uk>)
* Remove unused function (PR#6076 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-132-18/+4
|
* Make dm ignore TZ; PR#6073 by Joseph Myers <jsm28@cam.ac.uk>hubertf1998-09-131-2/+3
|
* constify, per PR 6041 by Joseph Myers <jsm28@cam.ac.uk>hubertf1998-09-135-23/+24
|
* Correct attribution as pointed out in pr 6114 by Jim Wise.frueauf1998-09-121-1/+2
|
* Make the helper programs compile right in a cross-compiling environment.wrstuden1998-09-122-2/+8
|
* add main() prototypehubertf1998-09-111-2/+4
|
* fix prototype, PR#5867hubertf1998-09-111-2/+3
|
* use symbolic constant for open(), PR#5867hubertf1998-09-111-3/+3
|
* fix main() prototype, per PR#5867hubertf1998-09-111-6/+4
|
* fix prototype, per PR#5867hubertf1998-09-113-7/+9
|
* fix prototypes, per PR#5867hubertf1998-09-112-4/+8
|
* fix prototype of mon_sees(), per PR#5867hubertf1998-09-111-2/+3
|
* be more precise for PI, as per PR5867hubertf1998-09-111-3/+5
|
* use symbolic constants for signals & open(2), as per PR#5867hubertf1998-09-112-6/+6
|