Commit Graph

82 Commits

Author SHA1 Message Date
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
pk
bcf752fc71 Remove duplicate (and inaccurate) citation. Update the remaining one to be
even more accurate.
1996-06-02 22:02:36 +00:00
jtc
c8ddd8b92e Use tr instead of caesar to generate fortunes-o 1996-02-29 00:21:16 +00:00
christos
99fc0f40d9 Parallel make fixes 1995-10-22 21:04:42 +00:00
pk
3072291705 Correct typos noted by Mike Long; PR#1654. 1995-10-22 20:44:11 +00:00