[PHP-DEV] CVS update: php3/functions From: rasmus (php-dev <email protected>)
Date: 12/19/98

Date: Saturday December 19, 1998 @ 11:54
Author: rasmus

Update of /repository/php3/functions
In directory asf:/home/rasmus/php3/functions

Modified Files:
        sysvshm.c
Log Message:
A bit of cleanup here

Index: php3/functions/sysvshm.c
diff -c php3/functions/sysvshm.c:1.3 php3/functions/sysvshm.c:1.4
*** php3/functions/sysvshm.c:1.3 Thu Dec 17 17:58:50 1998
--- php3/functions/sysvshm.c Sat Dec 19 11:54:52 1998
***************
*** 27,33 ****
     +----------------------------------------------------------------------+
   */
   
! /* $Id: sysvshm.c,v 1.3 1998/12/17 22:58:50 nyenyon Exp $ */
  
  /* This has been built and tested on Solaris 2.6.
   * It may not compile or execute correctly on other systems.
--- 27,33 ----
     +----------------------------------------------------------------------+
   */
   
! /* $Id: sysvshm.c,v 1.4 1998/12/19 16:54:52 rasmus Exp $ */
  
  /* This has been built and tested on Solaris 2.6.
   * It may not compile or execute correctly on other systems.
***************
*** 76,82 ****
  
  
  
! void release_sysvshm(sysvshm_shm *shm_ptr) {
  
          shmdt((void*)shm_ptr->ptr);
  }
--- 76,82 ----
  
  
  
! static void php3i_release_sysvshm(sysvshm_shm *shm_ptr) {
  
          shmdt((void*)shm_ptr->ptr);
  }
***************
*** 85,91 ****
  
  int php3_minit_sysvshm(INIT_FUNC_ARGS)
  {
! php3_sysvshm_module.le_shm = register_list_destructors(release_sysvshm, NULL);
          if (cfg_get_long("sysvshm.init_mem",
                        &php3_sysvshm_module.init_mem)==FAILURE) {
                  php3_sysvshm_module.init_mem=10000;
--- 85,91 ----
  
  int php3_minit_sysvshm(INIT_FUNC_ARGS)
  {
! php3_sysvshm_module.le_shm = register_list_destructors(php3i_release_sysvshm, NULL);
          if (cfg_get_long("sysvshm.init_mem",
                        &php3_sysvshm_module.init_mem)==FAILURE) {
                  php3_sysvshm_module.init_mem=10000;
***************
*** 233,239 ****
          pval *arg_key;
          long id;
          key_t key;
- sysvshm_shm *shm_list_ptr;
  
  
          switch (ARG_COUNT(ht)) {
--- 233,238 ----

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>