Brandon Casey wrote: > Junio C Hamano wrote: > >> And have Makefile set FOPEN_OPENS_DIRECTORIES on appropriate >> platforms. > > Which ones _don't_ open directories? > > Shouldn't fopen("path_to_some_directory", "r") work? Ok. It's the FOPEN_OPENS_DIRECTORIES term that confused me. fopen is expected to succeed, even on directories. It's the read that should fail but is not on HPUX. Obviously we don't want to change the read. -brandon - 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