aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/wscanf.c
diff options
context:
space:
mode:
authorJeremy Drake <cygwin@jdrake.com>2025-07-07 11:26:37 -0700
committerJeremy Drake <cygwin@jdrake.com>2025-07-07 11:37:14 -0700
commit41b5f280bde34a202fe1c8dff1793b1a8e62d4f7 (patch)
treed3897ceaabf27119b70509c84030916f055e77b9 /newlib/libc/stdio/wscanf.c
parent2dba849df85b9f59a0c160c37e1265a391c649bb (diff)
downloadnewlib-master.zip
newlib-master.tar.gz
newlib-master.tar.bz2
Cygwin: spawn: apply PID_NEW_PG flag to spawned childHEADmastermain
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