summaryrefslogtreecommitdiffstats
path: root/usr.bin/sed/compile.c
Commit message (Collapse)AuthorAgeFilesLines
* Expand xmalloc in-place, along with xrealloc; which wasn't even ANSI in itsobrien2001-07-241-17/+36
| | | | implementation.
* Don't leak memory when compiling text following the `a', `c' or `i' command.ru2001-05-181-1/+1
| | | | | | | | | Testcase: echo FOO | sed "/FOO/c\\ `jot -b 'aaaa\' 500`" Submitted by: Max Khon <fjoe@newst.net>
* Add a new flag: -E enables "extended" regular expressions.green2000-03-191-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fix a new bug introduced by the previous bug fixarchie1998-12-081-6/+7
|
* Fix brokenness compiling "s/pat/subst/" when length of subst is >= 4090 chars.archie1998-12-071-3/+6
| | | | PR: bin/7939
* Terminate our output string correctly if we've gotbrian1998-09-221-1/+2
| | | | | | | an ``a'' command that has an escaped newline on the last line of the last script that we're processing. This fixes exmh2/scripts/build when /etc/malloc.conf -> AJ
* Remove local redefinition for err(). Add usage().charnier1997-08-111-61/+72
|
* Localize itache1996-08-111-2/+2
| | | | 8bit cleanup
* Yet^2 another fix for the line continuation bug.bde1996-07-171-5/+5
| | | | | | | | | | | | The fundamental problem with the original code is that it accesses p[-2] which is one before the beginning of the input buffer for empty lines. rev.1.6 just moved the problem from failures when p[-2] happens to be '\\' to failures when it happens to be '\0'. rev.1.5 was confused about the trailing newline and other things. I went back to rev.1.5 and fixed it. The result is the same as Keith Bostic's final version in PR 1356 except it loses more gracefully for excessively long input lines.
* Yet another fix for the line continuation bug in sed. Keith's patchdg1996-06-261-7/+5
| | | | | | introduced a new bug. This fix appears to work correctly. Fixes PR#1350. Submitted by: mark@linus.demon.co.uk (Mark Valentine)
* Fix from Keith Bostic <bostic@bsdi.com> for bug in sed dealing withdg1996-06-191-5/+7
| | | | | | continuation lines. Submitted by: Keith Bostic via Kirk McKusick
* Merge various fixes from NetBSD. This will allow the WordPerfect forjkh1995-08-161-31/+68
| | | | SCO installation to run all the way through (some POSIX fixes).
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* Sed dumps core when linked with some coalescing malloc because itjoerg1995-04-051-0/+2
| | | | | | doesn't initialize malloced structure. Submitted by: vode@hut.fi
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+771
OpenPOWER on IntegriCloud