Re: [Squid-cvs] nt-2_5 squid/port/win32/include squid-mswin.h,1.1.2.32,1.1.2.33

From: Andrey Shorin <tolsty@dont-contact.us>
Date: Tue, 11 Oct 2005 01:22:53 +0400

Hello Guido,

Tuesday, October 11, 2005, 1:04:39, Andrey Shorin wrote:

> Update of /cvsroot/squid/squid/port/win32/include
> Modified Files:
> Tag: nt-2_5
> squid-mswin.h
> Log Message:
> No sys/param.h on Windows, so MAXHOSTNAMELEN and hence SQUIDHOSTNAMELEN
> are 128, which is too small. Try
> http://www.public-organization-capital-of-the-world.which-establishes-world-records-welcomes-all-inhabitants.of-the-planet-and-invites-them-to-visit-our-ancient-city.yours-faithfully-chairman-of-government-anatolij-kosjanchuk.epak.infocom.lviv.ua/
> to check :)
> Value of 256 is taken from FreeBSD's 5.4 sys/param.h

> Index: squid-mswin.h
> ===================================================================
> RCS file:
> /cvsroot/squid/squid/port/win32/include/Attic/squid-mswin.h,v
> retrieving revision 1.1.2.32
> retrieving revision 1.1.2.33
> diff -w -u -r1.1.2.32 -r1.1.2.33
> --- squid-mswin.h 2 Oct 2005 14:15:28 -0000 1.1.2.32
> +++ squid-mswin.h 10 Oct 2005 21:04:36 -0000 1.1.2.33
> @@ -41,6 +41,9 @@
 
> #if defined(_MSC_VER) /* Microsoft C Compiler ONLY */
 
> +/* No param.h on Windows */
> +#define MAXHOSTNAMELEN 256
> +
> typedef char int8_t;
> typedef unsigned char u_char;
> typedef unsigned char uint8_t;
Guido, I'm not sure if this line belongs here regarding MinGW and
cygwin. Would you please explain in more detail environment and build
process for cygwin and MinGW? Information from
http://www.acmeconsulting.it/pagine/opensource/squid/squidnt25.htm and
http://www.acmeconsulting.it/pagine/opensource/squid/buildenvironment.htm
is not enough for me.
In particular, among others, I'm not sure whether HEAD or nt-2_5
branch should be used.

-- 
Best regards,
 Andrey Shorin
Received on Mon Oct 10 2005 - 15:23:06 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:07 MST