David Soria Parra escribió: > Hi List, > > I recently discovered that zend_hash_func is equal to > zend_get_hash_value. To clean this up, I would like to remove > zend_hash_func in favor of zend_get_hash in HEAD. If there are no > objections I would commit a patch in a few days.
We can start with the attached patch and then remove it in the future... -- "If this is the best God can do, I am not impressed" -George Carlin (1937-2008) Cristian Rodríguez R. Software Developer Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
Index: Zend/zend_hash.h =================================================================== RCS file: /repository/ZendEngine2/zend_hash.h,v retrieving revision 1.78.2.2.2.2.2.13 diff -u -p -r1.78.2.2.2.2.2.13 zend_hash.h --- Zend/zend_hash.h 25 May 2009 01:18:00 -0000 1.78.2.2.2.2.2.13 +++ Zend/zend_hash.h 29 May 2009 12:49:31 -0000 @@ -288,7 +288,7 @@ EMPTY_SWITCH_DEFAULT_CASE() } -ZEND_API ulong zend_hash_func(const char *arKey, uint nKeyLength); +ZEND_API ZEND_ATTRIBUTE_DEPRECATED ulong zend_hash_func(const char *arKey, uint nKeyLength); #if ZEND_DEBUG /* debug */
signature.asc
Description: OpenPGP digital signature