Very nice, thanks!  However, do either NETWARE or OS2 need this code
as well for source file names?

Brad?  Brian?

Bill

At 08:03 AM 6/23/2003, [EMAIL PROTECTED] wrote:
>stoddard    2003/06/23 06:03:59
>
>  Modified:    server   Tag: APACHE_2_0_BRANCH log.c
>  Log:
>  Win32: Whack the fully qualified names win loglevel debug is set
>  
>  Revision  Changes    Path
>  No                   revision
>  No                   revision
>  1.127.2.4 +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.127.2.3
>  retrieving revision 1.127.2.4
>  diff -u -r1.127.2.3 -r1.127.2.4
>  --- log.c     20 Mar 2003 21:56:06 -0000      1.127.2.3
>  +++ log.c     23 Jun 2003 13:03:59 -0000      1.127.2.4
>  @@ -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)"
>  
>  
>  

Reply via email to