summaryrefslogtreecommitdiffstats
path: root/backgammon
Commit message (Collapse)AuthorAgeFilesLines
...
* Whitespace and/or punctuation fixes.wiz2001-04-021-6/+6
|
* remove redundant declchristos2001-02-051-4/+2
|
* convert to using .WAITlukem2001-01-091-4/+2
|
* ${PRINTOBJDIR}ifysommerfeld2000-12-301-3/+3
|
* Use setgid(), not setregid().mycroft2000-05-082-6/+6
|
* update after change to return value of tputs() third argumentlukem1999-10-042-5/+6
|
* Fix some uses of NULL as non-pointer and 0 for null pointer.jsm1999-09-171-3/+3
|
* Include <time.h> in various places in the games where time() or time_tjsm1999-09-091-2/+4
| | | are used.
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-081-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).
* Adapt to change of "termcap.h".tron1999-08-142-6/+6
|
* This is a trivial fix to backgammon(6): '\a' is cleaner than '\007'.hubertf1999-07-281-3/+3
| | | Submitted in PR 8104 by Joseph Myers <jsm28@cam.ac.uk>
* This patch fixes a remaining relic of the backgammon(6) "executehubertf1999-07-281-3/+3
| | | | | saved game to continue playing" problem described in bin/6077. Patch contributed by Joseph Myers <jsm28@cam.ac.uk> in PR 8092.
* This patch adds to backgammon(6) a couple of noreturn attributeshubertf1999-07-261-3/+3
| | | | | missed in bin/6144. Patch submitted in PR 8082 by Joseph Myers <jsm28@cam.ac.uk>
* This patch makes backgammon(6) check that, if you use the -s option tohubertf1999-07-261-3/+7
| | | | | recover a saved game, then you specify a file name. Patch submitted in PR 8081 by Joseph Myers <jsm28@cam.ac.uk>
* This adds a check for memory allocation failure to one place inhubertf1999-07-261-2/+6
| | | | | | | backgammon(6). The use of write(2) for the message may seem odd, but is used in another place in this game. (Actually, a lot of backgammon(6) could do with being substantially cleaned up.) Patch submitted in PR 8080 by Joseph Myers <jsm28@cam.ac.uk>
* Hardcore const poisoninghubertf1999-07-251-4/+4
| | | Patch submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8057
* As in previously sent patches: backgammon(6) does not need setgidhubertf1999-07-192-4/+10
| | | | | games privileges from dm, so should revoke them on startup. Patch submitteed in PR 8024 bye Joseph Myers <jsm28@cam.ac.uk>
* Fix scoring, submitted in PR 7992 by Joseph Myers <jsm28@cam.ac.uk>hubertf1999-07-141-8/+7
|
* set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>lukem1999-03-131-2/+3
|
* convert from NOxxx= to MKxxx=no.lukem1999-02-132-5/+5
| | | include <bsd.own.mk> if testing a MKxxx variable.
* tgetent() handles const correctly in currenthubertf1999-02-101-3/+3
|
* 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).
* Fix args processing of backgammon and teachgammon, closes pr 5345 byfrueauf1998-09-153-9/+9
| | | David Brownlee.
* 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-131-3/+3
|
* Saved games can NOT be restored by executing the save file (PR#6077)hubertf1998-09-131-3/+1
|
* Remove unused function (PR#6076 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-132-18/+4
|
* fix typo, as per PR#5867hubertf1998-09-111-3/+3
|
* Use symbolic names for signals(!), open(2)-constants, ...hubertf1998-08-293-13/+13
| | | Fix applied as per PR 6058 by Joseph Myers <jsm28@cam.ac.uk>
* - really make extern char's extern.mrg1998-03-291-4/+4
|
* Does not need -lcompatchristos1998-02-021-3/+3
|
* Must have the correct library link order to be able to linkragge1997-11-051-2/+2
| | | the binaries static.
* use CPPFLAGS instead of CFLAGSlukem1997-10-221-2/+2
|
* fix race condition when building libcommon with make -jlukem1997-10-161-1/+3
|
* define global vars with `extern' in "back.h", and only define once inlukem1997-10-142-50/+84
| | | init.c... backgammon works again...
* use <termcap.h>lukem1997-10-142-9/+4
|
* common_source -> common, and GC some garbage variables.mycroft1997-10-112-7/+5
|
* Don't install this library, we only need this during the build.veego1997-10-111-1/+4
|
* KNF & WARNSify, and only compile common_source once/* (compiles 25% faster)lukem1997-10-1030-3095/+2512
|
* Back out the .PATH.c changes. The .depend problem (and others)gwr1997-05-082-4/+4
| | | will be fixed using the new .NOPATH make feature instead.
* Use .PATH.c: ...gwr1997-05-062-4/+4
|
* /etc/termcap -> /usr/share/misc/termcap. Fixes misc/1401.mikel1996-11-121-5/+6
|
* Use POSIX tty semantics.mycroft1995-04-2911-76/+68
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-244-9/+12
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* clean up importcgd1995-03-2127-102/+211
|
* from Litecgd1995-03-211-6/+6
|
* specify man pages the new way.cgd1994-12-221-2/+2
|
* need -lcompatcgd1994-05-232-6/+6
|
* nextfree() was not returning a value when it pulled something off the freemycroft1993-12-031-5/+6
| | | list. Reported by vandys@cisco.com and Mark_Weaver@brown.edu.