Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 1998 12:36:46 -0500 (EST)
From:      Chuck <crtb@capecod.net>
To:        crtb@capecod.net, Ruslan@Shevchenko.kiev.ua
Cc:        das@netcom.com, freebsd-isp@FreeBSD.ORG
Subject:   Re: Is FreeBSD UNIX?
Message-ID:  <199801181736.MAA14218@capecod.net>

next in thread | raw e-mail | index | archive | help
>From Ruslan@Shevchenko.kiev.ua  Sat Jan 17 18:00:26 1998
>Date: Sat, 17 Jan 1998 18:00:26 +0200
>From: Ruslan Shevchenko <Ruslan@Shevchenko.kiev.ua>
>To: Chuck <crtb@capecod.net>
>CC: das@netcom.com, freebsd-isp@FreeBSD.ORG
>Subject: Re: Is FreeBSD UNIX?

>Chuck wrote:

>> FreeBSD has gid_t.  I suspect also uid_t.
>>
>> ?From a grep:
>> /usr/include/sys/types.h:typedef        u_int32_t       gid_t;          /* group id */
>>

>Yes. The matter is, that FreeBSD not use them in struct passwd, i.e.passwd.git and
>passwd.uid are int-s, when they must be gid_t and uid_t

>>         Chuck Bacon -- crtb@capecod.net
>>                 ABHOR SECRECY -- DEFEND PRIVACY
>>
>> Ruslan@Shevchenko.Kiev.UA wrote:
>> ?Das Devaraj wrote:
>>         [ ... ]
>> ?FreeBSD is not full compability with standart, (for example  have no
>> ?uid_t and gid_t),
>> ?but near 95%  of standart work.
>>         [ ... ]
>> ?    @=
>> ?     //RSSH                              mailto://Ruslan@Shevchenko.Kiev.UA

Well I'll be damned!  You're right.  /usr/include/pwd.h has int in
struct passwd.  Somebody fix, please?!  And is this the tip of some
iceberg?  ..Incidentally, I remember an early Perl configure would
give grief over gid_t vs.int somewhere.  Perhaps in getpgrps or sumpin.
	Chuck



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