Commit Graph

13 Commits

Author SHA1 Message Date
Tim J. Robbins
2fa2fea101 Use fseeko() to properly support large files. 2004-03-22 11:15:03 +00:00
Tim J. Robbins
23e7704b30 Use errc(). 2004-03-22 09:33:10 +00:00
Ruslan Ermilov
93df249471 mdoc(7) police: simplify. 2002-08-14 11:38:30 +00:00
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
Juli Mallett
6fc8ba94c6 Note that this appeared at least as early as PWB UNIX.
Use the literal string 'PWB UNIX', as we still have no .At macro for it.
2002-06-10 22:59:59 +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
Ruslan Ermilov
2d2ca4665c mdoc(7) police: markup polishing. 2002-05-30 13:48:06 +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
c459e06c78 Add the csplit(1) utility, which splits files based on context, as specified
by SUSv3.

This Makefile got left out of the previous commit.

PR:             36191
Reviewed by:    mike
2002-05-02 07:54:04 +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