diff options
author | tron <tron@openttd.org> | 2005-09-11 09:24:17 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-09-11 09:24:17 +0000 |
commit | 08e07699670e533e8582eb7299a891969668c15d (patch) | |
tree | 9a25b568b74936f5482d5bd6999d1d7cce8206ff /music | |
parent | 8894b930aec401e1180f83cb58fde09aa659936d (diff) | |
download | openttd-08e07699670e533e8582eb7299a891969668c15d.tar.xz |
(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 (;
Diffstat (limited to 'music')
-rw-r--r-- | music/extmidi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |