Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-12-11 12:07:22 +0300
committerCorinna Vinschen <corinna@vinschen.de>2006-12-11 12:07:22 +0300
commite79c01f84ed5e699e7e322ee48cded403bbb6dd3 (patch)
tree4b44b50f64b2518fde5d9c75ae5d84da1f2ee09a
parente53c5df0a1efa79a1961ceaf08afe21c9ff4ee69 (diff)
* fhandler.cc (rootdir): Fix typo in comment.
* syscalls.cc (try_to_bin): Ditto.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/fhandler.cc4
-rw-r--r--winsup/cygwin/syscalls.cc2
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;