dvtm

dynamic virtual terminal manager - with my changes
git clone https://pi.duncano.de/git/dvtm.git
Log | Files | Refs | README | LICENSE

commit 7adbe7091682135b319f4b46a0f2b793901c0513
parent 1fbfb22cb4e9d63954688a1c1aa1f64eb642ed5b
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 16 Oct 2014 22:49:49 +0200

Use volatile sig_atomic_t for variables set inside signal handler

Diffstat:
dvtm.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dvtm.c b/dvtm.c @@ -60,7 +60,7 @@ struct Client { Vt *term; Vt *editor, *app; int editor_fds[2]; - bool editor_died; + volatile sig_atomic_t editor_died; const char *cmd; char title[255]; int order; @@ -72,7 +72,7 @@ struct Client { unsigned short int h; bool has_title_line; bool minimized; - bool died; + volatile sig_atomic_t died; Client *next; Client *prev; };