httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/server log.c
Date Tue, 03 Jun 2003 18:05:20 GMT
stoddard    2003/06/03 11:05:20

  Modified:    server   log.c
  Log:
  Win32: Whack the fully qualified names that appear in the log when
  loglevel debug is being used.
  
  Revision  Changes    Path
  1.134     +6 -1      httpd-2.0/server/log.c
  
  Index: log.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/log.c,v
  retrieving revision 1.133
  retrieving revision 1.134
  diff -u -r1.133 -r1.134
  --- log.c	24 Mar 2003 08:52:20 -0000	1.133
  +++ log.c	3 Jun 2003 18:05:20 -0000	1.134
  @@ -473,9 +473,14 @@
   
   #ifndef TPF
       if (file && level_and_mask == APLOG_DEBUG) {
  -#ifdef _OSD_POSIX
  +#if defined(_OSD_POSIX) || defined(WIN32)
           char tmp[256];
           char *e = strrchr(file, '/');
  +#ifdef WIN32
  +        if (!e) {
  +            e = strrchr(file, '\\');
  +        }
  +#endif
   
           /* In OSD/POSIX, the compiler returns for __FILE__
            * a string like: __FILE__="*POSIX(/usr/include/stdio.h)"
  
  
  

Mime
View raw message