PATCH: CygWin port enhancement - 2nd revision

From: Guido Serassio <serassio@dont-contact.us>
Date: Wed, 15 Aug 2001 11:50:17 +0200

Hi,

This patch allows squid to use the hosts file from the right Windows
directory when /etc/host is not found.
The same stuff can be make in squid.conf, but with this patch the things
are automatic at runtime, so multi boot installations can be more easily
supported.
Works on all supported WIN32 platforms (9x, NT, 2000 and XP).

Other changes:

- Better GetOSVersion function, more squid "aware", added support for
Windows XP and future Windows versions.
- Added trap in WIN32_Subsystem_Init() for unknown or unsupported (WIN32s)
Windows version.
- Fixed compile warning in comm.c
- Changed exit() WIN32 hook, now less intrusive

Can it please go into HEAD? Everything is #ifdef'd or otherwise protected.

Guido

-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
Tel. : +39.011.610749
E-mail: serassio@interfree.it
         serassio@libero.it
WWW: http://www.serassio.it

Received on Wed Aug 15 2001 - 06:07:24 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:11 MST