CVS log for src/usr.bin/sed/process.c
Up to [cvs.NetBSD.org] / src / usr.bin / sed
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.52.18.1: download - view: text, markup, annotated - select for diffs
Tue Oct 15 18:34:40 2024 UTC (3 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +6 -2
lines
Pull up following revision(s) (requested by kre in ticket #1914):
bin/date/date.c (apply patch)
usr.bin/sed/process.c: revision 1.54
sys/sys/signal.h: revision 1.77
sys/sys/signal.h: revision 1.78
external/gpl2/gmake/dist/main.c: revision 1.2
PR lib/58674
When building the tools version of sed, treat all wide characters
as if they occupy just one column for the purposes of sed's 'l'
command (which it is very unlikely to be used from the tools sed).
wdwidth() is another XSI function, not necessarily available everywhere.
PR lib/58674
bsd_signal should only be visible with _NETBSD_SOURCE - it isn't any kind of
standard function (despite also existing in other systems).
This change inspired by the PR, but doesn't fix it in any way, the tools
config script for gmake doesn't care if the function is visible in any
header, merely if present in libc.
PR lib/58674 (not really so much any more)
Correct previous.
bsd_signal should only be visible with _NETBSD_SOURCE - it isn't any kind of
standard function (despite also existing in other systems).
Turns out that it used to be an XSI function, back in the dark ages
('twas removed in POSIX issue 7, back in 2008, after being marked
obsolete in issue 6 (2001)).
So, make it visible to any applications that request a suitable
X/Open version (and of course, for _NETBSD_SOURCE).
Still no effect on the issue for the PR.
PR lib/58674
Hopefully allow the tools gmake to build (everywhere).
Don't use the system bsd_signal() function, even if one is
defined, use a locally defined one instead. Note that it
cannot be declared static (which the code would do) as it
is possible that system header files might define the function,
if it exists on the host system, and that prototype would not
(cannot) be static.
This is a horrible hack, feel free to do something better.
Note: this version of gmake is (currently anyway) used only
as part of the tools used for building NetBSD - apart from that
it is used for nothing.
Revision 1.53.6.1: download - view: text, markup, annotated - select for diffs
Mon Oct 14 17:44:57 2024 UTC (3 months ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +6 -2
lines
Pull up following revision(s) (requested by kre in ticket #978):
bin/date/date.c (apply patch)
usr.bin/sed/process.c: revision 1.54
sys/sys/signal.h: revision 1.77
sys/sys/signal.h: revision 1.78
external/gpl2/gmake/dist/main.c: revision 1.2
PR lib/58674
When building the tools version of sed, treat all wide characters
as if they occupy just one column for the purposes of sed's 'l'
command (which it is very unlikely to be used from the tools sed).
wdwidth() is another XSI function, not necessarily available everywhere.
PR lib/58674
bsd_signal should only be visible with _NETBSD_SOURCE - it isn't any kind =
of
standard function (despite also existing in other systems).
This change inspired by the PR, but doesn't fix it in any way, the tools
config script for gmake doesn't care if the function is visible in any
header, merely if present in libc.
PR lib/58674 (not really so much any more)
Correct previous.
bsd_signal should only be visible with _NETBSD_SOURCE - it isn't any kind =
of
standard function (despite also existing in other systems).
Turns out that it used to be an XSI function, back in the dark ages
('twas removed in POSIX issue 7, back in 2008, after being marked
obsolete in issue 6 (2001)).
So, make it visible to any applications that request a suitable
X/Open version (and of course, for _NETBSD_SOURCE).
Still no effect on the issue for the PR.
PR lib/58674
Hopefully allow the tools gmake to build (everywhere).
Don't use the system bsd_signal() function, even if one is
defined, use a locally defined one instead. Note that it
cannot be declared static (which the code would do) as it
is possible that system header files might define the function,
if it exists on the host system, and that prototype would not
(cannot) be static.
This is a horrible hack, feel free to do something better.
Note: this version of gmake is (currently anyway) used only
as part of the tools used for building NetBSD - apart from that
it is used for nothing.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Sep 17 13:34:08 2024 UTC (4 months ago) by kre
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +6 -2
lines
PR lib/58674
When building the tools version of sed, treat all wide characters
as if they occupy just one column for the purposes of sed's 'l'
command (which it is very unlikely to be used from the tools sed).
wdwidth() is another XSI function, not necessarily available everywhere.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri May 15 22:39:54 2020 UTC (4 years, 8 months ago) by christos
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: netbsd-10
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +16 -4
lines
sed(1): Don't force a newline on last line, if input stream doesn't have one
While here, change how we check if the current line is the last one.
Before, we just checked if there were more files after the current one.
Now, we check the actual content of those files: they files may not have
a line at all. This matches the definition of the "last line" by the
Open Group.
The new behavior is closer to GNU sed.
From FreeBSD (9dd857db3dc558dc61dc8674d204ebc83cac0739), requested by mrg@
Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Mar 12 12:40:41 2015 UTC (9 years, 10 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
is-mlppp-base,
is-mlppp,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-9
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +8 -198
lines
The latest refactoring changes broke sed -i:
cd /tmp; echo foo > test; sed -i.orig s,fo,ba, test
Back them out until they are fixed.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Mar 1 01:07:46 2015 UTC (9 years, 10 months ago) by asau
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +6 -4
lines
Hide more subroutines in processing phase.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Mar 1 01:00:07 2015 UTC (9 years, 10 months ago) by asau
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +5 -3
lines
Close files opened at processing time within processing phase.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Mar 1 00:51:08 2015 UTC (9 years, 10 months ago) by asau
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +8 -4
lines
Move run-time data structures into processing part.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Mar 1 00:38:01 2015 UTC (9 years, 10 months ago) by asau
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +5 -2
lines
Move data I/O file pointers into processing part.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Feb 28 21:56:53 2015 UTC (9 years, 10 months ago) by asau
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +182 -3
lines
Improve modularity of "sed" source:
- move program source input subroutines into compiler part;
- move data I/O subroutines into processor part.
Revision 1.38.12.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:05:04 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.38.12.1: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.12.1: +293 -198
lines
Rebase to HEAD as of a few days ago.
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 18 07:44:03 2014 UTC (10 years, 5 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +28 -20
lines
Pull up following revision(s) (requested by christos in ticket #34):
usr.bin/sed/process.c: revision 1.46
PR/49109: Jeremie Le Hen: fix sed relative addressin (1,+N)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192108
http://svnweb.freebsd.org/base?view=revision&revision=269302
XXX: pullup 7.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed Aug 13 11:35:34 2014 UTC (10 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +28 -20
lines
PR/49109: Jeremie Le Hen: fix sed relative addressin (1,+N)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192108
http://svnweb.freebsd.org/base?view=revision&revision=269302
XXX: pullup 7.
Revision 1.39.6.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:58:55 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +294 -199
lines
Rebase.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Jun 26 02:14:32 2014 UTC (10 years, 6 months ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +6 -2
lines
restore sccsid[]'s per core@'s decision
Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Jun 9 12:48:58 2014 UTC (10 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +14 -3
lines
PR/48883: Justin Cormack: Cope with systems that don't provide REG_STARTEND
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Jun 7 16:36:54 2014 UTC (10 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -4
lines
PR/48880: Ryo ONODERA: Unapply one of our patches that broke 'G'.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Jun 7 06:02:27 2014 UTC (10 years, 7 months ago) by ryoon
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3
lines
Restore G command
Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Jun 6 12:46:54 2014 UTC (10 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -6
lines
usage is __dead. Kill useless sccsid.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Jun 6 00:13:13 2014 UTC (10 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +294 -209
lines
Merge our changes.
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Jun 6 00:10:05 2014 UTC (10 years, 7 months ago) by christos
Branches: FREEBSD,
CSRG
CVS tags: FREEBSD20140605
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +300 -166
lines
import today's FreeBSD sed.
Revision 1.38.6.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:42:49 2014 UTC (10 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +3 -3
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.38.12.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:29:01 2013 UTC (11 years, 6 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3
lines
resync from head
Revision 1.38.8.1: download - view: text, markup, annotated - select for diffs
Sat May 11 21:59:29 2013 UTC (11 years, 8 months ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +3 -3
lines
Pull up following revision(s) (requested by uwe in ticket #888):
usr.bin/sed/process.c: revision 1.39
usr.bin/sed/sed.1: revision 1.30
usr.bin/sed/sed.1: revision 1.31
The change ("c") command should start a new cycle.
Apply one line patch I posted in PR #45981 and document this in the
manual page.
Bump date for previous (PR #45981): the change ("c") command starts a
new cycle.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Mar 17 21:02:54 2013 UTC (11 years, 10 months ago) by uwe
Branches: MAIN
CVS tags: yamt-pagecache-base9,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
agc-symver-base,
agc-symver
Branch point for: tls-earlyentropy
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3
lines
The change ("c") command should start a new cycle.
Apply one line patch I posted in PR #45981 and document this in the
manual page.
Revision 1.37.28.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:20:04 2009 UTC (15 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +7 -7
lines
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Apr 13 07:29:55 2009 UTC (15 years, 9 months ago) by lukem
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
matt-premerge-20091211,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
jym-xensuspend-nbase,
jym-xensuspend-base,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache,
tls-maxphys,
netbsd-6
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +7 -7
lines
Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)
Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:17:07 2006 UTC (18 years, 7 months ago) by chap
Branches: chap-midi
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +10 -2
lines
Sync with head.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Jun 18 05:16:41 2006 UTC (18 years, 7 months ago) by gdamore
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
mjf-devfs2-base,
mjf-devfs2,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
chap-midi-nbase,
chap-midi-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: jym-xensuspend
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +10 -2
lines
Make TOOL_SED, to allow using our own sed in cases where the host's version
is busted in some way.
The TOOL_SED doesn't use TIOCGWINSIZE, and has some changes to include
nbtool_config.h in a cross build environment.
Combined with some other changes (not yet committed), this allows cross
compiling m68k code on Solaris 10/amd64.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Apr 2 03:40:06 2006 UTC (18 years, 9 months ago) by christos
Branches: MAIN
Branch point for: chap-midi
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3
lines
Coverity CID 1181: Protect access against NULL.
Revision 1.26.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 7 22:44:06 2004 UTC (20 years, 9 months ago) by jmc
Branches: netbsd-1-5
Diff to: previous 1.26.4.1: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.4.1: +3 -3
lines
Pullup rev 1.34 (requested by itojun in ticket #108)
Prevent integer underflow.
Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Fri Mar 12 05:57:45 2004 UTC (20 years, 10 months ago) by jmc
Branches: netbsd-1-6
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +3 -3
lines
Pullup rev 1.34 (requested by itojun in ticket #1558)
Prevent integer underflow.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Nov 7 04:44:57 2003 UTC (21 years, 2 months ago) by itojun
Branches: MAIN
CVS tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +16 -10
lines
safer realloc, from openbsd
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Nov 7 03:58:06 2003 UTC (21 years, 2 months ago) by itojun
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3
lines
prevent integer underflow. freebsd rev 1.32. via openbsd
Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Aug 7 11:15:50 2003 UTC (21 years, 5 months ago) by agc
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +33 -3
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Jun 14 00:41:42 2002 UTC (22 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +17 -31
lines
Remove #if __STDC__. De-__P() and ANSIfy.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Jun 11 06:06:20 2002 UTC (22 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +6 -6
lines
err/errx/warn/warnx do not need \n at the end
Revision 1.26.4.1: download - view: text, markup, annotated - select for diffs
Sat Oct 27 20:06:50 2001 UTC (23 years, 2 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -2
lines
Pull up revisions 1.27-1.30 (requested by atatat):
Don't attempt memmove() if pattern space length is zero.
Fixes PR#14074.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Oct 2 03:03:02 2001 UTC (23 years, 3 months ago) by atatat
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Branch point for: netbsd-1-6
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -4
lines
Back out last patch (again). This patch seems to satisfy test suites
that I've found, while the previous one did not.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Sep 28 21:12:04 2001 UTC (23 years, 3 months ago) by atatat
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -2
lines
New fix for PR bin/14074. This one doesn't make sed hang.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Sep 28 21:10:34 2001 UTC (23 years, 3 months ago) by atatat
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -4
lines
Back out the pr fix. It doesn't work.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Sep 27 05:35:44 2001 UTC (23 years, 3 months ago) by atatat
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4
lines
Don't attempt to memmove() if psl (pattern space length) is zero.
Fixes PR bin/14074: Simple expression core dumps sed.
Revision 1.25.4.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:37:10 1999 UTC (25 years ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +3 -3
lines
Pull up to last week's -current.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Nov 9 15:06:36 1999 UTC (25 years, 2 months ago) by drochner
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3
lines
Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 25 20:54:31 1999 UTC (25 years, 6 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +4 -2
lines
pullup 1.24->1.25 (Kimmo Suominen)
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon May 31 04:46:33 1999 UTC (25 years, 7 months ago) by kim
Branches: MAIN
CVS tags: comdex-fall-1999-base,
comdex-fall-1999
Branch point for: wrstuden-devbsize
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -2
lines
Fix bug pointed out by Jerry Peek <jpeek@jpeek.com> in PR bin/7674.
If hold space null when doing an 'G', make sure it contains a newline.
Fix copied from revision 1.17 where cgd applied a fix for 'x'.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Dec 19 22:12:32 1998 UTC (26 years, 1 month ago) by christos
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE
Branch point for: netbsd-1-4
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +21 -7
lines
char -> unsigned char
compensate for not having REG_STARTEND
Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Aug 25 20:59:40 1998 UTC (26 years, 4 months ago) by ross
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4
lines
Add { and } to shut up egcs. Reformat the more questionable code.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Mar 30 02:29:28 1998 UTC (26 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3
lines
use int as array index.
Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 22 19:57:28 1997 UTC (27 years, 3 months ago) by thorpej
Branches: netbsd-1-3
CVS tags: netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +3 -3
lines
Pull up from trunk:
Remove an extra semicolon that broke processing of the "r" directive.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Oct 22 19:51:58 1997 UTC (27 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3
lines
Remove an extra semicolon that broke processing of the "r" directive.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Oct 19 23:05:16 1997 UTC (27 years, 3 months ago) by lukem
Branches: MAIN
CVS tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +15 -11
lines
WARNSify, fix .Nm usage, deprecate register, getopt returns -1 not EOF
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Oct 19 05:23:50 1997 UTC (27 years, 3 months ago) by mrg
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +12 -9
lines
merge lite-2 -- was mostly already done. grr.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Jan 9 20:21:32 1997 UTC (28 years ago) by tls
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -1
lines
RCS ID police
Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Jul 11 04:09:50 1995 UTC (29 years, 6 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2,
netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2
lines
fix bug pointed out by Dennis Ferguson <dennis@mci.net>. if hold space null
when doing an 'x', make sure it contains a newline.
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Apr 29 17:29:09 1995 UTC (29 years, 8 months ago) by mrg
Branches: FREEBSD,
CSRG
CVS tags: lite-2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +92 -70
lines
4.4BSD-Lite2
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Mar 15 12:12:16 1995 UTC (29 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -4
lines
The `D' command should only input a new line if the pattern space becomes empty.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Mar 15 11:25:10 1995 UTC (29 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +8 -8
lines
Fix the P command, and optimize D slightly.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Mar 15 11:13:30 1995 UTC (29 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -6
lines
Remove an old #ifndef of little value.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Mar 24 15:55:01 1994 UTC (30 years, 10 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-0-base,
netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0,
netbsd-1-0
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2
lines
Fix bug with D leaving junk at end of pattern space.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Mar 1 06:32:54 1994 UTC (30 years, 10 months ago) by cgd
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +31 -13
lines
DTRT with empty RE matches. or at least, do something better. fix off
to bostic and dspin.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Feb 28 07:00:00 1994 UTC (30 years, 10 months ago) by andrew
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2
lines
Restore the traditional behaviour of the "n" command.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Feb 9 00:06:07 1994 UTC (30 years, 11 months ago) by cgd
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -2
lines
patch from Diomidis Spinellis to fix 'infinite' loop
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Feb 3 23:44:57 1994 UTC (30 years, 11 months ago) by cgd
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -1
lines
RCS id's
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Feb 3 23:32:24 1994 UTC (30 years, 11 months ago) by cgd
Branches: MAIN
CVS tags: BSD44
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +57 -58
lines
update from Diomidis Spinellis <dspin@leon.nrcps.ariadne-t.gr>
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Aug 14 20:00:00 1993 UTC (31 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1
lines
Put back RCS identifier.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Aug 14 03:06:53 1993 UTC (31 years, 5 months ago) by alm
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -5
lines
Was testing against rm_so instead of rm_eo. So now:
$ echo aabb | sed 's/\(.*\)\1/(\1)/g'
(a)(b)(c)
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Aug 13 02:26:40 1993 UTC (31 years, 5 months ago) by alm
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -2
lines
removed GNU_REGEX directive
catch infinite substitution for the following cases:
echo hi | sed 's/$/a/g' (prints hia)
echo hi | sed 's/h*/x/g' (terminates with error: infinite substitution)
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Aug 1 18:08:51 1993 UTC (31 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1
lines
Add RCS identifiers.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Jul 2 09:50:36 1993 UTC (31 years, 6 months ago) by alm
Branches: MAIN
CVS tags: netbsd-0-9-base,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA,
netbsd-0-9
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1
lines
added missing parens in buffer allocation (caused seg violation)
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat May 8 10:08:44 1993 UTC (31 years, 8 months ago) by alm
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -1
lines
fixed HS initialization bug; swapping HS (`x') before a hold (`h')
command set the pattern space to NULL
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Apr 13 23:49:28 1993 UTC (31 years, 9 months ago) by alm
Branches: MAIN
added Berkeley sed with mods to use GNU regex
CVSweb <webmaster@jp.NetBSD.org>