Commit Graph

4587 Commits

Author SHA1 Message Date
Antony Dovgal
b805c9e089 MFH: fix #38961 (metaphone() results in segmentation fault on NetBSD) 2006-09-27 08:32:24 +00:00
Ilia Alshanetsky
4b286026c3 64bit fix (Possible fix for bug #38961) 2006-09-26 15:40:45 +00:00
Ilia Alshanetsky
cc0d254e4f Fixed bug #38891 (get_headers() do not work with curl-wrappers). 2006-09-25 16:00:43 +00:00
Antony Dovgal
39856ab9cb MFH: fix possible segfault in #38891 2006-09-23 11:58:58 +00:00
Ilia Alshanetsky
af993553fb array_key_exists() should not work by by-ref 2006-09-19 23:44:30 +00:00
Hannes Magnusson
db5dc9d5d8 fix test 2006-09-19 12:25:27 +00:00
Antony Dovgal
bc60e07d57 argh.. nuke UEXPECTF 2006-09-19 09:40:00 +00:00
Antony Dovgal
e1ff6fe881 support objects in array_walk*() 2006-09-19 09:35:27 +00:00
Antony Dovgal
0fe381cd70 fix tests 2006-09-19 09:07:56 +00:00
Antony Dovgal
dba1f1d42f MFH: fix #34066 (recursive array_walk causes segfault)
add tests
2006-09-19 09:04:16 +00:00
Ilia Alshanetsky
92c3cfd81f Additional expand_filepath() checks 2006-09-16 18:30:03 +00:00
Antony Dovgal
04da058284 MFH: fix leak when call to shutdown function fails 2006-09-15 09:12:17 +00:00
Antony Dovgal
99b133d7a7 MFH: fix double free(), add test 2006-09-15 07:27:22 +00:00
Dmitry Stogov
3fcfdf573d Write valid run-time value for Zend Memeory Manager 2006-09-14 08:01:48 +00:00
Ilia Alshanetsky
f4a75d91d2 Fixed bug #38096 (large timeout values ignored on 32bit machines in
stream_socket_accept() and stream_socket_client()).
2006-09-11 14:52:21 +00:00
Antony Dovgal
88b59df262 add new tests 2006-09-07 11:48:30 +00:00
Ilia Alshanetsky
8e86a189ec Fixed bug #38464 (array_count_values() mishandles numeric strings). 2006-09-06 17:25:57 +00:00
Nuno Lopes
731b68fbc5 fix gcc warning 2006-09-04 19:14:59 +00:00
Johannes Schlüter
688efae2d0 - Remove version number here as already done in HEAD 2006-09-03 11:27:50 +00:00
Pierre Joye
d63e411e9a - MFH 2006-08-31 22:52:54 +00:00
Antony Dovgal
c2a38c607b more z/Z fixes 2006-08-31 14:41:24 +00:00
Antony Dovgal
0c482b5c64 more z/Z fixes 2006-08-31 14:21:21 +00:00
Antony Dovgal
644a796525 MFH: fix leak in iptcembed() 2006-08-30 16:30:14 +00:00
Hannes Magnusson
d6ec9d21ec fix test 2006-08-30 09:44:53 +00:00
Ilia Alshanetsky
1b9e18d471 Corrected problems introduced by previous commit.
# Issue found by Stefan
2006-08-29 19:50:04 +00:00
Ilia Alshanetsky
7c618c40bc Finalize implode() patch 2006-08-29 14:32:16 +00:00
Antony Dovgal
ffc3d4a076 fix win32 build
EG(precision) can be changed in runtime, even in php_implode() (hint: __toString()), so please think twice before optimizing
2006-08-29 12:20:18 +00:00
Ilia Alshanetsky
914d362176 Adjust code to avoid TSRMLS_FETCH 2006-08-28 23:33:37 +00:00
Antony Dovgal
7384c12b11 MFH: make sure ext/standard is down before ext/session (fixes #38534) 2006-08-28 19:57:57 +00:00
Antony Dovgal
ecfa880820 MFH: set BG(locale_string) to NULL on shutdown (partly fixes #38534) 2006-08-28 18:58:47 +00:00
Antony Dovgal
615f2d7295 fix ZTS build 2006-08-28 09:56:28 +00:00
Hannes Magnusson
2d3056e94f MFH:
- Fixed bug #33895 (missing math constants).
 - Remove M_PI from math.c (its defined in php_math.h)
2006-08-27 19:14:43 +00:00
Ilia Alshanetsky
78d7b0bf0e Optimize the operation of implode() on non-string parameters 2006-08-27 19:06:09 +00:00
Hannes Magnusson
a180abdbfd fix tests on freebsd 2006-08-27 15:06:53 +00:00
Antony Dovgal
806d9fe71b tm_yday may be 0 2006-08-24 11:27:20 +00:00
Antony Dovgal
0584dc011c MFH: fix segfault in strptime() on 64bit Linuxes, caused by the missing declaration 2006-08-24 11:06:02 +00:00
Antony Dovgal
a3b62c8eed add test for real 2006-08-22 20:10:50 +00:00
Antony Dovgal
d5c9b41db1 fix implode() function (see http://news.php.net/php.qa/26876)
add test
2006-08-22 19:55:56 +00:00
Ilia Alshanetsky
2a41a50216 Fixed bug #38524 (strptime() does not initialize the internal date storage
structure).
2006-08-20 18:20:07 +00:00
Antony Dovgal
a33913d960 MFH: add a notice to fgetcsv() when delimiter or enclosure is longer than 1 char
(feature request #38496)
2006-08-18 12:50:57 +00:00
Antony Dovgal
f3c1722b0c MFH: don't try to use "auto", "none" and "pass" charsets returned from mbstring 2006-08-15 15:09:38 +00:00
Antony Dovgal
c3209b53d2 new tests 2006-08-15 08:54:15 +00:00
Ilia Alshanetsky
a4d2f04307 Fixed overflow on 64bit systems in str_repeat() and wordwrap().
Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode are
enabled.

# Patches by Stefan E.
2006-08-10 14:40:13 +00:00
Ilia Alshanetsky
e5fe441cbd Added support for httpOnly flag for session extension and cookie setting
functions.

# Original patch by Scott MacVicar
2006-08-10 13:50:56 +00:00
Antony Dovgal
1ec10ac8c7 typos in comments and other minor improvements 2006-08-10 13:43:18 +00:00
Antony Dovgal
03ee807824 zend_hash_get_current_key_ex() returns string_len + 1, so we need to subtract 1 to get the real length 2006-08-08 13:12:00 +00:00
Pierre Joye
1f69ad5aa1 - compiler warnings 2006-08-08 10:36:58 +00:00
Antony Dovgal
1a4b715ef2 use memrchr/zend_memrchr instead of strrchr 2006-08-08 10:22:25 +00:00
Antony Dovgal
9596bda7fc add new test 2006-08-08 09:51:06 +00:00
Antony Dovgal
d17c2ec46d add new test 2006-08-04 15:01:37 +00:00