31.01.2015 14:10, Florian Weimer writes:
> Aren't current Windows file systems case-preserving? Then they
> shouldn't have no problems with .C files.
They are, but with some limitations: you can't create two files with
names differing only by case. I didn't try API functions, but here is
how it looks like in command line.
Linux:
$ touch a
$ touch A
$ touch B
$ ls
a A B
Cygwin (Windows 8.1, x64, NTFS):
$ touch a
$ touch A
$ touch B
$ ls
a B
Windows command prompt (on same system):
>echo 1 > a
>echo 1 > A
>echo 1 > B
>dir
(several non-relevant lines omitted)
31.01.2015 14:58 4 a
31.01.2015 14:58 4 B
Renaming does work:
Cygwin:
$ mv ./a ./A
$ ls
A B
Native:
>rename a A
>dir
(...)
31.01.2015 14:58 4 A
31.01.2015 14:58 4 B
--
Regards,
Mikhail Maltsev