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, 09:35 UTC
- Message-ID
- <e2b179460901270135j6e4cb887radbe664ac98f39f1@mail.gmail.com>
- In-Reply-To
- <1233004637-15112-6-git-send-email-barvik@broadpark.no>
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/ ?