> 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
- more endian.h breakage; patch included. Steven G. Kargl
- Re: more endian.h breakage; patch included. Bruce Evans
- Re: more endian.h breakage; patch included. Steve Kargl
- Re: more endian.h breakage; patch included... Bruce Evans
- Re: more endian.h breakage; patch incl... Tony Fleisher
- Re: more endian.h breakage; patch incl... Garrett Wollman
- Re: more endian.h breakage; patch included. Brian Somers
- Re: more endian.h breakage; patch included... Bruce Evans
- Re: more endian.h breakage; patch incl... Brian Somers
- Re: more endian.h breakage; patch... Bruce Evans
- platform byte order macros? Konstantin Chuguev
- Re: platform byte order m... Bruce Evans
- Re: platform byte order m... Ruslan Ermilov
- Re: platform byte order m... Mike Smith
- Re: platform byte order m... Ruslan Ermilov
- Re: platform byte order m... Ruslan Ermilov
- Re: platform byte order m... Bruce Evans
