httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [patch included] Re: use of stdio for error_log
Date Sat, 31 Jul 1999 03:31:00 GMT


On Fri, 30 Jul 1999, Michael Douglass wrote:

> Furthermore, since you've put it out of your mind--is there any
> hint of using actual stdio under Apache 2.0 and hence hitting bugs
> like this one again?

when i did apache-nspr i removed all stdio, and beefed up BUFF to have the
few things needed to replace it... the BUFF in mpm is ready, but nobody
has done the work yet to ditch stdio... i'd totally welcome a patch like
that. 

one note about your patch:

!       write(logfd, errstr, len);
!         write(logfd, "\n", 1);

that will cause log entries to be mixed up when multiple processes are
writing, you need to append the \n to errstr before writing, and call
write() once.

Dean


Mime
View raw message