[BusyBox-cvs] busybox/editors sed.c,1.149,1.150
Glenn McGrath
bug1 at busybox.net
Wed Sep 24 10:23:42 UTC 2003
- Previous message: [BusyBox-cvs] busybox/coreutils install.c,1.1,1.2
- Next message: [BusyBox-cvs] busybox/debian config-net-udeb-linux-i386, NONE, 1.1 config-udeb-linux-i386, NONE, 1.1 changelog, 1.37, 1.38 config-deb, 1.8, 1.9 config-net-udeb, 1.3, 1.4 config-net-udeb-i386, 1.4, 1.5 config-static, 1.11, 1.12 config-udeb, 1.15, 1.16 config-udeb-i386, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/busybox/editors
In directory winder:/tmp/cvs-serv25599
Modified Files:
sed.c
Log Message:
Fix some typo's, remove some extra free statements
Index: sed.c
===================================================================
RCS file: /var/cvs/busybox/editors/sed.c,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -d -r1.149 -r1.150
--- sed.c 16 Sep 2003 05:25:40 -0000 1.149
+++ sed.c 24 Sep 2003 10:23:39 -0000 1.150
@@ -1010,17 +1010,15 @@
next_line = bb_get_chomped_line_from_file(file);
linenum++;
} else {
- /* Jump to end of script and exist */
+ /* Jump to end of script and exit */
deleted = 1;
- free(next_line);
next_line = NULL;
}
break;
case 'N': /* Append the next line to the current line */
if (next_line == NULL) {
- /* Jump to end of script and exist */
+ /* Jump to end of script and exit */
deleted = 1;
- free(next_line);
#ifdef CONFIG_FEATURE_SED_GNU_COMPATABILITY
/* GNU sed will add the newline character
* The GNU sed info page labels this as a bug that wont be fixed
- Previous message: [BusyBox-cvs] busybox/coreutils install.c,1.1,1.2
- Next message: [BusyBox-cvs] busybox/debian config-net-udeb-linux-i386, NONE, 1.1 config-udeb-linux-i386, NONE, 1.1 changelog, 1.37, 1.38 config-deb, 1.8, 1.9 config-net-udeb, 1.3, 1.4 config-net-udeb-i386, 1.4, 1.5 config-static, 1.11, 1.12 config-udeb, 1.15, 1.16 config-udeb-i386, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the busybox-cvs
mailing list