Date: Wed, 4 Dec 2002 04:10:06 -0800 (PST) From: "Ralf S. Engelschall" <rse@engelschall.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/41410: /bin/sh bug on expanding $? in here-documents Message-ID: <200212041210.gB4CA6Fg042813@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/41410; it has been noted by GNATS. From: "Ralf S. Engelschall" <rse@engelschall.com> To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Cc: Subject: Re: bin/41410: /bin/sh bug on expanding $? in here-documents Date: Wed, 4 Dec 2002 13:09:15 +0100 The companion PR in NetBSD was fixed a few days ago now with the following commit: http://cvsweb.netbsd.org/bsdweb.cgi/basesrc/bin/sh/eval.c.diff?r1=1.67&r2=1.68 | Fixes from David Laight: | - ansification | - format of output of jobs command (etc) | - job identiers %+, %- etc | - $? and $(...) | - correct quoting of output of set, export -p and readonly -p | - differentiation between nornal and 'posix special' builtins | - correct behaviour (posix) for errors on builtins and special builtins | - builtin printf and kill | - set -o debug (if compiled with DEBUG) | - cd src obj (as ksh - too useful to do without) | - unset -e name, remove non-readonly variable from export list. | (so I could unset -e PS1 before running the test shell...) Unfortunately this fix contains also other changes, so someone first has to extract out the parts which apply only to this problem here. Or do we want all those fixes? Ralf S. Engelschall rse@engelschall.com www.engelschall.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212041210.gB4CA6Fg042813>