summaryrefslogtreecommitdiffstats
path: root/backgammon
Commit message (Collapse)AuthorAgeFilesLines
* rename text() to wrtext(), aligning it with most other output routines,mrg2010-03-227-38/+38
| | | | | and avoiding a compile error on powerpc64. XXX: this tries to make a ".text" symbol, which already exists...
* Userland now builds and uses terminfo instead of termcap.roy2010-02-031-3/+3
| | | OK: core@, jdc@
* sprinkle staticdholland2009-08-1215-110/+124
|
* looks as if "ospeed" here was meant to be extern.dholland2009-08-121-3/+3
|
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-211-4/+4
|
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-201-4/+4
|
* Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this islukem2008-05-031-2/+2
| | | | a variable that is used by in-tree Makefiles to control behaviour. (MKsomevar variables are generally intended to be controlled by the end-user)
* Remove clause 3 and 4 from TNF licensesmartin2008-04-281-8/+1
|
* Pedanticism about time_t (not really a bug, but now it won't show up whendholland2008-01-311-3/+3
| | | audited.)
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-153-9/+9
|
* It's "its."snj2006-04-241-3/+3
|
* Coverity CID 558: && should be obviously ||christos2006-03-221-3/+3
|
* Coverity CID 1230: Remove spurious close().christos2006-03-181-3/+2
|
* Coverity CID 1294: Avoid negative variable used as index.christos2006-03-181-3/+4
|
* Use MKPRIVATELIB instead of NOLINKLIB/NOMAN/NOPIC/NOLINT.simonb2006-02-251-5/+2
|
* Use standard AUTHORS section header. From YOMURA Masanori in private mailwiz2005-09-151-3/+3
| | | Sort sections if necessary. Use more/better markup.
* KNF and WARNS=3 fixesjmc2005-07-0118-222/+192
|
* Cast last argument of execl to (char *).jsm2005-02-152-6/+7
| | | Reviewed by <hubertf>.
* s/the the/the/ (only in sources that aren't regularly imported fromsimonb2004-04-231-3/+3
| | | elsewhere).
* Mark unused parameters, nonreturning functions and format functions injsm2004-02-082-6/+6
| | | the few cases not already marked.
* Remove uses of __P.jsm2004-01-274-80/+80
|
* Only score as a Gammon or a Backgammon if the opponent hasn't removedjsm2004-01-011-3/+3
| | | | | any pieces, not if the opponent has removed pieces but has had a piece knocked back to the bar afterwards. Fixes Debian bug 185101 from Konstantin Seiler <list@kseiler.de>.
* Make tutorial text match actual moves. From FreeBSD via OpenBSD.jsm2004-01-011-4/+4
| | | Fixes Debian bug 212478 from Jim W. Jaszewski <grok@sprint.ca>.
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-0723-158/+66
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* Grammar and punctuation fixes, from jmc@openbsd.wiz2003-04-261-5/+5
|
* Lots of minor fixes resulting from reading these man pages in detail.wiz2002-09-261-6/+4
|
* some makefile de-lintinglukem2002-09-182-7/+8
|
* MKfoo=no -> NOfoo=tv2001-12-122-14/+12
|
* Give initiali[sz]e all the "i"s it deserves.wiz2001-09-181-3/+3
|
* Negative exit code cleanup: Replace exit(-x) with exit(x).wiz2001-04-061-3/+3
| | | As seen on tech-userlevel.
* 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.