Commit Graph

24070 Commits

Author SHA1 Message Date
Andrey Hristov
7e1a12673b Fix warnings in printf 2008-10-31 20:30:55 +00:00
Andrey Hristov
65f5d4e434 64bit fixes:
- fixes to sprintf modifiers, cleaning warnings
- use _t types, like uint64_t instead of uint64, thus skipping series of
typedefs.
2008-10-31 20:30:33 +00:00
Felipe Pena
8bf0a4f64b - New test 2008-10-30 15:50:33 +00:00
Felipe Pena
7b359fa53a - Improved test 2008-10-30 14:31:01 +00:00
Felipe Pena
18467f71d1 - Fix the fix (thanks Hannes!) 2008-10-30 14:30:02 +00:00
Lars Strojny
6d2dfa4eb0 The real fix for the gettext overflow bug
- The overflow issue was not limited to domains, but also present for msgids
 - [DOC] msgids are now limited to 4096 chars, domains to 1024
2008-10-30 14:22:21 +00:00
Sanjay Mantoor
e573eae83f New testcases for gettimeofday function 2008-10-30 10:46:17 +00:00
Felipe Pena
d140cd1f0b - Fixed bug #46426 (3rd parameter offset of stream_get_contents not works for "0") 2008-10-30 10:08:01 +00:00
Felix De Vliegher
1c88dd1fa9 Tests for SQLite3Stmt::paramCount(). 2008-10-29 22:35:52 +00:00
Felix De Vliegher
bf1f64467d Fix typo. 2008-10-29 21:43:30 +00:00
Rob Richards
ab7e0ab7b3 fix bug #46406 (Unregistering nodeclass throws E_FATAL) 2008-10-29 21:21:06 +00:00
Ilia Alshanetsky
dc6ae4b11b MFB: Fixed bug #44938 (gettext functions crash with overly long domain). 2008-10-29 21:02:14 +00:00
Ilia Alshanetsky
7307d3783b MFB: Fixed bug #42294 (Unified solution for round() based on C99 round). 2008-10-29 20:17:43 +00:00
Felipe Pena
fa5d6496f5 - Fixed char formatter 2008-10-29 13:01:44 +00:00
Felipe Pena
b90aaccbfd - Fixed bug #46064 (Exception when creating ReflectionProperty object on dynamicly created property) 2008-10-29 12:41:22 +00:00
Felix De Vliegher
ac24f7ecfe Various tests for the sqlite ext.
The sqlite session tests are by Mats Lindh <mats at lindh.no>.
2008-10-29 11:43:33 +00:00
Zoe Slattery
c7d76c2f02 scottish time variation 2008-10-28 19:26:03 +00:00
Andrey Hristov
35829ec7ed Fix compiler warning (MFB: Ilia) 2008-10-28 10:45:31 +00:00
Sanjay Mantoor
2b1b26bf6d New testcases for array_intersect_uassoc function 2008-10-28 10:21:12 +00:00
Derick Rethans
5d5215c49c - Updated to version 2008.9 (2008i) 2008-10-28 08:17:19 +00:00
Johannes Schlüter
b22d3665be Fix #44135 (PDO MySQL does not support CLIENT_FOUND_ROWS) 2008-10-27 18:29:57 +00:00
Johannes Schlüter
96b3cd0a64 Fix #46285 (lastInsertId() returns "0" when a deferenced PDOStatement is
executed)
2008-10-27 17:20:26 +00:00
Andrey Hristov
0b77134114 Fix overusage of memory when the result set is empty. Then no memory will be
allocated compared to before. Also grow (realloc) the rset with 10% instead
of 33% - more reallocs but better memory usage. Of course later theres is a
realloc to shrink the rset t ofree it from unused rows but its better to
to eat too much at once.
2008-10-27 15:13:42 +00:00
Andrey Hristov
c52f1524e7 Fix a name 2008-10-27 14:38:17 +00:00
Andrey Hristov
7d9744ae61 Fix tests 2008-10-27 14:33:09 +00:00
Andrey Hristov
526345b3a0 Fix bug found in a test. mysqli.default_port wasn't used 2008-10-27 14:30:51 +00:00
Andrey Hristov
e8e843b39e Warning if the library API version differs from the headers used to compile.
Patch versions are not considered but major.minor
Fix build of ext/mysql with 4.0.x and pre.
2008-10-27 12:07:35 +00:00
Felipe Pena
2aedbeb829 - Fixed test 2008-10-26 23:33:32 +00:00
Ilia Alshanetsky
726f72a406 MFB: Fixed compiler warning 2008-10-26 14:36:25 +00:00
Felipe Pena
912470c7d8 - Fixed bug #46388 (stream_notification_callback inside of object destroys object variables) 2008-10-26 13:22:00 +00:00
Greg Beaver
1699efd72b last commit was an old patch, revert faulty line 2008-10-26 05:51:04 +00:00
Greg Beaver
329229071f MFB: fix several errors found by valgrind
1 - entry metadata not properly processed or retrieved from cached phars
2 - copy on write was using a void return value instead of int, a dangerous oversight in phar_update_cached_entry
3 - metadata creation in entries for cached phars was causing an invalid read
2008-10-26 05:49:24 +00:00
Felipe Pena
0e27614ff9 - Fixed bug #46389 (NetWare needs small patch for _timezone) (patch by guenter at php.net) 2008-10-26 01:58:25 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Felipe Pena
6849171a2d - Removed unnecessary check for array (#46273, noticed by serovov at gmail dot com) 2008-10-24 10:27:54 +00:00
Pierre Joye
f8484b2d70 - MFB: flatten path and make them relative before extraction 2008-10-23 21:18:13 +00:00
Felipe Pena
1d92251fe1 - Fixed bug #43925 (Incorrect argument counter in prepared statements with pgsql) 2008-10-23 18:22:18 +00:00
Stanislav Malyshev
1e187d5a81 fix instantclient detection 2008-10-22 19:29:48 +00:00
Arnaud Le Blanc
2c0bf23728 Fixed bug #46360 (TCP_NODELAY constant for socket_{get,set}_option) 2008-10-22 18:58:43 +00:00
Scott MacVicar
6978fff657 Fix a stat on a null when the internal database is used. 2008-10-22 16:34:17 +00:00
Scott MacVicar
be09b491da When using the internal database and there is an error it could try free some invalid things. This was causing a bus error on ppc. 2008-10-22 13:59:08 +00:00
Sanjay Mantoor
4d65d65ce7 New PHP testcases for array_diff_ukey function 2008-10-22 05:51:52 +00:00
Arnaud Le Blanc
51f7cc3925 initialize optional vars 2008-10-21 23:36:17 +00:00
Arnaud Le Blanc
5ef7ecafc1 initialize optional vars 2008-10-21 22:06:49 +00:00
Alexey Zakhlestin
374086f172 MFB: skip tests on systems without fnmatch() function (f.e.: old darwin) 2008-10-21 13:38:57 +00:00
Alexey Zakhlestin
37c4e3c5ac MFB: proper check for php-version 2008-10-21 13:00:29 +00:00
Alexey Zakhlestin
d8393b570c MFB: these tests work just fine on macos-x 2008-10-21 12:48:37 +00:00
Zoe Slattery
4cdeb0e808 Committing test for till 2008-10-21 09:34:39 +00:00
Scott MacVicar
df2b71d2ca Fix bug #46331 - The internal magic db is const memory and segfaults when you try to do byte swapping
on big endian machines. This fixes it by copying the memory for those processors, but this isn't ideal as
it wastes memory. Perhaps using a static cache would be better.
2008-10-20 23:35:47 +00:00
Ilia Alshanetsky
42e1ad7421 MFB: Fixed bug #46343 (IPv6 address filter accepts invalid address) 2008-10-20 23:23:53 +00:00