summaryrefslogtreecommitdiffstats
path: root/games/backgammon
Commit message (Collapse)AuthorAgeFilesLines
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Merge a bunch of cleanups from NetBSD.steve1999-04-1917-205/+228
| | | | | | PR: 8083 Submitted by: Stephen J. Roznowski <sjr@home.net> Obtained from: a whole slew of NetBSD PRs
* Add 'extern' to arrays that are declared and initialised in other files.jb1998-05-091-12/+12
|
* Add 'extern' to arrays that are declared and initialised in other files.jb1998-05-091-2/+2
| | | | Who writes code like this?!
* Add #include stdlib.h to get prototypes.jb1998-05-091-0/+1
|
* Change prototype for addbuf to make it compatible with tputs now thatjb1998-05-091-2/+3
| | | | there is a prototype to check it against.
* Add #include string.h, stdlib.h and termcap.h to get prototypes.jb1998-05-091-1/+4
| | | | | Change prototype for addbuf to make it compatible with tputs now that there is a prototype to check it against.
* Add #include string to get prototypes.jb1998-05-091-0/+1
|
* Add 'extern' to those arrays that are declared and initialisedjb1998-05-091-3/+3
| | | | in other files.
* Remove unused fileache1997-09-241-751/+0
|
* Simplify revokeache1997-09-241-1/+0
|
* Oops, fix my error from prev commit (revoke simplification)ache1997-09-241-1/+1
|
* Cleanupache1997-09-241-10/+3
| | | | | Simplify revoke: only sgid needed to be revoked Use srandomdev
* Change games from setuid games to setgid games.eivind1997-09-012-4/+7
| | | | | Reviewed by: maybe@yes.no Obtained from: OpenBSD (mostly deraadt@openbsd.org)
* List -h option also in the SYNOPSIS line.max1997-02-151-1/+1
|
* Added an option `-h' which gives you usage info.max1997-02-152-10/+18
| | | | | (According to the original man page, giving `-' by itself as the argument is supposed to do this, but it seems that it never worked that way.)
* Make the description of command-line args match the reality.max1997-02-111-21/+15
| | | | | | - Options must be preceeded by a `-'. - Backgammon doesn't give, and hasn't given you any usage info. (Maybe this should be fixed in the program.)
* Instead of swapping ruid and euid before and after touching user's file,max1997-02-013-4/+12
| | | | | simply drop the privilege right after the program is started. Thanks to bde for giving me good suggestion about this problem.
* Include string.h for prototype of strdup().max1997-02-012-0/+2
|
* Style police:max1997-01-313-11/+11
| | | | | | | | | - Indentation corrections - Spaces -> tabs. - func() -> func () (To be consistent with the original code.) - Check if getopt() returns -1, not EOF. Suggested by: bde
* Better handling of command-line argument:max1997-01-305-45/+48
| | | | | | | | | 1. Pass argc and argv to getarg and process them with getopt(). 2. Instead of using an array to save arg characters, use array of pointers and call backgammon/teachgammon with execv, instead of execl. This should fix problems with calling teachgammon. 2.2 candidate.
* Oops, setreuid() also needed before and after opening/closing the recover filemax1997-01-301-0/+2
| | | | | in recover(). 2.2 candidate.
* Do getreuid(geteuid(), getuid()) before opening file to save the game andmax1997-01-301-0/+2
| | | | | | after closing it. This fixes bug that user couldn't save the game in progress. 2.2 candidate.
* Fix typo in instruction message.max1997-01-231-2/+2
|
* When calling recover() from getarg(), also check to see if the firstmax1997-01-231-1/+1
| | | | | | | | | character of the argument being processed isn't '\0'. This fixes problem with backgammon exiting abnormally when you answer 'y' to the question it asks if you need instruction for the game. 2.2 cnadidate, maybe?
* gets() -> fgets(). I'm tired of looking at the compiler messages!jkh1995-12-011-6/+6
|
* Remove trailing whitespace.rgrimes1995-05-306-24/+24
|
* Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcaprgrimes1994-09-112-2/+2
|
* Bring in the 4.4 Lite games directory, modulo man page changes and segregationjkh1994-09-0427-0/+6246
of the x11 based games. I'm not going to tag the originals with bsd_44_lite and do this in two stages since it's just not worth it for this collection, and I've got directory renames to deal with that way. Bleah. Submitted by: jkh
OpenPOWER on IntegriCloud