13 Commits

Author SHA1 Message Date
davidxu
ccb03bf540 Check NULL pointer to avoid SIGSEGV 2002-12-24 07:40:10 +00:00
charnier
86d3f6f7ce Add FBSDID. Spelling. Remove unused includes. Check more malloc failures. 2002-03-26 12:39:08 +00:00
phantom
ed060c43f1 * Don't SEGFAULT on attempt to write nothing (if no source files were
specified)
* Don't print currline if it's NULL

MFC after: 3 days
2002-02-13 13:00:33 +00:00
phantom
da5c9d8c01 Optimize gencat(1) sources in same manner as its libc part some time ago:
. remove SYSV compatibility bits
. sort #include's
. ifdef unused code
. cleanup BDECFLAGS warnings
. fixed few typos in diagnostics messages
. style(9) fixes

as part of this cleanup I have changed all K&R declarations to ANSI style.
Main reason for doing that was great mix of declarations used here - clean
ASNI , clean K&R, ifdef'ed (both).

Reviewed by:	ache (mostly)
2001-02-08 16:38:16 +00:00
ache
b45cd0c3e0 Fix octal numbers parsing
PR:		19950
Submitted by:	Alexey Klimov <klim@unique.kiev.ua>
2000-07-15 17:17:33 +00:00
bde
dbc09be291 Fixed printf format errors. 1998-08-02 15:18:45 +00:00
ache
3462ea1e26 Add (unsigned char) cast to ctype macros 1998-04-30 10:31:38 +00:00
charnier
a905367e59 Use err(3), remove unused variables. 1997-07-08 11:05:59 +00:00
ache
d6af96c622 Add \' to valid escapes list to be compatible with printf
2.2 candidate
1996-12-15 23:55:03 +00:00
jkh
a6a4b5b5b8 Accept escaped quotes in msg catalogs. 1995-08-26 18:37:49 +00:00
ache
4137dcf51e Fix lseek arg by including unistd.h 1995-06-17 04:07:09 +00:00
rgrimes
a14d555c87 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
jkh
1e4beef5c2 Add the gencat command for creating message catalog fodder for the new
catgets* routines.
Obtained from: NetBSD
1995-03-30 12:49:09 +00:00