Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2001 18:49:44 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        Bruce Evans <bde@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/rarpd rarpd.c
Message-ID:  <20010615184944.L94445@ringworld.oblivion.bg>
In-Reply-To: <200106131156.f5DBu0o86165@freefall.freebsd.org>; from bde@FreeBSD.org on Wed, Jun 13, 2001 at 04:56:00AM -0700
References:  <200106131156.f5DBu0o86165@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 13, 2001 at 04:56:00AM -0700, Bruce Evans wrote:
> bde         2001/06/13 04:56:00 PDT
> 
>   Modified files:
>     usr.sbin/rarpd       rarpd.c 
>   Log:
>   Fixed world breakage on systems where ntohl() doesn't return u_long
>   (e.g., on alphas, or even on i386's with a POSIX-200x-conformant
>   ntohl() (ntohl() returns uint32_t which is u_int on i386's)).
>   
>   Fixed related bugs and bogons while I'm here:
>   - ntohl() was "fixed" for printing in 1 place by casting to
>     "(unsigned int )".  This breaks the value on systems where u_int
>     is smaller than uint32_t, and has 2 style bugs.
>   - spell u_int consistently (never use "unsigned").
>   - break K&R support some more (don't cast malloc()'s arg to a wrong
>     type...).

Ehhh.. oops!   Thanks, and sorry!
(really, it's about time for me to start bugging my employer to get me
 an Alpha for R&D purposes.. :)

G'luck,
Peter

-- 
Nostalgia ain't what it used to be.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010615184944.L94445>