On 02/05/2018 11:18 AM, Alan Third wrote: > > Yes, it fixes the problem here. > > Is this a known issue with macOS? It's news to me and it's not listed in the Gnulib portability gotcha list. What happens if you run the attached program on macOS? It creates a file "file" and then tries to access it as a directory, which should not work.