diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-25 18:01:20 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-25 18:01:20 +0000 |
commit | 51cbe780f32bb4d1bb2740f63c111e05fb0d7ee0 (patch) | |
tree | f029b6d39fc4619a8369094efd4c558b10f3d927 /sed.c | |
parent | a02c5081ae9e7105a2c36d31aadcd039b595e1c6 (diff) | |
download | busybox-w32-51cbe780f32bb4d1bb2740f63c111e05fb0d7ee0.tar.gz busybox-w32-51cbe780f32bb4d1bb2740f63c111e05fb0d7ee0.tar.bz2 busybox-w32-51cbe780f32bb4d1bb2740f63c111e05fb0d7ee0.zip |
Use BB_FEATURE_CLEAN_UP where appropriate
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@904 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'sed.c')
-rw-r--r-- | sed.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -92,7 +92,7 @@ static int ncmds = 0; /* number of sed commands */ | |||
92 | 92 | ||
93 | /*static char *cur_file = NULL;*/ /* file currently being processed XXX: do I need this? */ | 93 | /*static char *cur_file = NULL;*/ /* file currently being processed XXX: do I need this? */ |
94 | 94 | ||
95 | #if 0 | 95 | #ifdef BB_FEATURE_CLEAN_UP |
96 | static void destroy_cmd_strs() | 96 | static void destroy_cmd_strs() |
97 | { | 97 | { |
98 | if (sed_cmds == NULL) | 98 | if (sed_cmds == NULL) |
@@ -663,7 +663,7 @@ extern int sed_main(int argc, char **argv) | |||
663 | { | 663 | { |
664 | int opt; | 664 | int opt; |
665 | 665 | ||
666 | #if 0 | 666 | #ifdef BB_FEATURE_CLEAN_UP |
667 | /* destroy command strings on exit */ | 667 | /* destroy command strings on exit */ |
668 | if (atexit(destroy_cmd_strs) == -1) { | 668 | if (atexit(destroy_cmd_strs) == -1) { |
669 | perror("sed"); | 669 | perror("sed"); |