[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] Do not use DOS paths on Cygwin
From: |
Christopher Faylor |
Subject: |
Re: [PATCH 2/2] Do not use DOS paths on Cygwin |
Date: |
Fri, 2 Aug 2013 22:58:39 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Wed, Jul 31, 2013 at 10:11:40AM -0400, Paul Smith wrote:
>On Wed, 2013-07-31 at 10:37 +0400, Pavel Fedin wrote:
>>Looks like, if you want DOS paths, and running under Cygwin, an
>>explicit conversion has to be performed on getcwd() result using
>>cygwin_conv_path(). However i did not test this further because i
>>follow official Cygwin way of doing things, and Cygwin deprecates usage
>>of DOS style paths, obviously because they create lots of problems in
>>UNIX utilities which are not modified to handle them. Cygwin even
>>warns you when some API functions get DOS paths.
>
>Perhaps we need to split the HAVE_DOS_PATHS flag into two flags:
>something like ACCEPT_DOS_PATHS which enables various pathname parsing
>functions to understand DOS-style paths, and something like
>RETURN_DOS_PATHS, which is used in functions that generate absolute
>pathnames like abspath etc. to decide whether the generated pathname
>should be DOS-like or UNIX-like.
>
>I'm not sure what cygwin_conv_path() does or whether it is needed or
>useful in this situation.
Cygwin understands MS-DOS style paths just fine so I don't think there's
any reason for make to do conversions.
cgf
- Re: [PATCH 2/2] Do not use DOS paths on Cygwin, (continued)
- Re: [PATCH 2/2] Do not use DOS paths on Cygwin, Eli Zaretskii, 2013/08/06
- RE: [PATCH 2/2] Do not use DOS paths on Cygwin, Pavel Fedin, 2013/08/06
- Re: [PATCH 2/2] Do not use DOS paths on Cygwin, Eli Zaretskii, 2013/08/06
- RE: [PATCH 2/2] Do not use DOS paths on Cygwin, Pavel Fedin, 2013/08/07
- Re: [PATCH 2/2] Do not use DOS paths on Cygwin, Eli Zaretskii, 2013/08/07
- Re: [PATCH 2/2] Do not use DOS paths on Cygwin, Christopher Faylor, 2013/08/07
- RE: [PATCH 2/2] Do not use DOS paths on Cygwin, Pavel Fedin, 2013/08/08
- Re: [PATCH 2/2] Do not use DOS paths on Cygwin, Christopher Faylor, 2013/08/16
Re: [PATCH 2/2] Do not use DOS paths on Cygwin, Christopher Faylor, 2013/08/05
Re: [PATCH 2/2] Do not use DOS paths on Cygwin,
Christopher Faylor <=