Dmitry Stogov
977cc79398
Added ability to use stream wrappers in include_path
2008-03-27 10:33:52 +00:00
Scott MacVicar
56352d1a2f
MFB 5.3: Rest of the changes for re2c merge
2008-03-26 14:46:17 +00:00
Johannes Schlüter
870ddcdb3e
- New egg
2008-03-25 17:17:42 +00:00
Christopher Jones
7060c9574c
oci8: Sync with 5.3 - version macro updates and DRCP tweaks
2008-03-25 02:25:03 +00:00
Antony Dovgal
4c7b5a89ba
Change streams to not use mmap() when reading files (aka copying to memory).
...
There are two problems with mmap() in this case:
1) there is no performance gain since we allocate the memory anyways;
2) memcpy() may crash if somebody truncates this file at the same moment
(see http://dev.daylessday.org/diff/mmap.phps for example);
It seems to work fine with fpassthru(), though why it is so should be investigated.
Thanks to Andrey Vasilishin for the report and Anight for pressing this through =)
2008-03-24 16:28:08 +00:00
Dmitry Stogov
cee56e2022
Fixed ws and comment
2008-03-24 09:30:54 +00:00
Antony Dovgal
5b5c286d49
use correct flags
2008-03-22 12:56:07 +00:00
Marcus Boerger
384d50b37b
- Settle to 4 MB, see internals@ archives
2008-03-21 19:37:32 +00:00
Marcus Boerger
12a66e0d1c
- Fix comment
2008-03-21 18:20:51 +00:00
Marcus Boerger
a70a882df4
- Increase max mmap size to 8 MB
2008-03-21 17:12:38 +00:00
Antony Dovgal
f1fbb3fd21
[DOC] revert short tags to their previous state
2008-03-21 16:38:50 +00:00
Stanislav Malyshev
da40d5a172
MF5: make short_open_tag user-accessible
2008-03-20 17:31:17 +00:00
Rasmus Lerdorf
b911467d1d
MFB
...
Here are the signal changes from the 5.3 branch that optimizes signal
handler registration and switches from longjmp to siglongjmp in order
to make signal mask handling consistent across different UNIX operating
systems.
2008-03-19 16:37:49 +00:00
Antony Dovgal
da036996be
make use of zend_atol()
2008-03-19 12:40:48 +00:00
Felipe Pena
af9b1c3376
MFB: Fixed bug #44440 (st_blocks undefined under BeOS)
2008-03-15 10:34:12 +00:00
Antony Dovgal
6ec12a4794
check if return value of write() is -1 and abort upload in this case setting the correct error status
2008-03-14 13:10:22 +00:00
Dmitry Stogov
ab77e14ad2
Disable path resolution for filenames with stream wrappers
...
More careful check for relative pathes (./xxx and ../xxx)
2008-03-13 14:10:08 +00:00
Stanislav Malyshev
c5c4b858df
MFB: add request_order INI variable to control $_REQUEST content
...
# if not set (default), variables_order still is used
# request_order accepts G,P and C
2008-03-12 20:53:04 +00:00
Antony Dovgal
ec101c1274
fix segfault - error_string may be NULL, in this case we have to follow the old behavior
2008-03-11 10:26:51 +00:00
Andrey Hristov
af5a93e552
char **error_message was passed but not used. This causes problems in cases
...
of getaddrinfo() failure, because the upper layers don't get the error.
initialize a variable because we were reading initialized in case of error.
2008-03-10 19:55:43 +00:00
Etienne Kneuss
2660bd1de9
User error handlers no longer catch supressed errors
2008-03-08 22:17:32 +00:00
Pierre Joye
e0d8f5c8bc
- MFB: #42505 , new sendmail default path breaks on Novell (Guenter Knauf)
2008-03-05 21:20:14 +00:00
Dmitry Stogov
c8b1dbff23
Optimized require_once() and include_once() by eliminationg open() syscall on se
...
cond usage.
2008-03-05 13:35:02 +00:00
Felipe Pena
2818d4fc51
New way for check void parameters
2008-03-04 23:39:15 +00:00
Ilia Alshanetsky
94ee2269d6
MFB: Fixed bug #44233 (MSG_PEEK undefined under BeOS R5)
2008-02-27 00:30:49 +00:00
Marcus Boerger
6b58678c63
- Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
2008-02-23 17:03:53 +00:00
Felipe Pena
b6fafb1a4d
Fix build
2008-02-16 02:28:11 +00:00
Pierre Joye
48d86e7ad8
- [DOC] MFB: add PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION,
...
PHP_EXTRA_VERSION, PHP_VERSION_ID, PHP_ZTS and PHP_DEBUG constants
2008-02-15 15:09:56 +00:00
Marcus Boerger
602dd615e9
- Add %Z to *printf
2008-02-07 18:40:29 +00:00
Marcus Boerger
8954a96939
- WS
2008-02-07 12:45:42 +00:00
Jani Taskinen
ad6e9ad259
- Allow using any constants registered by PHP in php.ini too
2008-02-04 20:38:42 +00:00
Marcus Boerger
986eed1379
- Typo
2008-02-03 14:48:22 +00:00
Marcus Boerger
f2ce43983f
- Rename dump_config_hash() to get_config_hash() as it doesn't dump
2008-02-03 14:35:29 +00:00
Marcus Boerger
bffdbbbfa4
- Fix build
2008-02-02 23:25:43 +00:00
Marcus Boerger
7671f2ec4a
- Get rid of overoptimization
2008-01-30 23:43:05 +00:00
Dmitry Stogov
42a683d688
Imporoved PHP binary size and startup speed with GCC4 visibility control (Nuno)
2008-01-30 09:56:22 +00:00
Dmitry Stogov
6c51ef721f
Fixed bug #43491 (Under certain conditions, file_exists() never returns)
2008-01-29 14:25:07 +00:00
Scott MacVicar
352c3a7f1b
Fixed bug #43954 (Memory leak when sending the same HTTP status code more than once.)
2008-01-28 16:08:14 +00:00
Dmitry Stogov
6847c18150
Added garbage collector
2008-01-22 09:29:29 +00:00
Greg Beaver
184e934511
use correct macro
2008-01-13 22:55:02 +00:00
Greg Beaver
e54eb5513e
clarify error message on why opening a stream wrapper failed for allow_url_include/allow_url_fopen, add test for allow_url_fopen
2008-01-12 15:50:17 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Antony Dovgal
21fb4c1030
apply correct fix for bug #43522
...
fix Unicode streams too this time
2007-12-29 10:50:12 +00:00
Hannes Magnusson
2ea5df33a7
Update the class method documentation links
2007-12-29 02:21:25 +00:00
Hannes Magnusson
003bb5ceaa
MFB5.3: Fixed bug#43105 (PHP seems to fail to close open files.)
2007-12-27 02:11:05 +00:00
Derick Rethans
b95520c0fd
- Fixed typo.
2007-12-18 10:52:59 +00:00
Ilia Alshanetsky
0b6a51e539
MFB: Fixed bug #43580 (removed bogus declaration of a non-existent
...
php_is_url() function)
2007-12-13 00:27:43 +00:00
Ilia Alshanetsky
d963eaffcc
MFB: Fixed bug #43522 (stream_get_line() eats additional characters)
2007-12-10 14:19:20 +00:00
Dmitry Stogov
8dbae457d5
Fixed crash because of uninitialized SG(sapi_headers).mimetype
2007-12-03 16:04:47 +00:00
Jani Taskinen
38d7b36439
- No zval is stored here
2007-11-26 16:34:07 +00:00