sh: Fix $? in heredocs on simple commands.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 21 Aug 2011 20:10:39 +0000 (13:10 -0700)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 21 Aug 2011 20:49:21 +0000 (13:49 -0700)
commit87838cc9ea8a6c1c9a2cc20b78bfbc97026c3c04
tree900925bcae53577f7a64430e2593f4151d867039
parent84021a35cdfe43b836c506f2d8f23d527b78b957
sh: Fix $? in heredocs on simple commands.

Obtained-from:   FreeBSD 222716
bin/sh/eval.c
tools/regression/bin/sh/expansion/heredoc2.0 [new file with mode: 0644]