summaryrefslogtreecommitdiffstats
path: root/rogue
Commit message (Collapse)AuthorAgeFilesLines
* Make "rogue" build with "WARNS=2". The necessary patches were suppliedtron2002-07-074-16/+17
| | | by David A. Holland in PR bin/17498.
* Change deprecated curses call to new equivalent.blymn2001-12-061-3/+3
|
* Fix pasto. From FreeBSD.wiz2001-08-091-2/+2
|
* Fix for FreeBSD/13278, from FreeBSD:wiz2001-08-091-3/+3
| | | | | | | When a game ends that makes the top 10, the function insert_score in score.c is called to make the new score file. But the case for KFIRE (killed by fire) incorrectly uses strcpy instead of strcat (all the other cases use strcat). This puts the string in the wrong place and corrupts the score file.
* remove duplicate declschristos2001-02-051-5/+1
|
* printf() pedant - do not pass variable alone, use %s.itojun2000-07-101-3/+3
| | | idea from openbsd. after looking at freebsd commit msgs from kris@freebsd.
* More include additions for exit, abs, strcmp, etc.matt2000-07-031-2/+3
|
* Fix doubled 'the'.soren2000-03-131-2/+2
|
* Fix -Wsign-compare warnings.jsm1999-09-181-4/+4
|
* Fix buffer overrun in rogue.jsm1999-09-131-6/+14
|
* Remove rogue's old and bit-rotten cut-down version of curses.jsm1999-09-134-835/+8
|
* Security improvements for games (largely from or inspired by OpenBSD).jsm1999-09-124-11/+30
| | | | | | | | | | | | | | | Games which run setgid from dm, but don't need to, should drop their privileges at startup. Games which have a scorefile should open it at startup, then drop all privileges leaving just the open writable file descriptor. If the game can invoke subprocesses, this should be made close-on-exec. Games with scorefiles should make sure they do not get a file descriptor < 3. (Otherwise, they could get confused and corrupt the scorefile when using stdin, stdout or stderr.) Some old setuid revokes from the days of setuid games change into gid revokes.
* Check for failure of malloc() and calloc() at various places in the games.jsm1999-09-091-2/+6
|
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-082-8/+8
| | | | | | | | | | | | 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).
* s/SETUIDGAME/SETGIDGAME/ - catch up with the rest of the world.abs1999-04-051-2/+2
|
* constify, per PR 6148hubertf1998-11-1020-176/+181
|
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-131-6/+6
|
* fix prototype, per PR#5867hubertf1998-09-111-2/+3
|
* fix prototypes, per PR#5867hubertf1998-09-112-4/+8
|
* fix prototype of mon_sees(), per PR#5867hubertf1998-09-111-2/+3
|
* const poisoning.mycroft1998-07-273-8/+9
|
* As per PR bin/5806 by Joseph Myers <jsm28@cam.ac.uk>/lash@tellabs.com:hubertf1998-07-212-7/+20
| | | | - Init Random by time, not by pid - Fix lossage with fire-spitting, monster-killing dragons
* Simply include -lcurses instead of -lcurses -ltermcapjtc1998-02-181-3/+3
|
* Remove -lcompat; not neededchristos1998-02-041-3/+3
|
* install games that need it setgid.mrg1997-11-201-1/+2
|
* use CPPFLAGS instead of CFLAGSlukem1997-10-221-2/+2
|
* Better fix for the previous.mycroft1997-10-151-10/+8
|
* make gcc happy on Sparcis1997-10-151-2/+4
|
* WARNSify (not an insignificant task...)lukem1997-10-1225-602/+1139
|
* Use bsd.subdir.mk as appropriate.mycroft1997-10-111-2/+3
|
* NULL => 0 (Arne Juul; PR#3629)pk1997-05-171-4/+4
|
* Sync to 4.4BSD-Lite2tls1997-01-071-2/+3
|
* Use POSIX tty semantics.mycroft1995-04-282-103/+12
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-242-8/+6
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* don't forget to install the docs.cgd1995-04-221-1/+5
|
* clean up import, NetBSD RCS Idscgd1995-04-2230-134/+250
|
* src/games/rogue from Litecgd1995-04-222-0/+845
|
* specify man pages the new way.cgd1994-12-221-2/+2
|
* don't -g by defaultcgd1994-04-011-2/+2
|
* new curses updatecgd1993-11-103-15/+17
|
* Use `r+' rather than `a+' when opening score file.mycroft1993-09-231-2/+2
|
* Rewrite special character handling.mycroft1993-08-101-12/+13
|
* Rogue stores scores in /var/games/rogue.scores, not .../rogue_roll.jtc1993-08-091-3/+3
|
* Convert to -mandoc macros.jtc1993-08-051-49/+44
|
* Add RCS identifiers.mycroft1993-08-0125-25/+50
|
* Add RCS indentifiers.mycroft1993-08-011-1/+2
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-2128-0/+12454