bug-make
[Top][All Lists]
Advanced

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

Re: [PATCH 2/2] Do not use DOS paths on Cygwin


From: Pavel Fedin
Subject: Re: [PATCH 2/2] Do not use DOS paths on Cygwin
Date: Wed, 31 Jul 2013 01:31:56 +0400

 Dear Eli Zaretskii!
 On Tue, 30 Jul 2013 18:43:10 +0300 you wrote:

> Sorry, I don't understand the problem you are trying to solve.  Could
> you please explain it in more detail?

 The actual problem with this is that Make supports either DOS or POSIX
style paths, but not simultaneously.
 I came to this when i developed my previous patch (spawn instead of
fork). I needed to rebuild Make, so i typed configure then make. For
verification i used 'make test'. All tests which use relative>absolute
path conversion failed after this. It took me some time fo figure out
what was wrong. Make failed to recognize paths starting from '/' as
absolute and corrupted them. It expected absolute paths to have form of
'x:/'.
 Actually i asked on the Cygwin ML, and they told that they just force
this option to off via config.cache.
 If someone really wants it, then maybe perhaps something like
--enable-dos-paths should be introduced ? If the user really wants DOS
paths under Cygwin, and completely understands what he is doing, then
let him specify this on the command line.

-- 
Kind regards, Pavel Fedin



reply via email to

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