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

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to