Commit Graph

40 Commits

Author SHA1 Message Date
ru
327b7b9ca4 Bump WARNS to 6. 2005-02-23 20:42:47 +00:00
ru
9dda858476 Make the on-disk format of .dat files produced by strfile(8)
architecture independent.  Besides the fixed-width types in
the header, the offsets are now stored as 64-bit off_t (also
in big endian format).

Tested on:	i386, amd64, sparc64, ia64
2005-02-17 18:06:37 +00:00
ru
1541af42f1 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ru
cd385f1157 Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 18:22:15 +00:00
ru
5fca3d26af Sort sections. 2005-01-18 08:57:18 +00:00
le
3654de90d4 Make this WARNS=3 clean.
PR:            bin/38931
Submitted by:  Giorgos Keramidas <keramida@freebsd.org>
2004-07-23 11:36:35 +00:00
ru
debcc07b3a Mechanically kill hard sentence breaks. 2004-07-02 21:16:38 +00:00
des
560fd10b55 Use WARNS level 2 instead of setting CFLAGS explicitly to -Wall. 2003-12-07 17:34:52 +00:00
ache
c35593dd41 Rename collate_range_cmp() to stable_collate_range_cmp() to indicate
that it is not the common variant.
Remove doubtful microoptimization there.
2003-08-03 19:44:36 +00:00
obrien
392c53b560 Make the __FBSDID usage consistent
and protect copyright[] from Gcc 3.3's whining.
2003-05-05 09:52:25 +00:00
imp
4398e87add o remove __P 2002-03-24 01:09:35 +00:00
mike
bcee06d42c o Move NTOHL() and associated macros into <sys/param.h>. These are
deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
  source tree to use the lowercase function variants.
o Add missing license bits to sparc64's <machine/endian.h>.
  Approved by: jake
o Clean up <machine/endian.h> files.
o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>.
o Remove prototypes for non-existent bswapXX() functions.
o Include <machine/endian.h> in <arpa/inet.h> to define the
  POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>,
  and <sys/param.h>.
o Prepend underscores to the ntohl() family to help deal with
  complexities associated with having MD (asm and inline) versions, and
  having to prevent exposure of these functions in other headers that
  happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
  third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from <sys/types.h>.
o Add missing <arpa/inet.h> includes in userland.

Tested on:	alpha, i386
Reviewed by:	bde, jake, tmm
2002-02-18 20:35:27 +00:00
ru
24c7b0a61d mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
ru
95ce4d2cdc Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
dd
a145482cf6 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
ru
d19961ab7f mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 10:42:19 +00:00
ru
45d92a4319 - Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:22:12 +00:00
bde
17bdecb182 Don't include "${.CURDIR}/../../Makefile.inc" explicitly. Doing so was
a bogus no-op in the usual case where fortune/ is a subdir of games/
(since <bsd.prog.mk> does an equivalent include automatically if
possible), but breaks building fortune when fortune/ is outside of the
games/ tree (since the include was unconditional here).  This fix
depends on a previous fix for non-recursiveness of ../Makefile.inc
(it didn't exist).

PR:	25232
2001-02-21 06:12:38 +00:00
asmodai
47a2266000 Fix typo: seperate -> separate.
Seperate does not exist in the english language.

Submitted to look at by:	kris
2001-02-06 10:39:38 +00:00
ru
dfd5860ef3 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 12:06:19 +00:00
billf
ba16109118 minor brucification. 2000-07-06 05:46:37 +00:00
billf
fb6a5b5ebd "Fix" warnings. 2000-07-03 22:38:19 +00:00
billf
44fac3a89d Sync our register usage with NetBSD's (non-)usage. 1999-11-16 02:58:06 +00:00
billf
ecc8d48940 Add $FreeBSD$ 1999-11-16 02:45:03 +00:00
dcs
d6219fa05f Realize the changes to usage() and the man page were missing from
the previous commit, and document the -C (comments) flag.
1999-10-27 18:34:05 +00:00
dcs
cfc542d60b Add -C flag to indicate the presence of comments. Files thus processed
will be marked as having comments, which are indicated by two delimiter
characters at the beginning of a line.
1999-10-02 12:33:37 +00:00
peter
9751ab22ae Fix warning: return type of main' is not int' 1999-09-15 01:58:44 +00:00
peter
289c0d262f $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
mpp
e80864c1e1 strfile(8) incorrectly states that the output files generated
will have the suffix ".out" appended to them.  They are acutally
created as outputfile.dat.

PR:		docs/12968
Submitted by:	Patrick Seal <patseal@hyperhost.net>
1999-08-06 15:40:58 +00:00
nik
9487ea6721 Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 20:30:45 +00:00
steve
f06e5a50b1 Be sure to set the value of Tbl.str_numstr before any call to
do_order or randomize so that they actually work.

PR:		5791
1998-02-20 00:47:49 +00:00
ache
904e937fbc Use srandomdev 1997-09-24 06:22:40 +00:00
ache
5f23ea3377 Uncomment static from collate_range_cmp, no more in locale.h 1996-10-31 14:49:40 +00:00
ache
1a9b70dd3e Replace collate_range_cmp call with its code 1996-10-31 14:38:09 +00:00
ache
1563880d65 Convert to newly aded collate compare function 1996-08-12 19:12:40 +00:00
ache
f7458dfe5b Handle sorting in better way 1996-06-09 19:41:31 +00:00
ache
8f86d5aeb7 Activate collate 1996-06-05 16:41:10 +00:00
ache
e1b45fe280 Localize it.
off_t -> long.
Install strfile & unstr
-Wall cleanup
Fix matching bug with offensive database
1996-05-27 22:43:43 +00:00
rgrimes
30ef9631c5 Remove trailing whitespace. 1995-05-30 03:37:36 +00:00
jkh
057afceb86 Bring in the 4.4 Lite games directory, modulo man page changes and segregation
of the x11 based games.  I'm not going to tag the originals with bsd_44_lite
and do this in two stages since it's just not worth it for this collection,
and I've got directory renames to deal with that way.  Bleah.
Submitted by:	jkh
1994-09-04 04:03:31 +00:00