summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Replve duplicate #includeshubertf2007-01-172-6/+4
| | | From Slava Semushin <slava.semushin@gmail.com>, via private mail
* - ANSIfyhubertf2007-01-121-16/+11
| | | | | | | - Use return instead of exit() in main() - Use EXIT_{SUCCESS,FAILURE} constants instead of 0/1 No functional changes. Patch submitted in private mail by Slava Semushin <slava.semushin@gmail.com>
* Fix some typos in ENIAC quote. From Zafer Aydogan and myself.wiz2006-12-251-3/+3
|
* Spell "tomorrow" correctly. From Zafer Aydogan.wiz2006-12-251-1/+1
|
* Bump date for previous. Use mdoc macros.wiz2006-12-231-3/+3
|
* Add example of using -w.reed2006-12-141-1/+4
|
* s/existance/existence/, from Zafer.wiz2006-11-242-3/+3
|
* s/independant/independent/, from Zafer.wiz2006-11-241-2/+2
|
* s/exceded/exceeded/, from Zafer.wiz2006-11-241-3/+3
|
* fix spelling of accommodate; from Zapher.christos2006-11-241-3/+3
|
* fix spelling of accidentally; from Zapherchristos2006-11-241-2/+2
|
* Check that -w width is not above maximum. (It already checks for zero orreed2006-11-221-4/+4
| | | | | | negative.) Using width above DWIDTH may cause overflow as noted by Gruzicki Wlodek on bugtraq. While here replace one use of 132 with DWIDTH.
* don't discard const. GCC 4.1-20061021 doesn't like that...mrg2006-10-221-3/+3
|
* Typo, from David A. Holland on #NetBSD-code, thanks!elad2006-10-082-2/+1
|
* Input validation, from David A. Holland on #NetBSD-codeelad2006-10-071-6/+18
|
* PR/18906: roskens at elfin dot net: misc. select() to poll() updates.elad2006-10-071-5/+5
| | | Adapted to -current by myself, thanks for the patch!
* PR# 4305: [dM] boggle uses very incomplete wordlist.jmcneill2006-09-241-2/+7
|
* PR/34175: Zafer Aydogan: touch the window to cause a refresh after helpchristos2006-08-092-18/+20
| | | Also use CTRL instead of \xxx
* Attribute ``A language that doesn't affect the way you think abouthubertf2006-06-241-0/+1
| | | | programming is not worth knowing.'' to Alan Perlis, per Diomidis Spinellis' blog at http://www.spinellis.gr/blog/20060424/
* Fix typo or mispelling.reed2006-06-171-2/+2
|
* Increase username length to match modern systems, and create #defines for ajnemeth2006-06-071-2/+4
| | | couple of lengths.
* Actually accept "?" argument as documented in the manpage.jnemeth2006-06-071-16/+14
| | | | Don't attempt to ignore an untrappable signal. Fix 6 possible buffer overflows.
* Don't follow symlinks on systems that have O_NOFOLLOW.jnemeth2006-06-071-5/+9
| | | | Don't bother looping with lockf() since first iteration would return. Prevent two buffer overflows.
* prevent "stack" overflowjnemeth2006-06-072-3/+5
|
* bracket else blockjnemeth2006-06-071-3/+4
|
* WARNS=4jnemeth2006-06-071-2/+2
|
* Better check data read from tetris.scores before use as array indices etc.drochner2006-06-011-9/+12
| | | | | | This is CVE-2006-1539, files against Gentoo Linux, the patch is from Gentoo. A standard NetBSD installation is not as much risk because tetris is sgid "games", and users shouldn't be in that group.
* read config more strictly, from Maximillian Dornseifdan2006-05-251-5/+5
|
* don't try to switch a char and have a case of EOF - use an int.mrg2006-05-182-8/+13
|
* Remove dup Hitler fortune. One of the two fortunes I moved yesterday, waschristos2006-05-171-4/+0
| | | already in the offensive set. From a NetBSD fan who prefers to be anonymous.
* PR/33495: Daniel Weiss: Offensive quote in netbsd fortune packagechristos2006-05-162-13/+13
| | | | - Move 2 offensive to women Adolf Hitler quotes to fortune2-o - s/Adolph/Adolf/
* Add a virtual destructor to avoid "future ABI issues". I love c++.christos2006-05-141-1/+2
|
* add virtual destructors so that g++ shuts up.christos2006-05-142-2/+4
|
* Don't use iostream just for the usage message. Use stdio instead.christos2006-05-141-5/+5
|
* XXX: GCC uninitializedchristos2006-05-143-11/+14
|
* Coverity CID 3382: Fix memory leak.christos2006-05-131-2/+3
|
* Coverity CID 3383: Fix memory leak.christos2006-05-131-2/+3
|
* Coverity CID 3508: Fix file leak.christos2006-05-131-2/+3
|
* Coverity CID 3269: Fix memory leak.christos2006-05-131-5/+8
|
* sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.mrg2006-05-114-4/+24
|
* lrint() -> larn_lrint().mrg2006-05-113-11/+11
|
* end the argument list to exec*(3) with a NULL instead of a bare '0', asmrg2006-05-111-3/+3
| | | the latter isn't a pointer context in these varargs functions.
* UC, PC and BC are provided my libtermcap, don't duplicate them.mrg2006-05-111-15/+4
|
* avoid a pointer sign difference.mrg2006-05-111-3/+3
|
* change (mostly) int to socklen_t. GCC 4 doesn't like that int andmrg2006-05-093-11/+11
| | | socklen_t are different signness.
* Credit Alan Perlis for ``give him a lollipop'' programming language quote.groo2006-04-261-0/+1
| | | Hat tip: Jerry Leichter.
* 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.
* It's "its."snj2006-04-241-3/+3
|