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, 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}"\" )'

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.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index