Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use PREFIX now | Cameron Katri | 2021-03-28 | 2 | -10/+12 |
| | |||||
* | Get all the games compiling for iOS | Cameron Katri | 2021-02-22 | 4 | -15/+21 |
| | |||||
* | - add or adjust /* FALLTHROUGH */ where appropriate | mrg | 2019-02-03 | 4 | -8/+24 |
| | | | | - add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily | ||||
* | need time.h for time(), got side-loaded before from <fcntl.h> via <sys/stat.h> | christos | 2017-01-10 | 1 | -2/+3 |
| | |||||
* | WARNS=5 | dholland | 2012-06-19 | 18 | -359/+259 |
| | |||||
* | Fix conflicting variable definitions | matt | 2012-02-18 | 1 | -3/+3 |
| | |||||
* | Use tiparm instead of vtparm. | roy | 2011-10-03 | 1 | -7/+7 |
| | |||||
* | Use __dead | joerg | 2011-08-29 | 2 | -5/+5 |
| | |||||
* | Use __dead and __printflike instead of __attribute__. | dholland | 2011-08-26 | 1 | -2/+2 |
| | |||||
* | eliminate/document non-literal format strings | christos | 2011-08-16 | 2 | -13/+14 |
| | |||||
* | Document the options that actually exist, instead of some other | dholland | 2010-04-24 | 1 | -25/+25 |
| | | | completely unrelated set. Bump date. (first time since 1993!) | ||||
* | Handle the "diedtime" field of the player log (which is not the high | dholland | 2010-04-24 | 1 | -4/+7 |
| | | | | | | scores file, the append-only log of all games) as int32_t instead of time_t. Log files from before the 64-bit time_t change can now be read again; however, log files from the last year of -current are hosed. All none of you who play larn, take note... | ||||
* | ctime can return NULL. | christos | 2010-04-02 | 1 | -5/+9 |
| | |||||
* | Userland now builds and uses terminfo instead of termcap. | roy | 2010-02-03 | 2 | -91/+51 |
| | | | OK: core@, jdc@ | ||||
* | Remove 3rd and 4th clauses in christos' license. OK christos. | snj | 2009-10-21 | 1 | -6/+1 |
| | |||||
* | sprinkle static | dholland | 2009-08-12 | 12 | -169/+172 |
| | |||||
* | Fix list markup. Use .Ic for key as suggested by wiz. | joerg | 2009-03-11 | 1 | -15/+16 |
| | |||||
* | Both legs of the conditional operator must return the same type. | gmcgarry | 2008-08-29 | 1 | -2/+2 |
| | |||||
* | Split some code from moreobj.c into action.c, as per larn 12.2. | dholland | 2008-02-19 | 4 | -185/+332 |
| | |||||
* | More assorted cleanup merged from larn 12.2. | dholland | 2008-02-04 | 5 | -175/+78 |
| | |||||
* | Once upon a time, larn 12.0 had functions named getchar() and putchar() | dholland | 2008-02-03 | 9 | -89/+89 |
| | | | | | | | that conflicted with libc. We changed them to lgetchar() and xputchar() respectively; larn 12.2 changed them to ttgetch() and ttputch(). After reflecting on this for a while I've decided to adopt the larn 12.2 names; not so much for compatibility but for consistency going forward. So, massrename them. Also make ttputch() static. | ||||
* | Don't create files mode 666 in /var. (The code in question is not enabled | dholland | 2008-02-03 | 1 | -3/+3 |
| | | | by default, though.) | ||||
* | Larn does not need its own private versions of functions from <ctype.h>. | dholland | 2008-02-03 | 7 | -96/+17 |
| | | | Also, remove the function gettokstr(), which is not used. From larn 12.2. | ||||
* | A long time ago, larn had code to prohibit playing it during work hours. | dholland | 2008-02-03 | 3 | -89/+8 |
| | | | | | | | | | Most of this code was removed ages ago, probably when dm(6) was invented; long before -r1.1 in the NetBSD tree in any event. Now remove the last fragment of it. Also nuke the file of US holidays 1987-1993 that we've been carrying around for no reason. | ||||
* | Some assorted minor cleanups, from larn 12.2. | dholland | 2008-02-03 | 4 | -26/+31 |
| | |||||
* | Make a bunch of functions static. Merged from larn 12.2. | dholland | 2008-02-03 | 8 | -68/+80 |
| | |||||
* | Use mkstemp to make the temporary files used when you win. | dholland | 2008-02-03 | 1 | -5/+5 |
| | |||||
* | Since games are (now) setgid, not setuid, it is no longer necessary to | dholland | 2008-02-03 | 3 | -30/+30 |
| | | | manipulate the effective uid, only the effective gid. | ||||
* | Call srandom() as well as initializing the private random generator | dholland | 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. | dholland | 2008-01-28 | 21 | -306/+296 |
| | |||||
* | Apparently the reason the printf arguments were all wrong is that larn | dholland | 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. | dholland | 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@ | mouse | 2007-04-22 | 5 | -37/+52 |
| | |||||
* | s/existance/existence/, from Zafer. | wiz | 2006-11-24 | 1 | -2/+2 |
| | |||||
* | sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. | mrg | 2006-05-11 | 1 | -1/+8 |
| | |||||
* | lrint() -> larn_lrint(). | mrg | 2006-05-11 | 3 | -11/+11 |
| | |||||
* | end the argument list to exec*(3) with a NULL instead of a bare '0', as | mrg | 2006-05-11 | 1 | -3/+3 |
| | | | the latter isn't a pointer context in these varargs functions. | ||||
* | It's "its." | snj | 2006-04-24 | 1 | -3/+3 |
| | |||||
* | Coverity CID 2073: Fix memory leak. | christos | 2006-03-19 | 1 | -2/+4 |
| | |||||
* | Coverity CID 999: Prevent NULL deref. | christos | 2006-03-19 | 1 | -3/+4 |
| | |||||
* | Use standard AUTHORS section header. From YOMURA Masanori in private mail | wiz | 2005-09-15 | 1 | -6/+3 |
| | | | Sort sections if necessary. Use more/better markup. | ||||
* | Remove a incorrect semicolon at the end of an if(). | simonb | 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 | perry | 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. | wiz | 2004-02-13 | 1 | -6/+6 |
| | |||||
* | Remove uses of __P. | jsm | 2004-01-27 | 7 | -267/+267 |
| | |||||
* | Don't redefine NULL | agc | 2003-10-21 | 1 | -1/+3 |
| | |||||
* | Move UCB-licensed code from 4-clause to 3-clause licence. | agc | 2003-08-07 | 6 | -40/+16 |
| | | | Patches provided by Joel Baker in PR 22269, verified by myself. | ||||
* | Sy Aq -> Aq Sy so both work. | wiz | 2003-07-01 | 1 | -2/+2 |
| | |||||
* | .Nm does not need a dummy argument ("") before punctuation or | wiz | 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. | wiz | 2002-09-26 | 1 | -7/+7 |
| |