public inbox for cygwin-apps-cvs@sourceware.org help / color / mirror / Atom feed
From: jturney@sourceware.org To: cygwin-apps-cvs@sourceware.org Subject: [setup - the official Cygwin setup program used to install Cygwin and keep it up to date] branch master, updated. release_2.880-1-g66d0ef9 Date: Tue, 20 Jun 2017 11:54:00 -0000 [thread overview] Message-ID: <20170620115401.78806.qmail@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=66d0ef9865c8ca1e0c7d691fe67d663eecb17cf1 commit 66d0ef9865c8ca1e0c7d691fe67d663eecb17cf1 Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Mon Jun 19 11:46:27 2017 +0100 Accept sites using https:// and ftps:// protocols in mirrors.lst Also report when a line from mirrors.lst is being discarded due to a URL using an unknown protocol. Diff: --- site.cc | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/site.cc b/site.cc index b05657b..c33da36 100644 --- a/site.cc +++ b/site.cc @@ -264,7 +264,9 @@ load_site_list (SiteList& theSites, char *theString) continue; /* Accept only the URL schemes we can understand. */ if (strncmp(bol, "http://", 7) == 0 || - strncmp(bol, "ftp://", 6) == 0) + strncmp(bol, "https://", 8) == 0 || + strncmp(bol, "ftp://", 6) == 0 || + strncmp(bol, "ftps://", 7) == 0) { char *semi = strchr (bol, ';'); char *semi2 = NULL; @@ -306,6 +308,10 @@ load_site_list (SiteList& theSites, char *theString) //TODO: remove and remerge *i = newsite; } + else + { + Log (LOG_BABBLE) << "Discarding line '" << bol << "' due to unknown protocol" << endLog; + } } }
reply other threads:[~2017-06-20 11:54 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=20170620115401.78806.qmail@sourceware.org \ --to=jturney@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: linkBe 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).