From 08e07699670e533e8582eb7299a891969668c15d Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 11 Sep 2005 09:24:17 +0000 Subject: (svn r2938) -Fix: Exit the child of the extmidi backend with _exit() instead of exit(), because we don't want any atexit handlers - especially flushing output streams - to run, if exec() fails Half a credit is due to Darkvater (; --- music/extmidi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'music') diff --git a/music/extmidi.c b/music/extmidi.c index 1c66b8ec6..9bd946f4e 100644 --- a/music/extmidi.c +++ b/music/extmidi.c @@ -81,7 +81,7 @@ static void DoPlay(void) #endif } } - exit(1); + _exit(1); } case -1: -- cgit v1.2.3-70-g09d2