Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libedit



Module Name:    src
Committed By:   christos
Date:           Wed Dec 18 15:38:52 UTC 2024

Modified Files:
        src/lib/libedit: sig.c

Log Message:
>From tkoeppe@github: Specify SA_ONSTACK when setting up a signal
handler.  This allows the handler to use the alternate signal stack
if one is available in the handling thread, but has no effect
otherwise.

This change makes the signal handler respect existing choices
better. Specifically, this allows signal handlers to be set when
the process includes a Go runtime, since Go enforces that all signal
handlers in the process use the SA_ONSTACK flag (e.g. see
golang/go#20400).


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/lib/libedit/sig.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index