bug-make
[Top][All Lists]
Advanced

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

Re: [bug #63516] `include` of absolute path prepends path with `./`


From: Jeffrey Walton
Subject: Re: [bug #63516] `include` of absolute path prepends path with `./`
Date: Thu, 15 Dec 2022 17:04:51 -0500

On Thu, Dec 15, 2022 at 4:17 PM anonymous <INVALID.NOREPLY@gnu.org> wrote:
>
> Follow-up Comment #4, bug #63516 (project make):
>
> I've attached my fix in case it's helpful.  Also attached is a small fix to
> `bootstrap.bat` that I had to make to get it to build with `tcc`.
>
> (file #54105, file #54106)

Regarding this from the make part of the patch:

    +    is_abs = is_abs && path[2] && (path[2] == '/');

Isn't it possible to use Windows path separator in one of the ports by
escaping the backslash? I.e., you may encounter 'C:\\..." in the wild?

(I generally don't use *nix on Windows. But I think there's some
differences among MinGW, Cygwin and MSYS2, and permissible path
separators).

Jeff



reply via email to

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