https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127759
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-16 branch has been updated by Eric Botcazou <[email protected]>: https://gcc.gnu.org/g:484bd2e2b5d1c44211f7bf7c2aa5d711ede9d22b commit r16-9746-g484bd2e2b5d1c44211f7bf7c2aa5d711ede9d22b Author: Hodong Kim <[email protected]> Date: Wed Oct 7 23:41:24 2026 +0200 Ada: Fix oversight in GNAT.Sockets.Thin As reported in the PR, both C_Accept and C_Socket call Disable_SIGPIPE unconditionally, in other words even though the descriptor is invalid. gcc/ada/ PR ada/127759 * libgnat/g-socthi.adb (C_Accept): Do not call Disable_SIGPIPE on failure. (C_Socket): Likewise.
