Re: [PATCH] Fix handle leak in builtin-pack-objects
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Nov 19, 2008, 13:06 UTC
- Message-ID
- <49240F6D.3030203@viscovery.net>
- In-Reply-To
- <alpine.LFD.2.00.0811190753420.27509@xanadu.home>
Nicolas Pitre schrieb:
Show 16 quoted lines
> On Wed, 19 Nov 2008, Johannes Sixt wrote: > >> Alex Riesen schrieb: >>> The opened packs seem to stay open forever. >> In my MinGW port I have the patch below that avoids that t5303 fails >> because of a pack file that remains open. (Open files cannot be replaced >> on Windows.) I had hoped that your patch would help, but it does not. >> Something else still keeps the pack file open. Can anything be done about >> that? >> >> -- Hannes >> >> From: Johannes Sixt <j6t@kdbg.org> >> Date: Mon, 17 Nov 2008 09:25:19 +0100 >> Subject: [PATCH] t5303: Do not overwrite an existing pack >>
...
> Acked-by: Nicolas Pitre <nico@cam.org>
Thanks, but I should have mentioned that at this time this patch was just meant for exposition, not inclusion. [It's just one of many, many patches needed to make the test suite pass on MinGW.]
I'd prefer a solution to the problem that the pack file remains open. Do you have an idea where git-pack-objects keeps the pack file open, even with Alex's two patches applied?
-- Hannes