marc        97/11/07 17:20:05

  Modified:    src/modules/standard mod_cgi.c
               src      CHANGES
  Log:
  Fix the error logging in mod_cgi; the recent error log changes
  introduced a bug that prevented it from working correctly.
  
  PR: 1352
  Submitted by: M.D.Parker <[EMAIL PROTECTED]>
  Reviewed by:  Marc Slemko, Dean Gaudet, Ken Coar
  
  Revision  Changes    Path
  1.64      +2 -2      apachen/src/modules/standard/mod_cgi.c
  
  Index: mod_cgi.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/modules/standard/mod_cgi.c,v
  retrieving revision 1.63
  retrieving revision 1.64
  diff -u -r1.63 -r1.64
  --- mod_cgi.c 1997/11/06 21:54:14     1.63
  +++ mod_cgi.c 1997/11/08 01:20:02     1.64
  @@ -164,8 +164,8 @@
   {
       FILE *f;
   
  -    aplog_error(APLOG_MARK, show_errno|APLOG_ERR, r->server, error,
  -             r->filename);
  +    aplog_error(APLOG_MARK, show_errno|APLOG_ERR, r->server, 
  +             "%s, reason: %s", error, r->filename);
   
       if (!conf->logname ||
        ((stat(server_root_relative(r->pool, conf->logname), &r->finfo) == 0)
  
  
  
  1.493     +4 -0      apachen/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/CHANGES,v
  retrieving revision 1.492
  retrieving revision 1.493
  diff -u -r1.492 -r1.493
  --- CHANGES   1997/11/08 01:13:31     1.492
  +++ CHANGES   1997/11/08 01:20:03     1.493
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3b3
     
  +  *) Fix the error logging in mod_cgi; the recent error log changes
  +     introduced a bug that prevented it from working correctly.
  +     [M.D.Parker] PR#1352
  +
     *) Default to USE_FCNTL_SERIALIZED_ACCEPT on HPUX to properly 
        handle multiple Listen directives.  [Marc Slemko] PR#872
   
  
  
  

Reply via email to