You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@apache.org on 2003/03/24 09:51:22 UTC

cvs commit: httpd-2.0/server log.c scoreboard.c

martin      2003/03/24 00:51:22

  Modified:    server   log.c scoreboard.c
  Log:
  On failures, try to add a hint what went wrong
  
  Revision  Changes    Path
  1.132     +2 -0      httpd-2.0/server/log.c
  
  Index: log.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/log.c,v
  retrieving revision 1.131
  retrieving revision 1.132
  diff -u -r1.131 -r1.132
  --- log.c	20 Mar 2003 21:50:40 -0000	1.131
  +++ log.c	24 Mar 2003 08:51:21 -0000	1.132
  @@ -870,6 +870,8 @@
           errno = save_errno;
           return NULL;
       }
  +    /* Pipes are 'inheritable' by default, but we want only the logger to inherit it */
  +    /*@@@ missing in API! apr_pipe_inherit_unset();*/
       return pl;
   }
   
  
  
  
  1.70      +2 -2      httpd-2.0/server/scoreboard.c
  
  Index: scoreboard.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/scoreboard.c,v
  retrieving revision 1.69
  retrieving revision 1.70
  diff -u -r1.69 -r1.70
  --- scoreboard.c	3 Feb 2003 17:53:19 -0000	1.69
  +++ scoreboard.c	24 Mar 2003 08:51:22 -0000	1.70
  @@ -179,8 +179,8 @@
       rv = apr_shm_create(&ap_scoreboard_shm, scoreboard_size, fname, pool);
       if (rv != APR_SUCCESS) {
           ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL,
  -                     "unable to create scoreboard "
  -                     "(name-based shared memory failure)");
  +                     "unable to create scoreboard \"%s\" "
  +                     "(name-based shared memory failure)", fname);
           return rv;
       }
   #endif /* APR_HAS_SHARED_MEMORY */