]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'cf/wrapper-bsd-eloop'
authorJunio C Hamano <gitster@pobox.com>
Fri, 16 May 2025 00:24:55 +0000 (17:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 16 May 2025 00:24:55 +0000 (17:24 -0700)
The fallback implementation of open_nofollow() depended on
open("symlink", O_NOFOLLOW) to set errno to ELOOP, but a few BSD
derived systems use different errno, which has been worked around.

* cf/wrapper-bsd-eloop:
  wrapper: NetBSD gives EFTYPE and FreeBSD gives EMFILE where POSIX uses ELOOP

1  2 
wrapper.c

diff --cc wrapper.c
Simple merge