delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2005/01/08/05:44:58

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Date: Sat, 08 Jan 2005 12:41:48 +0200
From: "Eli Zaretskii" <eliz AT gnu DOT org>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp-workers AT delorie DOT com
Message-ID: <01c4f56e$Blat.v2.2.2$d6d35bc0@zahav.net.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2
In-reply-to: <200501071824.j07IOHnd003937@speedy.ludd.ltu.se>
(ams AT ludd DOT ltu DOT se)
Subject: Re: fgetgrent pollution (was: More complaints from tests/libclink/check)
References: <200501071824 DOT j07IOHnd003937 AT speedy DOT ludd DOT ltu DOT se>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: <ams AT ludd DOT ltu DOT se>
> Date: Fri, 7 Jan 2005 19:24:17 +0100 (CET)
> 
> What I can find, fgetgrent() is not POSIX. Patch follows. Or I could
> just stub it.

I'd say, stub it, since it's widely available on SysV system (it's
part of the SVID 3 interface).

> Another wierdness is that the functions endgrent(), getgrent(),
> fgetgrent() and setgrent() all are are coded in src/libc/posix/grp/
> (which implies POSIX) and the documentation I've found on the web says
> they are except fgetgrent(). But <grp.h> and the documentation says
> they are _not_ POSIX. Hohummmm...

Probably because these function were not Posix when DJ layed out the
v2.x headers.  (I see in various documentation pages on the net signs
that these functions were initially not in Posix.)  They are Posix
now, so we should move them into the Posix section.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019