#Patch by Jon Schewe #PATCHOPTIONS: -p1 diff -ur gramofile-1.6P.orig/playwav.c gramofile-1.6P/playwav.c --- gramofile-1.6P.orig/playwav.c Tue Mar 28 15:07:25 2000 +++ gramofile-1.6P/playwav.c Wed Dec 27 11:17:25 2000 @@ -44,11 +44,11 @@ case FILE_EXISTS: if (usebeginendtime) - sprintf (shellcmd, "bplay_gramo -S -s 44100 -b 16 -J %ld -T %ld %s", + sprintf (shellcmd, "bplay_gramo -S -s 44100 -b 16 -J %ld -T %ld \"%s\"", (long) (begintime * 44100), (long) ((endtime - begintime) * 44100), filename); else - sprintf (shellcmd, "bplay_gramo -S -s 44100 -b 16 %s", filename); + sprintf (shellcmd, "bplay_gramo -S -s 44100 -b 16 \"%s\"", filename); /* defaults for raw files (but no -r, so .wav's supply their own parameters) - you can even listen to executables in CD quality (: */ @@ -771,11 +771,11 @@ def_prog_mode (); /* save terminal state */ if (usebeginendtime) - sprintf (shellcmd, "bplay_gramo -S -s 44100 -b 16 -J %ld -T %ld %s", + sprintf (shellcmd, "bplay_gramo -S -s 44100 -b 16 -J %ld -T %ld \"%s\"", (long) (begintime * 44100), (long) ((endtime - begintime) * 44100), filename); else - sprintf (shellcmd, "bplay_gramo -S -s 44100 -b 16 %s", filename); + sprintf (shellcmd, "bplay_gramo -S -s 44100 -b 16 \"%s\"", filename); /* defaults for raw files (but no -r, so .wav's supply their own parameters */ diff -ur gramofile-1.6P.orig/reclp_main.c gramofile-1.6P/reclp_main.c --- gramofile-1.6P.orig/reclp_main.c Tue Mar 28 15:07:25 2000 +++ gramofile-1.6P/reclp_main.c Wed Dec 27 01:17:45 2000 @@ -30,7 +30,7 @@ def_prog_mode (); /* save terminal state */ - sprintf (shellcmd, "brec_gramo -S -s 44100 -b 16 -t 6000 -w %s", + sprintf (shellcmd, "brec_gramo -S -s 44100 -b 16 -t 6000 -w \"%s\"", filename); system (shellcmd);