wiz
0a600be867
receive, not recieve
2001-06-12 15:17:10 +00:00
christos
ebe68eb4f9
Overhaul error handling and reporting for regular expressions.
...
Provide a RE_OK() macro that tests if the current compiled pattern
works and a RE_ERROR() macro that prints what went wrong as well
as the particular RE implementation can handle.
2001-06-04 21:21:42 +00:00
aymeric
37e6eb8fe5
Bail out when regex pattern is invalid if using regcomp or regcmp.
...
Remove trailing \n's also.
Addresses PR#13109
2001-06-04 20:56:56 +00:00
abs
d590e6f410
Its is Dr. Elizabeth Dehner, not Dehaver.
...
From the vast and bewildering trek trivia of norm@sandbox.org.uk
2001-05-02 10:42:34 +00:00
pooka
e1d6858626
NetBSD: You choose the hardware, we'll bring the OS.
...
from David Brownlee on netbsd-advocacy
While I'm in here, sort the file using tools/do_sort to get the recently
added fortunes into order.
2001-04-21 23:11:30 +00:00
hubertf
1bbc6b0055
Some entries from Richard Rauch, posted on netbsd-advocacy.
2001-04-21 14:49:08 +00:00
wiz
8a84240a6e
Whitespace and/or punctuation fixes.
2001-04-02 22:47:29 +00:00
cgd
668a4dd967
convert to use getprogname()
2001-02-19 22:39:39 +00:00
pooka
e2ced2d617
kill dupe
2001-02-10 18:14:13 +00:00
simonb
73c32f039c
Fix simple typo. From bdc@world.std.com in PR misc/12150.
2001-02-07 22:59:19 +00:00
christos
a2bee8edad
fix nested extern and usage message
2001-02-05 00:29:44 +00:00
mjl
bdb00d0bd7
Tyop: foresight, not forsight (FreeBSD PR/24637)
2001-01-30 00:25:30 +00:00
lukem
443a19e035
convert to using .WAIT
2001-01-09 03:13:39 +00:00
lukem
de3e6adaf6
use more standard %ll_ in favour of %q_
2001-01-04 17:24:35 +00:00
sommerfeld
83454472f9
${PRINTOBJDIR}ify
2000-12-30 17:51:26 +00:00
mycroft
9fcf4550a2
Another one that really belongs here...
2000-12-17 10:08:08 +00:00
mycroft
34fedde795
Compress the other entries vertically.
2000-12-17 09:35:21 +00:00
mycroft
562421c4f3
Reformat one entry for vertical space.
2000-12-17 09:25:38 +00:00
mycroft
c1647142f9
Yes, it's about damn time fortune(6) got some new material.
2000-12-17 09:17:51 +00:00
lukem
51ea0cba47
remove unnecessary command name after .Nm
2000-11-07 05:51:54 +00:00
mrg
f601feea40
fix a bug in the call to srandom(): xor time() with getpid(), don't add them!
...
now fortune(6) run in an unending loop does not appear to show the same
fortunes over and over and over.
2000-10-31 13:27:56 +00:00
hubertf
42f9d6c1e4
NetBSD will put hair on a UNIX admin's chest
...
-- Jason R. Fink
2000-10-09 00:58:16 +00:00
mjl
b1342ea8af
Removed duplicate entry. Fixes FreeBSD PR/21629.
2000-09-29 00:40:40 +00:00
abs
90a84d2445
If we install limerick-o.dat, we should also install limerick-o to make it
...
usable.
2000-08-17 16:54:28 +00:00
abs
5b783e3f48
Split netbsd fortunes into offensive and non offensive.
...
Split could be considered somewhat arbitrary.
2000-08-17 16:48:52 +00:00
abs
ad603791f5
NetBSD: A pmap for every occasion
2000-08-17 16:27:38 +00:00
mason
a6cd58daee
Corrected quote. It was totally missing its (well-known) equivalent of
...
a punch line.
2000-08-12 23:04:15 +00:00
ad
689c315829
Add 3 from me.
2000-07-31 11:38:21 +00:00
simonb
38a3de49cd
Use a local implementation of htonl() called h2nl(). htonl() is not
...
available in all cross-compile environments.
Patches from Chris Demetriou.
2000-07-31 11:32:33 +00:00
mjl
d9e9bbbcb4
After weeding out duplicate, modify entry to be mathematically
...
correct at least. (Yes, both were wrong. People can't integrate
nowadays anymore :)
2000-07-03 18:51:45 +00:00
mjl
217fd277fd
Remove duplicate (and incorrect) entry. From Anton Berezin
...
<tobez@tobez.org> in FreeBSD PR/19670
2000-07-03 17:23:37 +00:00
mason
caa691ec0a
Offered horse brutality to a previously incorrect RHPS quote.
2000-06-30 04:04:09 +00:00
scw
eaeb39f657
NetBSD: Ports to * boards.
2000-06-14 08:10:06 +00:00
jwise
7e7d991f01
Remove one of mine that really wasn't very good, and add:
...
NetBSD: abandon all hype, oh ye who enter here.
2000-06-07 14:04:45 +00:00
pooka
c528cb8edd
NetBSD - because Unix isn't just #include <linux.h>, i386, ELF, ...!
2000-05-02 11:41:24 +00:00
simonb
48a5c3efa9
Don't declare 'extern opt*' getopt variables.
2000-04-14 05:58:01 +00:00
simonb
915c06c281
Greatly simplify these by using <bsd.hostprog.mk>. Should do the same
...
for games/hack and games/monop and a few other places, but that requires
making subdirs for the tools. One day...
2000-04-14 04:12:18 +00:00
soren
7e6625d720
Missing word. From Paul Janzen.
2000-04-11 03:45:40 +00:00
jwise
b0cbfed510
Tyop fix.
2000-04-06 02:19:23 +00:00
soren
89c5a767f8
Fix doubled 'the's.
2000-03-13 22:55:05 +00:00
jwise
3626a95b76
fix tyop
2000-02-27 05:40:36 +00:00
pooka
8ef8262b5d
NetBSD: We come in peace. We offer reliability.
...
+ correct a typo
2000-02-15 13:56:02 +00:00
pooka
e287a2d6fa
NetBSD: We don't negotiate with terrorists.
2000-02-12 10:12:58 +00:00
pooka
e74bc9575e
Add Chris Baird's email address per his request
2000-02-10 13:10:43 +00:00
pooka
022eb906f9
Add NetBSD slogans for fortune database.
2000-02-06 11:59:29 +00:00
mycroft
615ac255bd
More .mk file fallout. *sigh*
2000-01-23 22:10:52 +00:00
mycroft
58b54f196f
Get the build ordering right for dependall.
2000-01-23 22:10:22 +00:00
jsm
0bd979e6bf
Remove unnecessary casts, and add necessary ones for printf arguments.
2000-01-13 16:22:10 +00:00
jsm
f7bce06e2e
Change __GCC__ to __GNUC__.
2000-01-13 16:20:27 +00:00
jsm
993c7bf2ac
Remove obsolete NO_VOID conditional.
2000-01-13 16:19:36 +00:00
simonb
c3a7361d5d
Don't use any NetBSD specific features (<err.h> and friends mainly
...
- replaiced with local die() and dieperror() routines). Use ANSI
prototypes (no dependance on the __P() macro). Add new fwrite_be_offt()
function which writes out a big-endian 64bit number regards of the size
of off_t on the host machine. Remove unused unctrl() function.
Now builds correct fortune .dat files on non-NetBSD machines as well
- tested on Ultrix and Solaris (but Solaris needs -lsocket to get
htonl()).
1999-12-30 01:32:33 +00:00
simonb
f6c35735cd
No need to include <sys/endian.h> here - <sys/types.h> includes
...
<machine/endian.h> which DTRT.
1999-12-30 01:26:44 +00:00
mason
75eb02cdfc
Removed someone's personal phone number, including area code, from a "if you
...
want a good time, call ###-###-####" fortune entry.
1999-12-11 19:13:05 +00:00
jsm
49bc28122f
Fix a gcc -W warning (empty body in an else-statement).
1999-12-07 23:07:39 +00:00
drochner
85cbf55d16
Since our gcc doesn't warn about NULL format strings anymore, we can
...
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
jsm
157087a683
Use macro NAMLEN rather than dirent->d_namlen, for easier portability.
1999-09-22 18:56:32 +00:00
tron
b137d2d602
Remove generated file "limerick-o" in "clean" target.
1999-09-21 16:34:51 +00:00
jsm
20e3305006
Fix -Wsign-compare warnings.
1999-09-18 19:38:46 +00:00
hwr
435463f6cb
Split limericks into "normal" and "offensive" ones.
...
Fixes PR 6202 by Matthias Grutzeck <grut@teco.edu>.
1999-09-12 10:15:46 +00:00
hwr
2abe3ab9b5
These fortunes conatain offensive language.
...
These were originally unamerican.{fake,real}
Part of the work on PR 6202.
1999-09-12 10:06:21 +00:00
hwr
81dda5dccb
Moved to unamerican.real-o
1999-09-12 09:57:50 +00:00
hwr
8d799a73e4
Moved to unamerican.fake-o
1999-09-12 09:54:25 +00:00
jsm
18c51c04de
Check for write errors in auxiliary programs used during build of games.
1999-09-10 00:18:20 +00:00
jsm
2b25de3a90
Include <time.h> in various places in the games where time() or time_t
...
are used.
1999-09-09 17:30:17 +00:00
simonb
0012c0940d
Remove extra blank line in copyright.
1999-09-09 06:30:10 +00:00
jsm
5fb18dd9da
Use the symbolic names SEEK_SET' and
O_RDONLY' where appropriate in
...
the games.
1999-09-08 21:57:16 +00:00
jsm
b03d4fa882
Add __noreturn__' and
__unused__' attributes where appropriate to
...
the games.
This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).
Most noreturn attributes were previously added in bin/6144, with some
others that were missed then in bin/8082. Previous `unused'
attributes were covered in bin/6557, bin/8058 and other PRs (all these
PRs have already been handled and closed).
1999-09-08 21:45:25 +00:00
jsm
092d313019
Add use of `const' where appropriate to the games.
...
This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).
Some such changes were previously covered in PRs bin/6041, bin/6146,
bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994,
bin/8039, bin/8057 and bin/8093.
1999-09-08 21:17:44 +00:00
simonb
87500c939d
Use new endian-specific conversion macros - 64-bit off_t's are now
...
the stored the same regardess of the byte order of the generating
host.
Note in the strfile(8) man page that all fields are big-endian, not
in network byte order.
1999-08-21 07:02:46 +00:00
simonb
299578ebd5
Spell "privilege" correctly (correct spelling from Jonathan Stone).
1999-08-16 02:59:22 +00:00
thorpej
a451d97336
Fortunes from those Unamerican Activities bumper stickers you see on
...
mountain bikes owned by Gen-X'ers.
1999-08-04 22:45:09 +00:00
garbled
d1407362ba
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Many more to
come.
1999-03-22 18:43:46 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
pk
f16cf517fe
typo.
1998-12-05 21:09:23 +00:00
jwise
ca027085f0
Fix spelling of `Churchill' in 3 places
1998-11-20 03:35:31 +00:00
lukem
b569ddabe9
don't install in /usr/share if NOSHARE is defined
1998-09-29 07:33:20 +00:00
hubertf
1c9494f62b
mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)
1998-09-13 15:27:25 +00:00
frueauf
6d6da27a53
Correct attribution as pointed out in pr 6114 by Jim Wise.
1998-09-12 22:49:12 +00:00
veego
04afeca685
Add braces to make the new egcs happy.
1998-08-30 09:19:36 +00:00
christos
2fed16a1b1
Add regexp support; remove -lcompat, use err*, warn*
1998-02-04 10:16:19 +00:00
perry
2a4f7becd8
4.4BSD -> .Bx 4.4
1998-02-03 20:45:00 +00:00
lukem
43e8208cc2
use CPPFLAGS instead of CFLAGS, fix dependancies for parallel compile
1997-10-22 04:56:11 +00:00
mycroft
15de1c9fd2
Use S_IS*(), not S_IF*.
1997-10-19 17:54:18 +00:00
lukem
9f3003730a
deprecate auto
1997-10-12 14:17:27 +00:00
lukem
93ada1d83c
WARNSify
1997-10-11 07:59:09 +00:00
lukem
2169b302cc
WARNSify, deprecate register
1997-10-11 07:48:58 +00:00
lukem
3c70a27d72
WARNSify
1997-10-10 13:04:33 +00:00
mikel
b62af4ea5e
don't xref obsolete regcmp(3)
1997-07-16 06:59:59 +00:00
mycroft
6e0450c70f
Use proginstall:: to disable installing PROG.
1997-05-07 15:59:08 +00:00
mycroft
fd8daf980e
Add .MAKE to the .OBJDIR hacks, so they work with `make -n'.
1997-05-07 07:15:34 +00:00
thorpej
95aa825045
Allow this to be cross-compiled (in a manner consistent with boggle's
...
host-only helper programs).
1997-04-28 23:53:25 +00:00
thorpej
ae4c6aad10
Go into the "strfile" subdirectory unconditionally; we let that Makefile
...
make it's own decisions.
1997-04-28 23:52:50 +00:00
christos
d59123b39b
- Makefile cleanups
1997-03-24 22:15:37 +00:00
mikel
3a7d2a7457
eliminate mismatched quote char
1997-03-14 06:48:14 +00:00
mouse
412433b44c
alternate -> alternative, per PR 2643
1997-03-08 13:26:20 +00:00
mikel
2e5a49b4b6
fix typo in Napoleon's name
1997-01-23 06:06:29 +00:00
cgd
4f6d05e9a2
Clean this up, and be more consistent:
...
* Have 'fake' options for all offensive fortune files (fortunes2-o and
limerick moved to fortunes2-o.real and limerick.real via repository copy).
* build all offensive fortune data files, etc., in the same way.
* Have installation of offensive fortunes controlled by one make variable.
To disable build/install of offensive fortunes, set
INSTALL_OFFENSIVE_FORTUNES to anything other than "YES" on the make
command line, in bsd.own.mk, or in /etc/mk.conf or your ${MAKECONF} file.
(If changing the setting, you should 'make clean' here and rebuild
the fortunes before installing.)
* Don't use variables that bsd.prog.mk thinks have certain meanings.
1996-12-23 01:14:34 +00:00
tls
ba62612dc1
Oy Gevalt, incorrect meter!
1996-11-23 10:40:50 +00:00
thorpej
871c9c08af
Use ${INSTALL}.
1996-10-18 02:37:51 +00:00
christos
cf79e593b5
<machine/endian.h> -> <sys/types.h>
1996-10-13 00:01:05 +00:00