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:
authorChristopher Faylor <me@cgf.cx>2003-03-04 08:30:50 +0300
committerChristopher Faylor <me@cgf.cx>2003-03-04 08:30:50 +0300
commit229f2bb465857664fcff62336e92166d1a9f7667 (patch)
tree6a17fd9ec607922550ad2740e9a701fdfe798a98 /winsup/utils/path.cc
parentc418817ed89c9b3812cdc396f8d51ae285161ce3 (diff)
* Makefile.in (strace.exe): Include mingw_getopt.o in link line.
* cygcheck.cc (print_version): Update copyright. * strace.cc (print_version): Ditto. (main): Allow cygwin paths for -o option. (create_child): Allow cygwin path as argv[0]. * path.cc (path.cc): Allow UNC paths.
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++;
}