From: Elizabeth Figura <zfigura@codeweavers.com> --- dlls/ntdll/tests/directory.c | 2 +- dlls/ntdll/unix/file.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/ntdll/tests/directory.c b/dlls/ntdll/tests/directory.c index 9349f846a28..8ca34a24ab7 100644 --- a/dlls/ntdll/tests/directory.c +++ b/dlls/ntdll/tests/directory.c @@ -1687,7 +1687,7 @@ static void test_info_classes(void) { const FILE_ID_EXTD_BOTH_DIRECTORY_INFORMATION *info = (void *)buffer; todo_wine ok( info->EaSize >= 8 && info->EaSize <= 16, "got %#lx\n", info->EaSize ); - todo_wine ok( !info->ReparsePointTag, "got tag %#lx\n", info->ReparsePointTag ); + ok( !info->ReparsePointTag, "got tag %#lx\n", info->ReparsePointTag ); check_string( info->FileName, info->FileNameLength, L"file2" ); break; } diff --git a/dlls/ntdll/unix/file.c b/dlls/ntdll/unix/file.c index 4c36bec9e7c..90267736db7 100644 --- a/dlls/ntdll/unix/file.c +++ b/dlls/ntdll/unix/file.c @@ -1784,6 +1784,7 @@ static int get_file_info( const char *path, struct stat *st, ULONG *attr, ULONG *attr = 0; ret = lstat( path, st ); if (ret == -1) return ret; + if (reparse_tag) *reparse_tag = 0; if (S_ISLNK( st->st_mode )) { ret = stat( path, st ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10105