◐ Shell
clean mode source ↗

[3.12] gh-69214: Fix fcntl.ioctl() request type (#119498) by vstinner · Pull Request #119505 · 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)

This was referenced

May 24, 2024

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.