svn commit: trunk/busybox/editors
landley at busybox.net
landley at busybox.net
Thu Sep 7 17:01:03 PDT 2006
Author: landley
Date: 2006-09-07 17:01:02 -0700 (Thu, 07 Sep 2006)
New Revision: 16067
Log:
Bugfix for: echo '123456789' | sed 's/./|&/5'
Modified:
trunk/busybox/editors/sed.c
Changeset:
Modified: trunk/busybox/editors/sed.c
===================================================================
--- trunk/busybox/editors/sed.c 2006-09-07 17:05:44 UTC (rev 16066)
+++ trunk/busybox/editors/sed.c 2006-09-08 00:01:02 UTC (rev 16067)
@@ -627,7 +627,7 @@
end of match and continue */
if(sed_cmd->which_match && sed_cmd->which_match!=match_count) {
for(i=0;i<bbg.regmatch[0].rm_eo;i++)
- pipe_putc(oldline[i]);
+ pipe_putc(*(oldline++));
continue;
}
More information about the busybox-cvs
mailing list