diff options
author | Laxmi Devi <Laxmi.Devi@in.bosch.com> | 2018-05-24 15:04:23 +0530 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-20 10:30:26 +0200 |
commit | 399a5586a60b81daf483d543adefd025e705c6ed (patch) | |
tree | dbd549d12a1a338d55ccfe4d104a9782d0a18965 /NEWS | |
parent | 43dd0b6fd560f97e2584364593c5e44f2262c281 (diff) | |
download | jalv-399a5586a60b81daf483d543adefd025e705c6ed.tar.gz jalv-399a5586a60b81daf483d543adefd025e705c6ed.tar.bz2 jalv-399a5586a60b81daf483d543adefd025e705c6ed.zip |
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 <Laxmi.Devi@in.bosch.com>
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 <d@drobilla.net> Thu, 20 Sep 2018 09:21:15 +0200 + -- David Robillard <d@drobilla.net> Thu, 20 Sep 2018 09:27:15 +0200 jalv (1.6.0) stable; |