Commit Graph

27 Commits

Author SHA1 Message Date
Ruslan Ermilov
be2ff1d140 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
Ruslan Ermilov
6324f7db72 Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 18:22:15 +00:00
Lukas Ertl
3e7ee83cbd Make this WARNS=3 clean.
PR:            bin/38931
Submitted by:  Giorgos Keramidas <keramida@freebsd.org>
2004-07-23 11:36:35 +00:00
Dag-Erling Smørgrav
76e762998c Use WARNS level 2 instead of setting CFLAGS explicitly to -Wall. 2003-12-07 17:34:52 +00:00
Andrey A. Chernov
b131d40522 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
David E. O'Brien
e3c85e0226 Make the __FBSDID usage consistent
and protect copyright[] from Gcc 3.3's whining.
2003-05-05 09:52:25 +00:00
Warner Losh
35c85fe2c8 o remove __P 2002-03-24 01:09:35 +00:00
Mike Barcroft
fd8e4ebc8c 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
Ruslan Ermilov
8af1452cf8 Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
Jeroen Ruigrok van der Werven
9a01d32bfd 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
Bill Fumerola
18c8a61a47 minor brucification. 2000-07-06 05:46:37 +00:00
Bill Fumerola
a218be6892 "Fix" warnings. 2000-07-03 22:38:19 +00:00
Bill Fumerola
727bf60729 Sync our register usage with NetBSD's (non-)usage. 1999-11-16 02:58:06 +00:00
Bill Fumerola
879099e556 Add $FreeBSD$ 1999-11-16 02:45:03 +00:00
Daniel C. Sobral
e8f80deecb 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
Daniel C. Sobral
25f07ac98c 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 Wemm
e46b89dc93 Fix warning: return type of main' is not int' 1999-09-15 01:58:44 +00:00
Steve Price
6b04f41b59 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
Andrey A. Chernov
1e029744bc Use srandomdev 1997-09-24 06:22:40 +00:00
Andrey A. Chernov
83aac36ef7 Uncomment static from collate_range_cmp, no more in locale.h 1996-10-31 14:49:40 +00:00
Andrey A. Chernov
327b0f7e8d Replace collate_range_cmp call with its code 1996-10-31 14:38:09 +00:00
Andrey A. Chernov
5f02527325 Convert to newly aded collate compare function 1996-08-12 19:12:40 +00:00
Andrey A. Chernov
65b3693411 Handle sorting in better way 1996-06-09 19:41:31 +00:00
Andrey A. Chernov
503a85ae94 Activate collate 1996-06-05 16:41:10 +00:00
Andrey A. Chernov
f17947b74a Localize it.
off_t -> long.
Install strfile & unstr
-Wall cleanup
Fix matching bug with offensive database
1996-05-27 22:43:43 +00:00
Rodney W. Grimes
010f5413b5 Remove trailing whitespace. 1995-05-30 03:37:36 +00:00
Jordan K. Hubbard
554eb505f8 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