Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use mkstemp to make the temporary files used when you win. | 2008-02-03 | 1 | -5/+5 | |
| | |||||
* | Since games are (now) setgid, not setuid, it is no longer necessary to | 2008-02-03 | 3 | -30/+30 | |
| | | | manipulate the effective uid, only the effective gid. | ||||
* | Call srandom() as well as initializing the private random generator | 2008-01-28 | 1 | -2/+3 | |
| | | | | (which is crappy and should be removed, but that's for another day...) This way e.g. fortune cookies no longer appear always in the same order. | ||||
* | Larn now builds with WARNS=4. | 2008-01-28 | 21 | -306/+296 | |
| | |||||
* | Apparently the reason the printf arguments were all wrong is that larn | 2008-01-28 | 1 | -121/+11 | |
| | | | | had its own private and not-quite-standard implementation of printf. Remove it surgically with a chainsaw. | ||||
* | Add gcc printf format checking, and fix the abundant problems this revealed. | 2008-01-28 | 9 | -73/+76 | |
| | | | (It appears that someone sometime thought that you use %d to print a long.) | ||||
* | Per PR 36185, OKed by martin@ | 2007-04-22 | 5 | -37/+52 | |
| | |||||
* | s/existance/existence/, from Zafer. | 2006-11-24 | 1 | -2/+2 | |
| | |||||
* | sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. | 2006-05-11 | 1 | -1/+8 | |
| | |||||
* | lrint() -> larn_lrint(). | 2006-05-11 | 3 | -11/+11 | |
| | |||||
* | end the argument list to exec*(3) with a NULL instead of a bare '0', as | 2006-05-11 | 1 | -3/+3 | |
| | | | the latter isn't a pointer context in these varargs functions. | ||||
* | It's "its." | 2006-04-24 | 1 | -3/+3 | |
| | |||||
* | Coverity CID 2073: Fix memory leak. | 2006-03-19 | 1 | -2/+4 | |
| | |||||
* | Coverity CID 999: Prevent NULL deref. | 2006-03-19 | 1 | -3/+4 | |
| | |||||
* | Use standard AUTHORS section header. From YOMURA Masanori in private mail | 2005-09-15 | 1 | -6/+3 | |
| | | | Sort sections if necessary. Use more/better markup. | ||||
* | Remove a incorrect semicolon at the end of an if(). | 2005-02-25 | 1 | -4/+4 | |
| | | | Magic levels now appear after extensive play testing! | ||||
* | A preprocessor macro named "srand" was defined which seeded the random | 2005-02-03 | 2 | -5/+5 | |
| | | | | | | | | number generator. Unfortunately, it conflicted with a function of the same defined in stdlib.h. This was masked by the __P hack, which is now being purged. I've renamed "srand" to "seedrand" to eliminate the conflict. | ||||
* | Uppercase CPU, plural is CPUs. | 2004-02-13 | 1 | -6/+6 | |
| | |||||
* | Remove uses of __P. | 2004-01-27 | 7 | -267/+267 | |
| | |||||
* | Don't redefine NULL | 2003-10-21 | 1 | -1/+3 | |
| | |||||
* | Move UCB-licensed code from 4-clause to 3-clause licence. | 2003-08-07 | 6 | -40/+16 | |
| | | | Patches provided by Joel Baker in PR 22269, verified by myself. | ||||
* | Sy Aq -> Aq Sy so both work. | 2003-07-01 | 1 | -2/+2 | |
| | |||||
* | .Nm does not need a dummy argument ("") before punctuation or | 2003-02-25 | 1 | -2/+2 | |
| | | | for correct formatting of the SYNOPSIS any longer. | ||||
* | Lots of minor fixes resulting from reading these man pages in detail. | 2002-09-26 | 1 | -7/+7 | |
| | |||||
* | New sentences begin on new lines. | 2002-09-26 | 1 | -7/+9 | |
| | | | Patch from Richard Elz, slightly improved by yours truly. | ||||
* | __STDC__ is always defined on NetBSD. | 2002-05-26 | 1 | -18/+2 | |
| | |||||
* | Generate <>& symbolically. I'm avoiding .../dist/... directories for now. | 2002-02-08 | 1 | -2/+2 | |
| | |||||
* | Update to the new t_agetstr() API. | 2001-11-02 | 1 | -13/+10 | |
| | |||||
* | va_{start,end} audit: | 2001-09-24 | 1 | -2/+3 | |
| | | | | | | | | | | | | | Make sure that each va_start has one and only one matching va_end, especially in error cases. If the va_list is used multiple times, do multiple va_starts/va_ends. If a function gets va_list as argument, don't let it use va_end (since it's the callers responsibility). Improved by comments from enami and christos -- thanks! Heimdal/krb4/KAME changes already fed back, rest to follow. Inspired by, but not not based on, OpenBSD. | ||||
* | - rename getchar to lgetchar to avoid conflicts with the stdio getchar | 2001-02-05 | 13 | -100/+104 | |
| | | | | - fix redundant decls and nested externs - use snprintf instead of sprintf | ||||
* | remove unnecessary command name after .Nm | 2000-11-07 | 1 | -3/+3 | |
| | |||||
* | More include additions for exit, abs, strcmp, etc. | 2000-07-03 | 1 | -2/+3 | |
| | |||||
* | Fix coredump on start. | 2000-05-24 | 1 | -3/+3 | |
| | |||||
* | Converted games to use the new termcap interface. | 2000-05-22 | 2 | -21/+50 | |
| | |||||
* | update after change to return value of tputs() third argument | 1999-10-04 | 2 | -5/+6 | |
| | |||||
* | Fix .Bl/.El imbalance. | 1999-03-10 | 1 | -1/+2 | |
| | |||||
* | convert from NOxxx= to MKxxx=no. | 1999-02-13 | 1 | -2/+4 | |
| | | | include <bsd.own.mk> if testing a MKxxx variable. | ||||
* | don't install in /usr/share if NOSHARE is defined | 1998-09-29 | 1 | -1/+3 | |
| | |||||
* | Add braces to make the new egcs happy. | 1998-08-30 | 4 | -19/+29 | |
| | |||||
* | const poisoning. | 1998-07-27 | 1 | -3/+3 | |
| | |||||
* | fix typo; ryker@openbsd.org | 1998-02-12 | 1 | -3/+3 | |
| | |||||
* | install games that need it setgid. | 1997-11-20 | 1 | -1/+2 | |
| | |||||
* | Fix time_t vs. long botch. | 1997-10-25 | 2 | -6/+6 | |
| | |||||
* | use CPPFLAGS instead of CFLAGS | 1997-10-22 | 1 | -2/+2 | |
| | |||||
* | Tons of changes; re-indent, use termios, fix warnings, add prototypes... | 1997-10-18 | 26 | -6880/+10542 | |
| | | | Games is almost clean; only hack is left... | ||||
* | enable WARNS?=1 by default, & temporarily disable for the few unclean programs | 1997-10-12 | 1 | -1/+2 | |
| | |||||
* | gtime -> gltime to avoid conflict in time.h | 1997-07-13 | 10 | -32/+32 | |
| | |||||
* | NULL => 0 (Arne Juul; PR#3629) | 1997-05-17 | 1 | -6/+6 | |
| | |||||
* | Make these compile on the PowerPC (an unsigned char system). | 1997-03-29 | 4 | -13/+14 | |
| | |||||
* | - Makefile cleanups | 1997-03-24 | 1 | -5/+4 | |
| |