httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@us.ibm.com
Subject Re: APR ap_open_stderr() routine
Date Mon, 03 Apr 2000 18:45:29 GMT


| 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.

Oops.  My bad.  I meant (*thefile)->filehand = stderr;     Anyway, the
answer is probably the same.


Rob Simonson



Mime
View raw message