Subject: Re: quick question to C programmers
To: Hauke Fath <email@example.com>
From: Georg Schwarz <firstname.lastname@example.org>
Date: 04/07/2005 18:20:48
> That's why I asked for the preprocessor output... As listed above,
> NetBSD uses a constant array for stdin, stdout. When I search the
> preprocessor output on a debian linux (gcc 3.3.5), I get an
> extern struct _IO_FILE *stdin;
> extern struct _IO_FILE *stdout;
> extern struct _IO_FILE *stderr;
> which looks not necessarily constant for gcc. So it looks like you
> are stumbling over libc stdio implementation details here.
I would find it hard to believe to be the first one to do so, given that
the affected platforms are not too exotic :-)
In fact, it seems to be a pretty old issue:
According to this article, it should be trated as a bug of the code.
So should x11/Xaw-Xpm get a patch?
Georg Schwarz http://home.pages.de/~schwarz/
email@example.com +49 178 8545053