You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CFIndexnumConverted=CFStringGetBytes(path, CFRangeMake(0, pathLen), CFStringFileSystemEncoding(), 0, true, buffer, bufLen-1, &usedLen); // -1 because we need one byte to zero-terminate.
4560
+
CFRelease(path);
4561
+
if (numConverted==pathLen) {
4562
+
buffer[usedLen] ='\0';
4563
+
return true;
4564
+
}
4565
+
}
4566
+
#else
4556
4567
if ( !resolveAgainstBase|| (CFURLGetBaseURL(url) ==NULL) ) {
CFIndexnumConverted=CFStringGetBytes(path, CFRangeMake(0, pathLen), CFStringFileSystemEncoding(), 0, true, buffer, bufLen-1, &usedLen); // -1 because we need one byte to zero-terminate.
0 commit comments