httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@hyperreal.com>
Subject cvs commit: apache/src alloc.c alloc.h
Date Thu, 17 Oct 1996 08:59:56 GMT
ben         96/10/17 01:59:55

  Modified:    src       alloc.c alloc.h
  Log:
  Make run_cleanup() global again ... it may be used by third party modules.
  
  Revision  Changes    Path
  1.17      +2 -2      apache/src/alloc.c
  
  Index: alloc.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/alloc.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -C3 -r1.16 -r1.17
  *** alloc.c	1996/10/13 13:35:28	1.16
  --- alloc.c	1996/10/17 08:59:54	1.17
  ***************
  *** 50,56 ****
     *
     */
    
  ! /* $Id: alloc.c,v 1.16 1996/10/13 13:35:28 ben Exp $ */
    
    
    /*
  --- 50,56 ----
     *
     */
    
  ! /* $Id: alloc.c,v 1.17 1996/10/17 08:59:54 ben Exp $ */
    
    
    /*
  ***************
  *** 681,687 ****
      }
    }
    
  ! static void run_cleanup (pool *p, void *data, void (*cleanup)(void *))
    {
      block_alarms();		/* Run cleanup only once! */
      (*cleanup)(data);
  --- 681,687 ----
      }
    }
    
  ! void run_cleanup (pool *p, void *data, void (*cleanup)(void *))
    {
      block_alarms();		/* Run cleanup only once! */
      (*cleanup)(data);
  
  
  
  1.13      +2 -1      apache/src/alloc.h
  
  Index: alloc.h
  ===================================================================
  RCS file: /export/home/cvs/apache/src/alloc.h,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -C3 -r1.12 -r1.13
  *** alloc.h	1996/10/13 13:35:29	1.12
  --- alloc.h	1996/10/17 08:59:54	1.13
  ***************
  *** 51,57 ****
     *
     */
    
  ! /* $Id: alloc.h,v 1.12 1996/10/13 13:35:29 ben Exp $ */
    
    /*
     * Resource allocation routines...
  --- 51,57 ----
     *
     */
    
  ! /* $Id: alloc.h,v 1.13 1996/10/17 08:59:54 ben Exp $ */
    
    /*
     * Resource allocation routines...
  ***************
  *** 183,188 ****
  --- 183,189 ----
    		       void (*child_cleanup)(void *));
    
    void kill_cleanup (pool *p, void *data, void (*plain_cleanup)(void *));
  + void run_cleanup (pool *p, void *data, void (*cleanup)(void *));
    
    /* The time between when a resource is actually allocated, and when it
     * its cleanup is registered is a critical section, during which the
  
  
  

Mime
View raw message