httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject Re: APR ap_open_stderr() routine
Date Mon, 03 Apr 2000 18:31:06 GMT
On Mon, 3 Apr 2000, Greg Stein wrote:

> On Mon, 3 Apr 2000, Ryan Bloom wrote:
> > On Mon, 3 Apr 2000 simo@us.ibm.com wrote:
> > > Shouldn't the fname be set to stderr (i.e.  (*thefile)->fname = stderr;
)?
> 
> stderr is a FILE*, not a char*. That assignment doesn't make sense...
> 
> > >   Maybe it doesn't matter much in UNIX.  The AS/400 has special
> > > considerations for stdin, stdout, and stderr.
> > 
> > Probably, but it really doesn't matter.  If AS/400 needs the fname set to
> > stderr, then do that for AS/400.  This is why we are portable.  I'm not
> > sure this is required for Unix or Windows.  And since these are not
> > viewable fields by APR users, doing different things on different
> > platforms doesn't make a difference.
> 
> Always true, but the suggested change isn't possible in the first place.
> 

I assumed he meant the string "stderr".

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message