History log of /freebsd/usr.bin/sed/compile.c (Results 101 – 125 of 126)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 81a8648a 14-Jul-2004 Tim J. Robbins <tjr@FreeBSD.org>

Make the 'y' (translate) command aware of multibyte characters.


Revision tags: release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0
# 9cde9a2e 04-Nov-2003 Dag-Erling Smørgrav <des@FreeBSD.org>

Whitespace cleanup


# e6478125 04-Nov-2003 Dag-Erling Smørgrav <des@FreeBSD.org>

ANSIfy


Revision tags: release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2
# 0467aed3 30-Jul-2002 Tim J. Robbins <tjr@FreeBSD.org>

Ignore leading semicolons on commands; required by SUSv3.

Obtained from: NetBSD (kleink, Aymeric Vincent)


Revision tags: release/4.6.1, release/4.6.0_cvs
# f020c7fa 01-Jun-2002 Brian Feldman <green@FreeBSD.org>

Fix a bug in sed(1)'s "s" command wherein if an escape ("\" character)
was initiated at the last character of the line buffer, the Wrong
Thing was done and sed barfed by interpreting the following NU

Fix a bug in sed(1)'s "s" command wherein if an escape ("\" character)
was initiated at the last character of the line buffer, the Wrong
Thing was done and sed barfed by interpreting the following NUL byte
as a digit. Instead, pull up the next buffer and record that the "\"
was last seen.

show more ...


# efaed24f 12-Apr-2002 Maxim Sobolev <sobomax@FreeBSD.org>

Fix an ages-old bug in sed(1), which resulted in the absolutely valid
substitution expressions in the form `s,[fooexp],[barexp],;...' treated
as invalid when the third `,' is (_POSIX2_LINE_MAX * N)-t

Fix an ages-old bug in sed(1), which resulted in the absolutely valid
substitution expressions in the form `s,[fooexp],[barexp],;...' treated
as invalid when the third `,' is (_POSIX2_LINE_MAX * N)-th character in
the line.

MFC after: 2 weeks

show more ...


# 3f330d7d 22-Mar-2002 Warner Losh <imp@FreeBSD.org>

remove __P


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# e74bf75f 13-Dec-2001 Mark Murray <markm@FreeBSD.org>

WARNS=2 partial fix; use NO_WERROR to protect against some hard-to-fix warnings.

Use __FBSDID(), kill register keyword.


# 0ea56610 08-Nov-2001 Mike Heffner <mikeh@FreeBSD.org>

Don't allocate a zero byte segment.

PR: bin/11900
MFC after: 2 weeks


# 8e33c0a0 24-Jul-2001 David E. O'Brien <obrien@FreeBSD.org>

Expand xmalloc in-place, along with xrealloc; which wasn't even ANSI in its
implementation.


# 94ccf574 18-May-2001 Ruslan Ermilov <ru@FreeBSD.org>

Don't leak memory when compiling text following the `a', `c' or `i' command.

Testcase:

echo FOO | sed "/FOO/c\\
`jot -b 'aaaa\' 500`"

Submitted by: Max Khon <fjoe@newst.net>


Revision tags: release/4.3.0_cvs, release/4.3.0, release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs
# 175de1e6 19-Mar-2000 Brian Feldman <green@FreeBSD.org>

Add a new flag: -E enables "extended" regular expressions.


Revision tags: release/3.4.0_cvs, release/3.3.0_cvs
# c3aac50f 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8
# c56690ef 08-Dec-1998 Archie Cobbs <archie@FreeBSD.org>

Fix a new bug introduced by the previous bug fix


# 1a6583da 07-Dec-1998 Archie Cobbs <archie@FreeBSD.org>

Fix brokenness compiling "s/pat/subst/" when length of subst is >= 4090 chars.
PR: bin/7939


# 13ede3c0 22-Sep-1998 Brian Somers <brian@FreeBSD.org>

Terminate our output string correctly if we've got
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/ma

Terminate our output string correctly if we've got
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

show more ...


Revision tags: release/2.2.7, release/2.2.6, release/2.2.5_cvs
# 73a08bb2 11-Aug-1997 Philippe Charnier <charnier@FreeBSD.org>

Remove local redefinition for err(). Add usage().


# c44252b6 06-Jul-1997 Bruce Evans <bde@FreeBSD.org>

Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,
pascal and vmstat.sparc. All changed files on the vendor branch should
already have been imported.


Revision tags: release/2.2.2_cvs, release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs, release/2.1.6_cvs, release/2.1.6.1, release/2.1.5_cvs
# 726aebe5 11-Aug-1996 Andrey A. Chernov <ache@FreeBSD.org>

Localize it
8bit cleanup


# 49e65599 17-Jul-1996 Bruce Evans <bde@FreeBSD.org>

Yet^2 another fix for the line continuation bug.

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.

Yet^2 another fix for the line continuation bug.

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.

show more ...


# 4f587766 26-Jun-1996 David Greenman <dg@FreeBSD.org>

Yet another fix for the line continuation bug in sed. Keith's patch
introduced a new bug. This fix appears to work correctly. Fixes PR#1350.

Submitted by: mark@linus.demon.co.uk (Mark Valentine)


# 796d4318 19-Jun-1996 David Greenman <dg@FreeBSD.org>

Fix from Keith Bostic <bostic@bsdi.com> for bug in sed dealing with
continuation lines.

Submitted by: Keith Bostic via Kirk McKusick


Revision tags: release/2.1.0_cvs
# ce19262d 16-Aug-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Merge various fixes from NetBSD. This will allow the WordPerfect for
SCO installation to run all the way through (some POSIX fixes).


Revision tags: release/2.0.5_cvs
# 7799f52a 30-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.


# fe89da38 06-Apr-1995 Joerg Wunsch <joerg@FreeBSD.org>

Sed dumps core when linked with some coalescing malloc because it
doesn't initialize malloced structure.

Submitted by: vode@hut.fi


123456