Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH 2/2] close_lock_file(): new function in the lockfile API

From: Brandon Casey <hidden>
Date: 2016-06-15 22:44:06

On Wed, 16 Jan 2008, Junio C Hamano wrote:
Brandon Casey [off-list ref] writes:
quoted
My patch does this, though I understand it may take some time to review.

I left the lk->fd unmodified when close() failed in case the caller
would like to include it in an error message.
But that would bring us back to the same double-close issue,
wouldn't it?
Yes it would. Although I knew it would happen, I was disregarding
_that_ double close case for some reason.

You're right, your's and Linus's version is better.

-brandon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help