This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: stderr vs. STDERR_FILENO


mark@codesourcery.com (Mark Mitchell)  wrote on 24.02.04 in <403BE162.9040202@codesourcery.com>:

> There are three cases:
>
> (1) stderr open and attached to fd 2
>
> (2) stderr freopen'd (and not attached to fd 2)
>
> (3) stderr fclose'd

The third, however, is one where I feel the user deserves whatever he  
gets. There is no good reason to do this.

MfG Kai


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]