Commit Graph

34687 Commits

Author SHA1 Message Date
Ilia Alshanetsky
960ac4a6b1 MFB: Fixed compiler warnings. 2006-06-21 15:19:37 +00:00
Antony Dovgal
06ae96342f improve check for stream mode, add tests 2006-06-21 14:38:06 +00:00
Antony Dovgal
49a29c9b94 don't try to read or write from/to a stream if it was open in different mode (leads to segfault in libbz2) 2006-06-21 13:12:00 +00:00
Antony Dovgal
f20ba806f9 fix invalid read with bzopen("","") and prevent filename from being empty (which causes endless loop somewhere is libbz2)
tests will follow
2006-06-21 12:42:50 +00:00
Antony Dovgal
9af1ea3883 fix compile failure with <s>ancient</s> older PHP versions caused by new globals management code 2006-06-21 10:51:55 +00:00
Andrei Zmievski
37972451f8 Implement unicode_set_error_handler() / unicode_restore_error_handler().
The error handler doesn't do anything yet. (vaporware)
2006-06-20 23:00:02 +00:00
Andrei Zmievski
5e64063b1c Plug memory leak in set_exception_handler(). 2006-06-20 22:50:49 +00:00
Ilia Alshanetsky
e6543cd7dc MFB: Removed pointless callbacks. 2006-06-20 22:42:42 +00:00
Nuno Lopes
b5fda0101c MFB 5.2 2006-06-20 21:58:03 +00:00
Antony Dovgal
016fe711f9 fix tests 2006-06-20 19:49:44 +00:00
Hannes Magnusson
1cb807ab63 Renamed file to bug37864.phpt 2006-06-20 19:31:04 +00:00
Hannes Magnusson
2c87f890bc Test for bug #37864 (file_get_contents() leaks on empty file) 2006-06-20 19:30:19 +00:00
Antony Dovgal
3d0e1456e4 fix test 2006-06-20 19:12:12 +00:00
Antony Dovgal
bc5a9692cb don't leave garbage in tmp dir 2006-06-20 18:55:37 +00:00
Hannes Magnusson
f3334c8df3 add test for file_get_contents() leaking on empty file 2006-06-20 18:46:14 +00:00
Antony Dovgal
438d74568d fix tests 2006-06-20 18:14:12 +00:00
Hannes Magnusson
64ce1969c9 Plug memleak (leaks on empty files) 2006-06-20 18:09:33 +00:00
Hannes Magnusson
d9f977e685 Add missing header include 2006-06-20 18:00:11 +00:00
Antony Dovgal
59e16e52de init variables 2006-06-20 13:28:02 +00:00
Antony Dovgal
8fd8789c9a nuke unused variables and init variables when needed 2006-06-20 13:21:10 +00:00
Antony Dovgal
f59302fe60 fix test to work on all platforms 2006-06-20 13:14:20 +00:00
Antony Dovgal
381269b354 fix test 2006-06-20 13:07:44 +00:00
Antony Dovgal
737e1bdd92 initialize pointers 2006-06-20 13:01:08 +00:00
Antony Dovgal
a896c54e2f fix tests 2006-06-20 12:50:52 +00:00
Ilia Alshanetsky
2e1fd9c044 MFB: Added missing ifdef block. 2006-06-19 23:55:11 +00:00
Antony Dovgal
3210771d31 display oci8 version in phpinfo() 2006-06-19 18:21:19 +00:00
Antony Dovgal
d6669ef575 plug leak in CGI SAPI when running scripts with query string in console 2006-06-19 17:49:20 +00:00
Antony Dovgal
635be00596 MFB: fix #37848 (ext/odbc compile failure) 2006-06-19 16:13:31 +00:00
Michael Wallner
dbfa7271c8 MFB52: Fix Bug #37780 memory leak trying to execute a non existing file (CLI) 2006-06-19 14:53:03 +00:00
Antony Dovgal
26713e9afe fix #37807 (segmentation fault during SOAP schema import) 2006-06-19 11:43:36 +00:00
Antony Dovgal
cb68193690 add missing ifdef and avoid "unused variable" warning 2006-06-19 11:38:51 +00:00
Ilia Alshanetsky
4396986fc7 MFB: Added posix_initgroups() function. 2006-06-19 02:19:45 +00:00
Hannes Magnusson
fc53160464 Revert accidental libxml class property declaration.. 2006-06-17 13:15:37 +00:00
Hannes Magnusson
587311d07e Added argument info
Fixed protos
Fixed vim folding
2006-06-17 13:00:21 +00:00
Hannes Magnusson
9b8efc936a Fixed tests 2006-06-17 12:48:20 +00:00
Nuno Lopes
f1d78f433d MFB 2006-06-17 11:14:21 +00:00
Nuno Lopes
fa23156c42 MFB 2006-06-17 10:31:21 +00:00
Nuno Lopes
e74021e487 MFB: new tests 2006-06-16 22:48:29 +00:00
Stefan Esser
06076fd0d6 Fixed that configure bails out on wrong flex version. Now a wrong flex version
will issue a warning and when flex is needed during the make process the make
process will die with an error message.
2006-06-16 08:00:23 +00:00
Dmitry Stogov
a1bdb59275 New crypt() implementation for win32 which is about 10 times faster and has more friendly license. 2006-06-16 05:57:41 +00:00
Rasmus Lerdorf
9e0cedcdd6 Optimize the other string conversion functions here to just create raw
text nodes.
2006-06-15 22:44:55 +00:00
Pierre Joye
da989ab849 - reimport logical_filter.c 2006-06-15 22:20:57 +00:00
Rasmus Lerdorf
c0c6e9944f I don't think the call to xmlNodeSetContentLen() is needed here and
it is causing performance problems because it tries to parse the blob
and create a subtree.  Because we are escaping the string anyway, we
are never going to get a subtree, but the entity parsing that is done
by xmlNodeSetContentLen() is killing performance on large blobs of
text.  On one recent example it took a couple of minutes to parse
whereas if we just create a text node like this and set the contents
to the raw string it is down to milliseconds.  As far as I can tell
all the tests pass with this patch.
2006-06-15 18:03:30 +00:00
Andrei Zmievski
927c5f2eb7 Rename to str_transliterate(). 2006-06-15 17:37:48 +00:00
Hannes Magnusson
284ad23f60 Add array type hinting
Remove unnecessary array checkes
2006-06-15 16:25:12 +00:00
Seiji Masugata
85f42ffe65 changed GINIT definition. 2006-06-15 15:44:05 +00:00
Nuno Lopes
06f93f77f3 MFB: fix bug #37800 2006-06-15 15:35:50 +00:00
Hannes Magnusson
66ad36259b Revert array type hinting 2006-06-15 15:31:39 +00:00
Dmitry Stogov
f6bdedcb5b Fixed ZTS build 2006-06-15 10:03:52 +00:00
Hannes Magnusson
a0c41f3e95 Added arg info
Fixed protos
2006-06-14 21:29:22 +00:00