From: Junio C Hamano Date: Mon, 26 Nov 2018 06:41:34 GMT Subject: Re: [RFC PATCH 3/7] config.mak.uname: NetBSD uses BSD semantics with fread for directories Message-ID: In-Reply-To: <80755d37b29d351b7d5a8fa5d9a22b09ba7e1d0a.1543143503.git.carenas@gmail.com> Carlo Marcelo Arenas Belón writes: > this "fixes" test 23 (proper error on directory "files") from t1308 > > other BSD (OpenBSD, MirBSD) likely also affected but they will be > fixed in a different series > > the optional 'configure' sets this automatically and is probably what > most users from this platform had been doing as a workaround Yup, thanks for straightening this out. > > Signed-off-by: Carlo Marcelo Arenas Belón > --- > config.mak.uname | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/config.mak.uname b/config.mak.uname > index 3ee7da0e23..36c973c7e6 100644 > --- a/config.mak.uname > +++ b/config.mak.uname > @@ -253,6 +253,7 @@ ifeq ($(uname_S),NetBSD) > HAVE_BSD_SYSCTL = YesPlease > HAVE_BSD_KERN_PROC_SYSCTL = YesPlease > PROCFS_EXECUTABLE_PATH = /proc/curproc/exe > + FREAD_READS_DIRECTORIES = UnfortunatelyYes > endif > ifeq ($(uname_S),AIX) > DEFAULT_PAGER = more