* Fix a warning

* Update ChangeLog
This commit is contained in:
Zeev Suraski 1999-07-24 14:36:48 +00:00
parent 4199c6d6a0
commit 2b2bda778e
3 changed files with 9 additions and 1 deletions

View file

@ -2,6 +2,10 @@ PHP 4.0 CHANGE LOG ChangeLog
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
??? ?? 1999, Version 4.0 Beta 2
- Fixed a memory leak with switch statement containing return statements
(Andi & Zeev, libzend)
- Fixed a crash problem in switch statements that had a string offset
as a conditional (Andi & Zeev, libzend)
- Imported PHP3 fixes for rand() and mt_rand() (Rasmus)
- Added function entries for strip_tags() and similar_text() (Andrey)
- Fixed a bug in WDDX that would cause a crash if a number was passed in

View file

@ -248,7 +248,7 @@ static void _php3_fsockopen(INTERNAL_FUNCTION_PARAMETERS, int persistent) {
switch(arg_count) {
case 5:
convert_to_double(args[4]);
conv = args[4]->value.dval * 1000000.0;
conv = (unsigned long) args[4]->value.dval * 1000000.0;
timeout.tv_sec = conv / 1000000;
timeout.tv_usec = conv % 1000000;
/* fall-through */

View file

@ -792,6 +792,10 @@ InputPath=".\configuration-scanner.l"
# PROP Default_Filter ""
# Begin Source File
SOURCE=.\ChangeLog
# End Source File
# Begin Source File
SOURCE=.\LICENSE
# End Source File
# Begin Source File