diff options
| author | Chet Ramey <chet.ramey@case.edu> | 2018-12-20 11:41:58 -0500 |
|---|---|---|
| committer | Chet Ramey <chet.ramey@case.edu> | 2018-12-20 11:41:58 -0500 |
| commit | f250956cb2a8dca13fc0242affc225f9d6983604 (patch) | |
| tree | 2df8e15963af786dc8efed1c91c4d823a3bf05bb /redir.c | |
| parent | 2ae59c1134a75d5778997b7202b15b0586283042 (diff) | |
| download | bash-5.0-testing.tar.gz | |
bash-5.0-rc1 releasebash-5.0-rc1bash-5.0-testing
Diffstat (limited to 'redir.c')
| -rw-r--r-- | redir.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -778,6 +778,8 @@ do_redirection_internal (redirect, flags) case r_move_output_word: new_redirect = make_redirection (sd, r_move_output, rd, 0); break; + default: + break; /* shut up gcc */ } } else if (ri == r_duplicating_output_word && (redirect->rflags & REDIR_VARASSIGN) == 0 && redirector == 1) @@ -1175,6 +1177,8 @@ do_redirection_internal (redirect, flags) case r_duplicating_input_word: case r_duplicating_output_word: + case r_move_input_word: + case r_move_output_word: break; } return (0); @@ -1334,6 +1338,10 @@ stdin_redirection (ri, redirector) case r_append_err_and_out: case r_output_force: case r_duplicating_output_word: + case r_move_input: + case r_move_output: + case r_move_input_word: + case r_move_output_word: return (0); } return (0); |
