Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Nigel Metheringham <Nigel.Metheringham@theplanet.net>
Subject: Minor problem with RHCL/AXP 2.1
Date: Mon, 03 Jun 1996 16:50:36 +0100	[thread overview]
Message-ID: <m0uQbts-0006XuC@dingo.theplanet.co.uk> (raw)

I have been running a SQUID cache on our alpha box running RHCL/AXP 
2.1.

The new version broke, badly!

This was due to a line like this:-

	if (inet_addr(ip) != -1) {

which never failed (ie never returned -1).  This is becuase in 
/usr/include/arpa/inet.h there was a definition like this...
   unsigned long   inet_addr __P((const char *));

Its the "good old lets shove an ip address in a long because they are 
always 32 bits" mindset problem!  I don't have 3.0.3 so don't know if 
its now fixed!

	Nigel.

-- 
[ Nigel.Metheringham@theplanet.net   - Unix Applications Engineer ]
[ *Views expressed here are personal and not supported by PLAnet* ]
[ PLAnet Online : The White House          Tel : +44 113 251 6012 ]
[ Melbourne Street, Leeds LS2 7PS UK.      Fax : +44 113 2345656  ]

             reply	other threads:[~1996-06-03 15:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-03 15:50 Nigel Metheringham [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-06-03 16:07 Minor problem with RHCL/AXP 2.1 David Mosberger-Tang
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox