--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Some supported platforms have case insensitive case preserving file systems.
Some supported platforms have case insensitive case preserving file systems.Like?
Bzzzt, OS X.
You can format your HFS+ file system as case sensitive.
It is a format-time option.
Maybe at some point in the past you reformatted as case sensitive?
Try typing this on your OS X shell, does it work or return an error?$ ls /USERS/
After having a closer look, indeed: OS X won't accept two files like A.txt and a.txt in the same directory. It must have been a while since I tested my recent packages on OS X, or I would have noticed it earlier. Now I fully understand why Go1.1 has this security check.
It will *ONLY* if you have your drive formatted as case-sensitive. I think the OP has the drive formatted as case-insensitive, the default.
Gotcha. Missed that part. Mea culpa. :-)
I'm not sure why Go overrides the OS's settings and does the "Check for case-insensitive collision of input files " in pkg.go?Python doesn't have this behavior, my diff/merge tools don't either, nor do any of my c/c++ compilers. And IMHO it's not something that the Go build tool should be concerned with. Stating that it's for security reasons is specious, and naive. If an OS has its standard file system API attribute set as case-insensitive it won't allow files with the same name in the same directory that differ only in case to be created, any further checking is outside of the Go tools domain.
I'm not sure why Go overrides the OS's settings and does the "Check for case-insensitive collision of input files " in pkg.go?
I'd guess Windows, but you can enable case-sensitive if you want its just
not default because MS throught users are stupid ;-)
Yet we often use CASE to convey subtle human meanings....
Yet we often use CASE to convey subtle human meanings....
My intention was actually not to be rude but to point out that we do use case for things not solely of value to programmers and machines.
My intention was actually not to be rude but to point out that we do use case for things not solely of value to programmers and machines.
On Fri, Jul 5, 2013 at 3:41 AM, Mateusz Czapliński <czap...@gmail.com> wrote:
On Thursday, July 4, 2013 6:50:24 PM UTC+2, Joe Poirier wrote:On Thu, Jul 4, 2013 at 10:38 AM, minux <minu...@gmail.com> wrote:On Thu, Jul 4, 2013 at 11:07 PM, Joseph Poirier <jdpo...@gmail.com> wrote:
I'm not sure why Go overrides the OS's settings and does the "Check for case-insensitive collision of input files " in pkg.go?So it's to cover up spelling errors :)
"The goal is to do something [...] so that people do not inadvertently create packages that cannot be built on Windows."
https://code.google.com/p/go/issues/detail?id=4773#c5
How does the CL fix it so packages that couldn't previously be built on Windows-when the correct spelling was used-can be built now?