Re: [PATCH] diff: "S_IFREG | 0644" to "(S_IFREG | 0644)" to avoid warning
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Oct 4, 2010, 10:50 UTC
- Message-ID
- <20101004105008.GB4738@burratino>
- In-Reply-To
- <20101004103550.GA4738@burratino>
Jonathan Nieder wrote:
> The test harness uses cd -P to ensure $PWD and $(pwd) agree;
As Ævar noticed, this sentence as it stands doesn't make much sense. The idea is rather to make $(pwd -L) and $(pwd -P) agree --- the former is accessible through $PWD, the latter through getwd() and /bin/pwd.