summaryrefslogtreecommitdiffstats
path: root/canfield/cfscores
Commit message (Collapse)AuthorAgeFilesLines
* Use PREFIX nowCameron Katri2021-03-281-2/+2
|
* Get all the games compiling for iOSCameron Katri2021-02-221-6/+14
|
* Use ssize_t for read() results. Don't use int for lseek() results.dholland2014-03-221-6/+6
|
* Christos points out that usage should not use errx, but should usedholland2010-01-031-3/+5
| | | getprogname.
* Split struct betinfo into its own header file so it can be shareddholland2010-01-011-13/+3
| | | between canfield and cfscores, instead of copy-pasted.
* Use NULL instead of 0 for pointer tests. Remove an unnecessary cast.dholland2010-01-011-6/+6
|
* Send error messages to stderr. Use errx/warnx, not printf.dholland2010-01-011-9/+6
|
* Correct usage message.dholland2010-01-011-3/+3
|
* sprinkle staticdholland2009-08-121-5/+5
|
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-201-4/+4
|
* Work around gcc signedness warning: if you check for uid_t < 0, gcc warnsdholland2008-01-281-6/+9
| | | | because it's unsigned, but I don't really want to rely on uid_t being unsigned on every platform this code might propagate to.
* KNF and WARNS=3jmc2005-07-011-9/+4
|
* Remove uses of __P.jsm2004-01-271-4/+4
|
* 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.
* some makefile de-lintinglukem2002-09-181-2/+3
|
* MKfoo=no -> NOfoo=tv2001-12-121-5/+5
|
* More include additions for exit, abs, strcmp, etc.matt2000-07-031-2/+4
|
* Use setgid(), not setregid().mycroft2000-05-081-3/+3
|
* Security improvements for games (largely from or inspired by OpenBSD).jsm1999-09-121-2/+5
| | | | | | | | | | | | | | | 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 use of `const' where appropriate to the games.jsm1999-09-081-4/+4
| | | | | | | | | 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). Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
* convert from NOxxx= to MKxxx=no.lukem1999-02-131-2/+2
| | | include <bsd.own.mk> if testing a MKxxx variable.
* Use symbolic constants for seek(), open(). Fixed as per PR 6057 byhubertf1998-08-291-4/+4
| | | Joseph Myers <jsm@octomino.demon.co.uk>.
* use CPPFLAGS instead of CFLAGSlukem1997-10-221-2/+2
|
* use err/warn instead of perrorlukem1997-10-111-14/+9
|
* WARNSifylukem1997-10-101-16/+24
|
* clean up importcgd1995-03-212-9/+14
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-212-0/+157