[PATCH] Unify handling of PWD (llvm patch)

Gao, Yunzhong yunzhong_gao at playstation.sony.com
Fri Aug 9 16:50:47 PDT 2013


Aha. Thanks!
Looks good then with the test.


> -----Original Message-----
> From: Rafael EspĂ­ndola [mailto:rafael.espindola at gmail.com]
> Sent: Friday, August 09, 2013 3:55 PM
> To: reviews+D1335+public+f24b3906e87c3baa at llvm-reviews.chandlerc.com
> Cc: Manuel Klimek; nlewycky at gmail.com; llvm-commits; Gao, Yunzhong
> Subject: Re: [PATCH] Unify handling of PWD (llvm patch)
> 
> No, we check if stat(".") returns the same information as
> stat(getenv("PWD"))
> 
> On 9 August 2013 18:32, Yunzhong Gao
> <Yunzhong_Gao at playstation.sony.com> wrote:
> >
> >   On Ubuntu, if I do "export PWD=blahblah", it will change the command
> prompt to something like:
> >   gaogaogao at mydesktop:blahblah$
> >   but if I run "pwd", my working directory is still unchanged. I assume this
> means that if I do
> >   "PWD=blahblah clang test.c"
> >   clang may not find the current working directory? But I did not test it.
> >
> > http://llvm-reviews.chandlerc.com/D1335




More information about the llvm-commits mailing list