From: Johannes Sixt Date: Thu, 28 Feb 2008 20:51:29 GMT Subject: Re: [PATCH 21/40] Windows: Disambiguate DOS style paths from SSH URLs. Message-ID: <200802282151.29272.johannes.sixt@telecom.at> In-Reply-To: On Thursday 28 February 2008 16:22, Johannes Schindelin wrote: > 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