[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make-3.81: bug-report: function abspath works incorrectly on widows
From: |
Eli Zaretskii |
Subject: |
Re: make-3.81: bug-report: function abspath works incorrectly on widows |
Date: |
Thu, 26 Jun 2008 21:43:17 +0300 |
> Date: Thu, 26 Jun 2008 14:44:38 +0400
> From: "Vitaly Murashev" <address@hidden>
> Cc: address@hidden
>
> > . It doesn't add an explicit drive letter to file names such as
> > "/foo/bar", and generally treats such names incorrectly.
>
> You are right, and i suppose that the best way is to keep original GNU
> Make behavior intact for this case.
> E.g. "/foo/bar" must be treated as full qualified path even on MS Windows.
No, I think it should prefix the drive letter of the current disk.
> > . It doesn't produce fully qualified file names from drive-relative
> > names such as "d:foo/bar".
>
> Not really. My patch produces the same output for "d:foo/bar"
> and for "d:/foo/bar", the result is "d:/foo/bar"
Yes, but "d:foo/bar" and "d:/foo/bar" are not the same thing. The
former refers to the current directory on drive d:, which could be
different from the root.
> > . It assumes Windows file names use only `/' as directory separator
> > character, while in reality there could be `\' as well.
>
> Yes, it does, but before my patch it assumes the same. And as i can
> understand it is a common behavior for GNU Make.
No, GNU Make supports both types of slashes.