Skip to content

Commit 31d6894

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 3223ed7 commit 31d6894

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
@@ -1060,7 +1060,7 @@ CF_PRIVATE void _CFIterateDirectory(CFStringRef directoryPath, Boolean appendSla
10601060
}
10611061

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

0 commit comments

Comments
 (0)