Date: Sat, 16 Dec 2000 16:06:42 -0500 Message-Id: <200012162106.QAA18996@envy.delorie.com> X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f From: DJ Delorie To: djgpp-workers AT delorie DOT com In-reply-to: <5.0.2.1.0.20001216154442.025a6620@pop5.banet.net> (pjfarley AT banet DOT net) Subject: Re: Locking fcntl changes #2 References: <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20001215204828 DOT 032b0030 AT pop5 DOT banet DOT net> <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20001213204815 DOT 025a7ec0 AT pop5 DOT banet DOT net> <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20001215204828 DOT 032b0030 AT pop5 DOT banet DOT net> <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20001216154442 DOT 025a6620 AT pop5 DOT banet DOT net> 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 > OK, no problem. Internally, filelength is actually __filelength now, > with a "#define filelength __filelength" in "/include/libc/stubs.h". I > can put the #define into stubs.h for __lfilelength, and comment it out > if there is no such animal elsewhere. The *only* time you put something in stubs.h is if an ANSI/POSIX function in libc needs to call a non-ANSI/POSIX function in libc, in which case the non-ANSI/POSIX function needs to be listed in stubs.h. (or, for ansi functions calling posix-only functions). There is no other reason why a function would get listed in stubs. The "stubbed" name (__foo) is *not* part of the published API.