(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 67e06432921e
parent 2411 a76c0b960e92
child 2413 4ba8f2b0da2e
(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: