Wez Furlong
c4bc5b7f33
Fix #31408 : memory leak in stream_socket_recvfrom
2005-01-04 15:30:45 +00:00
Moriyoshi Koizumi
88ce94a3c2
- Add testcases for bug #29493 and #31213 .
2005-01-02 06:51:03 +00:00
foobar
4cf9d27072
- Fixed bug #28930 (PHP sources pick wrong header files generated by bison)
2004-12-30 15:18:24 +00:00
foobar
69eec3f3b9
MFB_4_3: Quote macro names in AC_DEFUN()
2004-12-30 07:08:39 +00:00
Ilia Alshanetsky
585833ab7e
Fixed proto.
2004-12-30 01:23:44 +00:00
Zeev Suraski
f64c4f4569
MFB - description fix
2004-12-27 18:22:50 +00:00
Wez Furlong
843807c647
When a socket is non-blocking, don't block ssl enabled sockets.
...
Allow for non-blocking negotiation when calling stream_socket_enable_crypto().
That function will return the foolowing values:
false - negotiation failed
0 - try again when more data is available (only for non-blocking sockets)
true - ssl was enabled
2004-12-25 02:02:56 +00:00
Wez Furlong
e1f3beaa13
really don't blow up
2004-12-23 19:39:22 +00:00
Antony Dovgal
38d8e20f68
destroy return_value and fix leak in array_fill()
2004-12-23 16:35:48 +00:00
Wez Furlong
d3d757d95a
don't crash...
2004-12-23 05:56:50 +00:00
Magnus M��tt�
774a978ea9
Fix test so it doesn't hang make test on HP-UX.
2004-12-21 04:34:22 +00:00
Derick Rethans
13c2cbb515
- MF43: Fixed bug #31072 (var_export() does not output an array element with an
...
empty string key). (Derick)
2004-12-17 14:40:39 +00:00
Ilia Alshanetsky
77c0395968
Fixed bug #31087 (broken php_url_encode_hash macro).
2004-12-16 22:39:39 +00:00
Antony Dovgal
33c24b5436
fix leak (init array only if we got valid start key)
2004-12-16 19:13:58 +00:00
foobar
ce742b08b0
- Fix typo (avaliable -> available). (bug #28725 )
2004-12-16 12:34:32 +00:00
Ilia Alshanetsky
cc17322c14
MFB: test fix.
2004-12-14 17:43:53 +00:00
Ilia Alshanetsky
6d7cac7731
Fixed bug #28228 (NULL decimal separator is not being handled correctly).
2004-12-14 00:37:19 +00:00
Wez Furlong
419bbffeef
Make it really build...
2004-12-13 13:52:01 +00:00
Wez Furlong
d213b67cdf
Add missing constants for socketpair().
...
I thought I had included these...
Good catch Nuno :)
2004-12-12 23:21:53 +00:00
Wez Furlong
d10b86f8f4
Add stream_socket_pair(), a streams based version of socketpair().
...
Modified patch from Vincent [six at t0x dot net]
2004-12-12 16:10:35 +00:00
Ilia Alshanetsky
c96a1e0ddf
Fixed bug #31056 (php_std_date() returns invalid formatted date if
...
y2k_compliance is On).
# will MFH to 5.0.X and 4.3.X after release
2004-12-12 15:50:06 +00:00
Antony Dovgal
01b996b98b
fix buffer overrun & segfault in get_meta_tags() when there is no tag value
2004-12-10 10:30:01 +00:00
Ilia Alshanetsky
6883a3f09c
Fixed bug #30990 (allow popen() on *NIX to accept 'b' flag).
2004-12-06 23:30:37 +00:00
Antony Dovgal
b6b8bf0010
fix array_walk_recursive() so it doesn't reuse cached fci between calls
...
and add test for it
2004-12-03 17:43:23 +00:00
Stefan Esser
9a18fb197d
Handle already existing elements correctly
2004-12-03 16:02:48 +00:00
Antony Dovgal
ccc6462cc5
revert my previous patch as it breaks more than fixes
2004-12-02 16:35:02 +00:00
Stefan Esser
1094a0d243
Beware of negative indices
2004-12-01 22:42:00 +00:00
Derick Rethans
b6f9b5c693
- Added testcase for bug #30695
2004-11-29 10:15:03 +00:00
Antony Dovgal
dbc0bb7514
fix #29954 (array_reduce segfaults when initial value is array)
2004-11-28 17:03:45 +00:00
Stefan Esser
6d98fc38b5
Fixed: removed possible integer over-/underflows
2004-11-28 12:44:28 +00:00
Dmitry Stogov
5ece0ecdfb
Test was fixed.
2004-11-23 17:21:33 +00:00
Derick Rethans
a6ded1178e
- Added test for bug #28599
2004-11-23 09:40:07 +00:00
Antony Dovgal
39b25e4f3d
fix yet another typo
2004-11-21 13:35:32 +00:00
Antony Dovgal
d9dd604ae7
fix typo (bug #30857 )
2004-11-21 13:33:20 +00:00
Antony Dovgal
2a588879ef
fix bug #30587 (array_multisort doesn't separate zvals before changing them)
2004-11-19 16:55:37 +00:00
Frank M. Kromann
11363296be
Avoid renaming of sprintf to php_sprintf
2004-11-15 21:13:25 +00:00
Derick Rethans
d79407f4fd
- MF5.0: Fixed bug #28599 (strtotime fails with zero base time).
2004-11-15 16:31:12 +00:00
Derick Rethans
61364b5bb1
- MFH4.3: Cleaned up some of the locale mess:
...
* all internal use of sprintf, snprintf and the like will always
use the . as thousands seperator (if php.h is included only!).
* echo, printf() and sprintf() always render locale-aware
* added the %F modifier for non-locale aware rendering for floats
2004-11-15 13:42:22 +00:00
Antony Dovgal
d33eb14569
fix #30751 (phpinfo() shows the same ini path after reconfigure with --with-config-file-path)
2004-11-11 06:57:06 +00:00
Wez Furlong
be4778b87e
Fix leaking handle.
...
Thanks to ilya77 at gmail dot com
2004-11-10 19:47:15 +00:00
Joe Orton
0f858fc744
Make the "rounding fuzz" check work again with gcc 3.3 and later,
...
fixing the bug24142 test.
2004-11-09 15:58:16 +00:00
Derick Rethans
59651c4e58
- Fixed bug #30630 : Added a BSD based strtod function that is
...
locale-independent. (PHP part)
2004-11-03 23:36:51 +00:00
Ilia Alshanetsky
9a9815a123
emalloc() failures are handled by zend engine.
2004-11-03 22:17:45 +00:00
Antony Dovgal
b5c1040240
fix build
2004-11-03 06:22:08 +00:00
Andrey Hristov
494d665955
make sleep() return it's return value when possible
...
#on some *nix systems sleep() is implemented with SIGALRM. When SIGALRM
#interrupts sleep() it returns the number of seconds that has to be slept
#till the number of seconds wanted by the script. Sleep() on Windows is
# void.
2004-11-02 17:03:20 +00:00
Ilia Alshanetsky
5f9d72c431
Fixed open_basedir & safe_mode bypass inside readlink() function.
2004-11-02 00:37:32 +00:00
Marcus Boerger
c18e248e60
- Remove doubled definition
2004-11-01 22:28:59 +00:00
Marcus Boerger
b0c2af58f7
- Add some comment
2004-11-01 21:06:42 +00:00
Marcus Boerger
2ce7bcd742
- Allow direct access to spl class entries (SPL cannot be build shared)
2004-11-01 20:57:23 +00:00
Marcus Boerger
db47e478c5
- Use new way for global variables
...
- Cache class lookup
2004-11-01 12:09:46 +00:00