* syscalls.cc (_link): Corrected previous patch.
This commit is contained in:
@ -547,7 +547,7 @@ _link (const char *a, const char *b)
|
||||
|
||||
lpContext = NULL;
|
||||
cygwin_conv_to_full_win32_path (real_b.get_win32 (), buf);
|
||||
cbPathLen = sys_mbstowcs (wbuf, buf, MAX_PATH);
|
||||
cbPathLen = sys_mbstowcs (wbuf, buf, MAX_PATH) * sizeof (WCHAR);
|
||||
|
||||
StreamId.dwStreamId = BACKUP_LINK;
|
||||
StreamId.dwStreamAttributes = 0;
|
||||
|
Reference in New Issue
Block a user