3 ms·
Another way for source code to be not portable is to include two files with different casing in the same directory, for example "bin" and "BIN". You can't work
by perlgeek 8y ago
Another way for source code to be not portable is to include two files with different casing in the same directory, for example "bin" and "BIN".
You can't work properly with that on the case-insensitive file systems on Windows and Mac.
- efreak 8y agoYou can actually turn on case insensitivity in windows, though not all software will like it. NT has always supported case-insensitivity (at least somewhat) via a registry key[1]. With windows 10's linux subsystem, there is now a new command to make a _directory_ case sensitive[2]. [1]: http://www.nicklowe.org/2012/02/understanding-case-sensitivity-in-windows-obcaseinsensitive-file_case_sensitive_search/ http://www.nicklowe.org/2012/02/understanding-case-sensitivi... [2]: https://blogs.msdn.microsoft.com/commandline/2018/02/28/per-directory-case-sensitivity-and-wsl/ https://blogs.msdn.microsoft.com/commandline/2018/02/28/per-...
- naikrovek 8y agoWindows is already case insensitive, no? Case insensitive but case preserving (a file named in ALL CAPS will remain ALL CAPS and can be accessed with lowercase letters as well.)