mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
parent
cc0c2ea603
commit
5db38caece
2 changed files with 2 additions and 1 deletions
1
NEWS
1
NEWS
|
@ -48,6 +48,7 @@ PHP 4.0 NEWS
|
|||
- Improved support for autoconf-2.50+/libtool 1.4b+. (Jan Kneschke, Sascha)
|
||||
|
||||
?? ??? 200?, Version 4.1.0
|
||||
- Fixed a crash bug within Cobalt systems. Patch by tomc@tripac.com. (Jani)
|
||||
- Introduced extension version numbers (Stig)
|
||||
- Added version_compare() function (Stig)
|
||||
- Fixed pg_last_notice() (could cause random crashes in PostgreSQL applications,
|
||||
|
|
|
@ -106,7 +106,7 @@ PHP_MINIT_FUNCTION(crypt)
|
|||
PHP_RINIT_FUNCTION(crypt)
|
||||
{
|
||||
if(!php_crypt_rand_seeded) {
|
||||
php_srand(time(0) * getpid() * (php_combined_lcg(TSRMLS_C) * 10000.0) TSRMLS_CC);
|
||||
php_srand(time(0) * getpid() * (unsigned long) (php_combined_lcg(TSRMLS_C) * 10000.0) TSRMLS_CC);
|
||||
php_crypt_rand_seeded=1;
|
||||
}
|
||||
return SUCCESS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue