Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Oct 2000 18:29:10 -0700 (PDT)
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: more endian.h breakage; patch included.
Message-ID:  <200010160129.e9G1TA321182@troutmask.apl.washington.edu>
In-Reply-To: <Pine.BSF.4.21.0010161137470.2121-100000@besplex.bde.org> from Bruce Evans at "Oct 16, 2000 11:44:20 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote:
> 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.
> 
> However, including endian.h directly seems to be a bug.  endian.h is not
> documented in any section 3 man page.  The documented interface is to
> include <sys/param.h>, although including <sys/types.h> is sufficient.
> 

Bruce,

Actually, in this case the endian.h change exposed a bug 
if the wait(2) manpage is correct.  In particular, <sys/types.h>
is required to occur before <sys/wait.h>, which was missing in
libdialog/prgbox.c and libc_r/uthread/uthread_wait4.c.

-- 
Steve


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




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