This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
[PATCH 0/4] setup.exe patches for improvements in mirror URL handling
- From: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- To: cygwin-apps at cygwin dot com
- Cc: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- Date: Fri, 26 Nov 2010 13:48:36 +0000
- Subject: [PATCH 0/4] setup.exe patches for improvements in mirror URL handling
Revised patches with some small improvements to the way setup.exe handles mirror URLs.
I'm really not that keen on patches 3 & 4. It changes a lot of stuff around just to
change the name of a directory from e.g. 'http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f'
to 'http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin'.
Jon TURNEY (4):
Add the last element of URL path to site chooser, if interesting.
Canonicalize mirror URLs to ensure they end with a '/'
Make io_stream::exists() directory aware
Use site download directory without trailing "%2f" if it doesn't
already exist
IOStreamProvider.h | 2 +-
download.cc | 11 ++++-------
ini.cc | 5 ++---
install.cc | 2 +-
io_stream.cc | 2 +-
io_stream.h | 10 +++++++++-
io_stream_cygfile.cc | 23 +++++++++++++++++------
io_stream_cygfile.h | 2 +-
io_stream_file.cc | 15 ++++++++++-----
io_stream_file.h | 2 +-
package_source.cc | 36 +++++++++++++++++++++++++++++++++++-
package_source.h | 7 ++++++-
script.cc | 2 +-
site.cc | 33 +++++++++++++++++++++++++++++++--
14 files changed, 120 insertions(+), 32 deletions(-)
--
1.7.2.3