diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2000-07-24 19:14:38 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2000-07-24 19:14:38 +0000 |
commit | 8b6ebe8fd56227d9ac34a51a7e7b51e54c487e20 (patch) | |
tree | 59a6622fd7e1de582e08985441227cbf490bda95 /winsup/cygwin | |
parent | 9602ffc30b29e48544c3d947367e118ad8c61c92 (diff) | |
download | newlib-8b6ebe8fd56227d9ac34a51a7e7b51e54c487e20.zip newlib-8b6ebe8fd56227d9ac34a51a7e7b51e54c487e20.tar.gz newlib-8b6ebe8fd56227d9ac34a51a7e7b51e54c487e20.tar.bz2 |
* syscalls.cc (_link): Corrected previous patch.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/syscalls.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 37e60c3..a786981 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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 diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 3e67c09..1bc3a7f 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -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; |