diff options
author | "Robert P. J. Day" | 2006-07-01 12:19:39 +0000 |
---|---|---|
committer | "Robert P. J. Day" | 2006-07-01 12:19:39 +0000 |
commit | f350160963c4412bb76f3e8cca669529fdde81d1 (patch) | |
tree | 608f6f65d89a3aaa3ed607055fdb65946329d3c1 /shell/hush.c | |
parent | 01772aea33bb2888d9b2799263313cad9795ca32 (diff) | |
download | busybox-f350160963c4412bb76f3e8cca669529fdde81d1.zip busybox-f350160963c4412bb76f3e8cca669529fdde81d1.tar.gz |
Remove "#if 1" directives.
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/shell/hush.c b/shell/hush.c index 1f4e2e8..13a992f 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -98,15 +98,8 @@ /* #include <dmalloc.h> */ /* #define DEBUG_SHELL */ -#if 1 #include "cmdedit.h" -#else -#define bb_applet_name "hush" -//#include "standalone.h" -#define hush_main main -#undef CONFIG_FEATURE_SH_FANCY_PROMPT -#define BB_BANNER "" -#endif + #define SPECIAL_VAR_SYMBOL 03 #define FLAG_EXIT_FROM_LOOP 1 #define FLAG_PARSE_SEMICOLON (1 << 1) /* symbol ';' is special for parser */ @@ -2247,7 +2240,6 @@ static int redirect_opt_num(o_string *o) static FILE *generate_stream_from_list(struct pipe *head) { FILE *pf; -#if 1 int pid, channel[2]; if (pipe(channel)<0) bb_perror_msg_and_die("pipe"); #if !defined(__UCLIBC__) || defined(__ARCH_HAS_MMU__) @@ -2275,11 +2267,6 @@ static FILE *generate_stream_from_list(struct pipe *head) close(channel[1]); pf = fdopen(channel[0],"r"); debug_printf("pipe on FILE *%p\n",pf); -#else - free_pipe_list(head,0); - pf=popen("echo surrogate response","r"); - debug_printf("started fake pipe on FILE *%p\n",pf); -#endif return pf; } |