| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* u_int32_t -> uint32_t, and remove ifdef test.
* add function prototypes.
|
| |
|
|
|
|
| |
few flags for PCC.
|
|
|
| |
next curses call
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
| |
copyright holders involved.
|
| |
|
|
|
|
| |
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
|
| |
|
|
|
| |
belong to a package.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
| |
no longer appears.
|
| |
|
|
|
| |
source file name. fix.
|
|
|
| |
good bits (unlike rand()) we can simplify this.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The card deck data is now compiled in. (And it always should have been,
even back when memory usage counted. It's small.)
This changes the save format slightly. (I am riding the previous
breakage an hour ago and not providing compat. There should be no
further breakage.)
|
|
|
|
|
|
|
|
| |
Fold monop.ext (which was extern data decls) into monop.h and deck.h.
Fold monop.def (which had definitions for the extern data) into monop.c.
Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of
the data) into monop.c.
Rearrange includes accordingly. No functional change.
|
|
|
| |
copy of malloc.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
code in OpenBSD.
Note: this breaks compatibility with old save files. However, the old
save files were missing critical information, had a completely insane
format, and didn't work anyway.
I will be riding this breakage with another breakage within a day or
two when I fix the insanity in the card deck handling.
|
|
|
|
|
|
|
|
|
|
| |
- If a player goes bankrupt buying a property (which shouldn't be
allowed, but I guess it is), don't cause them to resign to themselves.
- Use "NULL", not "0", for pointers.
- Avoid undefined behavior adjusting the current player after resigning.
- Don't leak the memory used to store player names.
The last of these is disabled for the moment because we have the pointers
in question tagged const. Will see to this when I'm finished merging.
|
| |
|
|
|
|
| |
- don't truncate unreasonably long player names when bidding;
- don't allow players to bid more cash than they have.
|
|
|
|
| |
tidyup.
From OpenBSD.
|
|
|
|
|
|
| |
- initialize in the proper order
- don't allow 1-player games
- make the check for players named "done" work properly
- a couple other minor things
|
| |
|
|
|
| |
(note: this is not fully correct - I will fix it when I finish merging)
|
| |
|
| |
|
|
|
|
| |
the bottom of the deck when used. There are still a few other problems.
From OpenBSD.
|
|
|
| |
somewhat more sense...)
|
| |
|
| |
|
|
|
|
| |
necessary, but it's safe and reduces unnecessary divergence.
From OpenBSD.
|