29 Jan
2025
29 Jan
'25
9:45 a.m.
eric pouech (@epo) commented about dlls/ntdll/unix/file.c:
cwd = open( ".", O_RDONLY ); if (fchdir( fd ) != -1) { - if (!(status = get_cached_dir_data( handle, &data, fd, mask ))) + status = get_cached_dir_data( handle, &data, fd, mask, restart_scan ); + if (!status) { union file_directory_info *last_info = NULL;
if (restart_scan) data->pos = 0;
nitpick: that would make more sense to move this line to get_cached_dir_data -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6904#note_93182