git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] Make sure objects/pack exists before creating a new pack

From
Mike Ralphson <mike.ralphson@gmail.com>
Date
Feb 26, 2009, 15:54 UTC
Message-ID
<e2b179460902260754t38618c3fsf22a699ec35070cf@mail.gmail.com>
In-Reply-To
<49A6B5E8.8040306@viscovery.net>
2009/2/26 Johannes Sixt <j.sixt@viscovery.net>:
Show 17 quoted lines
> Mike Ralphson schrieb:
>> Even with j6t's patch, I'm seeing failures in t5300--pack-object.sh on AIX 5.3
>>
>> * FAIL 15: survive missing objects/pack directory
>> fatal: Unable to create temporary file (): No such file or directory
>
> I can confirm this. Your patch is good. I wrapped it up:
>
> -- snip --
> From: Mike Ralphson <mike.ralphson@gmail.com>
> Subject: [PATCH] Fix odb_mkstemp() on AIX
>
> The AIX mkstemp() modifies its template parameter to an empty string if
> the call fails.  The existing code had already recomputed the template,
> but too late to be good.
>
> See also 6ff6af62, which fixed this problem in a different spot.
Ah, I should have remembered that one.
If my $DAYJOB email address could be used in the From, as per this s-o-b:
Signed-off-by: Mike Ralphson <mike@abacus.co.uk>
Thanks.
Previous: Johannes SixtNext: Junio C Hamano
Message 9 of 10 in “git-push error: Cannot write keep file”
  1. Rafael Darder CalvoFeb 24, 2009
  2. Junio C HamanoFeb 24, 2009
  3. Rafael Darder CalvoFeb 24, 2009
  4. Make sure objects/pack exists before creating a new packJunio C Hamano, Feb 25, 2009
  5. Junio C HamanoFeb 25, 2009
  6. Johannes SixtFeb 26, 2009
  7. Mike RalphsonFeb 26, 2009
  8. Johannes SixtFeb 26, 2009
  9. Mike RalphsonFeb 26, 2009
  10. Junio C HamanoFeb 26, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.