Commit Graph

7 Commits

Author SHA1 Message Date
David Malone
8015edeebb The return value of snprintf should be always nonnegative, so it should
be safe to cast it to a size_t before comparing it to a sizeof().
2002-07-28 15:41:15 +00:00
Tim J. Robbins
5b3df62e01 Use sigaction(2) instead of signal(3) to avoid the signal handler being
re-entered.
2002-07-26 05:25:12 +00:00
Tim J. Robbins
e12c2e18a5 Avoid truncating filenames with snprintf(). 2002-06-29 05:31:26 +00:00
Tim J. Robbins
9bd2f93ab4 Respect LC_CTYPE and LC_COLLATE environment variables, mainly for their
effects on regular expressions. The libc regex code does not handle
equivalence classes well (for example), but we do our best.
2002-06-07 01:04:24 +00:00
Tim J. Robbins
248602a1b2 Handle the case where a negative offset in a regular expression match
is larger than the number of lines in the overflow file.
2002-05-16 05:04:26 +00:00
Tim J. Robbins
bc0259551f Correct synopsis and usage(): pattern arguments are not optional. 2002-05-16 04:39:19 +00:00
Tim J. Robbins
ea9e961cb2 Add the csplit(1) utility, which splits files based on context, as specified
by SUSv3.

PR:		36191
Reviewed by:	mike
2002-05-02 07:46:36 +00:00