www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/10/15/15:01:54

Date: Tue, 15 Oct 2002 15:01:53 -0400
Message-Id: <200210151901.g9FJ1rk02191@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
CC: djgpp-workers AT delorie DOT com
In-reply-to: <3DAC5172.B12F67BF@phekda.freeserve.co.uk> (message from Richard
Dawe on Tue, 15 Oct 2002 18:33:38 +0100)
Subject: Re: Don't pollute the namespace so much [PATCH]
References: <E181UGT-0000dH-00 AT phekda DOT freeserve DOT co DOT uk> <200210151639 DOT g9FGd2o32480 AT envy DOT delorie DOT com> <3DAC5172 DOT B12F67BF AT phekda DOT freeserve DOT co DOT uk>
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

> But if you use getgrent, is it OK to also import setgrent, etc. into
> the namespace?

That's OK.  The problem is using getgrgid (which is posix) and pulling
in getgrent (which is not).

We shouldn't need a stub for getgid because it's posix, unless an ansi
function pulls it in.  We only need stubs for non-posix/ansi functions
which are used by posix/ansi functions.

- Raw text -


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