From 399a5586a60b81daf483d543adefd025e705c6ed Mon Sep 17 00:00:00 2001 From: Laxmi Devi Date: Thu, 24 May 2018 15:04:23 +0530 Subject: Use sigaction() instead of signal() Issue is that even after ctrl+c, fgets is waiting for a newline. See signal(7) for details. We have to either use siginterrupt() together with signal(), or use sigaction() instead of signal() for registering the signal handler, in order to disable restarting a read() system call after a signal. Signed-off-by: Laxmi Devi Signed-off-by: Timo Wischer --- NEWS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index e8faa8f..237e932 100644 --- a/NEWS +++ b/NEWS @@ -4,10 +4,11 @@ jalv (1.6.1) unstable; * Add jalv -i option to ignore stdin for background use * Fix Jack deactivation * Fix potential crash when closed with worker (thanks JP Cimalando) + * Fix potential hang after Ctrl-c in console interface (thanks Laxmi Devi) * Add support for underscore in port names on command line (thanks Jośe Fernando Moyano) - -- David Robillard Thu, 20 Sep 2018 09:21:15 +0200 + -- David Robillard Thu, 20 Sep 2018 09:27:15 +0200 jalv (1.6.0) stable; -- cgit v1.2.1