Skip to content
Permalink
Browse files

fixup! Win32: symlink: add support for symlinks to directories

Fix typo.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information...
dscho committed May 18, 2018
1 parent 915c2bc commit 4a158e75a4b36ba5fb90ba4d35e583508a02c70e
Showing with 1 addition and 1 deletion.
  1. +1 −1 compat/mingw.c
@@ -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);

0 comments on commit 4a158e7

Please sign in to comment.
You can’t perform that action at this time.