bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Do not assume glibc glob internals


From: Eli Zaretskii
Subject: Re: [PATCH] Do not assume glibc glob internals
Date: Sat, 30 Sep 2017 11:00:16 +0300

> Cc: address@hidden, address@hidden
> From: Paul Eggert <address@hidden>
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]