Subject: Re: src/gnu/usr.bin/egcs/common
To: None <email@example.com>
From: Christoph Badura <firstname.lastname@example.org>
Date: 12/22/1999 17:01:34
email@example.com (Michael Graff) writes:
>Noriyuki Soda <firstname.lastname@example.org> 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)