summaryrefslogtreecommitdiffstats
path: root/mille/mille.c
Commit message (Collapse)AuthorAgeFilesLines
* NULL does not need a castplunky2011-08-311-3/+3
|
* Use the time to call srandom(), not getpid().dholland2009-05-251-3/+4
|
* KNF/whitespace: format preprocessor directives correctly.dholland2009-05-251-7/+7
|
* ANSIfy function declarations. Object file diffs checked.dholland2009-05-251-9/+5
|
* if initscr() fails, exit with a message rather than crash in thedrochner2008-08-081-3/+4
| | | next curses call
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-201-4/+4
|
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-3/+3
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-7/+3
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* Change deprecated curses function to new equivalent.blymn2001-12-061-3/+3
|
* Negative exit code cleanup: Replace exit(-x) with exit(x).wiz2001-04-061-3/+3
| | | As seen on tech-userlevel.
* Use setgid(), not setregid().mycroft2000-05-081-3/+3
|
* Security improvements for games (largely from or inspired by OpenBSD).jsm1999-09-121-4/+4
| | | | | | | | | | | | | | | 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.
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-081-3/+3
| | | | | | | | | | | | 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).
* defined(attron) does not mean there is a <term.h>mrg1999-03-291-5/+2
|
* WARNSifylukem1997-10-121-13/+15
|
* Change "reg" to "register"jtc1997-05-231-6/+6
| | | Remove private implementation of erasechar() and killchar().
* rcs id conventionscgd1995-03-241-2/+7
|
* sync with 44lite, seems to fix bug #224jtc1994-05-121-18/+11
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+170