[st][PATCH] externalpipe sigaction

This patch should be applied on top of the externalpipe patch. It
prevents the reset of the signal handler set on SIGCHILD, when the
forked process that executes the external process exits. I opted for
switching from signal to sigaction instead of rearming the signal in the
sigchld function, just because it is the recommended function (although I
tried both ways and both worked).
This commit is contained in:
bakkeby 2020-04-20 12:43:04 +02:00
parent bda5b50b99
commit 5ad2174cf9
3 changed files with 25 additions and 1 deletions

View file

@ -68,6 +68,13 @@
*/
#define EXTERNALPIPE_PATCH 0
/* This patch prevents the reset of the signal handler set on SIGCHILD, when
* the forked process that executes the external process exits.
* This patch depends on EXTERNALPIPE_PATCH being enabled.
* https://lists.suckless.org/hackers/2004/17216.html
*/
#define EXTERNALPIPE_SIGACTION_PATCH 0
/* This patch allows command line applications to use all the fancy key combinations
* that are available to GUI applications.
* https://st.suckless.org/patches/fix_keyboard_input/