-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't create files called "con." or "aux." #10
Comments
From a Raymond Chen blogspot (2003):
|
@driver1998 They do not mean anything outside Win32. Within Win32, they're not limited to command line apps. The reason that NUL doesn't do anything is because it's the null device (equivalent to The reason that you can access these files using The bottom line is that one can always create files with reserved names, but it's not going to play well with the vast majority of Win32 programs. For old-timers, the need of these special handlings arises from compatibility requirements. For newer programs, one can regard the need of using |
Sorry - this is a 30+ year old platform limitation with wide-ranging compatibility issues. |
Not sure if it's actually in scope since not directly speed related but yes.
When developing cross platform, you have to take extra care to not call files like this.
This is also causing trouble for many cross platform open source tools/communities that have to work around it, see rust-lang/crates.io#695 as example.
The text was updated successfully, but these errors were encountered: