Re: squid for HP

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 07 Feb 1998 13:18:57 +0100

N.Frasheri wrote:

> This piece of program, similar to a fragment of squid, aborts with "Bus
> error" when running sscanf ...

Yes, this is a known annoyance with standard libc sscanf on HP-UX 9. It
barfs on const strings.

A way around this problem is to force the compiler to ignore const. Add
#define const
to include/config.h after running configure

Maybe the problem is fixed in later HP-UX 9.x libc versions? The latest
is available from
ftp://gvaweb7.net.external.hp.com/hp-ux_patches/s700/9.X/PHCO_13095
(.txt for description and install instructions)

---
Henrik Nordström
Sparetime Squid Hacker
Received on Sat Feb 07 1998 - 13:50:57 MST

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