Files
git/compat
lchiocca c4925c20fd The stat() function should be independent of core.symlinks
The contract for the stat() and lstat() function is:
> stat():  stats the file pointed to by path and fills in buf.
> lstat(): is identical to stat(), except that if path is a symbolic link,
>          then the link itself is stat-ed, not the file that it refers to.

stat() should always return the statistics of the file or directory a
symbolic link is pointing to. The lstat() function is used to get the
stats for the symlink. Hence the check should not be there.

Signed-off-by: Loris Chiocca <loris@chiocca.ch>
2017-01-10 23:36:53 +01:00
..
2016-01-04 09:51:33 -08:00
2013-09-11 11:08:52 -07:00
2013-04-12 12:23:20 -07:00