Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 1 | Upstream-Status: Inappropriate |
| 2 | |
| 3 | RPI-Distro repo forks original vlc and applies patches |
| 4 | to enable raspiberry pi support. |
| 5 | |
| 6 | --- a/bin/vlc.c |
| 7 | +++ b/bin/vlc.c |
| 8 | @@ -106,7 +106,10 @@ static void vlc_kill (void *data) |
| 9 | static void exit_timeout (int signum) |
| 10 | { |
| 11 | (void) signum; |
| 12 | - signal (SIGINT, SIG_DFL); |
| 13 | +// This doesn't seem to be strong enough to reliably kill us if we fail to exit |
| 14 | +// in a timely fashion - so upgrade to _exit(). |
| 15 | +// signal (SIGINT, SIG_DFL); |
| 16 | + _exit(0); |
| 17 | } |
| 18 | |
| 19 | /***************************************************************************** |