Re: sys/types.h or not sys/types.h? [Was: cvs commit: src/include grp.h]

2002-02-26 Thread Andrey A. Chernov
On Mon, Feb 25, 2002 at 13:28:21 -0500, Garrett Wollman wrote: On Mon, 25 Feb 2002 17:23:53 +0300, Andrey A. Chernov [EMAIL PROTECTED] said: From IEEE P1003.1 Draft 7: You're looking at the wrong document. FreeBSD is very far from being ready to implement POSIX 2001 header files. POSIX

Re: sys/types.h or not sys/types.h? [Was: cvs commit: src/include grp.h]

2002-02-26 Thread Alexey Dokuchaev
On Tue, Feb 26, 2002 at 11:49:59AM +0300, Andrey A. Chernov wrote: On Mon, Feb 25, 2002 at 13:28:21 -0500, Garrett Wollman wrote: On Mon, 25 Feb 2002 17:23:53 +0300, Andrey A. Chernov [EMAIL PROTECTED] said: From IEEE P1003.1 Draft 7: You're looking at the wrong document. FreeBSD

Re: sys/types.h or not sys/types.h? [Was: cvs commit: src/include grp.h]

2002-02-26 Thread Terry Lambert
Alexey Dokuchaev wrote: Is there any chance we will come anywhere close to POSIX 2001 at all? What about targeting to POSIX 1990/1996 *now* instead of aiming to the standard that would likely be rendered obsolete by the time we would reach it? Especially, we still appear to not have an

Re: sys/types.h or not sys/types.h? [Was: cvs commit: src/include grp.h]

2002-02-26 Thread
On Tue, Feb 26, 2002 at 15:14:23 +0600, Alexey Dokuchaev wrote: On Tue, Feb 26, 2002 at 11:49:59AM +0300, Andrey A. Chernov wrote: On Mon, Feb 25, 2002 at 13:28:21 -0500, Garrett Wollman wrote: On Mon, 25 Feb 2002 17:23:53 +0300, Andrey A. Chernov [EMAIL PROTECTED] said: From IEEE

sys/types.h or not sys/types.h? [Was: cvs commit: src/include grp.h]

2002-02-25 Thread Maxim Sobolev
Andrey A. Chernov wrote: On Mon, Feb 25, 2002 at 05:55:48 -0800, Maxim Sobolev wrote: sobomax 2002/02/25 05:55:48 PST Modified files: include grp.h Log: Backout rev.1.5 - it seems that it's posixly correct that the program needs to include sys/types.h

Re: sys/types.h or not sys/types.h? [Was: cvs commit: src/include grp.h]

2002-02-25 Thread Andrey A. Chernov
On Mon, Feb 25, 2002 at 16:09:19 +0200, Maxim Sobolev wrote: Are you sure? I've just heard so many opinions about that and want to get some clarity before backouting the backout to avoid backouting the backouted backout later. :) Your initial fix was incorrect, but intention was right. grp.h

Re: sys/types.h or not sys/types.h? [Was: cvs commit: src/include grp.h]

2002-02-25 Thread Sheldon Hearn
On Mon, 25 Feb 2002 16:09:19 +0200, Maxim Sobolev wrote: Are you sure? I've just heard so many opinions about that and want to get some clarity before backouting the backout to avoid backouting the backouted backout later. :) Please, could anyone confirm or reject assertion that POSIX

Re: sys/types.h or not sys/types.h? [Was: cvs commit: src/include grp.h]

2002-02-25 Thread Andrey A. Chernov
On Mon, Feb 25, 2002 at 16:33:07 +0200, Sheldon Hearn wrote: However, the standard expects gid_t to be defined in unistd.h, so if you just need gid_t, and not prototypes for getgr*(), then that's the one to include. POSIX reguire gid_t to be specified not only in sys/types.h but in grp.h

Re: sys/types.h or not sys/types.h? [Was: cvs commit: src/include grp.h]

2002-02-25 Thread Sheldon Hearn
On Mon, 25 Feb 2002 17:32:31 +0300, Andrey A. Chernov wrote: However, the standard expects gid_t to be defined in unistd.h, so if you just need gid_t, and not prototypes for getgr*(), then that's the one to include. POSIX reguire gid_t to be specified not only in sys/types.h but in

Re: sys/types.h or not sys/types.h? [Was: cvs commit: src/include grp.h]

2002-02-25 Thread Andrey A. Chernov
On Mon, Feb 25, 2002 at 17:23:53 +0300, Andrey A. Chernov wrote: Your initial fix was incorrect, but intention was right. grp.h should declare gid_t by itself. Sample quotes included below. From IEEE P1003.1 Draft 7: NAME 8332 grp.h.group structure 8342 The gid_t type shall be defined

Re: sys/types.h or not sys/types.h? [Was: cvs commit: src/include grp.h]

2002-02-25 Thread Garrett Wollman
On Mon, 25 Feb 2002 17:23:53 +0300, Andrey A. Chernov [EMAIL PROTECTED] said: From IEEE P1003.1 Draft 7: You're looking at the wrong document. FreeBSD is very far from being ready to implement POSIX 2001 header files. POSIX 1990, which we do implement, requires sys/types.h almost everywhere.