summaryrefslogtreecommitdiff
path: root/builtin/merge-tree.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-05-03 17:16:48 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-05-26 12:33:55 +0900
commite2d90fd1c33ae57e4a6da5729ae53876107b3463 (patch)
tree791930780c62dfb945dd262f1a2c2692d3f9a68e /builtin/merge-tree.c
parentclone: use xfopen() instead of fopen() (diff)
downloadtgif-e2d90fd1c33ae57e4a6da5729ae53876107b3463.tar.xz
config.mak.uname: set FREAD_READS_DIRECTORIES for Linux and FreeBSD
This variable is added [1] with the assumption that on a sane system, fopen(<dir>, "r") should return NULL. Linux and FreeBSD do not meet this expectation while at least Windows and AIX do. Let's make sure they behave the same way. I only tested one version on Linux (4.7.0 with glibc 2.22) and FreeBSD (11.0) but since GNU/kFreeBSD is fbsd kernel with gnu userspace, I'm pretty sure it shares the same problem. [1] cba22528fa (Add compat/fopen.c which returns NULL on attempt to open directory - 2008-02-08) Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/merge-tree.c')
0 files changed, 0 insertions, 0 deletions