public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
From: yselkowitz@sourceware.org
To: cygwin-apps-cvs@sourceware.org
Subject: [setup] branch master, updated. release_2.871-17-g5c3a215
Date: Mon, 12 Oct 2015 17:36:00 -0000	[thread overview]
Message-ID: <20151012173605.58679.qmail@sourceware.org> (raw)




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


                 reply	other threads:[~2015-10-12 17:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151012173605.58679.qmail@sourceware.org \
    --to=yselkowitz@sourceware.org \
    --cc=cygwin-apps-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).