summaryrefslogtreecommitdiffstats
path: root/hack/hack.invent.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix up some lint.dholland2011-08-071-2/+4
|
* Fix up still more casts; use NULL instead of (char *)0.dholland2011-08-061-9/+9
|
* Remove more silly casts.dholland2011-08-061-4/+4
|
* Correctly print variables as strings, not as format string.joerg2011-05-231-4/+4
|
* sprinkle staticdholland2009-08-121-10/+11
|
* Fix two serious string-handling bugs (one exploitable, one probablydholland2009-06-291-5/+12
| | | | exploitable) and also add proper checking/paranoia in several other places.
* sprintf -> snprintf, plus some use of strlcpy/strlcat where appropriatedholland2009-06-071-4/+4
| | | XXX: there's still one sprintf left which will take some hacking to expunge.
* ANSIfy function declarations. All object file diffs inspected.dholland2009-06-071-77/+42
|
* Fix Coverity issues 2366 and 2365 -- REVERSE_INULL.jnemeth2006-03-291-6/+12
| | | Approved by Christos@.
* Remove uses of __P.jsm2004-01-271-9/+9
|
* Hack is now BSD-licensed. Thanks to Andries Brouwer, Jay Fenlason andjsm2003-04-021-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:jsm2001-03-251-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 errorfair1997-10-231-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...christos1997-10-191-487/+603
|
* merge with Lite, new RCS id conventions, etc.cgd1995-03-231-1/+1
|
* alloc.cmycroft1993-08-021-2/+7
|
* Cleanup for GCC 2.mycroft1993-04-181-1/+1
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+863