[cfe-dev] [Bulk] Re: [Bulk] Re: clang PCH and strace

Vladimir G. Ivanovic vgivanovic at yahoo.com
Fri Oct 1 16:38:26 PDT 2010


on 10/01/2010 11:11 AM Sebastian Redl said the following:
> 
> On Oct 1, 2010, at 9:51 AM, Vladimir G. Ivanovic wrote:
> 
>> I was assuming --- apparently incorrectly --- a single shell with no
>> intervening command that changes PATH. With a different shell, all
>> bets are off. The other shell could be on a completely different
>> machine, for instance.
> 
> It doesn't have to be. If in your current shell you have set PATH, but haven't exported it, then the command 'clang' would look in the PATH you have set, but 'strace clang' would look for strace in the PATH you have set, but strace wouldn't inherit that PATH, so it would fall back to the system default.

(Score:4, Informative)

--- Vladimir

-- 
Vladimir G. Ivanovic                            http://www.leonora.org
+1 650 450 4101                                       vladimir at acm.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20101001/ccfec34f/attachment.sig>


More information about the cfe-dev mailing list