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>
Debian metadata updates. Adopt the package.
Block signals except during the event loop. Closes:#692233.
Previously we would interrupt whatever we were doing, willy-nilly.
Now we wait until the event loop is reentered. Symptoms could include
locking up the server with a grab, and/or spinning on the cpu.
This patch is not very portable (it uses ppoll) but I think it will
work on all Debian architectures.
In the longer term we should update to new upstream, where the last
commits were in 2013.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
.gitignore: Add a debian/.gitignore too.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>