Re: [PATCH v2] correct verify_path for Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux