On 07/03/15 17:29, YongHao Hu wrote:
What's the reason for not calling tr2_sys__Stat function here?
The handling of REPARSE_POINT in tr2_sys__Stat is different from tr2_sys__Lstat, so we need to implement it again. That's why I want to reuse my function stat_set_error.
Could you please describe the difference?
According to my testing reparse points have FILE_ATTRIBUTE_DIRECTORY attribute if it's a directory. I don't see where _Lstat behaves differently than _Stat and why reparse points needs any special handling?