Michal Rokos <michal.rokos@xxxxxxxxxxx> writes: > Hello, "Hello," not wanted in the commit log message. > this patch adds missing tests for FREAD_READS_DIRECTORIES. > > Signed-off-by: Michal Rokos <michal.rokos@xxxxxxxxxxx> > +# > +# 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... On how many different platforms was this configure check tested on? -- 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