1.1 --- a/Common/Source/CFURLAdditions.c Wed Jun 24 22:58:53 2009 -0400
1.2 +++ b/Common/Source/CFURLAdditions.c Wed Jun 24 23:00:44 2009 -0400
1.3 @@ -102,11 +102,10 @@
1.4 if (!url) {
1.5 if (path) {
1.6 CFNumberRef pathStyleNum = CFDictionaryGetValue(dict, _CFURLStringTypeKey);
1.7 - CFURLPathStyle pathStyle;
1.8 + CFURLPathStyle pathStyle = kCFURLPOSIXPathStyle;
1.9 +
1.10 if (pathStyleNum)
1.11 CFNumberGetValue(pathStyleNum, kCFNumberIntType, &pathStyle);
1.12 - else
1.13 - pathStyle = kCFURLPOSIXPathStyle;
1.14
1.15 char *filename = createFileSystemRepresentationOfString(path);
1.16 int fd = open(filename, O_RDONLY, 0);