public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [setup] branch master, updated. release_2.871-17-g5c3a215
@ 2015-10-12 17:36 yselkowitz
  0 siblings, 0 replies; only message in thread
From: yselkowitz @ 2015-10-12 17:36 UTC (permalink / raw)
  To: cygwin-apps-cvs




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;
     }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-12 17:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-12 17:36 [setup] branch master, updated. release_2.871-17-g5c3a215 yselkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).