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; + }