From: Mike Ralphson Date: Tue, 27 Jan 2009 12:06:52 GMT Subject: Re: [PATCH/RFC v1 5/6] combine-diff.c: remove a call to fstat() inside show_patch_diff() Message-ID: In-Reply-To: <86myddj6qi.fsf@broadpark.no> 2009/1/27 Kjetil Barvik > Mike Ralphson writes: > > > 2009/1/26 Kjetil Barvik : > >> 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