Re: [PATCH/RFC v1 5/6] combine-diff.c: remove a call to fstat() inside show_patch_diff()
- From
- Kjetil Barvik <barvik@broadpark.no>
- Date
- Jan 27, 2009, 12:03 UTC
- Message-ID
- <86myddj6qi.fsf@broadpark.no>
- In-Reply-To
- <e2b179460901270135j6e4cb887radbe664ac98f39f1@mail.gmail.com>
Mike Ralphson <mike.ralphson@gmail.com> writes:
Show 6 quoted lines
> 2009/1/26 Kjetil Barvik <barvik@broadpark.no>: >> Currently inside show_patch_diff() we have and fstat() call after an >> ok lstat() call. Since we before the call to fstat() have already >> test for the link case with S_ISLNK() the fstat() can be removed. > > s/have and/have an/ ?
Correct! Will fix. Thanks!
-- kjetil