bug-make
[Top][All Lists]
Advanced

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

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


From: Eli Zaretskii
Subject: [bug #63516] `include` of absolute path prepends path with `./`
Date: Fri, 16 Dec 2022 09:56:53 -0500 (EST)

Follow-up Comment #8, bug #63516 (project make):

The file name "d:foo" means on Windows "the file 'foo' in the directory that
is current on drive 'd'.  Yes, windows programs can have a separate current
directory on each drive.  You can see that if you do the following dance:

  C:\> cd foobar
  C:\foobar> d:
  D:\> cd quux
  D:\quux> c:
  C:\foobar> dir d:

The last command will show the listing of d:\quux, not of d:\.

IOW, "d:foo" is the same as "d:./foo".

So in my opinion we should treat such file names as absolute, because
prepending a "./" to them is wrong.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63516>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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