Hello, On Tuesday 04 March 2008 12:03:12 Junio C Hamano wrote: > > +# > > +# Define FREAD_READS_DIRECTORIES if your are on a system which succeeds > > +# when attempting to read from an fopen'ed directory. > > +AC_CACHE_CHECK([whether system succeeds to read fopen'ed directory], > > + [ac_cv_fread_reads_directories], > > +[ > > +AC_RUN_IFELSE( > > + [AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], > > + [[char c; > > + FILE *f = fopen("/etc", "r"); > > Why "/etc" and not "." I have to wonder... I think "." is brilliant - ie no reason for "/etc" apart that I'm dumb. > On how many different platforms was this configure check tested on? Test works on Linux (no FREAD_READS_DIRECTORIES) and HPUXes (FREAD_READS_DIRECTORIES): HP-UX B.11.23 ia64 (Itanium) and HP-UX B.11.11 9000/800 (PaRisc) Do you want me to resend with "."? MR -- Michal Rokos NextSoft s.r.o. Vyskočilova 1/1410 140 21 Praha 4 phone: +420 267 224 311 fax: +420 267 224 307 mobile: +420 736 646 591 e-mail: michal.rokos@xxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html