]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'js/simple-ipc-cygwin-socket-fix'
authorJunio C Hamano <gitster@pobox.com>
Wed, 10 Nov 2021 23:01:20 +0000 (15:01 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Nov 2021 23:01:20 +0000 (15:01 -0800)
The way Cygwin emulates a unix-domain socket, on top of which the
simple-ipc mechanism is implemented, can race with the program on
the other side that wants to use the socket, and briefly make it
appear as a regular file before lstat(2) starts reporting it as a
socket.  We now have a workaround on the side that connects to a
unix domain socket.

* js/simple-ipc-cygwin-socket-fix:
  simple-ipc: work around issues with Cygwin's Unix socket emulation


Trivial merge