This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]