Subject: Re: src/gnu/usr.bin/egcs/common
To: Christoph Badura <bad@oreilly.de>
From: Michael Graff <explorer@flame.org>
List: tech-userlevel
Date: 12/22/1999 10:39:34
Christoph Badura <bad@oreilly.de> writes:

> And why can't you store the additional data in the FILE's cookie?

You can.

If the cookie pointed to a structure that was allocated in parallel
with the FILEs themselves (and would also hang off the "struct glue"
in stdio) AND that pointer was never changed in our code, things
should just work.

Are there any stdio-using programs that set the cookie from userland?

--Michael