From e79c01f84ed5e699e7e322ee48cded403bbb6dd3 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 11 Dec 2006 09:07:22 +0000 Subject: [PATCH] * fhandler.cc (rootdir): Fix typo in comment. * syscalls.cc (try_to_bin): Ditto. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/fhandler.cc | 4 ++-- winsup/cygwin/syscalls.cc | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index b947ae2df..a20dfb6bc 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2006-12-11 Corinna Vinschen + + * fhandler.cc (rootdir): Fix typo in comment. + * syscalls.cc (try_to_bin): Ditto. + 2006-12-10 Corinna Vinschen * autoload.cc (SHFileOperationA): Drop definition. diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index 26ad3e96c..f6882e874 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -1241,8 +1241,8 @@ rootdir (const char *full_path, char *root_path) *rootp = '\0'; /* This determines whether reparse points are available. Volume reparse - points on remote shares are not recognized by Windows functions like - GetVoluemInformation, nor by their native NT counterparts. */ + points on remote shares are neither recognized by Windows functions + like GetVolumeInformation, nor by their native NT counterparts. */ if (!wincap.has_guid_volumes () || GetDriveType (root_path) == DRIVE_REMOTE) return root_path; diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 8111d270d..bde4d65cf 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -211,7 +211,7 @@ try_to_bin (path_conv &win32_path, HANDLE h) win32_path.get_win32 ())); c += 20; - /* Length of thr WCHAR path in bytes. */ + /* Length of the WCHAR path in bytes. */ ULONG len = 2 * (c - recycler); /* Choose size big enough to fit a local native NT path into it. */ ULONG size = sizeof (FILE_RENAME_INFORMATION) + len + 10;