{{ message }}
gh-69214: Fix fcntl.ioctl() request type#119498
Merged
vstinner merged 1 commit intoMay 24, 2024
Merged
Conversation
Use an 'unsigned long' instead of an 'unsigned int' for the request parameter of fcntl.ioctl() to support requests larger than UINT_MAX.
Member
Author
Sorry, something went wrong.
serhiy-storchaka
approved these changes
May 24, 2024
serhiy-storchaka
left a comment
Member
There was a problem hiding this comment.
LGTM.
It could be better, because in POSIX its type is int, and on Linux we can make it stricter with bitwise=False , but this is good enough.
Sorry, something went wrong.
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
Sorry, something went wrong.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
May 24, 2024
Use an 'unsigned long' instead of an 'unsigned int' for the request parameter of fcntl.ioctl() to support requests larger than UINT_MAX. (cherry picked from commit 92fab33) Co-authored-by: Victor Stinner <vstinner@python.org>
|
Sorry, @vstinner, I could not cleanly backport this to |
Sorry, something went wrong.
Member
Author
|
Merged, thanks for the review. |
Sorry, something went wrong.
vstinner
added a commit
to vstinner/cpython
that referenced
this pull request
May 24, 2024
Use an 'unsigned long' instead of an 'unsigned int' for the request parameter of fcntl.ioctl() to support requests larger than UINT_MAX. (cherry picked from commit 92fab33)
vstinner
added a commit
that referenced
this pull request
May 24, 2024
vstinner
added a commit
to vstinner/cpython
that referenced
this pull request
Jun 1, 2024
…GH-119498) (python#119504)" This reverts commit 0bab0b3.
vstinner
added a commit
to vstinner/cpython
that referenced
this pull request
Jun 1, 2024
…GH-119498) (python#119504)" This reverts commit 0bab0b3. The change modified how negative values, like termios.TIOCSWINSZ, was treated and is actually backward incompatible.
vstinner
added a commit
to vstinner/cpython
that referenced
this pull request
Jun 1, 2024
…#119498) (python#119505)" This reverts commit 078da88. The change modified how negative values, like termios.TIOCSWINSZ, was treated and is actually backward incompatible.
estyxx
pushed a commit
to estyxx/cpython
that referenced
this pull request
Jul 17, 2024
Use an 'unsigned long' instead of an 'unsigned int' for the request parameter of fcntl.ioctl() to support requests larger than UINT_MAX.
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.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.
Use an 'unsigned long' instead of an 'unsigned int' for the request parameter of fcntl.ioctl() to support requests larger than UINT_MAX.