◐ Shell
clean mode source ↗

[3.13] gh-69214: Fix fcntl.ioctl() request type (GH-119498) by miss-islington · Pull Request #119504 · python/cpython

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>

This was referenced

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.

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.