summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-07-26 09:54:11 +0000
committerCorinna Vinschen <corinna@vinschen.de>2011-07-26 09:54:11 +0000
commitf4529884e55a23b2f3a727a5cc63863d73b532af (patch)
treee6cd5d03f2a636ff769fda0d3caa6cf4b145e6f9 /winsup/cygwin/path.cc
parentbce7e6e2a77a17c750869d8d3efcb0f12f03b87d (diff)
downloadcygnal-f4529884e55a23b2f3a727a5cc63863d73b532af.tar.gz
cygnal-f4529884e55a23b2f3a727a5cc63863d73b532af.tar.bz2
cygnal-f4529884e55a23b2f3a727a5cc63863d73b532af.zip
* ntdll.h: Fix typo in comment.
* path.cc: Ditto.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 003c25c0e..123829de9 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -427,7 +427,7 @@ get_nt_native_path (const char *path, UNICODE_STRING& upath, bool dos)
if (dos)
{
/* Unfortunately we can't just use transform_chars with the tfx_rev_chars
- table since only leading and trainlig spaces and dots are affected.
+ table since only leading and trailing spaces and dots are affected.
So we step to every backslash and fix surrounding dots and spaces.
That makes these broken filesystems a bit slower, but, hey. */
PWCHAR cp = upath.Buffer + 7;