> On Sun, 15 Oct 2000, Steven G. Kargl wrote:
> 
> > There is another patch needed in libdialog.
> 
> No patches are needed in applications; endian.h should be unbroken.

In what way ?

ntohl() & ntonl() were previously wrong to return u_long.
They now return uint32_t (which requires sys/types.h).
They *could* be changed to return u_int32_t, but this doesn't seem to 
be the best way forward.
They *could* be changed to return unsigned, but I think this is worse 
than u_int32_t.

I guess another alternative is to move the BYTE_ORDER into a 
different file and stop including endian.h from wait.h, but this 
seems wrong too.

> Bruce

-- 
Brian <[EMAIL PROTECTED]>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to