[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: darwin fat binary support bugfix
From: |
Peter O'Gorman |
Subject: |
Re: darwin fat binary support bugfix |
Date: |
Mon, 21 Apr 2008 02:06:39 -0500 |
User-agent: |
Thunderbird 2.0.0.9 (X11/20071115) |
LiKai Liu wrote:
> Hi Peter,
>
> I tested the $SED $basename fix for glib and it works. However, your
> expression:
>
> darwin_filelist=`find unfat-$$ -type f -name \*.o -o -name \*.lo -exec
> basename '{}' ';' | sort -u`
>
> Needs to force the precedence for -o, i.e.,
FYI,
I was wondering why the test I just wrote would not fail for me, and
discover:
% basename ./foo.o ./bar.o ./foo.lo
foo.o
bar.o
foo.lo
I guess you have GNU coreutils installed, and in the path before the
basename in /usr/bin or are cross compiling. I had been wondering how
that bit of code had been buggy for so long without anyone noticing :)
I will fix, and even apply the (non-failing) test tomorrow.
Peter
--
Peter O'Gorman
http://pogma.com