> Cc: psm...@gnu.org, bug-make@gnu.org > From: Paul Eggert <egg...@cs.ucla.edu> > Date: Fri, 29 Sep 2017 17:39:47 -0700 > > Eli Zaretskii wrote: > > OK, and where is the support for that implemented in GNU Make? > > There is no special implementation for it. GNU Make calls stat("foo/", ...), > and > on POSIXish systems this returns -1 and sets errno==ENOTDIR if foo is a > regular > file, so GNU Make acts on the assumption that foo does not exist.
I meant where this behavior is implicitly assumed by Make. But I think I found it: remake.c:name_mtime. So I fixed the call to 'stat' there to emulate the Posix behavior on MS-Windows. Thanks. _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make