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