]> Kevux Git Server - rit/commitdiff
config.mak.uname: Define FREAD_READS_DIRECTORIES for GNU/Hurd
authorJessica Clarke <jrtc27@jrtc27.com>
Wed, 22 Apr 2020 15:33:47 +0000 (16:33 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Apr 2020 17:19:28 +0000 (10:19 -0700)
GNU/Hurd is another platform that behaves like this. Set it to
UnfortunatelyYes so that config directory files are correctly processed.
This fixes the corresponding 'proper error on directory "files"' test in
t1308-config-set.sh.

Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Jessica Clarke <jrtc27@jrtc27.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.uname

index 0ab8e00..3e526f6 100644 (file)
@@ -308,6 +308,7 @@ ifeq ($(uname_S),GNU)
        NO_STRLCPY = YesPlease
        HAVE_PATHS_H = YesPlease
        LIBC_CONTAINS_LIBINTL = YesPlease
+       FREAD_READS_DIRECTORIES = UnfortunatelyYes
 endif
 ifeq ($(uname_S),IRIX)
        NO_SETENV = YesPlease