This is the mail archive of the
cygwin-apps-cvs
mailing list for the cygwin-apps project.
[setup] branch master, updated. release_2.871-17-g5c3a215
- From: yselkowitz at sourceware dot org
- To: cygwin-apps-cvs at sourceware dot org
- Date: 12 Oct 2015 17:36:05 -0000
- Subject: [setup] branch master, updated. release_2.871-17-g5c3a215
https://sourceware.org/git/gitweb.cgi?p=cygwin-setup.git;h=5c3a215ed5aa345485d3ddae38c86b01fc59b091
commit 5c3a215ed5aa345485d3ddae38c86b01fc59b091
Author: Ken Brown <kbrown@cornell.edu>
Date: Fri Sep 25 10:18:31 2015 -0400
Fix creation of parent directory for file names containing colons
* mkdir.cc (mkdir_p): Remove special treatment of colon in path
name.
Diff:
---
ChangeLog | 5 +++++
mkdir.cc | 2 --
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 03f91b4..0117c42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-12 Ken Brown <kbrown@cornell.edu>
+
+ * mkdir.cc (mkdir_p): Remove special treatment of colon in path
+ name.
+
2015-08-04 Achim Gratz <Stromeko@NexGo.DE>
* package_source.h (packagesource): Add boolean member variable
diff --git a/mkdir.cc b/mkdir.cc
index dabc256..84bb176 100644
--- a/mkdir.cc
+++ b/mkdir.cc
@@ -98,8 +98,6 @@ mkdir_p (int isadir, const char *in_path, mode_t mode)
for (c = path; *c; c++)
{
- if (*c == ':')
- slash = 0;
if (*c == '/' || *c == '\\')
slash = c;
}