# HG changeset patch # User ib # Date 1319109330 0 # Node ID a7d1a3c3bc740489533ec5a8b318ab7cc989316c # Parent 3a0badbaab9c1d386996c095518327f78cc97022 Prevent adding a base path wrongly. For ports with DOS style paths, X:/ at the beginning is allowed and not unusal. It must be treated as an absolute path. diff -r 3a0badbaab9c -r a7d1a3c3bc74 playtreeparser.c --- a/playtreeparser.c Thu Oct 20 11:12:41 2011 +0000 +++ b/playtreeparser.c Thu Oct 20 11:15:30 2011 +0000 @@ -838,6 +838,8 @@ if(fl <= 0 || strstr(pt->files[i],"://") || (pt->files[i][0] == '/') #if HAVE_DOS_PATHS || (strstr(pt->files[i],":\\") == pt->files[i] + 1) + // the X:/ format is allowed as well + || (strstr(pt->files[i],":/") == pt->files[i] + 1) #endif ) continue;