# HG changeset patch # User nicodvb # Date 1199125054 0 # Node ID 071927ab53575478913c52a04973a0f7ce245bbe # Parent 727b18c5824b66b67e4ab4aa1023bf127c85687d in DVDOpen(), if path_copy ends up being an empty string transform it to /; part of ogle-1778 fixed by me diff -r 727b18c5824b -r 071927ab5357 dvdread/dvd_reader.c --- a/dvdread/dvd_reader.c Mon Dec 31 18:08:06 2007 +0000 +++ b/dvdread/dvd_reader.c Mon Dec 31 18:17:34 2007 +0000 @@ -447,6 +447,11 @@ path_copy[ strlen( path_copy ) - 9 ] = '\0'; } } + + if(path_copy[0] == '\0') { + path_copy[0] = '/'; + path_copy[1] = '\0'; + } #if defined(SYS_BSD) if( ( fe = getfsfile( path_copy ) ) ) {