On Wed, Apr 22, 2020 at 11:48 AM Brandon Casey <drafnel@xxxxxxxxx> wrote: > I just wrote a test program and tested on Linux, Darwin, and Windows. > Linux and Darwin both succeed to fopen() a directory and fail to > fread() it, as expected. Windows fails to fopen() a directory. I just want to be clear here, so based on the above, Linux and Darwin should _not_ need to have FREAD_READS_DIRECTORIES set. Windows, as always, is a stickier subject. Based on the above, Windows should not need FREAD_READS_DIRECTORIES either. It's not set when MSVC is the compiler, but it is set for cygwin. -Brandon