Hi,
I found and roughly hack some bugs which prevented compiling and/or operating of
Squid-2.0 on Digital UNIX 4.0:
1. Configuration script erroneously checks <stdargs.h> and va_* functions in
that header file, but it should use <varargs.h>. I simply made
1,$s/stdargs/varargs/g
2. int hashPrime(int n) in lib/hash.c contains very dangerous code like
"log(n)", where n is "int", but log() expects "double" - it leads to garbage
in log() input and, finally, to FPE on Digital UNIX, at least with native cc.
I replaced all entries like log(integer) with log((double)integer).
3. If you wish '--enable-async-io', do something like
CC="cc -pthread"; export CC
./configure
I used "cc -O -pthread".
Sergey.
--- ---------------------------------- Sergey Kosyakov Laboratory of Distributed Computing Department of High-Performance Computing and Applied Network Research Landau Institute for Theoretical Physics E-Mail: ks@itp.ac.ru Date: 09-Oct-98 Time: 09:22:21 ---------------------------------- ---Received on Thu Oct 08 1998 - 22:51:38 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:24 MST