Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Typo fix. | max | 1997-06-14 | 1 | -1/+1 |
| | | | | | PR: 3662 Submitted by: Matthew Hunt <mph@pobox.com> | ||||
* | Remove srandomdev fallback code | ache | 1997-06-14 | 2 | -4/+2 |
| | |||||
* | This file was somewhat out of date :-) | phk | 1997-06-07 | 1 | -3/+2 |
| | |||||
* | Remove some duplicated and incomplete entries | ache | 1997-06-05 | 2 | -27/+1 |
| | |||||
* | a bunch of formatting (\t -> \t\t) changes... so I was board one night.. :) | jmg | 1997-05-23 | 3 | -139/+139 |
| | |||||
* | Remove explicit rule for setup. This effectively deletes revisions 1.2 | asami | 1997-05-13 | 1 | -3/+0 |
| | | | | and 1.3 as well. | ||||
* | Add ${CFLAGS} and ${LDFLAGS} to the setup command line. | asami | 1997-05-13 | 1 | -1/+1 |
| | |||||
* | Use srandomdev() now | ache | 1997-03-30 | 1 | -4/+5 |
| | | | | Add range checking for invalid denominator values | ||||
* | Use srandomdev() to initialize generator | ache | 1997-03-24 | 1 | -38/+8 |
| | |||||
* | Typo police. | mpp | 1997-03-24 | 1 | -1/+1 |
| | |||||
* | Merge from Lite2 so that it compiles | peter | 1997-03-12 | 2 | -3/+8 |
| | |||||
* | Man page is .6, not .0 - crept in from Lite2 | peter | 1997-03-12 | 2 | -2/+2 |
| | |||||
* | factor.6, not factor.0 (crept in from 4.4Lite2) | peter | 1997-03-12 | 1 | -1/+1 |
| | |||||
* | Merge from Lite2 (oops, nearly forgot these ones) | peter | 1997-03-11 | 4 | -7/+13 |
| | |||||
* | This commit was generated by cvs2svn to compensate for changes in r23704, | peter | 1997-03-11 | 4 | -4/+5 |
|\ | | | | | | | which included commits to RCS files with non-trunk default branches. | ||||
| * | Import some CSRG 4.4BSD-Lite2 games | peter | 1997-03-11 | 9 | -12/+19 |
| | | |||||
| * | recording cvs-1.6 file death | peter | 1995-12-30 | 99 | -5894/+0 |
| | | |||||
* | | Fix srandom arg type accodring to Lite2 | ache | 1997-03-11 | 1 | -1/+1 |
| | | | | | | | | Use ^ getpid() instead of + getpid() | ||||
* | | Fix srandom arg type according to Lite2 | ache | 1997-03-11 | 1 | -1/+1 |
| | | |||||
* | | Make /dev/urandom fd static, or it pick up random descriptor | ache | 1997-03-08 | 1 | -1/+1 |
| | | | | | | | | | | | | (stack garbadge) and read from it Should go into 2.2 | ||||
* | | Back out MAXLOGNAME fix, Bruce points that copyinstr require NUL | ache | 1997-03-03 | 1 | -1/+1 |
| | | |||||
* | | Add +1 to NUL terminate after MAXLOGNAME | ache | 1997-03-02 | 1 | -1/+1 |
| | | |||||
* | | Actually remove sys/time.h hack; fix typo. | eivind | 1997-02-26 | 2 | -9/+1 |
| | | | | | | | | Pointed out by: bde | ||||
* | | Allow fortune to use /dev/urandom if available to obtain its random | mpp | 1997-02-23 | 1 | -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. | eivind | 1997-02-23 | 1 | -2/+2 |
| | | | | | | | | scanf spotted by: Aarn Bornstein <aaronb@j51.com> | ||||
* | | Add setuid() before running the pager - from the code audit. | eivind | 1997-02-23 | 1 | -0/+4 |
| | | | | | | | | Submitted by: Mark Huizer <xaa@stack.nl> | ||||
* | | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 7 | -7/+7 |
| | | |||||
* | | #include <string.h> to help silence -Wall. | mpp | 1997-02-20 | 1 | -0/+1 |
| | | |||||
* | | Remove buffer overflow and tempfile race, remove <sys/time.h> hack (and | eivind | 1997-02-20 | 14 | -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. | max | 1997-02-15 | 1 | -1/+1 |
| | | |||||
* | | Added an option `-h' which gives you usage info. | max | 1997-02-15 | 2 | -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. | max | 1997-02-11 | 1 | -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 OpenBSD | imp | 1997-02-09 | 1 | -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} | wosch | 1997-02-09 | 10 | -18/+19 |
| | | | | | | | | | | /usr/share -> ${SHAREDIR} /usr/games -> ${BINDIR} | ||||
* | | $* -> "$@" | wosch | 1997-02-09 | 1 | -1/+1 |
| | | | | | | | | use exec for last command in shell script | ||||
* | | The fact that people can't put the proper source on Kierkegaards | phk | 1997-02-03 | 2 | -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, | max | 1997-02-01 | 3 | -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(). | max | 1997-02-01 | 2 | -0/+2 |
| | | |||||
* | | Style police: | max | 1997-01-31 | 3 | -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: | max | 1997-01-30 | 5 | -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 file | max | 1997-01-30 | 1 | -0/+2 |
| | | | | | | | | | | in recover(). 2.2 candidate. | ||||
* | | Do getreuid(geteuid(), getuid()) before opening file to save the game and | max | 1997-01-30 | 1 | -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. | mpp | 1997-01-26 | 1 | -2/+2 |
| | | | | | | | | Submitted by: John-Mark Gurney <gurney_j@efn.org> | ||||
* | | Fix typo in instruction message. | max | 1997-01-23 | 1 | -2/+2 |
| | | |||||
* | | When calling recover() from getarg(), also check to see if the first | max | 1997-01-23 | 1 | -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$ | jkh | 1997-01-14 | 7 | -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 duplicate | mpp | 1997-01-08 | 2 | -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. | bde | 1997-01-01 | 1 | -8/+8 |
| | | |||||
* | | comma police for section SEE ALSO | wosch | 1996-12-22 | 1 | -1/+2 |
| | | | | | | | | Sponsored by: Vin de Pays de l'Aude | ||||
* | | Correct the location of the trek documentation in the | mpp | 1996-12-14 | 1 | -1/+1 |
| | | | | | | | | SEE ALSO section of the man page. Closes PR# 2009. |