* syscalls.cc (_link): Corrected previous patch.

This commit is contained in:
Corinna Vinschen 2000-07-24 19:14:38 +00:00
parent 9602ffc30b
commit 8b6ebe8fd5
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Mon Jul 24 21:10:00 2000 Corinna Vinschen <corinna@vinschen.de>
* syscalls.cc (_link): Corrected previous patch.
Mon Jul 24 13:26:00 2000 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_dev_random): Add members for managing

View File

@ -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;