summaryrefslogtreecommitdiffstats
path: root/mille
Commit message (Collapse)AuthorAgeFilesLines
* games: remove trailing whitespace in *.c and *.hrillig2021-05-053-8/+8
|
* Use PREFIX nowCameron Katri2021-03-281-2/+2
|
* Get all the games compiling for iOSCameron Katri2021-02-221-4/+13
|
* s/saftey/safety/msaitoh2019-12-271-2/+2
|
* - 'cango' is used beyond a bool type. make it an int.mrg2019-02-041-3/+6
| | | - add a couple of fallthru comments.
* - add or adjust /* FALLTHROUGH */ where appropriatemrg2019-02-031-2/+5
| | | | - add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily
* get rid of getschristos2016-06-051-4/+6
|
* NULL does not need a castplunky2011-08-313-9/+9
|
* Avoid non-literal format strings.tron2011-08-262-8/+8
|
* Use __dead and __printflike instead of __attribute__.dholland2011-08-261-3/+3
|
* use const char [] for format.christos2011-08-211-3/+3
|
* eliminate non-literal format stringschristos2011-08-163-8/+8
|
* ANSIfyjoerg2011-05-231-8/+3
|
* handle ctime returning NULL.christos2010-04-041-5/+12
|
* When using -lcurses, you also need -lterminfo.he2010-02-061-3/+3
| | | | This fixes the build for sun2, and also builds with LDSTATIC=-static, since archive libraries don't record inter-library dependencies.
* sprinkle staticdholland2009-08-124-24/+26
|
* We don't need a private #define "unsgn" for "unsigned", especially sincedholland2009-05-252-5/+4
| | | it was used exactly once.
* Use the time to call srandom(), not getpid().dholland2009-05-251-3/+4
|
* KNF/whitespace: format preprocessor directives correctly.dholland2009-05-2511-147/+147
|
* ANSIfy function declarations. Object file diffs checked.dholland2009-05-2512-88/+64
|
* sprintf -> snprintfdholland2009-05-253-8/+9
|
* Sort sections.wiz2009-04-121-6/+6
|
* Convert to mdoc markup. With input from wiz.joerg2009-04-121-182/+181
|
* 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-202-8/+8
|
* make mille build with WARNS=4dholland2008-01-281-6/+6
|
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-152-6/+6
|
* Coverity CID 695: Remove impossible condition. This changes the scoring aschristos2006-03-191-5/+3
| | | it was probably intended originally.
* Use standard AUTHORS section header. From YOMURA Masanori in private mailwiz2005-09-151-2/+2
| | | Sort sections if necessary. Use more/better markup.
* Add (unsigned char) cast to ctype functionsdsl2004-11-051-5/+5
|
* If the current player has no cards, skip to the other player.jdc2004-04-061-2/+15
| | | | While we're here, make this compile with -DDEBUG. Fixes PR bin/12530 from Thomas Klausner.
* Remove uses of __P.jsm2004-01-273-44/+44
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-0715-103/+43
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* New sentences begin on new lines.wiz2002-09-261-14/+24
| | | Patch from Richard Elz, slightly improved by yours truly.
* __STDC__ is always defined on NetBSD.wiz2002-05-261-17/+3
|
* Generate <>& symbolically. I'm avoiding .../dist/... directories for now.ross2002-02-081-6/+6
|
* 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
|
* Cast pointer difference to long when printing w/ %ld.thorpej2000-04-271-3/+3
|
* Clear to end of line on the correct window.jdc2000-04-271-3/+3
|
* Fix arguments to *printw().jdc2000-04-271-3/+3
|
* Fix error in last namespace change (only relevant #ifdef DEBUG).jsm1999-10-011-3/+3
|
* Fix uses of namespaces reserved by ISO C or POSIX.1.jsm1999-09-305-27/+35
|
* Fix -Wsign-compare warnings.jsm1999-09-181-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.
* Include <time.h> in various places in the games where time() or time_tjsm1999-09-091-2/+4
| | | are used.
* Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate injsm1999-09-081-3/+3
| | | the games.
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-082-6/+10
| | | | | | | | | | | | 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).
* Add use of `const' where appropriate to the games.jsm1999-09-086-39/+41
| | | | | | | | | 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.