Re: [PATCH v2] correct verify_path for Windows
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Oct 7, 2008, 06:18 UTC
- Message-ID
- <48EAFF23.1020607@viscovery.net>
- In-Reply-To
- <20081007032623.GX21650@dpotapov.dyndns.org>
Dmitry Potapov schrieb:
> +#if defined(_WIN32) || defined(__CYGWIN__)
I think that for consistency you should use __MINGW32__ instead of _WIN32.
Show 6 quoted lines
> + /* On Windows, file names are case-insensitive */ > + case 'G': > + if ((rest[1]|0x20) != 'i') > + break; > + if ((rest[2]|0x20) != 't') > + break;
We have tolower().
-- Hannes