24 Nov
2025
24 Nov
'25
10:35 a.m.
Alexandre Julliard (@julliard) commented about dlls/ntdll/unix/file.c:
ret = stat( path, st ); if (ret == -1) return ret; /* is a symbolic link and a directory, consider these "reparse points" */ - if (S_ISDIR( st->st_mode )) *attr |= FILE_ATTRIBUTE_REPARSE_POINT; + if (S_ISDIR( st->st_mode )) + { + *attr |= FILE_ATTRIBUTE_REPARSE_POINT; + if (reparse_tag) *reparse_tag = IO_REPARSE_TAG_SYMLINK;
Wouldn't `IO_REPARSE_TAG_LX_SYMLINK` be more appropriate for Unix symlinks? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9504#note_123422