CVS update: php3/functions

From: Date: Mon, 14 Dec 1998 15:16:58 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-2795@lists.php.net to get a copy of this message
Date: Monday December 14, 1998 @ 10:16 Author: ssb Update of /repository/php3/functions In directory asf:/u/temp/cvs-serv14627 Modified Files: sysvshm.c Log Message: dettach -> detach Index: php3/functions/sysvshm.c diff -c php3/functions/sysvshm.c:1.1 php3/functions/sysvshm.c:1.2 *** php3/functions/sysvshm.c:1.1 Sun Dec 13 18:12:47 1998 --- php3/functions/sysvshm.c Mon Dec 14 10:16:55 1998 *************** *** 27,33 **** +----------------------------------------------------------------------+ */ ! /* $Id: sysvshm.c,v 1.1 1998/12/13 23:12:47 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.2 1998/12/14 15:16:55 ssb Exp $ */ /* This has been built and tested on Solaris 2.6. * It may not compile or execute correctly on other systems. *************** *** 54,60 **** function_entry sysvshm_functions[] = { {"shm_attach", php3_sysvshm_attach, NULL}, ! {"shm_dettach", php3_sysvshm_dettach, NULL}, {"shm_remove", php3_sysvshm_remove, NULL}, {"shm_put_var", php3_sysvshm_put_var, NULL}, {"shm_get_var", php3_sysvshm_get_var, NULL}, --- 54,60 ---- function_entry sysvshm_functions[] = { {"shm_attach", php3_sysvshm_attach, NULL}, ! {"shm_detach", php3_sysvshm_detach, NULL}, {"shm_remove", php3_sysvshm_remove, NULL}, {"shm_put_var", php3_sysvshm_put_var, NULL}, {"shm_get_var", php3_sysvshm_get_var, NULL}, *************** *** 186,194 **** ! /* {{{ proto int shm_dettach(int id) releases the shared memory attachment with the given id. */ ! void php3_sysvshm_dettach(INTERNAL_FUNCTION_PARAMETERS) { pval *arg_id; long id; --- 186,194 ---- ! /* {{{ proto int shm_detach(int id) releases the shared memory attachment with the given id. */ ! void php3_sysvshm_detach(INTERNAL_FUNCTION_PARAMETERS) { pval *arg_id; long id; *************** *** 216,222 **** } if(shmdt((void*)shm_list_ptr->ptr)<0) { ! php3_error(E_WARNING, "shm_dettach() failed for id 0x%x: %s", id, strerror(errno)); RETURN_FALSE; } } --- 216,222 ---- } if(shmdt((void*)shm_list_ptr->ptr)<0) { ! php3_error(E_WARNING, "shm_detach() failed for id 0x%x: %s", id, strerror(errno)); RETURN_FALSE; } } *************** *** 481,483 **** --- 481,490 ---- #endif /* HAVE_SYSVSHM */ + + /* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + */ -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#2795) next »