Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix up some lint. | 2011-08-07 | 1 | -2/+4 | |
| | |||||
* | Fix up still more casts; use NULL instead of (char *)0. | 2011-08-06 | 1 | -9/+9 | |
| | |||||
* | Remove more silly casts. | 2011-08-06 | 1 | -4/+4 | |
| | |||||
* | Correctly print variables as strings, not as format string. | 2011-05-23 | 1 | -4/+4 | |
| | |||||
* | sprinkle static | 2009-08-12 | 1 | -10/+11 | |
| | |||||
* | Fix two serious string-handling bugs (one exploitable, one probably | 2009-06-29 | 1 | -5/+12 | |
| | | | | exploitable) and also add proper checking/paranoia in several other places. | ||||
* | sprintf -> snprintf, plus some use of strlcpy/strlcat where appropriate | 2009-06-07 | 1 | -4/+4 | |
| | | | XXX: there's still one sprintf left which will take some hacking to expunge. | ||||
* | ANSIfy function declarations. All object file diffs inspected. | 2009-06-07 | 1 | -77/+42 | |
| | |||||
* | Fix Coverity issues 2366 and 2365 -- REVERSE_INULL. | 2006-03-29 | 1 | -6/+12 | |
| | | | Approved by Christos@. | ||||
* | Remove uses of __P. | 2004-01-27 | 1 | -9/+9 | |
| | |||||
* | Hack is now BSD-licensed. Thanks to Andries Brouwer, Jay Fenlason and | 2003-04-02 | 1 | -3/+60 | |
| | | | | CWI <http://www.cwi.nl/~aeb/games/hack/hack.html>. Via OpenBSD. Addresses part of PR bin/5850. | ||||
* | Make mostly gcc -W clean, and other cleanup: | 2001-03-25 | 1 | -5/+6 | |
| | | | | | | | | | | | | Use const. Add __noreturn__ attributes. Add a __format__ attribute. Add __unused__ attributes. Use symbolic constants for open() and lseek(). Declare types of all function parameters; convert some function definitions to ISO C form. Ensure standard file descriptors are open on startup. Check for errors writing output of makedefs. Avoid duplicate definitions of variables. | ||||
* | Initialize pointers to NULL to avoid gcc/sparc compiler error | 1997-10-23 | 1 | -4/+4 | |
| | | | | | | hack.invent.c: In function `dolook': hack.invent.c:800: warning: `otmp0' might be used uninitialized in this function hack.invent.c:801: warning: `gold' might be used uninitialized in this function (this is awfully tiresome - can't we fix gcc?) | ||||
* | WARNsify... | 1997-10-19 | 1 | -487/+603 | |
| | |||||
* | merge with Lite, new RCS id conventions, etc. | 1995-03-23 | 1 | -1/+1 | |
| | |||||
* | alloc.c | 1993-08-02 | 1 | -2/+7 | |
| | |||||
* | Cleanup for GCC 2. | 1993-04-18 | 1 | -1/+1 | |
| | |||||
* | initial import of 386bsd-0.1 sources | 1993-03-21 | 1 | -0/+863 | |