summaryrefslogtreecommitdiffstats
path: root/hack
Commit message (Collapse)AuthorAgeFilesLines
...
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-155-18/+18
|
* Update my previous commit to better match the original code, includingchuck2007-01-171-5/+8
| | | | | | | | | | | the check for 'bs'... my previous commit should have included the following text: fixes problem introduced in 1.13 where the setting of "BC" (backspace char) was left to libterm rather than being done by hack itself. the problem with this was that hack was directly setting BC to \b if there was no "bc" in the termcap entry, but libterm does not do this. this resulted in the xputs(BC) calls in nocmov() and backsp() incorrectly doing nothing, thus messing up the display. added new var BC_BS to provide the old behavior for nocmov() and backsp().
* mrg's changes in 1.13 broke hack's display code.chuck2007-01-171-5/+8
|
* s/independant/independent/, from Zafer.wiz2006-11-241-2/+2
|
* fix spelling of accommodate; from Zapher.christos2006-11-241-3/+3
|
* Coverity CID 3382: Fix memory leak.christos2006-05-131-2/+3
|
* Coverity CID 3383: Fix memory leak.christos2006-05-131-2/+3
|
* UC, PC and BC are provided my libtermcap, don't duplicate them.mrg2006-05-111-15/+4
|
* 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
|
* Coverity CID 1327: check for error returnjnemeth2006-03-301-2/+4
|
* Bah! Compare, don't assign!jnemeth2006-03-301-3/+3
|
* Coverity CID 1328: check for error returnjnemeth2006-03-301-2/+4
|
* Coverity CID 1326: check for error returnjnemeth2006-03-301-2/+4
|
* Fix Coverity issue 891 -- FORWARD_NULL.jnemeth2006-03-291-2/+6
| | | Approved by christos@.
* Fix Coverity issues 2366 and 2365 -- REVERSE_INULL.jnemeth2006-03-291-6/+12
| | | Approved by Christos@.
* Fix Coverity issue 2584 -- USE_AFTER_FREE and issue 889 -- FORWARD_NULL.jnemeth2006-03-291-5/+9
| | | Approved by christos@.
* Change DPADD from LIBTERM (which doesn't exist) and LIBCOMPAT (which itsimonb2006-02-251-2/+2
| | | doesn't use) to LIBTERMCAP (which it does use).
* Use standard AUTHORS section header. From YOMURA Masanori in private mailwiz2005-09-151-28/+28
| | | Sort sections if necessary. Use more/better markup.
* Add (unsigned char) cast to ctype functionsdsl2004-11-051-6/+6
|
* Grammar fix, from ray at raylai org via jmc@openbsd.wiz2004-06-011-2/+2
|
* s/feal/feel/snj2004-03-281-1/+1
|
* s/venomenous/venomous/snj2004-03-281-1/+1
|
* Remove uses of __P.jsm2004-01-2710-560/+560
|
* Refer to 'O' rather than 'o' as command to set options. Bug reportedjsm2004-01-011-4/+4
| | | by Christian Garbs <debian@cgarbs.de> in Debian bug 191452.
* Improve how various "simple" host tools are built and invoked.lukem2003-11-161-4/+4
|
* Rework how MAKEVERBOSE operates:lukem2003-10-211-11/+6
| | | | | | | | | | * Don't bother prefixing commands with a line of ${_MKCMD}\ and instead rely upon "make -s". This is less intrusive on all the Makefiles than the former. Idea from David Laight. * Rename the variables use to print messages. The scheme now is: _MKMSG_FOO Run _MKMSG 'foo' _MKTARGET_FOO Run _MKMSG_FOO ${.TARGET} From discussion with Alistair Crooks.
* rework to use the newer _MKMSGCREATE (et al) macroslukem2003-10-191-5/+5
|
* Support MAKEVERBOSE. (Some host tools still generate verbose runtime messages)lukem2003-10-191-1/+11
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-072-13/+5
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* Rework how dependency generation is performed:lukem2003-08-011-4/+3
| | | | | | | | | | | | | | | | | | | | | | * DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES. This is a change of behaviour. If a Makefile wants the clean semantics it must specifically append to CLEANFILES. Resolves PR toolchain/5204. * To recap: .d (depend) files are generated for all files in SRCS and DPSRCS that have a suffix of: .c .m .s .S .C .cc .cpp .cxx * If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES * Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS} * Deprecate the (short lived) DEPENDSRCS Update the various Makefiles to these new semantics; generally either adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing specific .o dependencies with DPSRCS entries. Tested with "make -j 8 distribution" and "make distribution".
* simplify and use ${DEPENDSRCS} as a target as appropriatelukem2003-07-311-15/+5
|
* Quote question mark.wiz2003-06-271-2/+2
|
* Hack is now BSD-licensed. Thanks to Andries Brouwer, Jay Fenlason andjsm2003-04-0280-214/+4751
| | | | CWI <http://www.cwi.nl/~aeb/games/hack/hack.html>. Via OpenBSD. Addresses part of PR bin/5850.
* .Nm does not need a dummy argument ("") before punctuation orwiz2003-02-251-2/+2
| | | for correct formatting of the SYNOPSIS any longer.
* fix confusion between east and west for y,u,b, and n.pooka2002-12-151-1/+1
| | | from Soren Jacobsen in misc/19397
* Lots of minor fixes resulting from reading these man pages in detail.wiz2002-09-261-6/+7
|
* New sentences begin on new lines.wiz2002-09-261-11/+13
| | | Patch from Richard Elz, slightly improved by yours truly.
* shops are only supposed to have 1 door (as per standard hack 1.0.3).chuck2002-08-221-3/+3
| | | | | for some reason, the version of 1.0.3 that was in the 4.4 lite tree was modified to allow shops with two doors -- this violates the spirit of the game. with this diff, we revert back to classic 1.0.3 behavior.
* __STDC__ is always defined on NetBSD.wiz2002-05-265-58/+12
|
* No need to reference .OBJDIR here.thorpej2002-03-051-2/+2
|
* use ${INSTALL_FILE} as appropriatelukem2002-02-091-3/+3
|
* Generate <>& symbolically. I'm avoiding .../dist/... directories for now.ross2002-02-081-2/+2
|
* Update to the new t_agetstr() API.christos2001-11-021-18/+16
|
* Spell 'occurred' with two 'r's.wiz2001-09-161-2/+2
|
* Whitespace and/or punctuation fixes.wiz2001-04-021-8/+8
|
* Make mostly gcc -W clean, and other cleanup:jsm2001-03-2552-330/+339
| | | | | | | | | | | | 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.
* fix redundant decls and nested externs. while I am here change my copyrightchristos2001-02-056-45/+36
| | | to TNF.
* comment or delete text after CPP directives.cgd2001-01-165-17/+17
|
* remove unnecessary command name after .Nmlukem2000-11-071-3/+3
|