Skip to content
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

[3.12] gh-69214: Fix fcntl.ioctl() request type (#119498) #119505

Merged
merged 1 commit into from
May 24, 2024

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented 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)

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 vstinner enabled auto-merge (squash) May 24, 2024 12:35
@vstinner vstinner merged commit 078da88 into python:3.12 May 24, 2024
28 checks passed
@vstinner vstinner deleted the ioctl_long312 branch May 24, 2024 12:53
@bedevere-app
Copy link

bedevere-app bot commented Jun 1, 2024

GH-119905 is a backport of this pull request to the 3.12 branch.

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.
vstinner added a commit that referenced this pull request Jun 1, 2024
…) (#1… (#119905)

Revert "[3.12] gh-69214: Fix fcntl.ioctl() request type (#119498) (#119505)"

This reverts commit 078da88.

The change modified how negative values, like termios.TIOCSWINSZ, was
treated and is actually backward incompatible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant