Subject: Re: src/gnu/usr.bin/egcs/common
To: None <>
From: Christoph Badura <>
List: tech-userlevel
Date: 12/22/1999 17:01:34 (Michael Graff) writes:
>Noriyuki Soda <> 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

	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)