Re: RFC: Issue about assumption of DOSish file-system for cygwin

Kai Tietz
2011-03-22T18:32:13Z

2011/3/22 Pedro Alves <pedro@codesourcery.com>:
> On Tuesday 22 March 2011 18:11:28, Kai Tietz wrote:
>> Ok, thanks for explaining it. I am just a bit concerned here about the
>> ABSOLUTE path detection. As then for cygwin this will be for UNIXish
>> path never true.   So it might be necessary here for cygwin case to
>> allow \|/ and <drive>':/ for absolute path detection.
>
> IS_ABSOLUTE_PATH already allows that when HAVE_DOS_BASED_FILE_SYSTEM is true.
>
> --
> Pedro Alves
>

Hmm, interesting. I look in more detail. As for DOSish file-system a
leading slash/backslash isn't necessarily an absolute path. So code is
somewhat broken for native windows.

But well, we can live by this for now.

Thanks for your time.

Kai