Re: cvs commit: squid/src tools.c
sön 2007-05-20 klockan 23:53 -0600 skrev Adrian Chadd: > use inet_ntoa() for now; my optimised code was getting the octets backward > on my PPC; even when I tried using ntohl(). I'll fix this one day.. ntohl is a nop on PPC and other big-endian systems.. You need to parse the address in host order, then use htonl to mangle it into the common network byte order.. Or alternatively parse it raw into network byte order by using a char*. Regards Henrik signature.asc Description: Detta är en digitalt signerad meddelandedel
Re: cvs commit: squid/src tools.c
Hi Henrik, At 19.00 25/04/2005, Henrik Nordstrom wrote: Bug #1157: PID file check error when chrooting This shouldn't be applied in Squid 3 too ? Probably. Looking to sources: checkRunningPid() calls readPidFile() before chroot as in Squid 2.5. So should be forward ported. Just added to my forward port queue. Regards Guido - Guido Serassio Acme Consulting S.r.l. - Microsoft Certified Partner Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY Tel. : +39.011.9530135 Fax. : +39.011.9781115 Email: [EMAIL PROTECTED] WWW: http://www.acmeconsulting.it/
Re: cvs commit: squid/src tools.c
On Mon, 25 Apr 2005, Serassio Guido wrote: Hi Henrik, Il 22.45 22/04/2005 [EMAIL PROTECTED] ha scritto: hno 2005/04/22 14:45:12 MDT Modified files:(Branch: SQUID_2_5) src tools.c Log: Bug #1157: PID file check error when chrooting This shouldn't be applied in Squid 3 too ? Probably. Regards Henrik