Hannes Magnusson
f9bc85a19b
Whoops. Missing bit from the open_basedir tightening MFH
2008-12-09 10:23:44 +00:00
Hannes Magnusson
76669fce23
MFH: - Changed open_basedir to allow tightening in runtime contexts. (Sara)
...
- Add test
2008-12-09 10:20:11 +00:00
Johannes Schlüter
a2266a7782
Back to -dev
2008-12-03 21:01:52 +00:00
Johannes Schlüter
2cfbe8c9ff
5.3.0. Alpha 3
2008-12-03 20:40:59 +00:00
Pierre Joye
ef68d9fc72
- export php_scandir and php_alphasort correctly (used by APC for example)
2008-12-02 10:15:08 +00:00
Scott MacVicar
ceabdbb483
MFH Add asprintf, use regular system malloc and free and add checks in configure.in for the functions
2008-11-27 19:45:27 +00:00
Dmitry Stogov
7d4fd3fd38
Fixed bug #46409 (__invoke method called outside of object context when using array_map)
2008-11-27 19:01:23 +00:00
Arnaud Le Blanc
dffdb48c3b
MFH: Fixed bug #46673 (stream_lock call with wrong paramater)
2008-11-26 04:19:20 +00:00
David Soria Parra
a9282f72a8
MFH: Revert fix for 43782, as it caused problems.
2008-11-24 15:36:47 +00:00
Scott MacVicar
49a15f0bd4
MFH Better fix for va_copy since some architectures like to do a deep copy.
2008-11-22 15:16:47 +00:00
Scott MacVicar
bfbe9a34ab
MFH Add vasprintf() so the buffer can be automatically calculated, you need to efree this when done though!
2008-11-21 22:05:03 +00:00
Arnaud Le Blanc
c6e1b8bc67
MFH: Added stream_cast() and stream_set_options() to user-space stream
...
wrappers, allowing stream_select(), stream_set_blocking(),
stream_set_timeout() and stream_set_write_buffer() to work with user-space
stream wrappers.
Will document.
2008-11-15 12:52:13 +00:00
Arnaud Le Blanc
8c4151ad72
Added header_remove() (chsc at peytz dotdk, Arnaud)
...
[DOC] proto void header_remove([string header_name])
Removes an HTTP header previously set using header()
The header_name parameter is optionnal, all headers are
removed if it is not set
[SAPIs] The header_handler callback in sapi_module_struct has
been changed, it now take a new argument.
When it is set to SAPI_HEADER_DELETE, sapi_header->header is
the name of an header, header_handler has to delete it.
When it is set to SAPI_HEADER_DELETE_ALL, header_handler has
to delete all headers.
When sapi_header_op_enum is SAPI_HEADER_ADD or _REPLACE,
sapi_header->header is in the form "Name: value", header_handler
has to add or replace the given header.
In all cases, header_handler must not free sapi_header or
sapi_header->header. SAPI_HEADER_ADD must be returned if the
header has been added or replaced, or 0 in other cases.
2008-11-13 10:14:04 +00:00
Felipe Pena
f85b94ef33
- Silent valgrind
2008-11-12 16:40:40 +00:00
Arnaud Le Blanc
e13a4238e5
MFH: Fixed stream_get_contents() when using $maxlength and socket is not
...
closed. indeyets@php.net on #46049 .
2008-11-11 01:55:51 +00:00
Alexey Zakhlestin
9942da41cf
added const, as required by struct-definition
2008-11-07 09:12:39 +00:00
Arnaud Le Blanc
43400aaf87
MFH: initialize memory
2008-11-04 20:40:30 +00:00
Arnaud Le Blanc
d441b5db5b
MFH: Fixed stream_get_line() to behave as documented on non-blocking
...
streams
2008-11-04 17:05:55 +00:00
Arnaud Le Blanc
8e220d99df
MFH: Fixed bug #44607 (stream_get_line unable to correctly identify the
...
"ending" in the stream content)
2008-11-03 23:29:17 +00:00
Arnaud Le Blanc
de29f4161f
MFH: Fixed bug #45303 (Opening php:// wrapper in append mode results
...
in a warning)
2008-11-03 16:58:53 +00:00
Arnaud Le Blanc
0a2bfc7968
MFH: Fixed bug #43353 (wrong detection of 'data' wrapper causes notice)
2008-11-03 15:47:31 +00:00
Felipe Pena
c96d79b2e6
- MFH: Fixed bug #46082 (stream_set_blocking() can cause a crash in some circumstances)
2008-10-24 10:44:43 +00:00
Arnaud Le Blanc
f5dd8c00a0
WS
2008-10-20 18:43:32 +00:00
Arnaud Le Blanc
0f31ed2f77
Better fix for #46313
2008-10-20 18:42:58 +00:00
Arnaud Le Blanc
c98e28795f
Fixed #46313 (Magic quotes broke $_FILES)
...
# magic_quotes_gpc was disabled during registration of $_FILES["x"]["tmp_name"]
# and $GLOBALS["x"] (which is tmp_name with register_globals enabled). This
# caused "x" to not be escaped so there was 2 different keys for the same file
# in $_FILES, one with tmp_name and the other without.
# All other variables (name, size, etc) are registered with magic_quotes_gpc
# untouched, both in $_FILES and $GLOBALS and I did not found a reason for
# disabling it for tmp_name.
2008-10-20 17:09:10 +00:00
Nuno Lopes
8a77e55566
clean some dead code (with static analysis help)
2008-09-23 15:18:26 +00:00
Greg Beaver
17cfd5f24e
MF52 fix Bug #46147 : after stream seek, appending stream filter reads incorrect data
2008-09-22 01:26:14 +00:00
Ilia Alshanetsky
fcc0fdd125
Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit).
2008-09-17 00:20:30 +00:00
Dmitry Stogov
1474d9dfad
Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
...
some 64bit test files may need to be fixed
2008-09-15 11:47:16 +00:00
Nuno Lopes
da804874f7
update list of pcre symbols
2008-09-14 14:15:52 +00:00
Arnaud Le Blanc
ef38ff62a5
MFH: More accurate max_file_size / upload_max_filesize ( fixes #45124 )
2008-09-07 14:17:47 +00:00
Arnaud Le Blanc
898ff10dc0
MFH: Fixed #43540 (rfc1867 handler newlength problem)
2008-09-06 17:18:40 +00:00
Dmitry Stogov
d5bba04ac5
Fixed Bug #43958 (class name added into the error message)
2008-09-02 09:45:49 +00:00
Johannes Schlüter
606e0f26a0
back to dev
2008-09-01 20:51:57 +00:00
Johannes Schlüter
8df3c31d86
dev -> release
2008-09-01 20:30:44 +00:00
Antony Dovgal
322d57fffd
WS
2008-08-30 22:26:09 +00:00
Rasmus Lerdorf
5f178004ea
Oops, fix the assert.
2008-08-30 18:27:29 +00:00
Rasmus Lerdorf
f52d71d18e
Fix for bugs 13961, 39927 and 45947
2008-08-30 16:47:46 +00:00
Jani Taskinen
c1f52e5868
MFH
2008-08-26 23:26:07 +00:00
David Soria Parra
9f68483734
MFH: Fixed bug #43782 (feof() does not detect timeout on socket)
2008-08-26 16:06:36 +00:00
Pierre Joye
2620304003
- MFH:
...
- drop bindlib usage on windows
- inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
2008-08-23 19:22:10 +00:00
Pierre Joye
76c0f4288d
- MFH: expose MAXPATHLEN (PHP_MAXPATHLEN)
2008-08-23 17:55:50 +00:00
Marcus Boerger
9a2fc26e59
- MFH Cleanup exports and allow to overwrite ext registration
2008-08-22 12:59:46 +00:00
Antony Dovgal
c1e0866da3
reverted because of test failures
2008-08-18 07:46:31 +00:00
Arnaud Le Blanc
f59fbc3755
MFH: Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit).
2008-08-18 04:08:17 +00:00
Felipe Pena
85ab423565
- MFH: Removed some TSRMLS_FETCH()s
2008-08-15 19:47:33 +00:00
Kalle Sommer Nielsen
540326c31f
MFH:
...
* Remove NTDDI_VERSION declaring and use the one in config.w32.h
* Remove another _WIN32_WINNT macro redef in win32/time.c
2008-08-13 22:40:39 +00:00
Pierre Joye
1463a824e8
- move declaration on top and fix build error
2008-08-13 17:49:13 +00:00
Jani Taskinen
e5e6f553a2
MFH
2008-08-13 00:53:28 +00:00
Felipe Pena
cf7384aa40
- MFH: Constness (Added const qualifier to several function parameters)
2008-08-12 17:20:25 +00:00