Skip to content

[3.13] gh-69214: Fix fcntl.ioctl() request type (GH-119498) - #119504

Merged
vstinner merged 1 commit into
python:3.13from
miss-islington:backport-92fab33-3.13
May 24, 2024
Merged

vstinner merged 1 commit into
python:3.13from
miss-islington:backport-92fab33-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented May 24, 2024 •

Copy link
Copy Markdown
Contributor

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

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>
@vstinner
vstinner enabled auto-merge (squash) May 24, 2024 12:32
@vstinner
vstinner merged commit 0bab0b3 into python:3.13 May 24, 2024
vstinner added a commit to vstinner/cpython that referenced this pull request Jun 1, 2024
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.
@bedevere-app

bedevere-app Bot commented Jun 1, 2024

Copy link
Copy Markdown

GH-119906 is a backport of this pull request to the 3.13 branch.

vstinner added a commit that referenced this pull request Jun 1, 2024
…9498) (… (#119906)

Revert "[3.13] gh-69214: Fix fcntl.ioctl() request type (GH-119498) (#119504)"

This reverts commit 0bab0b3.

The change modified how negative values, like termios.TIOCSWINSZ, was
treated and is actually backward incompatible.
@miss-islington
miss-islington deleted the backport-92fab33-3.13 branch January 2, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants