Re: Weird code in scripts/kconfig/Makefile

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

 



On Tue, 12 Dec 2006, Pete Zaitcev wrote:

> Hi, Roman & All:
> 
> In 2.6.19 (and Linus' curent tree), I found the following:
> 
>           libpath=$$dir/lib; lib=qt; osdir=""; \
>           $(HOSTCXX) -print-multi-os-directory > /dev/null 2>&1 && \
>             osdir=x$$($(HOSTCXX) -print-multi-os-directory); \
>           test -d $$libpath/$$osdir && libpath=$$libpath/$$osdir; \
> 
> What does the little 'x' do in front of $$(foo)? It looks suspiciously
> like a typo to me.
> 
> I think Jason caught it, but I didn't see a correction sent out.
> 

yes. looks like an error to me too...i left it out of an internal patch to 
this code. Since we are testing for the existence of the directory, it has 
probably gone unnoticed.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux