diff options
| author | Takashi Yano <takashi.yano@nifty.ne.jp> | 2026-03-03 22:00:56 +0900 |
|---|---|---|
| committer | Takashi Yano <takashi.yano@nifty.ne.jp> | 2026-03-06 08:32:05 +0900 |
| commit | db6269c2aee5f797cb8e2c71ac902e50acd29b20 (patch) | |
| tree | 09b7a8cc0de1968b8b98ca030f05b5af417e60fa /libgloss/arm/linux-syscalls0.S | |
| parent | b7541ef1242ac2e5d46fb1ac8704024f99042c47 (diff) | |
| download | newlib-main.zip newlib-main.tar.gz newlib-main.tar.bz2 | |
Cygwin: pty: Do not switch input to to_nat if native app is backgroundHEADgithub/mastergithub/mainmastermain
If the native (non-cygwin) app is started as background process,
the input should be kept in to_cyg mode because input data should
go to the cygwin shell that start the non-cygwin app. However,
currently it is switched to to_nat mode in a short time and reverted
to to_cyg mode just after that.
With this patch, to avoid this behaviour, switching to to_nat mode
is inhibited by checking PGID of the process, that is newly created
for a background process and differs from PGID of the tty.
Fixes: Fixes: 9fc746d17dc3 ("Cygwin: pty: Fix transferring type-ahead input between input pipes.")
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
Reviewed-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Diffstat (limited to 'libgloss/arm/linux-syscalls0.S')
0 files changed, 0 insertions, 0 deletions
