Karsten Blees b908441ea5 Win32: implement stat() with symlink support
With respect to symlinks, the current stat() implementation is almost the
same as lstat(): except for the file type (st_mode & S_IFMT), it returns
information about the link rather than the target.

Implement stat by opening the file with as little permissions as possible
and calling GetFileInformationByHandle on it. This way, all link resoltion
is handled by the Windows file system layer.

If symlinks are disabled, use lstat() as before, but fail with ELOOP if a
symlink would have to be resolved.

Signed-off-by: Karsten Blees <blees@dcon.de>
2015-05-16 01:18:14 +02:00
2015-05-01 15:35:58 +02:00
2015-05-01 15:35:57 +02:00
2015-03-17 16:01:27 -07:00
2015-05-01 15:33:30 +02:00
2015-05-01 15:33:30 +02:00
2015-04-30 11:25:06 -07:00
2015-03-27 13:02:32 -07:00
2015-05-01 15:35:59 +02:00
2015-05-01 15:36:00 +02:00
2015-03-23 11:12:58 -07:00
2015-04-27 12:25:36 -07:00
2015-03-22 21:39:16 -07:00
2015-03-22 21:39:18 -07:00

Git for Windows

Join the chat at https://gitter.im/git-for-windows/git

This is the source code of Git for Windows, forked from Git.

This project is run by a governance model. If you encounter problems, you can report them as GitHub issues, discuss them on Git for Windows' Google Group, and contribute bug fixes.

Description
No description provided
Readme 660 MiB
Languages
C 50.5%
Shell 38.8%
Perl 4.4%
Tcl 3.2%
Python 0.8%
Other 2.1%