diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-27 04:44:51 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-27 04:44:51 +0000 |
commit | d0119d15f97750c49f9955e6c6f952f03d72e795 (patch) | |
tree | 193a70e3d5ed19939c8460afb725c0fdf38d065d /editors | |
parent | 8d42f86b146871ae4c4cafd3801a85f381249a14 (diff) | |
download | busybox-w32-d0119d15f97750c49f9955e6c6f952f03d72e795.tar.gz busybox-w32-d0119d15f97750c49f9955e6c6f952f03d72e795.tar.bz2 busybox-w32-d0119d15f97750c49f9955e6c6f952f03d72e795.zip |
Simple fixes accumulated after 1.3.0.
busybox-1.3.0.ash.patch
busybox-1.3.0.bb_strtou.patch
busybox-1.3.0.CONFIG_FEATURE_TAR_GNU_EXTENSIONS.patch
busybox-1.3.0.dhcprelay.patch
busybox-1.3.0.dpkg_ar.patch
busybox-1.3.0.find.patch
busybox-1.3.0.mount.patch
busybox-1.3.0.perror.patch
busybox-1.3.0.sed.patch
busybox-1.3.0.shadow.patch
busybox-1.3.0.xregcomp.patch
Diffstat (limited to 'editors')
-rw-r--r-- | editors/sed.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c index ac3d8d463..a6544fd0d 100644 --- a/editors/sed.c +++ b/editors/sed.c | |||
@@ -120,7 +120,6 @@ struct sed_globals { | |||
120 | } bbg; | 120 | } bbg; |
121 | 121 | ||
122 | 122 | ||
123 | void sed_free_and_close_stuff(void); | ||
124 | #if ENABLE_FEATURE_CLEAN_UP | 123 | #if ENABLE_FEATURE_CLEAN_UP |
125 | static void sed_free_and_close_stuff(void) | 124 | static void sed_free_and_close_stuff(void) |
126 | { | 125 | { |
@@ -156,6 +155,8 @@ static void sed_free_and_close_stuff(void) | |||
156 | while (bbg.current_input_file < bbg.input_file_count) | 155 | while (bbg.current_input_file < bbg.input_file_count) |
157 | fclose(bbg.input_file_list[bbg.current_input_file++]); | 156 | fclose(bbg.input_file_list[bbg.current_input_file++]); |
158 | } | 157 | } |
158 | #else | ||
159 | void sed_free_and_close_stuff(void); | ||
159 | #endif | 160 | #endif |
160 | 161 | ||
161 | /* If something bad happens during -i operation, delete temp file */ | 162 | /* If something bad happens during -i operation, delete temp file */ |