Subject: Re: [PATCH v2] correct verify_path for Windows

From: Johannes Sixt <[email-masked]>
Date: Tue, 07 Oct 2008 08:18:11 +0200

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