cvs: php4 / NEWS /ext/standard crypt.c

From: Date: Sun, 21 Oct 2001 03:01:18 +0000
Subject: cvs: php4 / NEWS /ext/standard crypt.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-7886@lists.php.net to get a copy of this message
sniper Sat Oct 20 23:01:18 2001 EDT Modified files: /php4 NEWS /php4/ext/standard crypt.c Log: Fixed bugs: #13251, #9827, #11363 Index: php4/NEWS diff -u php4/NEWS:1.788 php4/NEWS:1.789 --- php4/NEWS:1.788 Sat Oct 20 20:12:40 2001 +++ php4/NEWS Sat Oct 20 23:01:16 2001 @@ -48,6 +48,7 @@ - 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, Index: php4/ext/standard/crypt.c diff -u php4/ext/standard/crypt.c:1.51 php4/ext/standard/crypt.c:1.52 --- php4/ext/standard/crypt.c:1.51 Sun Sep 16 16:49:57 2001 +++ php4/ext/standard/crypt.c Sat Oct 20 23:01:17 2001 @@ -17,7 +17,7 @@ | Rasmus Lerdorf <rasmus@lerdorf.on.ca> | +----------------------------------------------------------------------+ */ -/* $Id: crypt.c,v 1.51 2001/09/16 20:49:57 sterling Exp $ */ +/* $Id: crypt.c,v 1.52 2001/10/21 03:01:17 sniper Exp $ */ #include <stdlib.h> #include "php.h" @@ -106,7 +106,7 @@ 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;

« previous php.cvs (#7886) next »