summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* A terrible kludge: don't compile/link malloc.c if arch=sun2. My apologiesdogcow2007-11-171-2/+6
| | | | to the legions of sun2 monop fans who will probably be unable to save/restore games.
* __attribute -> __attribute__ragge2007-09-161-3/+3
|
* Teach wtf(6) about pkgsrc's help facility:hubertf2007-08-062-8/+18
| | | | | | | % cd /usr/pkgsrc/audio/qsynth % wtf subst subst: ===> mk/subst.mk: # This Makefile fragment implements a general text replacement facility. ...
* Increased WARNS to 4, since it passes both gcc333 and gcc411 on i386.rillig2007-06-061-2/+2
|
* Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on thetls2007-05-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to various string and memory copy and set functions (as well as a few system calls and other miscellany) where known at function entry. RedHat has evidently built all "core system packages" with this option for some time. This option should be used at the top of Makefiles (or Makefile.inc where this is used for subdirectories) but after any setting of LIB. This is only useful for userland code, and cannot be used in libc or in any code which includes the libc internals, because it overrides certain libc functions with macros. Some effort has been made to make USE_FORT=yes work correctly for a full-system build by having the bsd.sys.mk logic disable the feature where it should not be used (libc, libssp iteself, the kernel) but no attempt has been made to build the entire system with USE_FORT and doing so will doubtless expose numerous bugs and misfeatures. Adjust the system build so that all programs and libraries that are setuid, directly handle network data (including serial comm data), perform authentication, or appear likely to have (or have a history of having) data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default, with the exception of libc, which cannot use USE_FORT and thus uses only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no per-directory or in a system build will disable if desired.
* Per PR 36185, OKed by martin@mouse2007-04-225-37/+52
|
* Xref shuffle(1) from random(6), and vice versahubertf2007-03-201-2/+3
|
* NetBSD JIHBEDad2007-02-261-0/+2
|
* NetBSD: Dead on Targetad2007-02-261-0/+3
| | | -- Gimpy
* - Don't call basename $0 at many places. Use variable $PROGNAMEhubertf2007-01-241-7/+14
| | | | | | | | - Better check when neither $ACRONYMDB is define nor files in /usr/share/misc/ are found - Replace cat | fgrep to using fgrep only - Replace sort | uniq to using sort -u By Slava Semushin <slava.semushin@gmail.com> in private email.
* 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
|