You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2005/05/25 00:11:25 UTC
svn commit: r178299 - /httpd/httpd/trunk/server/log.c
Author: trawick
Date: Tue May 24 15:11:24 2005
New Revision: 178299
URL: http://svn.apache.org/viewcvs?rev=178299&view=rev
Log:
fix minor annoyance on z/OS: __FILE__ is set to
"./foo.c" instead of simply "foo.c", so filter
out all but the basename before logging it with
debug messages
Modified:
httpd/httpd/trunk/server/log.c
Modified: httpd/httpd/trunk/server/log.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/log.c?rev=178299&r1=178298&r2=178299&view=diff
==============================================================================
--- httpd/httpd/trunk/server/log.c (original)
+++ httpd/httpd/trunk/server/log.c Tue May 24 15:11:24 2005
@@ -486,7 +486,7 @@
#ifndef TPF
if (file && level_and_mask == APLOG_DEBUG) {
-#if defined(_OSD_POSIX) || defined(WIN32)
+#if defined(_OSD_POSIX) || defined(WIN32) || defined(__MVS__)
char tmp[256];
char *e = strrchr(file, '/');
#ifdef WIN32