aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 72ceba782..c353834a4 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -5711,7 +5711,7 @@ ash_arith(const char *s)
5711#define RMESCAPE_SLASH 0x20 /* Stop globbing after slash */ 5711#define RMESCAPE_SLASH 0x20 /* Stop globbing after slash */
5712 5712
5713/* Add CTLESC when necessary. */ 5713/* Add CTLESC when necessary. */
5714#define QUOTES_ESC (EXP_FULL | EXP_CASE | EXP_QPAT | EXP_REDIR) 5714#define QUOTES_ESC (EXP_FULL | EXP_CASE | EXP_QPAT)
5715/* Do not skip NUL characters. */ 5715/* Do not skip NUL characters. */
5716#define QUOTES_KEEPNUL EXP_TILDE 5716#define QUOTES_KEEPNUL EXP_TILDE
5717 5717
@@ -7608,10 +7608,6 @@ expandarg(union node *arg, struct arglist *arglist, int flag)
7608 exparg.lastp = &exparg.list; 7608 exparg.lastp = &exparg.list;
7609 expandmeta(exparg.list /*, flag*/); 7609 expandmeta(exparg.list /*, flag*/);
7610 } else { 7610 } else {
7611 if (flag & EXP_REDIR) { /*XXX - for now, just remove escapes */
7612 rmescapes(p, 0);
7613 TRACE(("expandarg: rmescapes:'%s'\n", p));
7614 }
7615 sp = stzalloc(sizeof(*sp)); 7611 sp = stzalloc(sizeof(*sp));
7616 sp->text = p; 7612 sp->text = p;
7617 *exparg.lastp = sp; 7613 *exparg.lastp = sp;