On Tue, Dec 30, 2014 at 10:12:35AM -0500, Chet Ramey wrote:
> On 12/30/14 10:01 AM, Juergen Daubert wrote:
> > Hello,
> >
> > got the following issue with patch 31 on a CRUX Linux system with
> > gcc 4.8.4:
>
> Try this one.
>
Thanks, builds again.
Hello,
got the following issue with patch 31 on a CRUX Linux system with
gcc 4.8.4:
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"'
-DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"'
-DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL
27; in ${b:-'/foo/bar'}
sh-4.2$ a="${b:-'bar'}"
sh-4.2$ a="${b:-/foo/bar}"
sh-4.2$
looks like bash, when called as sh, doesn't like the / character in
single-quoted strings.
Thanks
Juergen
--
Juergen Daubert | mailto:j...@jue.li
Korb, Germany| http://jue.li/crux