Re: [PATCH] Reset the signal being handled
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 26, 2008, 09:34 UTC
- Message-ID
- <alpine.DEB.1.00.0805261031480.30431@racer>
- In-Reply-To
- <20080525182650.GA17806@localhost>
Hi,
On Sun, 25 May 2008, Clemens Buchacher wrote:
> This did not cause any problems, because remove_lock_file_on_signal is > only registered for SIGINT.
Only from the patch did I understand that you actually meant:
lockfile: reset the correct signal
In the function remove_lock_file_on_signal(), the signal handler for SIGINT was reset, ignoring the parameter signo.
This did not pose a problem yet, as remove_lock_file_on_signal() was only registered as a SIGINT handler.
Hth, Dscho