Hello autoconfers. On 11/19/2011 07:44 PM, Stefano Lattarini wrote: > Found this while testing automake on Solaris 10 with /usr/xpg4/bin/sh > as $CONFIG_SHELL. > > $ mkdir new && cd new > $ touch foo > $ /bin/sh -c 'a=.; echo "$a"/*' # Fine. > ./foo > $ /usr/xpg4/bin/sh -c 'a=.; echo "$a"/*' # Fine as well. > ./foo > $ /bin/sh -c 'a=. b=; echo "$b$a"/*' # Also fine. > ./foo > $ /usr/xpg4/bin/sh -c 'a=. b=; echo "$b$a"/*' # Bug! > ./* > > The bug should probably be documented somewhere in the autoconf > manual. I might attempt a patch in the next days if nobody beats > me (but no promises). >
[a month later...] I'm not anymore sure that this bug is worth documenting, since it is more of a one-shot, corner-case, weirdo-looking bug rather than a more systematic limitation or incompatibility. What do you think? BTW, could anyone verify whether this bug is still present in the XPG4 shell (usr/xpg4/bin/sh) of Solaris 11 as well? If yes, to whom should it be reported? Thanks, Stefano