diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-12-11 09:07:22 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-12-11 09:07:22 +0000 |
commit | e79c01f84ed5e699e7e322ee48cded403bbb6dd3 (patch) | |
tree | 4b44b50f64b2518fde5d9c75ae5d84da1f2ee09a | |
parent | e53c5df0a1efa79a1961ceaf08afe21c9ff4ee69 (diff) | |
download | cygnal-e79c01f84ed5e699e7e322ee48cded403bbb6dd3.tar.gz cygnal-e79c01f84ed5e699e7e322ee48cded403bbb6dd3.tar.bz2 cygnal-e79c01f84ed5e699e7e322ee48cded403bbb6dd3.zip |
* fhandler.cc (rootdir): Fix typo in comment.
* syscalls.cc (try_to_bin): Ditto.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/fhandler.cc | 4 | ||||
-rw-r--r-- | 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 <corinna@vinschen.de> + + * fhandler.cc (rootdir): Fix typo in comment. + * syscalls.cc (try_to_bin): Ditto. + 2006-12-10 Corinna Vinschen <corinna@vinschen.de> * 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; |