Re: [PATCH 21/40] Windows: Disambiguate DOS style paths from SSH URLs.
- From
Johannes Sixt <johannes.sixt@telecom.at>
- Date
- Feb 28, 2008, 20:51 UTC
- Message-ID
- <200802282151.29272.johannes.sixt@telecom.at>
- In-Reply-To
- <alpine.LSU.1.00.0802281522190.22527@racer.site>
On Thursday 28 February 2008 16:22, Johannes Schindelin wrote:
Show 11 quoted lines
> On Wed, 27 Feb 2008, Johannes Sixt wrote:
> > +#ifdef __MINGW32__
> > + /* host must have at least 2 chars to catch DOS C:/path */
> > + if (path && path - end > 1)
> > +#else
> > + if (path)
> > +#endif
> > + {
>
> This could be un-#ifdef'ed by using the has_dos_drive_prefix() function I
> suggested earlier.Ah, great! I'm convinced.
-- Hannes