diff options
author | jilles <jilles@FreeBSD.org> | 2014-12-21 22:18:30 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2014-12-21 22:18:30 +0000 |
commit | ffe29740d4971390457d911c48e446936d72eccb (patch) | |
tree | 58b671fb9f80928d9b82e69c650eea6e73141b99 /bin/sh/eval.c | |
parent | 3950b58647fa24897f7a2e6c02d55ec27e458c13 (diff) | |
download | FreeBSD-src-ffe29740d4971390457d911c48e446936d72eccb.zip FreeBSD-src-ffe29740d4971390457d911c48e446936d72eccb.tar.gz |
sh: Remove EXP_REDIR.
EXP_REDIR was supposed to generate pathnames in redirection if exactly one
file matches, as permitted but not required by POSIX in interactive mode. It
is unlikely this will be implemented.
No functional change is intended.
MFC after: 1 week
Diffstat (limited to 'bin/sh/eval.c')
-rw-r--r-- | bin/sh/eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/eval.c b/bin/sh/eval.c index d0460a0..486de9c 100644 --- a/bin/sh/eval.c +++ b/bin/sh/eval.c @@ -539,13 +539,13 @@ expredir(union node *n) case NFROMTO: case NAPPEND: case NCLOBBER: - expandarg(redir->nfile.fname, &fn, EXP_TILDE | EXP_REDIR); + expandarg(redir->nfile.fname, &fn, EXP_TILDE); redir->nfile.expfname = fn.list->text; break; case NFROMFD: case NTOFD: if (redir->ndup.vname) { - expandarg(redir->ndup.vname, &fn, EXP_TILDE | EXP_REDIR); + expandarg(redir->ndup.vname, &fn, EXP_TILDE); fixredir(redir, fn.list->text, 1); } break; |