]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sh: Fix two things about {(...)} <redir:
authorJilles Tjoelker <jilles@FreeBSD.org>
Sat, 5 Feb 2011 15:02:19 +0000 (15:02 +0000)
committerJilles Tjoelker <jilles@FreeBSD.org>
Sat, 5 Feb 2011 15:02:19 +0000 (15:02 +0000)
commitb15e9aa32294a54c1909c66c500ee4cb232eabf7
treef09d358ca460ca4e423df11e30360f9a4012e6c0
parentc059d82290fbc6fdb3a935decaf53336e7e8db98
sh: Fix two things about {(...)} <redir:

* In {(...) <redir1;} <redir2, do not drop redir1.
* Maintain the difference between (...) <redir and {(...)} <redir:
  In (...) <redir, the redirection is performed in the child, while in
  {(...)} <redir it should be performed in the parent (like {(...); :;}
  <redir)
bin/sh/parser.c
tools/regression/bin/sh/execution/redir5.0 [new file with mode: 0644]