History log of /freebsd-10.1-release/usr.bin/sed/extern.h
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 170608 12-Jun-2007 yar

Don't forget to clear out the hold space for each subsequent file
when in -i mode so that each file gets a clean context of its own.

Add a regression test for the bug.

Tested with: regression tests


# 168921 20-Apr-2007 yar

Change the semantics of -i (in-place editing) so that it treats
each file independently from other files. The new semantics are
desired in the most of practical cases, e.g.: delete lines 5-9
from each file.

Keep the previous semantics of -i under a new option, -I, which
uses a single continuous address space covering all files to edit
in-place -- they are too cool to just drop them.

Add regression tests for -i and -I.

Approved by: dds
Compared with: GNU sed
Discussed on: -hackers
MFC after: 2 weeks


# 133385 09-Aug-2004 dds

Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived
software (original contributor).

Reviewed by: imp


# 122049 04-Nov-2003 des

Reimplement in-place editing in a slightly less disgusting manner. Also,
make an effort to preserve the ownership and mode of the file we are
editing.

Sponsored by: Registrar AS


# 99573 08-Jul-2002 tjr

Make cspace()'s second argument const. Make `escapes' in lputs() const.


# 99352 03-Jul-2002 tjr

Avoid checking whether each line is the last line of the file when we don't
need to know. Instead, check when we are trying to match a "$" address.
This does not change the way sed processes regular files, but makes it behave
more sensibly when used interactively.

PR: 40101
MFC after: 2 weeks


# 92922 21-Mar-2002 imp

remove __P


# 87766 12-Dec-2001 markm

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

Use __FBSDID(), kill register keyword.


# 80286 24-Jul-2001 obrien

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


# 58407 20-Mar-2000 green

Uncorrupt the SCCS id (s/ From: / /).
Put a tab before the comment for "rflags".

Submitted by: bde


# 58309 19-Mar-2000 green

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


# 58307 19-Mar-2000 green

Add $FreeBSD$.


# 41602 08-Dec-1998 archie

Fix a new bug introduced by the previous bug fix


# 28066 11-Aug-1997 charnier

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


# 1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.


# 1590 27-May-1994 rgrimes

BSD 4.4 Lite Usr.bin Sources