cvs commit: src/bin/sh eval.c
cracauer 2003/12/27 18:05:12 PST
FreeBSD src repository
sh -e behaviour was incorrect when && and || statements where used in
This is the patch submitted by MORI Kouji <mori_at_tri.asanuma.co.jp>.
It fixes the issue at hand, but sh fixes like this are super-hard to
verify that they don't break anything else. I ran some of my old test
cases and a few big GNU configure scripts that detected mistakes
before, with the previous sh, patched sh and bash. No differences in
behaviour found. MFC recommended after longer than usual time.
Compiles on i386 and sledge.
Revision Changes Path
1.38 +1 -24 src/bin/sh/eval.c
Received on Sat Dec 27 2003 - 18:05:13 UTC