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

Re: t0301-credential-cache test failure on cygwin

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Jul 13, 2022, 20:35 UTC
Message-ID
<6e9b21ff-a716-b202-e8c8-f83116b9a171@ramsayjones.plus.com>
In-Reply-To
<Ys8aJ1HSLnWFT5qB@coredump.intra.peff.net>
On 13/07/2022 20:16, Jeff King wrote:
Show 6 quoted lines
> On Wed, Jul 13, 2022 at 03:42:38PM +0100, Adam Dinwoodie wrote:
> 
> Hmm. So I had assumed that the problem was unlink()ing the socket path
> while the client was still trying to read(). If that's the case, then I
> _think_ the minimal reproduction below should also trigger the problem.
> That might give you something more useful to show to Cygwin folks.

Hmm, good find - I looked at this commit while searching the gitweb pages the other night, but didn't think it was relevant! :( Oh, well ...

I don't have too much time tonight, but I gave your program a quick try:
  $ gcc -o test-unix-sock test-unix-sock.c
  $ ./test-unix-sock
  $ ls -l my*
  ls: cannot access 'my*': No such file or directory
  $ ./test-unix-sock
  $ echo $?
  0
  $ 
HTH.

ATB, Ramsay Jones

Previous: Jeff KingNext: Jeff King
Message 12 of 15 in “t0301-credential-cache test failure on cygwin”
  1. Ramsay JonesJul 7, 2022
  2. Junio C HamanoJul 7, 2022
  3. Ramsay JonesJul 7, 2022
  4. Jeff KingJul 7, 2022
  5. Jeff KingJul 7, 2022
  6. Ramsay JonesJul 7, 2022
  7. Adam DinwoodieJul 11, 2022
  8. Adam DinwoodieJul 11, 2022
  9. Ramsay JonesJul 11, 2022
  10. Adam DinwoodieJul 13, 2022
  11. Jeff KingJul 13, 2022
  12. Ramsay JonesJul 13, 2022
  13. Jeff KingJul 7, 2022
  14. Junio C HamanoJul 7, 2022
  15. Ramsay JonesJul 7, 2022

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.