diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch')
| -rw-r--r-- | meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch b/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch index d6aa9501a7..df5179e877 100644 --- a/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch +++ b/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From d8521ee967937184eadc59fff1a30740ad181a98 Mon Sep 17 00:00:00 2001 | 1 | From 86061629f4a179e740a17e53dd2c98ab47af2fe2 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex@linutronix.de> | 2 | From: Alexander Kanavin <alex@linutronix.de> |
| 3 | Date: Thu, 16 Sep 2021 16:35:37 +0200 | 3 | Date: Thu, 16 Sep 2021 16:35:37 +0200 |
| 4 | Subject: [PATCH] Lib/pty.py: handle stdin I/O errors same way as master I/O | 4 | Subject: [PATCH] Lib/pty.py: handle stdin I/O errors same way as master I/O |
| @@ -24,12 +24,13 @@ So let's treat both channels the same. | |||
| 24 | 24 | ||
| 25 | Upstream-Status: Submitted [https://github.com/python/cpython/pull/28388] | 25 | Upstream-Status: Submitted [https://github.com/python/cpython/pull/28388] |
| 26 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | 26 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> |
| 27 | |||
| 27 | --- | 28 | --- |
| 28 | Lib/pty.py | 5 ++++- | 29 | Lib/pty.py | 5 ++++- |
| 29 | 1 file changed, 4 insertions(+), 1 deletion(-) | 30 | 1 file changed, 4 insertions(+), 1 deletion(-) |
| 30 | 31 | ||
| 31 | diff --git a/Lib/pty.py b/Lib/pty.py | 32 | diff --git a/Lib/pty.py b/Lib/pty.py |
| 32 | index 8d8ce40df5..35439c6b96 100644 | 33 | index 8d8ce40..35439c6 100644 |
| 33 | --- a/Lib/pty.py | 34 | --- a/Lib/pty.py |
| 34 | +++ b/Lib/pty.py | 35 | +++ b/Lib/pty.py |
| 35 | @@ -154,7 +154,10 @@ def _copy(master_fd, master_read=_read, stdin_read=_read): | 36 | @@ -154,7 +154,10 @@ def _copy(master_fd, master_read=_read, stdin_read=_read): |
| @@ -44,6 +45,3 @@ index 8d8ce40df5..35439c6b96 100644 | |||
| 44 | if not data: | 45 | if not data: |
| 45 | fds.remove(STDIN_FILENO) | 46 | fds.remove(STDIN_FILENO) |
| 46 | else: | 47 | else: |
| 47 | -- | ||
| 48 | 2.20.1 | ||
| 49 | |||
