X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Date: Tue, 04 Jan 2005 22:25:39 -0700 From: Brian Inglis Subject: Re: More complaints from tests/libclink/check In-reply-to: To: DJGPP-workers Message-id: Organization: Systematic Software MIME-version: 1.0 X-Mailer: Forte Agent 1.93/32.576 English (American) Content-type: text/plain; charset=us-ascii References: <200501010313 DOT j013Do4F018246 AT speedy DOT ludd DOT ltu DOT se> <01c4eff0$Blat.v2.2.2$d6643f20 AT zahav DOT net DOT il> <200501011718 DOT j01HI90B032530 AT envy DOT delorie DOT com> <67pdt0leu3acu18g6cgjtggn6hs1hqld3i AT 4ax DOT com> <200501011828 DOT j01ISpB3001101 AT envy DOT delorie DOT com> <01c4f055$Blat.v2.2.2$0fcd0f80 AT zahav DOT net DOT il> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j056QosV020231 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 Precedence: bulk On Tue, 04 Jan 2005 16:58:06 -0700, Brian Inglis wrote: >On Sun, 02 Jan 2005 00:54:57 +0200, Eli Zaretskii >wrote: > >>> Date: Sat, 01 Jan 2005 12:17:08 -0700 >>> From: Brian Inglis >>> >>> On Sat, 01 Jan 2005 13:28:52 -0500, DJ Delorie wrote: >>> >>> > >>> >> So as these are POSIX functions, I should stub them outside the >>> > >>> >Just follow the pattern in the file already. There's only two lists >>> >of functions. >>> >>> There are only two cases currently catered for: non-ISO and non-ISO >>> and non-POSIX. >>> These are non-ISO POSIX standard functions: they should be defined >>> when _POSIX_SOURCE is defined. >> >>As are all other Posix functions that are not ANSI/ISO. >> >>The functions whose prototypes are between #ifndef __STRICT_ANSI__ and >>#ifndef _POSIX_SOURCE are Posix functions. > >Okay, that makes sense, and was where I thought the *_r functions >should appear. What confused me was both POSIX functions and DJGPP functions appear in libc/stubs.h after both #ifndef __STRICT_ANSI__ and _POSIX_SOURCE. That does not appear to me to be correct. Could someone else please take a look and give an opinion: maybe I'm just not getting something else about the way these stub entries should work in the library build environment? -- Thanks. Take care, Brian Inglis