Date: Sat, 27 Dec 2003 18:05:12 -0800 (PST) From: Martin Cracauer <cracauer@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/sh eval.c Message-ID: <200312280205.hBS25Cih070886@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cracauer 2003/12/27 18:05:12 PST FreeBSD src repository Modified files: bin/sh eval.c Log: PR 28852 sh -e behaviour was incorrect when && and || statements where used in "if" clauses. This is the patch submitted by MORI Kouji <mori@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312280205.hBS25Cih070886>