-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
More ErrorKinds for common errnos #79965
Commits on Jun 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0b37bb2 - Browse repository at this point
Copy the full SHA 0b37bb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82d3ef1 - Browse repository at this point
Copy the full SHA 82d3ef1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0d11a4 - Browse repository at this point
Copy the full SHA a0d11a4View commit details
Commits on Jun 18, 2021
-
ErrorKind: Reformat the error string table
* Sort alphabetically. * use ErrorKind::*; Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Configuration menu - View commit details
-
Copy full SHA for f092501 - Browse repository at this point
Copy the full SHA f092501View commit details -
ErrorKind: Reformat the mapping table (unix)
* Sort the single matches alphabetically. * use ErrorKind::*; Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Configuration menu - View commit details
-
Copy full SHA for 5513faa - Browse repository at this point
Copy the full SHA 5513faaView commit details -
ErrorKind: Reformat the mapping table (windows)
use ErrorKind::*; I don't feel confident enough about Windows things to reorder this alphabetically Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Configuration menu - View commit details
-
Copy full SHA for d59d52e - Browse repository at this point
Copy the full SHA d59d52eView commit details -
ErrorKind: Fix a spurious space
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Configuration menu - View commit details
-
Copy full SHA for 2a38dfb - Browse repository at this point
Copy the full SHA 2a38dfbView commit details -
windows errors: Change type name for ERROR_SHARING_VIOLATION
DWORD is a type alias for u32, so this makes no difference. But this entry is anomalous and in my forthcoming commits I am going to import many errors wholesale, and I spotted that my wholesale import didn't match what was here. CC: Chris Denton <christophersdenton@gmail.com> Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Configuration menu - View commit details
-
Copy full SHA for e7fb1a7 - Browse repository at this point
Copy the full SHA e7fb1a7View commit details -
Windows error codes: Move to a separate module
We're going to add many more of these. This commit is pure code motion, plus the necessary administrivia, as I have veried with the following runes: $ git-diff HEAD~ | grep '^+' |sort >plus $ git-diff HEAD~ | grep '^-' | perl -pe 's/^-/+/' |sort >min $ diff -ub min plus |less The output is precisely the expected `mod` and `use` directives. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Configuration menu - View commit details
-
Copy full SHA for 9580f33 - Browse repository at this point
Copy the full SHA 9580f33View commit details -
Windows error codes: Add very very many from mingw
Dump mingw-64's error codes into our source tree. I have verified with these runes: $ f=library/std/src/sys/windows/c/errors.rs $ diff -ub <(git-cat-file blob HEAD~:$f | sort) <(cat $f | perl -pe 's/WSABASEERR \+ (\d+)/10000 + $1/e' |sort) |grep ^- |less that this does not change any existing values. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Configuration menu - View commit details
-
Copy full SHA for 8a4b1e4 - Browse repository at this point
Copy the full SHA 8a4b1e4View commit details -
Windows error codes: Add two missing ones
For some reason these aren't in the mingw list. We'll need them shortly. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Configuration menu - View commit details
-
Copy full SHA for 655053e - Browse repository at this point
Copy the full SHA 655053eView commit details -
ErrorKind: Provide many more ErrorKinds, motivated by Unix errnos
Rationale for the mappings etc. is extensively discussed in the MR rust-lang#79965 Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Configuration menu - View commit details
-
Copy full SHA for 1ec9454 - Browse repository at this point
Copy the full SHA 1ec9454View commit details -
ErrorKind: Windows: Fix botched rebase
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Configuration menu - View commit details
-
Copy full SHA for 58d0cec - Browse repository at this point
Copy the full SHA 58d0cecView commit details -
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Configuration menu - View commit details
-
Copy full SHA for 622a45d - Browse repository at this point
Copy the full SHA 622a45dView commit details -
ErrorKind::NotSeekable: Fix reference to File::open()
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Configuration menu - View commit details
-
Copy full SHA for c8bddf3 - Browse repository at this point
Copy the full SHA c8bddf3View commit details
Commits on Jun 20, 2021
-
ErrorKind::FilesystemLoop: Generalise dscription
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Configuration menu - View commit details
-
Copy full SHA for f00975e - Browse repository at this point
Copy the full SHA f00975eView commit details -
ErrorKind: Add missing full stops
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Configuration menu - View commit details
-
Copy full SHA for 333d42d - Browse repository at this point
Copy the full SHA 333d42dView commit details