for portability, handle errno variations upon open(2) failure with O_NOFOLLOW
commit3dc1dc04a5ecf97ba3ce3f8c103c73bcfe00e31e
authorStefan Sperling <stsp@stsp.name>
Sun, 26 Sep 2021 17:40:10 +0000 (26 17:40 +0000)
committerThomas Adam <thomas@xteddy.org>
Mon, 27 Sep 2021 06:40:44 +0000 (27 07:40 +0100)
treea87a26144831bb7c5ee27fb22892da8dfb652db7
parentace90326f82adffc32a25213124922899e849771
for portability, handle errno variations upon open(2) failure with O_NOFOLLOW

Problem pointed out by naddy for FreeBSD -portable.
Discussed with millert, thomas adam, and naddy.
got/got.c
include/got_error.h
lib/error.c
lib/object_create.c
lib/worktree.c