Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sprintf -> snprintf | 2009-03-09 | 1 | -5/+8 | |
| | |||||
* | Move HISTORY to proper place. | 2009-03-02 | 1 | -57/+58 | |
| | |||||
* | Edit. Sync with reality, at least partway. Bump date. | 2009-03-02 | 1 | -129/+173 | |
| | |||||
* | Sort options. End sentence with a dot. | 2009-03-02 | 1 | -8/+7 | |
| | |||||
* | mdocify. Partly merged from OpenBSD. Not by any means perfect yet. | 2009-03-02 | 1 | -410/+527 | |
| | |||||
* | More fixes from OpenBSD: use err instead of perror, don't hork on EOF | 2009-03-02 | 1 | -11/+15 | |
| | | | during the initial setup questions. | ||||
* | Check for failure of fgets when reading the captain's name, and don't | 2009-03-02 | 1 | -4/+5 | |
| | | | allow it to be empty. From OpenBSD. | ||||
* | Use errx() to send fatal error messages. From OpenBSD. | 2009-03-02 | 1 | -4/+4 | |
| | |||||
* | Use errx/warnx instead of printing to stderr. From OpenBSD. | 2009-03-02 | 1 | -5/+5 | |
| | |||||
* | Use err(3) and errx(3), not perror and fprintf to stderr. From OpenBSD. | 2009-03-02 | 1 | -6/+5 | |
| | |||||
* | Braces around a nested if, for clarity; suggested by diffing against OpenBSD. | 2009-03-02 | 1 | -4/+4 | |
| | |||||
* | Fix bogus conditional caught by today's make. It looks as if MKHIDEGAME | 2009-01-18 | 1 | -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_t | 2009-01-18 | 1 | -3/+3 | |
| | |||||
* | fix -Wsign-compare issues | 2009-01-18 | 3 | -9/+9 | |
| | |||||
* | Fix fiance/fiancee confusion. Fix another typo. | 2008-12-02 | 1 | -3/+3 | |
| | | | Jason McIntyre <jmc@kerhand.co.uk>. | ||||
* | Fix insure -> ensure confusion. From Jason McIntyre <jmc@kerhand.co.uk>. | 2008-12-02 | 1 | -6/+6 | |
| | |||||
* | PR/39923: Valery Ushakov: trek(6) can spin, consuming 100% CPU on powerpc | 2008-11-14 | 1 | -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: | 2008-10-30 | 1 | -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_t | 2008-10-19 | 1 | -7/+7 | |
| | | | and including <sys/types.h>. | ||||
* | Make this build on Mac OS X. | 2008-09-29 | 1 | -2/+3 | |
| | |||||
* | Install unstr: | 2008-09-26 | 3 | -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: | 2008-09-26 | 2 | -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: | 2008-09-26 | 1 | -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. | 2008-08-29 | 1 | -2/+2 | |
| | |||||
* | Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a ↵ | 2008-08-29 | 3 | -5/+10 | |
| | | | | few flags for PCC. | ||||
* | if initscr() fails, exit with a message rather than crash in the | 2008-08-08 | 15 | -44/+70 | |
| | | | next curses call | ||||
* | Remove the \n and tabs from the __COPYRIGHT() strings. | 2008-07-21 | 1 | -4/+4 | |
| | |||||
* | Remove the \n and tabs from the __COPYRIGHT() strings. | 2008-07-20 | 44 | -175/+175 | |
| | |||||
* | Clarify how one is supposed to use the pointers returned by getutentries() | 2008-07-13 | 1 | -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. | 2008-07-12 | 2 | -6/+6 | |
| | |||||
* | remove clause #3 from my license where there are no other | 2008-05-29 | 1 | -3/+1 | |
| | | | copyright holders involved. | ||||
* | 2-clause my license. | 2008-05-08 | 1 | -3/+1 | |
| | |||||
* | Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is | 2008-05-03 | 1 | -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 licenses | 2008-04-28 | 25 | -210/+35 | |
| | |||||
* | Fix a tip: use pkg_info, not pkg_add to find out which executables | 2008-03-25 | 1 | -3/+3 | |
| | | | belong to a package. | ||||
* | Add a tip explaining how to run the tests in /usr/tests. | 2008-03-23 | 1 | -0/+8 | |
| | |||||
* | In example, change dd count size and also chmod so others can't read swap. | 2008-03-22 | 1 | -1/+2 | |
| | |||||
* | Add five more tips. | 2008-03-21 | 1 | -0/+19 | |
| | |||||
* | Add "netbsd-tips" fortune database with 23 initial fortunes -- | 2008-03-21 | 2 | -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) | 2008-02-24 | 1 | -2/+13 | |
| | |||||
* | Fix a bit more lint. | 2008-02-24 | 3 | -12/+11 | |
| | |||||
* | Fix some more lint. (There's plenty to go around.) | 2008-02-24 | 2 | -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. | 2008-02-24 | 1 | -3/+3 | |
| | |||||
* | fix some lint | 2008-02-24 | 5 | -23/+18 | |
| | |||||
* | need errno.h | 2008-02-24 | 1 | -2/+3 | |
| | |||||
* | Update for today's changes: 1-player games are not allowed, and cards.pck | 2008-02-24 | 1 | -8/+3 | |
| | | | no longer appears. | ||||
* | Fix the OpenBSD housing shortage code. | 2008-02-24 | 1 | -43/+63 | |
| | |||||
* | ret_card(), which I moved earlier, was consequently filed under the wrong | 2008-02-24 | 1 | -2/+4 | |
| | | | source file name. fix. | ||||
* | We do not need special code for pdp11. Also, because random() returns all | 2008-02-24 | 1 | -26/+4 | |
| | | | good bits (unlike rand()) we can simplify this. | ||||
* | Typo patrol | 2008-02-24 | 1 | -4/+5 | |
| |