Re: [PATCH/RFC v1 5/6] combine-diff.c: remove a call to fstat() inside show_patch_diff()
- From
Mike Ralphson <mike.ralphson@gmail.com>
- Date
- Jan 27, 2009, 12:06 UTC
- Message-ID
- <e2b179460901270406i3425b99pb412536ce28fb44d@mail.gmail.com>
- In-Reply-To
- <86myddj6qi.fsf@broadpark.no>
2009/1/27 Kjetil Barvik <barvik@broadpark.no>
Show 10 quoted lines
> Mike Ralphson <mike.ralphson@gmail.com> writes: > > > 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!
Typo stood out and blinded me to the rest of the grammar... How about:
Currently inside show_patch_diff() we have an fstat() call after an ok lstat() call. Since before the call to fstat() we have already tested for the link case with S_ISLNK(), the fstat() can be removed.
'Half-a-job' Mike