aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc
diff options
context:
space:
mode:
authorTakashi Yano <takashi.yano@nifty.ne.jp>2025-07-24 14:36:48 +0900
committerTakashi Yano <takashi.yano@nifty.ne.jp>2025-07-24 20:55:14 +0900
commitf67a5cffe052b9e746f0baf64fb762e8b2de162d (patch)
treec50aac2679d7563b6cb3b89839fd5210c2e43446 /newlib/libc
parentf21fbcaf583e1cadcbca9e094e269632bf0f2a9d (diff)
downloadnewlib-f67a5cffe052b9e746f0baf64fb762e8b2de162d.zip
newlib-f67a5cffe052b9e746f0baf64fb762e8b2de162d.tar.gz
newlib-f67a5cffe052b9e746f0baf64fb762e8b2de162d.tar.bz2
Cygwin: Fix handling of archetype fhandler in process_fd
Previously, process_fd failed to correctly handle fhandlers using an archetype. This was due to the missing PATH_OPEN flag in path_conv, which caused build_fh_pc() to skip archetype initialization. The root cause was a bug where open() did not set the PATH_OPEN flag for fhandlers using an archetype. This patch introduces a new method, path_conv::set_isopen(), to explicitly set the PATH_OPEN flag in path_flags in fhandler_base:: open_with_arch(). Addresses: https://cygwin.com/pipermail/cygwin/2025-May/258167.html Fixes: 92ddb7429065 ("(build_pc_pc): Use fh_alloc to create. Set name from fh->dev if appropriate. Generate an archetype or point to one here.") Reported-by: Christian Franke <Christian.Franke@t-online.de> Reviewed-by: Corinna Vinschen <corinna@vinschen.de> Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
Diffstat (limited to 'newlib/libc')
0 files changed, 0 insertions, 0 deletions