Merge branch 'cb/openbsd-allows-reading-directory'
authorJunio C Hamano <gitster@pobox.com>
Mon, 14 Jan 2019 23:29:30 +0000 (15:29 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 Jan 2019 23:29:30 +0000 (15:29 -0800)
BSD port update.

* cb/openbsd-allows-reading-directory:
config.mak.uname: OpenBSD uses BSD semantics with fread for directories

config.mak.uname
index 3ee7da0e230c4c33e79ae2f3cf498a5cd7cc4881..378ca0a582b642f3b32b840788d62a047baf6525 100644 (file)
@@ -233,6 +233,7 @@ ifeq ($(uname_S),OpenBSD)
        HAVE_BSD_SYSCTL = YesPlease
        HAVE_BSD_KERN_PROC_SYSCTL = YesPlease
        PROCFS_EXECUTABLE_PATH = /proc/curproc/file
+       FREAD_READS_DIRECTORIES = UnfortunatelyYes
 endif
 ifeq ($(uname_S),MirBSD)
        NO_STRCASESTR = YesPlease