From: Johannes Sixt Date: Tue, 07 Oct 2008 06:18:11 GMT Subject: Re: [PATCH v2] correct verify_path for Windows 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. > + /* 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