config.mak.uname: OpenBSD uses BSD semantics with fread for directories

this "fixes" test 23 (proper error on directory "files") from t1308 MirBSD likely also affected but this was only tested with OpenBSD and therefore this specific change only affects that platform the optional 'configure' sets this automatically (tested with 6.1 to 6.4) but considering this is a legacy feature it is likely that it affected all old versions and is probably what most users had been using as a workaround Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Carlo Marcelo Arenas Belón committed Dec 1, 2018 at 18:43 UTC 4e3ecbd43958b1400d6cb85fe5529beda1630e3a
1 file changed +1
config.mak.uname
+1
@@ -233,6 +233,7 @@ ifeq ($(uname_S),OpenBSD)
233 HAVE_BSD_SYSCTL = YesPlease
234 HAVE_BSD_KERN_PROC_SYSCTL = YesPlease
235 PROCFS_EXECUTABLE_PATH = /proc/curproc/file
236 + FREAD_READS_DIRECTORIES = UnfortunatelyYes
237 endif
238 ifeq ($(uname_S),MirBSD)
239 NO_STRCASESTR = YesPlease