1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 15:38:49 +02:00
Commit Graph

25622 Commits

Author SHA1 Message Date
Rasmus Lerdorf 575ea1ef0b Suppress a dozen unused return value warnings in places where the return
value is really not useful to us.
2011-05-16 17:22:41 +00:00
Rasmus Lerdorf 22b689a3f9 Add php_ignore_value() macro to suppress unused return value warnings
from gcc. There are times when we really don't care about the return
value and this will cleanly tell gcc.
2011-05-16 16:58:02 +00:00
Johannes Schlüter 0179c5a0e6 - Fix Bug #53782 (foreach throws irrelevant exception) 2011-05-16 15:37:39 +00:00
Johannes Schlüter 898e3095f1 - Move the access behind the check.
# I can't find an unsafe call, but let's play safe
2011-05-16 10:15:28 +00:00
Rasmus Lerdorf 438cc7f201 Drop support for autoconf < 2.60 in trunk and the
new PHP_5_4 branch. autoconf >= 2.60 should finally
be working now.
2011-05-15 06:09:21 +00:00
Rasmus Lerdorf 08792f6f9b Cache the pdo include path 2011-05-15 05:03:29 +00:00
Rasmus Lerdorf a8df376b91 We can't really predict what will happen on an unknown host lookup
since bogus ISPs like Comcast and many others try to "help" by resolving
everything to their own search page.
2011-05-15 01:52:07 +00:00
Stanislav Malyshev b7ed1bcb20 forgot tokenizer... 2011-05-15 00:48:05 +00:00
Stanislav Malyshev 516c2f5920 removing scalar types in trunk 2011-05-15 00:36:13 +00:00
Martin Jansen 41dbe39471 MFB: Fixed two failing tests that were caused by arbitrarily chosen
but apparently bogus upper resp. lower limits for mt_rand().
2011-05-14 20:38:47 +00:00
Rasmus Lerdorf a0ae7e5828 en_US locale preferred output has AM/PM and also the timezone 2011-05-14 17:51:38 +00:00
Rasmus Lerdorf 0e07aeee7e Fix the require in these tests 2011-05-14 17:34:18 +00:00
Felipe Pena f1967befc8 - Fix test 2011-05-14 01:00:59 +00:00
Rasmus Lerdorf 2a927b5d7f Make sure 'E' is included in the variables_order, otherwise
this test won't work.
2011-05-13 21:54:25 +00:00
Scott MacVicar db0c957f02 Fix Windows build, this really should be in a patch file / README.
I'll fix this up later.
2011-05-13 13:51:07 +00:00
Scott MacVicar 6ec23faa99 Update bundled PCRE to 8.12 2011-05-13 07:00:45 +00:00
Scott MacVicar 735b3423a9 Update bundled SQLite to 3.7.6.2 2011-05-13 06:11:06 +00:00
Scott MacVicar 2c7fb35b83 Fix use after free() in XMLReader::xml() 2011-05-13 05:54:34 +00:00
Scott MacVicar 194b48088c Fixed bug #54723 - getimagesize() doesn't check the full ico signature and misreports mpg files 2011-05-13 05:06:48 +00:00
Rasmus Lerdorf 155972b117 Check headers first and let the CHECK_LIBRARY macro
handle checking for the library. This makes it 
correctly handle non-standard system paths as long
as gcc knows about them. Should fix the build on
Ubuntu natty.
2011-05-12 08:19:37 +00:00
Philip Olson c6ea819db4 Added missing date_default_timezone_set('UTC'); to the appropriate tests. A few now pass by not showing the timezone warning. 2011-05-12 06:51:46 +00:00
Boris Lytochkin dbed284039 fixed typos in tests
ucd-snmp epoch is over, drop legacy memory allocation (non e*)
tune 'buggy snmp_snprint_value' detection on some systems
2011-05-10 20:04:26 +00:00
Scott MacVicar b966897a0d Turns out that more than 1% of users clocks are more than a year out of date, this causes cookies to never get deleted since the date is in the future.
I can only guess its due to batteries on the motherboard being dead.
2011-05-10 19:09:24 +00:00
Boris Lytochkin 97930e9170 method renaming:
SNMP::get_errno() -> SNMP::getErrno()
SNMP::get_error() -> SNMP::getError()
2011-05-10 11:48:10 +00:00
Adam Harvey a642b52295 Fix bug #54692 (SQLite3::open() Return Value) by correcting the SQLite3::open()
prototype.
2011-05-10 08:14:55 +00:00
Andrey Hristov 9a197618b4 Fix range
(thanks again nihen)
2011-05-10 07:15:22 +00:00
Boris Lytochkin 9d2f7c1e3e remove method open, __construct is enough 2011-05-09 19:34:07 +00:00
Andrey Hristov d4ae5bd995 Fix for bug 54674..typo in the check of SJIS 2011-05-09 16:20:35 +00:00
Johannes Schlüter 410a781063 - Fix bug #54644 (wrong pathes in php_pdo_mysql_int.h) 2011-05-09 11:34:17 +00:00
Boris Lytochkin ee0d7f3207 * new option for SNMP::get: force keys of return array be as in request array
* new option for SNMP::walk: use suffix of OID for keys in return array, not full OID
2011-05-08 13:58:37 +00:00
Boris Lytochkin 1dc02ac2de fix error reporting on OID not increasing
calling arguments markup
2011-05-08 09:20:58 +00:00
Felipe Pena 1c24911a46 - Fixed bug #54681 (addGlob() crashes on invalid flags) 2011-05-07 01:58:26 +00:00
Andrey Hristov 91bddbe26e add the BLOCK_LEAVE macro for non-gcc and non-win 2011-05-04 19:09:12 +00:00
Andrey Hristov 84a309f87b reorganize the DBG_ macros, add DBG_BLOCK_XXX 2011-05-04 19:05:19 +00:00
Andrey Hristov 2d5e51db05 fix valgrind warning 2011-05-04 10:35:04 +00:00
Antony Dovgal bb2ccc96d3 fix tests 2011-05-04 08:44:14 +00:00
Antony Dovgal 968d49ae65 fix test 2011-05-04 08:28:31 +00:00
Dmitry Stogov fbe8cf9a40 Fixed crash when passing invalid timestamp (negative integer on win32) 2011-05-04 07:53:22 +00:00
Antony Dovgal 354cb67597 fix tests 2011-05-03 11:15:30 +00:00
Felipe Pena 48cb3447bb - Fixed ZTS build 2011-05-01 19:22:24 +00:00
Gustavo André dos Santos Lopes 6d9d7af86f - Fixed bug #54580 (get_browser() segmentation fault when the browscap ini
directive is set in activation time). This commit fixes this by adding a per
  request parsing of the browscap file that's when get_browser is called the
  first time and the directive is set on activation time.w
