Mailing List Archive

cvs commit: apache-1.3/src/main http_log.c
martin 98/04/27 15:38:05

Modified: src CHANGES
src/main http_log.c
Log:
Suppress "error(0)" messages for ap_log_error() when the APLOG_NOERRNO
is unset (as it is in situations like timeouts) where it is unclear
whether errno is set or not. It is questionable whether the ap_log_error()
timeout calls in http_protocol should not have an APLOG_NOERRNO as well.

Revision Changes Path
1.800 +4 -0 apache-1.3/src/CHANGES

Index: CHANGES
===================================================================
RCS file: /home/cvs/apache-1.3/src/CHANGES,v
retrieving revision 1.799
retrieving revision 1.800
diff -u -u -r1.799 -r1.800
--- CHANGES 1998/04/27 13:01:05 1.799
+++ CHANGES 1998/04/27 22:37:47 1.800
@@ -1,5 +1,9 @@
Changes with Apache 1.3b7

+ *) Suppress "error(0)" messages for ap_log_error() when the APLOG_NOERRNO
+ is unset (as it is in situations like timeouts) where it is unclear
+ whether errno is set or not. [Martin Kraemer]
+
*) Just having APACI's localstatedir is too general and not enough for most
of the systems. 1.3b6 again required manual APACI patches by package
maintainers from RedHat and FreeBSD because for their filesystem layout a



1.54 +1 -0 apache-1.3/src/main/http_log.c

Index: http_log.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/main/http_log.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -u -r1.53 -r1.54
--- http_log.c 1998/04/18 10:54:55 1.53
+++ http_log.c 1998/04/27 22:38:05 1.54
@@ -328,6 +328,7 @@
"%s(%d): ", file, line);
}
if (!(level & APLOG_NOERRNO)
+ && (save_errno != 0)
#ifdef WIN32
&& !(level & APLOG_WIN32ERROR)
#endif