From 2972155f14ba0c828ab1957402bef28e1952c2e3 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sat, 16 Nov 2013 18:47:23 +0000 Subject: [PATCH] sdlmusic.c: disable FORK_EXEC_MIDI. Also, if it were to be reenabled again, use execv() instead of execvp(), i.e. don't look up $PATH for the executable. git-svn-id: https://svn.eduke32.com/eduke32@4167 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/sdlmusic.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/polymer/eduke32/source/sdlmusic.c b/polymer/eduke32/source/sdlmusic.c index 85534dbf8..dda761cb7 100644 --- a/polymer/eduke32/source/sdlmusic.c +++ b/polymer/eduke32/source/sdlmusic.c @@ -43,7 +43,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "music.h" #if !defined _WIN32 && !defined(GEKKO) -# define FORK_EXEC_MIDI 1 +//# define FORK_EXEC_MIDI 1 #endif #if defined FORK_EXEC_MIDI // fork/exec based external midi player @@ -216,15 +216,15 @@ int32_t MUSIC_Init(int32_t SoundCard, int32_t Address) perror("MUSIC_Init: mprotect"); goto fallback; } - /* - { - int i; - initprintf("----Music argv:\n"); - for (i=0; i