Subject: Re: src/gnu/usr.bin/egcs/common
To: None <firstname.lastname@example.org>
From: Christoph Badura <email@example.com>
Date: 12/22/1999 17:01:34
firstname.lastname@example.org (Michael Graff) writes:
>Noriyuki Soda <email@example.com> writes:
>> Oh, I see.
>> Perhaps the following is less tricky, BTW.
>> typedef struct __SFILE FILE;
>> extern FILE __sFstdin, __sFstdout, __sFstderr;
>> #define stdin &__sFstdin
>> #define stdout &__sFstdout
>> #define stderr &__sFstderr
>This will help us in the future, but we still won't be able to change
>the size of FILE for a long time -- so long as we require backwards
>compatibility with NetBSD from three years ago.
And why can't you store the additional data in the FILE's cookie?
Christoph Badura www.netbsd.org
Anything that can be done in O(N) can be done in O(N^2).
-- Ralf Schuettau (after looking at a particular piece of code)