https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127759

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Eric Botcazou <[email protected]>:

https://gcc.gnu.org/g:b4ec88ebf3e3f495736deb25849990034d04195e

commit r17-4970-gb4ec88ebf3e3f495736deb25849990034d04195e
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.

Reply via email to