diff options
author | Helmut Grohne <helmut@subdivi.de> | 2016-12-14 10:08:44 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2016-12-14 10:08:44 +0100 |
commit | ef0055e5e245d331de48a62c42a85d2886d335b1 (patch) | |
tree | 28ae4a80937ff1ac0a5000071c3d883ce98b0389 /Makefile | |
parent | 3ab4d59a12b884bc0a58a6cc751cc85ca5036083 (diff) | |
download | tcvt-ef0055e5e245d331de48a62c42a85d2886d335b1.tar.gz |
fix SIGWINCH race condition during startup
Some programs (e.g. ncmpc) do not like receiving a terminal of unknown
size. Before we issue the resizepty method that would be the case. Since
there was no synchronisation between resizepty and execvp, a program
that starts quickly could run into this situation. Now we ensure that
resizepty is called before execvp using an extra pipe.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions