----- Original Message ----- 
From: "Alfred M. Szmidt" <[EMAIL PROTECTED]>
To: "Barry Comcast" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[email protected]>
Sent: Friday, February 11, 2005 9:52 AM
Subject: Re: tcpdump-3.8.3


>    Why?  Their code uses 64 and my Debian GNU/Linux box has
>    MAXHOSTNAMELEN defined as 64??
>
> Because we don't have a limit to begin with, this is just a ugly way
> of saying that we don't have one.  But this is really not important,
> what is the problem with just fixing it the proper way and use
> xgethostname or whatever?
>
> I cringe everytime I see these stupid hacks that define MAX*...

I agree.  However, what is funny is that they aren't even using
MAXHOSTNAMELEN for the buffer for gethostname() as usual so it's a weird
situation anyway.

Barry


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to