29 Jan
2025
29 Jan
'25
9:45 a.m.
eric pouech (@epo) commented about dlls/ntdll/unix/file.c:
dir_data_cache_size = size; }
- if (!dir_data_cache[entry]) status = init_cached_dir_data( &dir_data_cache[entry], fd, mask ); + /* If we have an existing cache entry then set the flag to indicate that the handle is not fresh */ + if (dir_data_cache[entry]) fresh_handle = FALSE;
fresh_handle = dir_data_cache\[entry\] == NULL; should be simpler (and removing init in fresh_handle declaration) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6904#note_93181