Commit Graph

3020 Commits

Author SHA1 Message Date
Pierre Joye
50c685a305 - silent warning with vc8 + dbg mode 2008-07-28 11:35:36 +00:00
Felipe Pena
6182c24aa8 - Fixed the parameter type expected. set_time_limit() should accept only integer. 2008-07-25 13:39:39 +00:00
Felipe Pena
4eaf978874 - MFB: New parameter parsing API (set_time_limit) 2008-07-25 12:14:36 +00:00
Dmitry Stogov
013059c247 Fixed uninitialized data 2008-07-25 08:53:11 +00:00
Antony Dovgal
55fecd6593 invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:24:35 +00:00
Felipe Pena
f76da1b96c - Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:06:17 +00:00
Steph Fox
c799f0a1ef MFB Removed generated file (no longer used for .dsp builds) 2008-07-21 10:02:08 +00:00
Hannes Magnusson
5919165375 Add E_USER_DEPRECATED (patch by Lars Strojny) 2008-07-21 09:36:21 +00:00
Dmitry Stogov
637e591a3d Fixed chdir() into requested file directory inconsistencies 2008-07-21 08:42:35 +00:00
Nuno Lopes
0b858d15e3 update PCRE symbols 2008-07-17 14:35:33 +00:00
Jani Taskinen
1a58013044 - Fixed bug #44127 (UNIX abstract namespace socket connect does not work) 2008-07-16 14:08:04 +00:00
Jani Taskinen
c3e18660ec - Silence "unused variable" warning when ip6 support is disabled 2008-07-11 13:11:37 +00:00
Antony Dovgal
ca0a6ec295 not all stream wrappers use context, so no need to addref in all cases 2008-07-11 12:40:20 +00:00
Antony Dovgal
3519ed9e31 manage references of stream context properly 2008-07-11 10:24:29 +00:00
Pierre Joye
1c82616c27 - don't redefine WINDOWS and pid_t 2008-07-05 18:50:10 +00:00
Pierre Joye
ebeaa08ecd - _getpid is in process.h 2008-07-05 18:36:13 +00:00
Dmitry Stogov
7528240b85 Fixed bug #45352 (Segmentation fault because of tick function on second request) 2008-06-25 12:18:51 +00:00
Kalle Sommer Nielsen
96cd1c1e0b Fix build on Windows NT6 2008-06-24 05:59:11 +00:00
Dmitry Stogov
00ea3108ea closeder/readdir/rewinddir must work only with directories 2008-06-11 09:01:44 +00:00
Stanislav Malyshev
dcd1cd8002 with unicode buffers, positions are in uchars 2008-06-08 18:21:59 +00:00
Antony Dovgal
41c60bab79 fix invalid free in Unicode filter 2008-05-20 07:48:04 +00:00
Greg Beaver
2b41209dfb MFB: fix erroneous use of php_resolve_path in _php_stream_wrapper_open_ex - this breaks require/include for all extensions that intercept zend_resolve_path 2008-04-28 22:40:10 +00:00
Greg Beaver
e8ac7c11d1 MFB: Fixed potentially confusing error message on failure when no errors are logged 2008-04-28 22:37:45 +00:00
Dmitry Stogov
f3c82b0055 Optimized request startup sequence for php.ini without per dir and per host conf
igurations
2008-04-15 11:32:13 +00:00
Greg Beaver
b34cf3d86f MFB do not scan include_path with faulty plain_wrapper-based include_path fopen
# _fopen_with_path_rel probably needs to call out to regular php_stream_open, for exts that use it (it is exported)
2008-04-13 22:19:23 +00:00
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