From: Daniel Barkalow <barkalow@iabervon.org>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Junio C Hamano <junkio@cox.net>, git@vger.kernel.org
Subject: Re: [PATCH] builtin-checkout: use struct lock_file correctly
Date: Thu, 14 Feb 2008 13:22:39 -0500 (EST) [thread overview]
Message-ID: <alpine.LNX.1.00.0802141319380.13593@iabervon.org> (raw)
In-Reply-To: <alpine.LSU.1.00.0802141816120.30505@racer.site>
On Thu, 14 Feb 2008, Johannes Schindelin wrote:
> A lock_file instance must not be cleaned up, since an atexit() handler
> will try to access even correctly committed lock_files, since it has
> to make sure that they were correctly committed.
I think the lock_file API changed between when I wrote this code (using
other code as reference) and now; could you check that there aren't other
things I have to change as well, since I think you were following the
lock_file changes at the time, and I wasn't? I got the most obvious one
(calling close() on the fd yourself is no longer right, but I didn't know
about this one, and I don't know about any further ones, if there are
any.)
-Daniel
*This .sig left intentionally blank*
next prev parent reply other threads:[~2008-02-14 18:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-07 16:40 [PATCH v2 11/11] Build in checkout Daniel Barkalow
2008-02-14 18:17 ` [PATCH] builtin-checkout: use struct lock_file correctly Johannes Schindelin
2008-02-14 18:22 ` Daniel Barkalow [this message]
2008-02-14 18:55 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.1.00.0802141319380.13593@iabervon.org \
--to=barkalow@iabervon.org \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox