summaryrefslogtreecommitdiffstats
path: root/games
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix minor typo/grammatical errorgpalmer1996-11-221-1/+1
| | | | Submitted by: John-Mark Gurney <jmg@nike.efn.org> in PR 2085
* If not on a tty, don't do "--more--" processing. Someday, I will getjkh1996-11-071-0/+2
| | | | rogomatic to work with this version. :)
* Uncomment static from collate_range_cmp, no more in locale.hache1996-10-311-1/+1
|
* Replace collate_range_cmp call with its codeache1996-10-311-0/+17
|
* Install the rumors file.jkh1996-10-191-0/+2
| | | | | Submitted-By: koshy@india.hp.com Closes-PR#: 1883
* Set the effective user id to that of the real user id whenalex1996-10-151-0/+13
| | | | saving/restoring a game (necessary when adventure is invoked via dm).
* delete doubled words, e.g.: "the the" -> "the"wosch1996-10-052-2/+5
|
* Eliminated includes of the "temporary" backwards compatibility headerbde1996-09-241-6/+2
| | | | | | <sys/dir.h> in applications. Maintained existing (inadequate) ifdefs for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any new ones.
* Fixed annoying non-null output for `make depend'. SRCS should onlybde1996-09-221-4/+4
| | | | | | | | be used for C, C++ and assembler sources if <bsd.prog.mk> is included. It was used for general files. This caused the __depend_* lists in <bsd.dep.mk> to be empty, so mkdep was never run, so .depend never existed, so it was always out of date, so `rm -f .depend' was always executed to update it.
* Fixed DPADD.bde1996-09-052-2/+2
|
* Convert to newly aded collate compare functionache1996-08-121-32/+3
|
* Pick collate info tooache1996-08-121-1/+1
|
* Correctly declare main() as `int'.joerg1996-07-171-6/+10
| | | | | | Closes PR # bin/1385: /usr/games/pom, invalid de... Submitted by: zach@freebsd.gaffaneys.com (Zach Heilig)
* Bring in my changes for removing the pestilent obj links (unless youjkh1996-06-241-4/+4
| | | | | really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
* Handle sorting in better wayache1996-06-091-16/+34
|
* Activate collateache1996-06-051-1/+1
|
* Backed out yacc changes.bde1996-06-032-3/+3
|
* Use new yacc rule.phk1996-05-302-3/+3
|
* Fix -f modeache1996-05-281-14/+27
| | | | Fix freeing of wrong pointer
* -Wall cleanupache1996-05-272-17/+13
| | | | Remove unneded function
* Localize it.ache1996-05-279-130/+130
| | | | | | | off_t -> long. Install strfile & unstr -Wall cleanup Fix matching bug with offensive database
* Find caesar and strfile properly.ache1996-05-272-12/+23
| | | | Generate .dat files on build state
* Use valid ctype range now.ache1996-05-274-16/+24
| | | | | | Includes cleanup Misc. cleanup Use absolute path in rot13 wrapper.
* Applied patch to close PR#bin/199scrappy1996-05-261-2/+5
| | | | Submitted by: Toshihiro Kanda <candy@kgc.co.jp>
* The Makefile assumed that builder had '.' in it's path, which is anate1996-05-152-229/+6
| | | | | | | | | security hole for root. Fix this oversight and clean up the build of 'hack.onames.h' which should be built everytime. Tested with/without obj directories and .depend files. Noticed by: "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
* Correct some man page cross references and file location references.mpp1996-04-071-1/+1
|
* add missing include fileswosch1996-03-138-0/+10
|
* Correct man page section number references (e.g. don't use thempp1996-02-111-1/+1
| | | | | old 1M, 3X and 3S section numbers) and make some minor formatting changes to silence manck.
* Correct some man page cross references and some filempp1996-02-052-5/+5
| | | | locations.
* Add some missing manual page links.mpp1996-02-022-0/+2
|
OpenPOWER on IntegriCloud