gluke Mon Dec 8 03:12:31 2003 EDT Modified files: /php-src/ext/mnogosearch php_mnogo.c Log: - A bug in Udm_Hash32 function was fixed. Index: php-src/ext/mnogosearch/php_mnogo.c diff -u php-src/ext/mnogosearch/php_mnogo.c:1.84 php-src/ext/mnogosearch/php_mnogo.c:1.85 --- php-src/ext/mnogosearch/php_mnogo.c:1.84 Wed Nov 12 02:40:16 2003 +++ php-src/ext/mnogosearch/php_mnogo.c Mon Dec 8 03:12:30 2003 @@ -1,5 +1,5 @@ /* $Source: /repository/php-src/ext/mnogosearch/php_mnogo.c,v $ */ -/* $Id: php_mnogo.c,v 1.84 2003/11/12 07:40:16 gluke Exp $ */ +/* $Id: php_mnogo.c,v 1.85 2003/12/08 08:12:30 gluke Exp $ */ /* +----------------------------------------------------------------------+ @@ -1922,7 +1922,11 @@ str = Z_STRVAL_PP(yystr); hash32=UdmHash32((str),strlen(str)); +#if UDM_VERSION_ID >= 30215 + snprintf(buf,sizeof(buf)-1,"%i",hash32); +#else snprintf(buf,sizeof(buf)-1,"%u",hash32); +#endif RETURN_STRING(buf,1); }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php