summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix preamblejoerg2009-03-111-1/+2
|
* Fix markupjoerg2009-03-112-5/+6
|
* sprintf -> snprintfdholland2009-03-091-5/+8
|
* Move HISTORY to proper place.dholland2009-03-021-57/+58
|
* Edit. Sync with reality, at least partway. Bump date.dholland2009-03-021-129/+173
|
* Sort options. End sentence with a dot.wiz2009-03-021-8/+7
|
* mdocify. Partly merged from OpenBSD. Not by any means perfect yet.dholland2009-03-021-410/+527
|
* More fixes from OpenBSD: use err instead of perror, don't hork on EOFdholland2009-03-021-11/+15
| | | during the initial setup questions.
* Check for failure of fgets when reading the captain's name, and don'tdholland2009-03-021-4/+5
| | | allow it to be empty. From OpenBSD.
* Use errx() to send fatal error messages. From OpenBSD.dholland2009-03-021-4/+4
|
* Use errx/warnx instead of printing to stderr. From OpenBSD.dholland2009-03-021-5/+5
|
* Use err(3) and errx(3), not perror and fprintf to stderr. From OpenBSD.dholland2009-03-021-6/+5
|
* Braces around a nested if, for clarity; suggested by diffing against OpenBSD.dholland2009-03-021-4/+4
|
* Fix bogus conditional caught by today's make. It looks as if MKHIDEGAMEdholland2009-01-181-2/+2
| | | | | | | has never worked since it was introduced in 2002... clearly a lot of people care about that. It should work now, but because it's evidently never been tested it may also require setlist adjustments.
* use %zu to print size_ttnn2009-01-181-3/+3
|
* fix -Wsign-compare issueslukem2009-01-183-9/+9
|
* Fix fiance/fiancee confusion. Fix another typo.wiz2008-12-021-3/+3
| | | Jason McIntyre <jmc@kerhand.co.uk>.
* Fix insure -> ensure confusion. From Jason McIntyre <jmc@kerhand.co.uk>.wiz2008-12-021-6/+6
|
* PR/39923: Valery Ushakov: trek(6) can spin, consuming 100% CPU on powerpcchristos2008-11-141-3/+6
| | | | On systems where char is unsigned the number of black holes can end up being very large (instead of negative).
* more MKSHARE == no fixes:mrg2008-10-301-1/+5
| | | | | | | - move installation of atf pkg-config files out of share/atf/ - don't install spell or ching share files - update some directory entries to not have 'share' tag now my MKLINT=no MKSHARE=no MKPROFILE=no builds work again.
* Use uint32_t and include <stdint.h>, instead of using u_int32_tapb2008-10-191-7/+7
| | | and including <sys/types.h>.
* Make this build on Mac OS X.agc2008-09-291-2/+3
|
* Install unstr:apb2008-09-263-4/+6
| | | | | | * in games/fortune/Makefile, add unstr to SUBDIR; * in games/fortune/unstr/Makefile, include ../../Makefile.inc; * in games/fortune/strfile/Makefile, add MLINKS for unstr man page; * in distrib/sets/lists/games/mi, add new files.
* Build strfile both as a host tool and as an installed program:apb2008-09-262-7/+7
| | | | | | | | | | * in games/fortune/strfile/Makefile, build strfile as a regular program instead of as a host tool; * add tools/strfile directory to build strfile as a host tool; * in tools/Makefile, add strfile to SUBDIR list; * in BSD.*.mk, define TOOL_STRFILE variable; * in games/fortune/datfiles/Makefile, use TOOL_STRFILE when creating databases at build time; * in distrib/sets/lists/games/mi, mention usr/games/strfile.
* Make this pass WARNS=4:apb2008-09-261-41/+37
| | | | * u_int32_t -> uint32_t, and remove ifdef test. * add function prototypes.
* Both legs of the conditional operator must return the same type.gmcgarry2008-08-291-2/+2
|
* Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a ↵gmcgarry2008-08-293-5/+10
| | | | few flags for PCC.
* if initscr() fails, exit with a message rather than crash in thedrochner2008-08-0815-44/+70
| | | next curses call
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-211-4/+4
|
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-2044-175/+175
|
* Clarify how one is supposed to use the pointers returned by getutentries()dholland2008-07-131-7/+2
| | | | | | | | | | | | | (the utmpentry.c code), specifically with respect to who owns them and when to free them. Now they're owned by utmpentry.c, only. Abolish the freeutentries() function, which was the wrong abstraction; add instead endutentries(), which flushes out the internally managed memory. Update callers as necessary. Some (e.g. talkd) had been leaking memory; others (e.g. syslogd) had been accidentally freeing and reloading utmp more often than necessary. There are a couple untidy bits in users and rwhod that someone should look after sometime, maybe. Fixes PR bin/35131, which was about talkd's memory leak.
* Add test for HAVE_PCC with HAVE_GCC which turn off compiler warning flags.gmcgarry2008-07-122-6/+6
|
* remove clause #3 from my license where there are no othermrg2008-05-291-3/+1
| | | copyright holders involved.
* 2-clause my license.wiz2008-05-081-3/+1
|
* Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this islukem2008-05-031-2/+2
| | | | a variable that is used by in-tree Makefiles to control behaviour. (MKsomevar variables are generally intended to be controlled by the end-user)
* Remove clause 3 and 4 from TNF licensesmartin2008-04-2825-210/+35
|
* Fix a tip: use pkg_info, not pkg_add to find out which executableswiz2008-03-251-3/+3
| | | belong to a package.
* Add a tip explaining how to run the tests in /usr/tests.jmmv2008-03-231-0/+8
|
* In example, change dd count size and also chmod so others can't read swap.reed2008-03-221-1/+2
|
* Add five more tips.reed2008-03-211-0/+19
|
* Add "netbsd-tips" fortune database with 23 initial fortunes --reed2008-03-212-4/+120
| | | | | | actually hints or suggestions or tips on using NetBSD. Please share your brief NetBSD usage tips. If you want to discuss or share suggestions, have a look at http://wiki.netbsd.se/netbsd-tips wiki page.
* Don't crash if we're asked to restore from /dev/null. (woops)dholland2008-02-241-2/+13
|
* Fix a bit more lint.dholland2008-02-243-12/+11
|
* Fix some more lint. (There's plenty to go around.)dholland2008-02-242-20/+22
| | | | | If we try to load a game and it bombs, keep prompting for another one, because if we try to continue with a half-loaded game we'll probably end up in trouble.
* Don't cast the return value of calloc.dholland2008-02-241-3/+3
|
* fix some lintchristos2008-02-245-23/+18
|
* need errno.hchristos2008-02-241-2/+3
|
* Update for today's changes: 1-player games are not allowed, and cards.pckdholland2008-02-241-8/+3
| | | no longer appears.
* Fix the OpenBSD housing shortage code.dholland2008-02-241-43/+63
|
* ret_card(), which I moved earlier, was consequently filed under the wrongdholland2008-02-241-2/+4
| | | source file name. fix.