2011-05-01 18:37:20 +00:00
Gustavo André dos Santos Lopes 93f65cdeac - Fixed bug #54623 (Segfault when when writing to a persistent socket after
closing a copy of the socket).
2011-05-01 03:57:01 +00:00
Derick Rethans 9c285fddbb - Updated to version 2011.7 (2011g) 2011-04-30 20:18:51 +00:00
Gustavo André dos Santos Lopes c2d392e934 - Fixed build on Solaris. 2011-04-30 15:56:07 +00:00
Gustavo André dos Santos Lopes a6c9737749 - Fixed SKIPIF section missing a semicolon. 2011-04-30 15:54:44 +00:00
Peter Cowburn e77bd31f3f fix method name in JsonSerializable exception message 2011-04-30 12:57:23 +00:00
Ilia Alshanetsky 118695a4ea #doc
Added 3rd parameter to filter_var_array() and filter_input_array() 
functions that allows disabling addition of empty elements
2011-04-28 12:32:47 +00:00
Rasmus Lerdorf 53204a26d2 Fix test by pointing this at a smaller file that is less likely to break the test 2011-04-27 21:27:31 +00:00
Rasmus Lerdorf c09f0822fd Fix broken test 2011-04-27 15:08:44 +00:00
Martin Jansen 0c8438462c The project calls itself OpenSSL and not openSSL, so let's keep it
that way in our code as well.
2011-04-25 16:50:30 +00:00