From: Jeff Trawick Date: Tue, 28 Jun 2005 10:45:52 +0000 (+0000) Subject: merge this fix from trunk: X-Git-Tag: 2.0.55~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43b8271be17ab04e41f883dd5791abe4e0cafd3d;p=thirdparty%2Fapache%2Fhttpd.git merge this fix from trunk: 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 Reviewed by: pquerna, wrowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@202154 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/log.c b/server/log.c index 2b4a0c04296..75b43e1e583 100644 --- a/server/log.c +++ b/server/log.c @@ -439,7 +439,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