Re: [PATCH] Careful object pulling
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- May 4, 2005, 16:16 UTC
- Message-ID
- <Pine.LNX.4.21.0505041207480.30848-100000@iabervon.org>
- In-Reply-To
- <118833cc050504023569e00d38@mail.gmail.com>
On Wed, 4 May 2005, Morten Welinder wrote:
> Something's fishy there. You are comparing the result from link with EEXIST.
No, it just looks that way. If ret is negative, errno gets written to it. If it's zero, we don't do anything with it. It can't be positive. So, at the point where we test it, it must be the errno from link, which would be EEXIST if the case we're worried about.
-Daniel *This .sig left intentionally blank*