On Tue, Jun 30, 2009 at 08:56:36AM -0300, Jo?o Salvatti wrote:
Hi,
Isn't the header file sys/types.h absent in the manual page
authenticate(3)? The use of its functions, such as auth_userokay(),
will never compile without the inclusion of that header.
Thanks in advance.
no one has
Ingo Schwarze wrote:
Hi Jason,
Jason McIntyre wrote on Sun, Jul 05, 2009 at 05:46:06PM +0100:
On Tue, Jun 30, 2009 at 08:56:36AM -0300, Joao Salvatti wrote:
Isn't the header file sys/types.h absent in the manual page
authenticate(3)?
Yes, it is absent, but grepping
Date: Sun, 5 Jul 2009 21:58:35 +0200
From: Ingo Schwarze schwa...@usta.de
The header login_cap.h uses quad_t and uid_t.
The type quad_t is a non-POSIX type defined in sys/types.h.
The type uid_t is required by POSIX in sys/types.h.
The header bsd_auth.h uses size_t.
The type size_t is
Date: Sun, 05 Jul 2009 14:48:14 -0600
From: Theo de Raadt dera...@cvs.openbsd.org
If i understand correctly, headers using types from sys/types.h
ought to include sys/types.h
- unconditionally, if they are POSIX headers and the use of the
type is mandated by POSIX
-
Ian Darwin wrote on Sun, Jul 05, 2009 at 04:18:00PM -0400:
There's no value getting the wrong answer quickly.
Ouch.
I should have noticed, i did look at getgrent(3) and such before.
Thanks for the explanations and sorry for wasting your time...
So i will simply do the following *after unlock*:
Jason McIntyre wrote on Sun, Jul 05, 2009 at 09:52:13PM +0100:
On Sun, Jul 05, 2009 at 10:19:14PM +0200, Mark Kettenis wrote:
So I think the man pages should be amended to #include sys/types.h.
pages (plural)? there are more than this one to fix?
Indeed, *two* need a fix, whereas