diff options
| author | Jilles Tjoelker <jilles@FreeBSD.org> | 2010-08-01 14:14:48 +0000 |
|---|---|---|
| committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2010-08-01 14:14:48 +0000 |
| commit | f3d244d3a136588e83772c2f904e689abe2074e6 (patch) | |
| tree | f0aa4131d349fa03855054028c03497e4cc5ec30 | |
| parent | 1856e1a1b531d82c3edbdc2fe5c857a6d4195d41 (diff) | |
Notes
| -rw-r--r-- | bin/sh/parser.c | 1 | ||||
| -rw-r--r-- | tools/regression/bin/sh/parser/only-redir1.0 | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/bin/sh/parser.c b/bin/sh/parser.c index 0e361600f1a8..b30e96820151 100644 --- a/bin/sh/parser.c +++ b/bin/sh/parser.c @@ -477,6 +477,7 @@ TRACE(("expecting DO got %s %s\n", tokname[got], got == TWORD ? wordtext : "")); checkkwd = 1; break; /* Handle an empty command like other simple commands. */ + case TBACKGND: case TSEMI: case TAND: case TOR: diff --git a/tools/regression/bin/sh/parser/only-redir1.0 b/tools/regression/bin/sh/parser/only-redir1.0 new file mode 100644 index 000000000000..46076c882a5e --- /dev/null +++ b/tools/regression/bin/sh/parser/only-redir1.0 @@ -0,0 +1,3 @@ +# $FreeBSD$ +</dev/null & +wait $! |
