Date: Fri, 19 Dec 1997 12:28:54 -0800 (PST) From: Bruce Evans <bde@FreeBSD.ORG> To: haible@ilog.fr, bde@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/4568 Message-ID: <199712192028.MAA03213@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: simple /bin/sh script produces wrong results State-Changed-From-To: open-analyzed State-Changed-By: bde State-Changed-When: Fri Dec 19 12:25:50 PST 1997 State-Changed-Why: I found a quick fix for this a long time ago, but don't intend to finish it soon. diff -c2 src/bin/sh/expand.c~ src/bin/sh/expand.c *** src/bin/sh/expand.c~ Sat Jun 21 15:50:46 1997 --- src/bin/sh/expand.c Sat Sep 20 00:52:37 1997 *************** *** 682,685 **** --- 682,686 ---- if (subevalvar(p, var, 0, subtype, startloc, varflags)) { varflags &= ~VSNUL; + ifslastp = NULL; goto again; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712192028.MAA03213>