◐ Shell
clean mode source ↗

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

serhiy-storchaka

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>

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
gh-69214: Fix fcntl.ioctl() request type (#119498)

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
gh-69214: Fix fcntl.ioctl() request type (GH-119498)

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 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 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.

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.

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.