Commit Graph

31 Commits

Author SHA1 Message Date
Philippe Charnier
8a9d51c4f8 Test getopt() against -1 instead of EOF. 2002-10-16 12:56:22 +00:00
David Malone
b073168829 Avoid a signedness warning by casting chain_index to a size_t.
(Should be OK as chain_index is supposed to be positive).
2002-09-04 21:22:49 +00:00
Andrey A. Chernov
c9887a654b Switch to new format which allows unlimited numbers of chains and
usually saves 2K in both data file and program memory.
Updated libc required.
2002-08-31 01:48:56 +00:00
Andrey A. Chernov
3ce74edd70 Prepare for switching to unlimited chains format 2002-08-30 20:34:36 +00:00
Andrey A. Chernov
79458607f6 Allow chains in any form like <name1><name2> or \xf1\xf2, not binary
representation only.
2002-08-23 04:18:26 +00:00
Andrey A. Chernov
02826007ca Add #undefs to separate local buffers declaration and now dinamic libc buffers 2002-08-14 11:51:26 +00:00
David Malone
b74c79078f ANSIify function definitions to avoid a warning.
PR:		38930
Submitted by:	keramida
2002-07-28 15:20:10 +00:00
Ruslan Ermilov
c3e3cbe16e No longer needed to #ifdef __FBSDID, this is now handled by Makefile.inc1. 2002-04-09 11:39:05 +00:00
Warner Losh
bc505f7742 Only use __FBSDID if it is defined. This fixes the 4.4-release (but
not stable) -> current upgrade path.

Reviewed by: markm
2001-12-08 02:28:16 +00:00
Mark Murray
3945c68f93 WARNS=2 fixup.
Use __FBSDID().
Set NO_WERROR because this would rely on some lex(1) fixes that
cannot be committed yet.
2001-12-02 23:40:46 +00:00
Andrey A. Chernov
8b8722d2b2 Rewrite buffer handling code a bit to handle large values.
Add more checks for data overflow.
2001-11-28 09:50:24 +00:00
Andrey A. Chernov
d262b81bdb Add safeguard to prevent charmap symbol length overflowing 2001-11-27 23:39:14 +00:00
Andrey A. Chernov
1f23b5ad1a Move extern definitions to common.h
Increase charmap symbol length to 64
2001-11-27 23:11:05 +00:00
Maxim Sobolev
de853a38b8 Use strlcpy(3) instead of strcpy(3) to copy optarg into a fixed-size buffer.
MFC after:	2 weeks
2001-10-16 09:21:09 +00:00
Kris Kennaway
506d42c5b7 yyerror() is a printflike function
MFC after:	1 week
2001-07-24 12:20:17 +00:00
Kris Kennaway
da4cd46eac vsprintf() -> vsnprintf() 2000-11-26 08:14:55 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Andrey A. Chernov
fb38e9d43a syntax change: allow symbolic names as substitute first arg 1999-02-13 14:14:47 +00:00
Andrey A. Chernov
fe444e3c5b add more checks for substitution
dissalow substituted character be ordered
1999-02-12 20:56:49 +00:00
Andrey A. Chernov
366b60bfed fix English
detect recursive substitutions
allow substituted character not present in the order
1999-02-12 20:39:06 +00:00
Archie Cobbs
fa146c5335 Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
Philippe Charnier
e7bfd17c84 Use EX_USAGE in usage(). 1997-06-30 11:24:18 +00:00
Philippe Charnier
74732c5e08 Add usage(). Put program name in bold in the man page. 1997-06-26 11:25:17 +00:00
Peter Wemm
5652654463 Include unistd.h for getopt() prototype after Lite2 merge 1997-03-11 14:40:40 +00:00
Peter Wemm
c115df18cd Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Andrey A. Chernov
136d3cf269 Change recently added diagnostics to more descriptive 1996-10-25 00:13:14 +00:00
Andrey A. Chernov
6ab9285573 Check for not defined / redefined chars now
Use backward compatible with ASCII collating tables
1996-10-23 15:00:18 +00:00
Andrey A. Chernov
7c4355120c Simplify and improve parser.
Clarify manpage.
1996-10-16 03:12:22 +00:00
Andrey A. Chernov
4c6441ffd0 Save half of LC_COLLATE space
ASCIIfy data files, use RFC1345 symbolic names instead of hex codes
Improve parser and manpage
1996-10-15 22:05:18 +00:00
Andrey A. Chernov
a1c128ae2a collate tables compiler
Submitted by: alex@elvisti.kiev.ua
1995-02-17 17:29:50 +00:00