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

Re: [PATCH] Brown paper bag fix for MinGW 64-bit stat

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 7, 2009, 20:00 UTC
Message-ID
<7vzlfxnlx2.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<03fcab37c921f5728deded11c07bdf32a263b79b.1236436185u.git.johannes.schindelin@gmx.de>
Johannes Schindelin <johannes.schindelin@gmx.de> writes:
Show 12 quoted lines
> When overriding the identifier "stat" so that "struct stat" will be
> substituted with "struct _stati64" everywhere, I tried to fix the calls
> to the _function_ stat(), too, but I forgot to change the earlier
> attempt "stat64" to "_stati64" there.
>
> So, the stat() calls were overridden by calls to _stati64() instead.
>
> Unfortunately, there is a function _stati64() so that I missed that
> calls to stat() were not actually overridden by calls to mingw_lstat(),
> but t4200-rerere.sh showed the error.
>
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>

Since this is a fix-up to a new on 'master', I've applied the patch myself, but how would we want to handle MinGW related patches in general?

My preference is to have somebody I can rely on receiving Acked forwards from (or pulling from).

Previous: Johannes SixtNext: Johannes Schindelin
Message 3 of 4 in “Brown paper bag fix for MinGW 64-bit stat”
  1. Brown paper bag fix for MinGW 64-bit statJohannes Schindelin, Mar 7, 2009
  2. Johannes SixtMar 7, 2009
  3. Junio C HamanoMar 7, 2009
  4. Johannes SchindelinMar 7, 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.