(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
authortron
Sun, 11 Sep 2005 09:24:17 +0000
changeset 2412 7c89a94e1be5
parent 2411 8c239fc63cf7
child 2413 b7bc7bb733ae
(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
--- a/music/extmidi.c	Sat Sep 10 15:52:19 2005 +0000
+++ b/music/extmidi.c	Sun Sep 11 09:24:17 2005 +0000
@@ -81,7 +81,7 @@
 					#endif
 				}
 			}
-			exit(1);
+			_exit(1);
 		}
 
 		case -1: