Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Cross-build failure on i386 in sh/init.c



On Thu, Feb 28, 2008 at 12:04:56PM +0200, Alan Barrett wrote:
> On Thu, 28 Feb 2008, Anthony Martinez wrote:
> > > Could you post a diff between the correct and incorrect versions of
> > > init.c? 
> > The unified diff is attached for preservation, though it really is just
> > one line.
> 
> OK.  Please try the following:
> 
> sh -c 'IFS="" ; echo " } " | ( read -r line ; echo \""${line}"\" )'

$ /bin/dash -c 'IFS="" ; echo " } " | ( read -r line ; echo \""${line}"\" )'
" } "

> It's supposed to print " } " (with the spaces and quotation marks).  If
> some of the spaces are missing, then you have a shell bug.  This caused
> mkinit.sh to mistake the indented "}" in line 97 of output.c for the
> non-indented "}" that ends the "RESET" block.

That appears to work fine. Weird. Is there anything else you might be
able to suggest [other than "don't use dash", which I've already figured
out? :) ]


Thanks,
Pi

> 
> --apb (Alan Barrett)
> 

-- 
<pvck_sleep> is it just me, or does "P-adic analysis compared with real by S.
Katok" sound more like a hiphop album than a math book?

Attachment: pgpK_jChuFQqS.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index