summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2005-05-24 22:11:24 +0000
committerJeff Trawick <trawick@apache.org>2005-05-24 22:11:24 +0000
commit76c0a8bdd2a3d9b628498e075e47e17a44183bff (patch)
treeca956fa2cdbdafc7833855d9316b7b06e95aec0a
parente9323f0ebd747921902346914777512a6cfc6cd4 (diff)
downloadhttpd-76c0a8bdd2a3d9b628498e075e47e17a44183bff.tar.gz
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 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@178299 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--server/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/log.c b/server/log.c
index d8f4fd9811..12c8dc9d0f 100644
--- a/server/log.c
+++ b/server/log.c
@@ -486,7 +486,7 @@ static void log_error_core(const char *file, int line, int level,
#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