diff options
author | Jeremy Drake <cygwin@jdrake.com> | 2025-07-07 11:26:37 -0700 |
---|---|---|
committer | Jeremy Drake <cygwin@jdrake.com> | 2025-07-07 11:37:14 -0700 |
commit | 41b5f280bde34a202fe1c8dff1793b1a8e62d4f7 (patch) | |
tree | d3897ceaabf27119b70509c84030916f055e77b9 /newlib/libc/stdio/wscanf.c | |
parent | 2dba849df85b9f59a0c160c37e1265a391c649bb (diff) | |
download | newlib-master.zip newlib-master.tar.gz newlib-master.tar.bz2 |
Previously, it was always applied to "myself", which is only appropriate
in the case of _P_OVERLAY (aka exec). Apply the flag to "myself" only
in that case, and apply it to the new child instead in other cases.
Also, clear the flag from "myself" in the case of a failed exec.
Fixes: 8d8724ee1b5a ("Cygwin: pty: Fix Ctrl-C handling further for non-cygwin apps.")
Signed-off-by: Jeremy Drake <cygwin@jdrake.com>
Diffstat (limited to 'newlib/libc/stdio/wscanf.c')
0 files changed, 0 insertions, 0 deletions