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:
Diffstat (limited to 'winsup/utils/path.cc')
-rw-r--r--winsup/utils/path.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/utils/path.cc b/winsup/utils/path.cc
index af957411c..e985384ce 100644
--- a/winsup/utils/path.cc
+++ b/winsup/utils/path.cc
@@ -245,7 +245,7 @@ vconcat (const char *s, va_list v)
else if (*p == '/' || *p == '\\')
{
if (p == rv && unc)
- p++;
+ *d++ = *p++;
while (p[1] == '/')
p++;
}