jsm
d035cfe33e
Mark variables changed between setjmp and longjmp as volatile rather
...
than just taking their addresses.
2004-02-08 00:32:07 +00:00
jsm
e7d3d51380
Fix grammar (bug reported by Thomas Bushnell BSG <tb@MIT.EDU> in
...
Debian bug 61846).
2004-02-08 00:31:16 +00:00
jsm
cb5fd8342e
Remove uses of __P.
2004-01-27 20:30:28 +00:00
jsm
716c7169f3
Include <sys/stat.h>.
2004-01-27 20:27:59 +00:00
jsm
8f5e2162b1
Include <sys/types.h>.
2004-01-27 20:27:29 +00:00
jsm
d91509309a
Include <sys/endian.h>.
2004-01-27 20:26:55 +00:00
jsm
0752e03df7
Include <limits.h> instead of <machine/limits.h>.
2004-01-27 20:26:20 +00:00
jsm
514bad17d7
Include <sys/endian.h>.
2004-01-27 20:25:48 +00:00
jsm
b974cbaba0
Include <sys/endian.h> instead of <machine/endian.h>. Include
...
<stdlib.h>.
2004-01-27 20:25:07 +00:00
jsm
a3b9fbcc3a
Include <sys/endian.h>.
2004-01-27 20:24:32 +00:00
jsm
a5f914a25a
Use int for wait status.
2004-01-27 20:23:36 +00:00
jsm
1a8a5d7903
Rename yn to yncoms to avoid conflict with GCC 3.4 built-in XSI
...
function.
2004-01-26 09:59:36 +00:00
jsm
d8c5384694
Rename rint to receive_intr to avoid conflict with GCC 3.4 built-in C99
...
function.
2004-01-26 09:58:35 +00:00
christos
852c1683c1
Use PROG_CXX so we don't need to include -lstdc++ explicitly. From Nick Hudson.
2004-01-05 15:35:59 +00:00
wiz
0e62b72ca3
Move AUTHORS section directly before BUGS section.
...
Suggested by jmc@openbsd.
2004-01-03 13:32:23 +00:00
mjl
70bd83f0c5
Typo fixes.
2004-01-01 20:00:38 +00:00
wiz
c5920dd567
Bump date for previous. Remove superfluous .Pp.
2004-01-01 16:31:37 +00:00
jsm
39f0bfee73
Score is in upper right corner, not upper left corner. Patch from
...
Robert Hunter <roh@cryptocracy.hn.org> in Debian bug 209034.
2004-01-01 16:06:57 +00:00
jsm
ddc1674612
Fix typo. Patch from Joey Hess <joeyh@debian.org>.
2004-01-01 16:06:21 +00:00
jsm
5a753461bf
Don't use -fwritable-strings. Add one more const.
2004-01-01 16:05:12 +00:00
jsm
50134cf26f
When cleaning up, only close files that have been opened successfully.
...
When reporting errors for failing to open files, give error text
rather than errno number. Patch from Joey Hess <joey@kitenet.net> for
Debian bug 187251 from Mikael Hedin <micce@debian.org>.
2004-01-01 16:03:46 +00:00
jsm
c35cdefd90
Refer to 'O' rather than 'o' as command to set options. Bug reported
...
by Christian Garbs <debian@cgarbs.de> in Debian bug 191452.
2004-01-01 16:02:51 +00:00
jsm
23e0e03d00
Return proper fortune length from fortlen for fortune files without
...
STR_RANDOM or STR_ORDERED rather than comparing it to SLEN. Bug
reported by Simon Williams <simon@no-dns-yet.org.uk>.
2004-01-01 16:02:07 +00:00
jsm
cdce4b2c55
Show residual probability rather than non-residual in "No place to put
...
residual probability" error message. Distribute residual probability
correctly rather than all to one file. Patch from Mike Castle
<dalgoda@ix.netcom.com>.
2004-01-01 16:01:25 +00:00
jsm
503605fee2
Make dot and winnerdot of type double. Patch from Jan Vornberger
...
<jan@uos.de> in Debian bug 197816.
2004-01-01 16:00:34 +00:00
jsm
540217796b
Only score as a Gammon or a Backgammon if the opponent hasn't removed
...
any pieces, not if the opponent has removed pieces but has had a piece
knocked back to the bar afterwards. Fixes Debian bug 185101 from
Konstantin Seiler <list@kseiler.de>.
2004-01-01 15:59:58 +00:00
jsm
0ea00847c5
Make tutorial text match actual moves. From FreeBSD via OpenBSD.
...
Fixes Debian bug 212478 from Jim W. Jaszewski <grok@sprint.ca>.
2004-01-01 15:59:09 +00:00
jsm
e98705eff6
Fix capitalisation of compass directions.
2004-01-01 15:58:03 +00:00
jsm
618c8fad3d
Document that pressing return allows you to "fast forward" the game
...
clock. Patch from Peter Maydell <pmaydell@chiark.greenend.org.uk> in
Debian bug 216980.
2004-01-01 15:57:12 +00:00
thorpej
9b5d276f0e
Const the player type variable.
2003-12-28 17:53:48 +00:00
thorpej
24231ec69d
Fix RCS IDs.
2003-12-28 17:49:10 +00:00
martin
0a8d3c5308
Format size_t values using %zd instead of %d, for archs where size_t != int.
2003-12-27 18:24:51 +00:00
christos
6a53b72059
Rename .C files to .cc
2003-12-27 01:16:55 +00:00
christos
45e798bfc8
NetBSD rcsid.
2003-12-26 18:03:34 +00:00
christos
8222c44d1b
Add dots+boxes
2003-12-26 17:59:13 +00:00
christos
e30af34785
import dots+boxes games.
2003-12-26 17:57:02 +00:00
wiz
4bbfee09ca
Various typo fixes from Jonathon Gray via jmc@openbsd.
2003-11-17 11:16:10 +00:00
lukem
e606e2dcb2
Improve how various "simple" host tools are built and invoked.
2003-11-16 14:14:18 +00:00
jmc
4d9cb8213a
Hobbes was misspelled. PR#23301
2003-10-29 04:53:39 +00:00
lukem
130ab7336b
Rework how MAKEVERBOSE operates:
...
* Don't bother prefixing commands with a line of ${_MKCMD}\
and instead rely upon "make -s". This is less intrusive on
all the Makefiles than the former. Idea from David Laight.
* Rename the variables use to print messages. The scheme now is:
_MKMSG_FOO Run _MKMSG 'foo'
_MKTARGET_FOO Run _MKMSG_FOO ${.TARGET}
From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
agc
c5275d9ccd
Don't redefine NULL
2003-10-21 07:26:39 +00:00
lukem
ddff99b7f4
rework to use the newer _MKMSGCREATE (et al) macros
2003-10-19 04:45:01 +00:00
lukem
2b8c8463a6
Support MAKEVERBOSE. (Some host tools still generate verbose runtime messages)
2003-10-19 01:01:44 +00:00
lukem
fbed1f07f7
rework to use BUILDSYMLINKS and the <bsd.sys.mk> rule for .c.lo
2003-10-18 07:40:27 +00:00
lukem
2eedde4648
remove unnecessary /
2003-09-30 09:23:19 +00:00
jdolecek
330f3d1e19
sort recently added entries
...
pointed out by Valeriy E. Ushakov on source-changes
2003-09-20 18:57:28 +00:00
jdolecek
1f4caa5ecd
add mine:
...
``NetBSD - no propaganda in the default system, in more than 10 years!''
2003-09-20 09:21:25 +00:00
itojun
b7bf49278d
off-by-one. aaron@openbsd
2003-09-19 10:01:53 +00:00
itojun
8a75cadd4e
off-by-one. aaron@openbsd
2003-09-19 10:01:21 +00:00
salo
f7f6feea75
Add missing ". From Tim Goodwin via PR misc/22843.
2003-09-18 11:25:00 +00:00
uwe
6d126df0a6
M-x sort-paragraphs
2003-09-14 21:36:51 +00:00
uwe
e1775b35e0
"NetBSD - We sell rope."
2003-09-14 21:34:51 +00:00
agc
e5aeb4ea46
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22269, verified by myself.
2003-08-07 09:36:50 +00:00
lukem
a93ea220fc
Rework how dependency generation is performed:
...
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
This is a change of behaviour. If a Makefile wants the clean semantics
it must specifically append to CLEANFILES.
Resolves PR toolchain/5204.
* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
that have a suffix of: .c .m .s .S .C .cc .cpp .cxx
* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES
* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS}
* Deprecate the (short lived) DEPENDSRCS
Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.
Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
lukem
403ce9dc0c
simplify and use ${DEPENDSRCS} as a target as appropriate
2003-07-31 13:54:30 +00:00
salo
0a6047a968
netbsd.org->NetBSD.org
2003-07-26 17:24:44 +00:00
lukem
001c68bd94
Rename a large chunk of the make(1) variables which refer to a
...
program/tool from "FOO" to "TOOL_FOO". The new variables are:
TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET
TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN
TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT
TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS
TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB
TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE
TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER
TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS
TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL
TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC
For each, provide default in <bsd.sys.mk> of the form:
TOOL_FOO?= foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo
Document all of these in bsd.README.
This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
wiz
43fd1b176d
Sy Aq -> Aq Sy so both work.
2003-07-01 10:25:03 +00:00
wiz
03721033c3
Quote question mark.
2003-06-27 22:48:35 +00:00
wiz
a1cbee5c2a
Fix macro order, and quote question mark.
2003-06-27 22:47:44 +00:00
wiz
174b41a432
Use only one of -literal and -unfilled with Bd.
2003-06-26 10:04:37 +00:00
wiz
8ebb36ee3d
Sync with v20030416 of Makefile.
2003-06-11 12:10:21 +00:00
wiz
45ddd67018
Make build.
2003-06-11 12:04:06 +00:00
wiz
1196717577
Merge with v20030416.
2003-06-11 12:00:21 +00:00
martin
6c0c40a580
Make this work on 64 bit big endian platforms.
2003-06-11 09:51:56 +00:00
wiz
11d31abb7e
Use standard section header; add nokeep to table to avoid page/line break
...
in table. From jmc@openbsd.
2003-05-18 09:30:08 +00:00
wiz
d43e332f1e
setup -> set up.
2003-05-14 12:11:03 +00:00
mjl
e1da921bcf
Remove double spaces between words
2003-05-08 18:12:24 +00:00
mjl
ffc1b6dbc9
uniq.
2003-05-08 17:51:12 +00:00
mjl
46e0a4e1f1
Move limericks to limerick file. Sort that and uniq.
2003-05-08 17:25:48 +00:00
mjl
386e6f0451
Move limericks to limerick file. Sort that and uniq.
2003-05-08 17:01:04 +00:00
mjl
7acf0f4592
Sort and remove duplicates.
2003-05-08 16:37:45 +00:00
mjl
844a2d0e52
Pull in corrections from Free/OpenBSD.
...
Also move limericks to limerick file.
2003-05-08 16:20:25 +00:00
mjl
d6bcb9629a
Pull in corrections from Free/OpenBSD.
2003-05-08 14:53:08 +00:00
mjl
8c2a9c1fcb
Merge in corrections/additions from Free/OpenBSD.
2003-05-08 14:27:10 +00:00
mjl
cf844e8134
Merge in corrections from Free/OpenBSD.
2003-05-08 14:14:32 +00:00
wiz
73a79751ed
de-__P().
2003-05-08 13:03:49 +00:00
mjl
b7a00e9b8a
Typo fix. From FreeBSD PR/51909.
2003-05-07 19:00:13 +00:00
christos
66ddadf04f
don't print error messages using warn, because we clear the screen immediately
...
afterwards and they vanish.
2003-05-03 09:10:23 +00:00
wiz
7bd171e1c0
Drop a trailing dot. From jmc@openbsd.
2003-04-26 21:30:51 +00:00
wiz
44b78a7cce
Fix some nits, do not mark up i.e. too much. From jmc@openbsd.
2003-04-26 21:30:23 +00:00
wiz
52db8880b1
Grammar fixes, from jmc@openbsd.
2003-04-26 21:29:10 +00:00
wiz
4f5188442b
Grammar and punctuation fixes, from jmc@openbsd.
2003-04-26 21:28:40 +00:00
wiz
2418e1fb09
Grammar fixes, from jmc@openbsd.
2003-04-26 21:27:47 +00:00
wiz
d6727d2a93
Use .Nm instead of "arithmetic" in one place. From jmc@openbsd.
2003-04-26 21:27:01 +00:00
jmmv
24c2b45c15
Implement a -t option, to easily select an acronyms list from /usr/share/misc.
...
One can do `wtf -t comp pci' and it will use /usr/share/misc/acronyms.comp
to search the acronym as usual.
2003-04-25 19:08:31 +00:00
christos
cbb9bcafa0
PR/8247: Simon Burge: monop(6) save/restore doesn't work.
...
With the advent of elf and mmaping malloc, assumptions that the code made
before about location and contents of the data segment broke. We supplied
an sbrk() only malloc, and recorded the break point at the beginning of
the program, so now save and restore works, in the traditional monop style.
2003-04-21 01:25:27 +00:00
christos
dcf856aa49
use an sbrk() only malloc() because save and restore depends on saving
...
the data segment only. Maybe we should make libbsdmalloc?
2003-04-21 01:23:06 +00:00
jmmv
bd6abf4617
Mention the /usr/share/misc/acronyms.comp database.
2003-04-11 11:13:34 +00:00
jmmv
103c8a5c49
And use basename $0 to get program's name...
2003-04-10 09:21:19 +00:00
jmmv
013854bde3
Implement the `-f' command line option to specify which acronyms database
...
to use. Overrides ACRONYMDB's value, if given.
2003-04-10 09:18:24 +00:00
jdolecek
50162d1023
add a fortune contributed by Petter "Nosfisk" Lindquist in PR misc/21070
...
a nice one - thanks!
2003-04-08 19:41:08 +00:00
jsm
1c7f94e505
Hack is now BSD-licensed. Thanks to Andries Brouwer, Jay Fenlason and
...
CWI <http://www.cwi.nl/~aeb/games/hack/hack.html >. Via OpenBSD.
Addresses part of PR bin/5850.
2003-04-02 18:36:33 +00:00
drochner
ccc6315386
Rewrite broken broadcast interface detection code using getifaddrs(3).
...
"hunt -q" works now.
2003-04-01 12:01:34 +00:00
wiz
8ad24861a6
PDP-11 instead of PDP 11. Igor Sobrado in PR 19678.
2003-03-30 20:53:30 +00:00
jsm
c1e0ba8801
Yugoslavia has changed its name to Serbia and Montenegro.
2003-03-29 17:54:44 +00:00
jsm
cd2ce25e12
The Hague is not the capital of the Netherlands. Reported by Hugo van
...
Galen <hugo@Dot.net> (in the Netherlands) and Florian Boehl
<flo@namensraumverschmutzung.net>.
2003-03-29 17:54:00 +00:00
briggs
50f21b17a9
Some might call them the Wright Bothers, but I prefer Wright Brothers.
2003-03-20 13:46:40 +00:00
jdc
e5c039ad54
Make this work on sparc64 (don't use long and assume sizeof(long) = 4).
...
Tested against a LE32 system (arm).
2003-02-26 07:14:44 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00