On Mon, Sep 27, 2010 at 07:53:46PM +0200, Michał Górny wrote: > Hello, > > Consider the following test code: > > #v+ > func() { :; } > A=test func > echo $A > #v- > > Running that code in strict POSIX mode of bash or dash results in > 'test' output. However, running in posh it doesn't output anything. > > Trying to explain that behavior, I run into bug #485463 which seems to > be the reason of it. The reasoning assumed for that patch is > unfortunately not true. > > Quite a good explanation can be found on bug-bash: > http://lists.gnu.org/archive/html/bug-bash/2010-08/msg00164.html > > Thus, I think that the particular change done due to bug #485463 should > be reverted and the original behavior should be restored as the one > being POSIX compliant.
Thoughts, Stephane? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org