Move signal re-registration to the end of the signal handler
commitff6cfa55b885b82538098042dcccc1de117b4281
authorRoss Mohn <rpmohn@waxandwane.org>
Sat, 27 Nov 2010 10:57:45 +0000 (27 11:57 +0100)
committerMarc Andre Tanner <mat@brain-dump.org>
Sat, 27 Nov 2010 11:04:34 +0000 (27 12:04 +0100)
tree08836002b636a10ef4d2ecd7283dfcc6bbc19923
parentccd9cadf4bbc634a0db900e277a1ac2d8e9aa585
Move signal re-registration to the end of the signal handler

This fixes a subtle timing issue on AIX which resulted in a coredump.
The signal handler was being re-registered before the original signal
was actually handled, throwing the handler into an infinite loop.

Signed-off-by: Marc Andre Tanner <mat@brain-dump.org>
dvtm.c