summaryrefslogtreecommitdiffstats
path: root/hack/hack.pager.c
Commit message (Collapse)AuthorAgeFilesLines
* reinstate NULL cast by request, where the NULL was being passed as a varargplunky2011-09-011-5/+5
|
* NULL does not need a castplunky2011-08-311-5/+5
|
* Fix up still more casts; use NULL instead of (char *)0.dholland2011-08-061-6/+6
|
* Remove more silly casts.dholland2011-08-061-3/+3
|
* Use the right type for the malloc wrapper function, and don't cast thedholland2011-08-061-5/+4
| | | | | | | | return value. (XXX: Except for a pile of allocation macros that produce typed pointer results; there the typechecking of the result assignment is more valuable than the warning if the alloc function isn't declared properly. These macros should go away.)
* <sys/wait.h> is standard, so just use it instead of fiddling about withdholland2011-08-061-21/+3
| | | ifdefs for long-dead systems. While here, remove union wait.
* Correctly print variables as strings, not as format string.joerg2011-05-231-4/+4
|
* Userland now builds and uses terminfo instead of termcap.roy2010-02-031-3/+3
| | | OK: core@, jdc@
* sprinkle staticdholland2009-08-121-6/+11
|
* ANSIfy function declarations. All object file diffs inspected.dholland2009-06-071-24/+16
|
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-3/+3
|
* Coverity CID 3032: Prevent double free: Next to the call of page_more()christos2006-04-241-3/+2
| | | | there is a comment saying /* does fclose */, but the next line calls fclose(fp);. Go figure.
* Coverity CID 2791: Fix file pointer leak.christos2006-04-021-2/+4
|
* Fix Coverity issue 891 -- FORWARD_NULL.jnemeth2006-03-291-2/+6
| | | Approved by christos@.
* 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-8/+8
| | | | | | | | | | | | 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.
* WARNsify...christos1997-10-191-233/+258
|
* merge with Lite, new RCS id conventions, etc.cgd1995-03-231-1/+1
|
* change <sys/signal.h> to <signal.h>jtc1995-02-281-3/+4
|
* Add RCS identifiers, remove some completely useless RCS logs and patchkitmycroft1993-08-021-2/+7
| | | headers, and a few other insignificant changes.
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+406