autoconf: Test FREAD_READS_DIRECTORIES
authorMichal Rokos <michal.rokos@nextsoft.cz>
Tue, 11 Mar 2008 08:48:34 +0000 (09:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Mar 2008 09:10:43 +0000 (02:10 -0700)
commit8ce1f243e5456eab52486b955389be2521dfcca5
treee58ad41abd98a26bd62439d7a962f6f229d8b600
parent50753d00d691c1ea16bc72446705aee2c128fc2f
autoconf: Test FREAD_READS_DIRECTORIES

Add test for FREAD_READS_DIRECTORIES to detect when fread() reads fopen'ed
directory.

Tested on these platforms:

  AIX 5.3 - FREAD_READS_DIRECTORIES=UnfortunatelyYes
  HP-UX B.11.11 - FREAD_READS_DIRECTORIES=UnfortunatelyYes
  HP-UX B.11.23 - FREAD_READS_DIRECTORIES=UnfortunatelyYes
  Linux 2.6.25-rc4 - FREAD_READS_DIRECTORIES=
  Tru64 V5.1 - FREAD_READS_DIRECTORIES=UnfortunatelyYes
  Windows - FREAD_READS_DIRECTORIES=

Signed-off-by: Michal Rokos <michal.rokos@nextsoft.cz>
Tested-by: Mike Ralphson <mike@abacus.co.uk>
Tested-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.in
configure.ac