Skip to content

Commit

Permalink
fixup! Win32: symlink: add support for symlinks to directories
Browse files Browse the repository at this point in the history
Fix typo.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed May 18, 2018
1 parent 915c2bc commit 4a158e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compat/mingw.c
Original file line number Diff line number Diff line change
Expand Up @@ -2823,7 +2823,7 @@ int symlink(const char *target, const char *link)
return -1;
}

/* over-allocate and fill phantom_smlink_info structure */
/* over-allocate and fill phantom_symlink_info structure */
psi = xmalloc(sizeof(struct phantom_symlink_info)
+ sizeof(wchar_t) * (len + wcslen(wtarget) + 2));
psi->wlink = (wchar_t *)(psi + 1);
Expand Down

0 comments on commit 4a158e7

Please sign in to comment.