This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
[PATCH setup v4 5/6] Display full URLs of user sites and private mirrors
- From: Ken Brown <kbrown at cornell dot edu>
- To: cygwin-apps at cygwin dot com
- Date: Sun, 10 Dec 2017 12:49:29 -0500
- Subject: [PATCH setup v4 5/6] Display full URLs of user sites and private mirrors
- Authentication-results: sourceware.org; auth=none
- References: <20171210174930.9960-1-kbrown@cornell.edu>
---
site.cc | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/site.cc b/site.cc
index 44cd114..a1a5e3f 100644
--- a/site.cc
+++ b/site.cc
@@ -207,6 +207,12 @@ site_list_type::site_list_type (const string &_url,
idx = 0;
} while (idx > 0);
key += url;
+ if (!from_mirrors_lst)
+ {
+ /* Display full URL (without trailing slash) */
+ displayed_url = url;
+ displayed_url.erase (displayed_url.end () - 1);
+ }
}
site_list_type::site_list_type (site_list_type const &rhs)
--
2.15.1