Repository navigation
lib/fs: Add COM0 and LPT0 to invalid Windows file names - #7013
Merged
Merged
Conversation
COM0 and LPT0 are not listed in the official Microsoft's documentation at https://docs.microsoft.com/windows/win32/fileio/naming-a-file, but in reality are also invalid in Windows Explorer. Signed-off-by: Tomasz Wilczyński <[email protected]>
Member
Author
calmh
approved these changes
Sep 28, 2020
calmh
added a commit
to calmh/syncthing
that referenced
this pull request
Sep 29, 2020
* main: lib/fs: Add COM0 and LPT0 to invalid Windows file names (ref syncthing#7008) (syncthing#7013) lib/fs: Be even more strict about Windows names (ref syncthing#7008) (syncthing#7012) lib/fs: Be more clear about invalid file names (ref syncthing#7010) (syncthing#7011) lib/model: Disallow reserved names, and names ending with period on Windows (fixes syncthing#7008) (syncthing#7010) lib/model, lib/scanner: Prevent races aborting scans (fixes syncthing#6994) (syncthing#6997) lib/fs: Use file clone ioctl wrappers and types from golang.org/x/sys/unix (syncthing#7000) Update config.yml gui, man, authors: Update docs, translations, and contributors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

COM0 and LPT0 are not listed in the official Microsoft's documentation
at https://docs.microsoft.com/windows/win32/fileio/naming-a-file, but
in reality are also invalid in Windows Explorer.
Signed-off-by: Tomasz Wilczyński [email protected]