On 02/12/2014 13:47, Evgeni Golov wrote:
Hi,

On 11/26/2014 08:28 AM, Evgeni Golov wrote:
Thanks. Could you please test the following patched version:
 https://people.debian.org/~evgeni/tmp/hdapsd_20141024-3~test1_amd64.deb

What I do not really understand: read() should be interrupted on
SIGTERM/SIGUSR1, so we already should jump out of the loop!?

As far as I remember from when I looked at the code, a signal will interrupt the read() to call the signal handler. The signal handler sets a global variable and returns, which means the read() continues to wait. When the read() eventually returns the global variable is checked at the end of the main while loop which means that the program can finish.

Could any one of you confirm the package as working (properly stoping)
now, compared to the -2 version currently found in Debian?
I'd like to get it into Jessie, but can't test properly w/o the hardware.

Sorry, I missed your previous email. I'll try to test it in the next day or two.

Roger


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to