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

Re: v2.52.0-rc0 test failure on cygwin

From
Johannes Sixt <j6t@kdbg.org>
Date
Nov 6, 2025, 18:27 UTC
Message-ID
<bdba6156-e286-492f-a64d-52bdcf074ea1@kdbg.org>
In-Reply-To
<aQx-RnNX28BPU2cS@pks.im>
Am 06.11.25 um 11:53 schrieb Patrick Steinhardt:
Show 6 quoted lines
> On Tue, Nov 04, 2025 at 11:49:46PM +0000, Ramsay Jones wrote:
>> So, not really an answer, but I have noted several times over the years
>> that cygwin seems to delay setting some file attributes until after the
>> process has exited ... [yeah, I don't see how either! ;) ].
> 
> What? That's horrible if true. How doesn't this cause more issues?

Unlike POSIX write(), Windows's WriteFile() doesn't update the modification time stamp immediately. It's only updated when the last file handle is closed.

https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-writefile
> When writing to a file, the last write time is not fully updated until
> all handles used for writing have been closed.
-- Hannes
Previous: Patrick SteinhardtNext: Ramsay Jones
Message 3 of 6 in “v2.52.0-rc0 test failure on cygwin”
  1. Ramsay JonesNov 4, 2025
  2. Patrick SteinhardtNov 6, 2025
  3. Johannes SixtNov 6, 2025
  4. Ramsay JonesNov 6, 2025
  5. Ramsay JonesNov 6, 2025
  6. Patrick SteinhardtNov 7, 2025

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.