[PATCH 0/4] setup.exe patches for improvements in mirror URL handling

Jon TURNEY jon.turney@dronecode.org.uk
Fri Nov 26 13:49:00 GMT 2010


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



More information about the Cygwin-apps mailing list