summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2019-01-05 11:32:23 +0100
committerCorinna Vinschen <corinna@vinschen.de>2019-01-05 11:32:23 +0100
commit36ff506ddccb20c7a2c8ca35433b774d477dd694 (patch)
tree3cfc3938b6395a3cfe7982e9da6332a9900bb97c
parent844a1b4fe40db93e266cd7045c3b5c443b5d703a (diff)
downloadcygnal-36ff506ddccb20c7a2c8ca35433b774d477dd694.tar.gz
cygnal-36ff506ddccb20c7a2c8ca35433b774d477dd694.tar.bz2
cygnal-36ff506ddccb20c7a2c8ca35433b774d477dd694.zip
Cygwin: try_to_bin: fix typos in comments
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r--winsup/cygwin/syscalls.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index 73c15b133..3a7ecd218 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -271,7 +271,7 @@ try_to_bin (path_conv &pc, HANDLE &fh, ACCESS_MASK access, ULONG flags)
if (RtlEqualUnicodeString (&fname, &recycler, TRUE))
goto out;
/* Is fname really a subcomponent of the full path? If not, there's
- a high probability we're acessing the file via a virtual drive
+ a high probability we're accessing the file via a virtual drive
created with "subst". Check and accommodate it. Note that we
only get here if the virtual drive is really pointing to a local
drive. Otherwise pc.isremote () returns "true". */
@@ -313,7 +313,7 @@ try_to_bin (path_conv &pc, HANDLE &fh, ACCESS_MASK access, ULONG flags)
/* Store length of recycler base dir, if it's necessary to create it. */
recycler_base_len = recycler.Length;
/* On NTFS or ReFS the recycler dir contains user specific subdirs, which
- are the actual recycle bins per user. The name if this dir is the
+ are the actual recycle bins per user. The name of this dir is the
string representation of the user SID. */
if (fs_has_per_user_recycler)
{