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