summaryrefslogtreecommitdiffstats
path: root/games
Commit message (Collapse)AuthorAgeFilesLines
* Remove explicit rule for setup. This effectively deletes revisions 1.2asami1997-05-131-3/+0
| | | | and 1.3 as well.
* Add ${CFLAGS} and ${LDFLAGS} to the setup command line.asami1997-05-131-1/+1
|
* Use srandomdev() nowache1997-03-301-4/+5
| | | | Add range checking for invalid denominator values
* Use srandomdev() to initialize generatorache1997-03-241-38/+8
|
* Typo police.mpp1997-03-241-1/+1
|
* Merge from Lite2 so that it compilespeter1997-03-122-3/+8
|
* Man page is .6, not .0 - crept in from Lite2peter1997-03-122-2/+2
|
* factor.6, not factor.0 (crept in from 4.4Lite2)peter1997-03-121-1/+1
|
* Merge from Lite2 (oops, nearly forgot these ones)peter1997-03-114-7/+13
|
* This commit was generated by cvs2svn to compensate for changes in r23704,peter1997-03-114-4/+5
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import some CSRG 4.4BSD-Lite2 gamespeter1997-03-119-12/+19
| |
| * recording cvs-1.6 file deathpeter1995-12-3099-5894/+0
| |
* | Fix srandom arg type accodring to Lite2ache1997-03-111-1/+1
| | | | | | | | Use ^ getpid() instead of + getpid()
* | Fix srandom arg type according to Lite2ache1997-03-111-1/+1
| |
* | Make /dev/urandom fd static, or it pick up random descriptorache1997-03-081-1/+1
| | | | | | | | | | | | (stack garbadge) and read from it Should go into 2.2
* | Back out MAXLOGNAME fix, Bruce points that copyinstr require NULache1997-03-031-1/+1
| |
* | Add +1 to NUL terminate after MAXLOGNAMEache1997-03-021-1/+1
| |
* | Actually remove sys/time.h hack; fix typo.eivind1997-02-262-9/+1
| | | | | | | | Pointed out by: bde
* | Allow fortune to use /dev/urandom if available to obtain its randommpp1997-02-231-6/+37
| | | | | | | | | | | | | | | | | | | | | | numbers. If /dev/urandom is unavailable, it will fall back to using the random() function. I did this because I'm sick of seeing the same handful of fortunes over and over, and I've seen the exact same fortune one too many times when starting up two login shells at the same time. 2.2 safe.
* | Fix sizeof/strlen typo and limit scanf length.eivind1997-02-231-2/+2
| | | | | | | | scanf spotted by: Aarn Bornstein <aaronb@j51.com>
* | Add setuid() before running the pager - from the code audit.eivind1997-02-231-0/+4
| | | | | | | | Submitted by: Mark Huizer <xaa@stack.nl>
* | Revert $FreeBSD$ to $Id$peter1997-02-227-7/+7
| |
* | #include <string.h> to help silence -Wall.mpp1997-02-201-0/+1
| |
* | Remove buffer overflow and tempfile race, remove <sys/time.h> hack (andeivind1997-02-2014-87/+122
| | | | | | | | | | | | | | | | need for it), change definition of setbit() macro and friends to be compatible with <sys/param.h>. The bugs were discovered and fixed as a result of the FreeBSD code audit. Submitted by: Aaron Bornstein <aaronb@j51.com>, Mark Huizer <xaa@stack.nl>
* | 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.)
* | Buffer overflow from OpenBSDimp1997-02-091-10/+10
| | | | | | | | | | | | | | | | 1.3 deraadt: buf oflow, felix@mamba.pond.sub.org Obtained from: OpenBSD Not sure how to exploit this, but may be a backmerge candidate.
* | 444 -> ${NOBINMODE}wosch1997-02-0910-18/+19
| | | | | | | | | | /usr/share -> ${SHAREDIR} /usr/games -> ${BINDIR}
* | $* -> "$@"wosch1997-02-091-1/+1
| | | | | | | | use exec for last command in shell script
* | The fact that people can't put the proper source on Kierkegaardsphk1997-02-032-3/+4
| | | | | | | | | | | | | | most famous insult to humanity can be forgiven, afterall, it almost underlines the quote with irony, if one knows the context. But to misspell the name of Alfred E. Neuman ...
* | 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.
* | Correct some grammar. Closes PR# 2520.mpp1997-01-261-2/+2
| | | | | | | | Submitted by: John-Mark Gurney <gurney_j@efn.org>
* | 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?
* | Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-147-7/+7
| | | | | | | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* | Fix some typos and remove a couple of duplicatempp1997-01-082-24/+2
| | | | | | | | | | | | fortunes. Closes PR#s 2358 and 2402. Submitted by: John-Mark Gurney <gurney_j@efn.org>
* | Use ${COPY} instead of -c for installing non-source files.bde1997-01-011-8/+8
| |
* | comma police for section SEE ALSOwosch1996-12-221-1/+2
| | | | | | | | Sponsored by: Vin de Pays de l'Aude
* | Correct the location of the trek documentation in thempp1996-12-141-1/+1
| | | | | | | | SEE ALSO section of the man page. Closes PR# 2009.
* | Fixed extra columns in output for input lines with leading spaces.bde1996-12-131-1/+3
| |
* | Made `setup' depend on libraries.bde1996-12-131-1/+1
| |
* | Fixed missing declaration of malloc().bde1996-12-131-1/+2
| |
* | Hack around misuse of reserved names `clock' and and `time' in a differentbde1996-12-131-4/+6
| | | | | | | | | | | | way. Defining KERNEL before including <sys/time.h> broke when "opt_cpu.h" was included in a deeply nested header, except in -current where the problem is masked by a namespace pollution bug in <stdio.h>.
* | Remove bogus declaration of malloc(). Closes PR#2197jkh1996-12-131-1/+0
| |
OpenPOWER on IntegriCloud