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

Re: v2.52.0-rc0 test failure on cygwin

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Nov 6, 2025, 21:00 UTC
Message-ID
<5450446b-c1b9-4701-ae21-26da6ae35f52@ramsayjones.plus.com>
In-Reply-To
<bdba6156-e286-492f-a64d-52bdcf074ea1@kdbg.org>
On 06/11/2025 6:27 pm, Johannes Sixt wrote:
Show 17 quoted lines
> Am 06.11.25 um 11:53 schrieb Patrick Steinhardt:
>> 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.
>

Yep, I deliberately said 'seems to ...' because I have very little by way of hard facts! ;)

Well, except, in approx 1996 on windows NT3.51 (on the only occasion that I did any commercial windows programming), I had a 'problem' with what appeared to be a 'late' update to a file attribute (I can't remember which one - it could have been time related, rather than permissions). A 'windows expert' (which I have never been) gave me a workaround for the 'windows filesystem bug' (his words).

It was at this time that I first used cygwin (beta 14 I think - I still have the cygnus solutions CD somewhere). I had managed to not use windows of any description before then, so I was absolutely horrified by the awful development environment that greeted me! (even with the visual C++ GUI). So, on every laptop since then, I have immediately installed cygwin, along with dual-booting linux.

In a small way, I have tried to 'pay back' the cygwin developers, who saved me from going crazy during that project! ;)

ATB, Ramsay Jones

Previous: Johannes SixtNext: Ramsay Jones
Message 4 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.