ntdll.dll: mark dirlink as REPARSE_POINT

Dimi Paun dimi at lattica.com
Mon May 30 17:13:46 CDT 2005


On Tue, 2005-05-31 at 00:00 +0200, Detlef Riekenberg wrote:
> -        if (S_ISDIR( st.st_mode ) && !show_dir_symlinks) return NULL;
> +        if (S_ISDIR( st.st_mode ))
> +       {
> +           if (!show_dir_symlinks)
> +           {
> +               return NULL;
> +           }else
> +           {
> +               name_is_link = FILE_ATTRIBUTE_REPARSE_POINT;
> +           }
> +       }

Minor point, but it would be more in the Wine style to code above as:

+        if (S_ISDIR( st.st_mode ))
+        {
+            if (!show_dir_symlinks) return NULL;
+            name_is_link = FILE_ATTRIBUTE_REPARSE_POINT;
+        }

-- 
Dimi Paun <dimi at lattica.com>
Lattica, Inc.




More information about the wine-patches mailing list