Skip to content

Commit 8208735

Browse files
committed
HACK/base: placehold the callback parameter
The previous error downgrade exposes the fact that the callback had a new parameter added that we did not provide on Windows. Provide a placeholder for now.
1 parent d69742c commit 8208735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreFoundation/Base.subproj/CFFileUtilities.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ CF_PRIVATE void _CFIterateDirectory(CFStringRef directoryPath, Boolean appendSla
10591059
}
10601060

10611061
Boolean isDirectory = file.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY;
1062-
Boolean result = fileHandler(fileName, isDirectory ? DT_DIR : DT_REG);
1062+
Boolean result = fileHandler(fileName, NULL, isDirectory ? DT_DIR : DT_REG);
10631063
CFRelease(fileName);
10641064
if (!result) break;
10651065
} while (FindNextFileW(handle, &file));

0 commit comments

Comments
 (0)