chiark / gitweb /
Revert "Block signals except during the event loop."
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 4 Jan 2017 00:43:15 +0000 (00:43 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 4 Jan 2017 00:48:56 +0000 (00:48 +0000)
commite4a2a28e51f9a4f57ef146406579d72be894a520
tree70437db337b802412c28a5b967513c8d76bd6ba1
parentee0f734bacdba9aa4fd9b42d18936776be09ada8
Revert "Block signals except during the event loop."

This approach leaks the blocking signal mask into subprocesses,

It could be fixed by finding all the places where we fork and exec,
but vtwm likes to use system and popen, which are hard to adjust
since there is no hook which runs in the child.  (We could use
pthread_atfork but then we'd have to link against pthreads...)

This reverts commit 91b2ee084430dbe5d81d32d15e06b53d931514d9.
(apart from the changelog entry)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
events.c
events.h
twm.c