Re: squid-1.1alpha16 core dump

From: Berndt Josef Wulf <wulf@dont-contact.us>
Date: Sun, 8 Sep 1996 10:07:16 +0930 (CST)

Ed Knowles wrote
>
> --
> --PART-BOUNDARY=.19609072159.ZM10416.geog.unsw.edu.au
> Encoding: 32 TEXT
> Content-Type: text/plain; charset=us-ascii
>
> G'day Berndt!
>
> It's fixed in alpha17 ... but you will also need the two pages on the
> downloadpage plus the following changes to icpHandleIMSReply() in
> client_side.c. (Sorry I deleted the patch from Duane):
>

[...]

Done and its looking good sofar ;)

What is the reason of defining -D_SQUID_NetBSD and not have the system
to determine which OS its running on?

The following changes in lib/util.c worked for me:

extern int sys_nerr;
#if NEED_SYS_ERRLIST && !defined(__NetBSD__)
extern char *sys_errlist[];
#endif

The configure script didn't detect NetBSD and so I had to manually
defined _SQUID_NetBSD_ which I thought wasn't necessary as __NetBSD__
is defined anyhow.... so I changed that line in util.c

Worth changing?

cheerio Berndt

-- 
Name	: Berndt Josef Wulf
E-Mail	: wulf@hotdog.satech.net.au
Sysinfo	: DEC AXPpci33+, NetBSD-1.2Beta
Received on Sat Sep 07 1996 - 17:39:22 MDT

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