Commit ff9df883 by Jameson Miller

Fix Windows symlinks

parent f3e49210
...@@ -103,7 +103,7 @@ static int do_lstat( ...@@ -103,7 +103,7 @@ static int do_lstat(
/* Windows symlinks have zero file size, call readlink to determine /* Windows symlinks have zero file size, call readlink to determine
* the length of the path pointed to, which we expect everywhere else * the length of the path pointed to, which we expect everywhere else
*/ */
if (fMode & S_IFLNK) { if (S_ISLNK(fMode)) {
char target[GIT_WIN_PATH]; char target[GIT_WIN_PATH];
int readlink_result; int readlink_result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment