Commit Graph

31 Commits

Author SHA1 Message Date
charnier
39a491d141 Test getopt() against -1 instead of EOF. 2002-10-16 12:56:22 +00:00
dwmalone
eed11ca251 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
ache
92c6409aea 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
ache
c6dfd055df Prepare for switching to unlimited chains format 2002-08-30 20:34:36 +00:00
ache
e528806f99 Allow chains in any form like <name1><name2> or \xf1\xf2, not binary
representation only.
2002-08-23 04:18:26 +00:00
ache
b87a80a757 Add #undefs to separate local buffers declaration and now dinamic libc buffers 2002-08-14 11:51:26 +00:00
dwmalone
165587ded9 ANSIify function definitions to avoid a warning.
PR:		38930
Submitted by:	keramida
2002-07-28 15:20:10 +00:00
ru
6d38d7dc3c No longer needed to #ifdef __FBSDID, this is now handled by Makefile.inc1. 2002-04-09 11:39:05 +00:00
imp
8f226dc222 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
markm
6aad061ae7 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
ache
d415ec9a10 Rewrite buffer handling code a bit to handle large values.
Add more checks for data overflow.
2001-11-28 09:50:24 +00:00
ache
c5c274cf2c Add safeguard to prevent charmap symbol length overflowing 2001-11-27 23:39:14 +00:00
ache
8eefba4b03 Move extern definitions to common.h
Increase charmap symbol length to 64
2001-11-27 23:11:05 +00:00
sobomax
142817d167 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
45eda4d161 yyerror() is a printflike function
MFC after:	1 week
2001-07-24 12:20:17 +00:00
kris
5d942789bc vsprintf() -> vsnprintf() 2000-11-26 08:14:55 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ache
4ecd2d2e40 syntax change: allow symbolic names as substitute first arg 1999-02-13 14:14:47 +00:00
ache
c655d5380b add more checks for substitution
dissalow substituted character be ordered
1999-02-12 20:56:49 +00:00
ache
1c697612c0 fix English
detect recursive substitutions
allow substituted character not present in the order
1999-02-12 20:39:06 +00:00
archie
167c036e91 Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
charnier
f3aa4e706e Use EX_USAGE in usage(). 1997-06-30 11:24:18 +00:00
charnier
d9b3513e3c Add usage(). Put program name in bold in the man page. 1997-06-26 11:25:17 +00:00
peter
f9d47a294d Include unistd.h for getopt() prototype after Lite2 merge 1997-03-11 14:40:40 +00:00
peter
f390c26dd9 Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
jkh
808a36ef65 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
ache
c047af8017 Change recently added diagnostics to more descriptive 1996-10-25 00:13:14 +00:00
ache
3b9a16cb50 Check for not defined / redefined chars now
Use backward compatible with ASCII collating tables
1996-10-23 15:00:18 +00:00
ache
f5b4e8c2ab Simplify and improve parser.
Clarify manpage.
1996-10-16 03:12:22 +00:00
ache
09ecea6256 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
ache
c6349924aa collate tables compiler
Submitted by: alex@elvisti.kiev.ua
1995-02-17 17:29:50 +00:00