[io-layer] Use lstat as a fallback for stat in SetFileAttributes
commit82d9fb288c8df303df1e485a045cd15df8038deb
authorAlan McGovern <alan.mcgovern@gmail.com>
Fri, 11 Nov 2011 16:54:04 +0000 (11 16:54 +0000)
committerAlan McGovern <alan.mcgovern@gmail.com>
Fri, 11 Nov 2011 16:55:41 +0000 (11 16:55 +0000)
tree2b1a45aefe43a2f7ffaa65b02fe96d5124ffbc5d
parent9196c64c2a21272b96a822c643e1750f5c3cae0f
[io-layer] Use lstat as a fallback for stat in SetFileAttributes

Make SetFileAttributes consistent with GetFileAttributes - if
stat fails and ENOENT try to use lstat in case it's a dangling
symlink.
mono/io-layer/io.c