From 08e07699670e533e8582eb7299a891969668c15d Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 11 Sep 2005 09:24:17 +0000 Subject: [PATCH] (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(-) diff --git a/music/extmidi.c b/music/extmidi.c index 1c66b8ec6a..9bd946f4e3 100644 --- a/music/extmidi.c +++ b/music/extmidi.c @@ -81,7 +81,7 @@ static void DoPlay(void) #endif } } - exit(1); + _exit(1); } case -1: