mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
* Fix a warning
* Update ChangeLog
This commit is contained in:
parent
4199c6d6a0
commit
2b2bda778e
3 changed files with 9 additions and 1 deletions
|
@ -2,6 +2,10 @@ PHP 4.0 CHANGE LOG ChangeLog
|
||||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||
|
|
||||||
??? ?? 1999, Version 4.0 Beta 2
|
??? ?? 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)
|
- Imported PHP3 fixes for rand() and mt_rand() (Rasmus)
|
||||||
- Added function entries for strip_tags() and similar_text() (Andrey)
|
- 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
|
- Fixed a bug in WDDX that would cause a crash if a number was passed in
|
||||||
|
|
|
@ -248,7 +248,7 @@ static void _php3_fsockopen(INTERNAL_FUNCTION_PARAMETERS, int persistent) {
|
||||||
switch(arg_count) {
|
switch(arg_count) {
|
||||||
case 5:
|
case 5:
|
||||||
convert_to_double(args[4]);
|
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_sec = conv / 1000000;
|
||||||
timeout.tv_usec = conv % 1000000;
|
timeout.tv_usec = conv % 1000000;
|
||||||
/* fall-through */
|
/* fall-through */
|
||||||
|
|
|
@ -792,6 +792,10 @@ InputPath=".\configuration-scanner.l"
|
||||||
# PROP Default_Filter ""
|
# PROP Default_Filter ""
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\ChangeLog
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\LICENSE
|
SOURCE=.\LICENSE
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue