Gustavo André dos Santos Lopes
1045aa2a7c
- Fixed bug #52820 (writes to fopencookie FILE* not commited when seeking the
...
stream).
2010-11-15 18:22:52 +00:00
Gustavo André dos Santos Lopes
e10454ded8
- Fixed bug #52820 (writes to fopencookie FILE* not commited when seeking the
...
stream).
2010-11-15 18:22:52 +00:00
Gustavo André dos Santos Lopes
3a02cfb675
- Added leak_variable() function.
...
- Added mechanism to force outer streams to be closed before their inner ones.
- Fixed temp:// streams only handling correctly (through an ad hoc mechanism) reverse closing order
when the inner stream is of type memory.
2010-11-15 03:05:32 +00:00
Gustavo André dos Santos Lopes
14a54b903e
- Fixed forward stream seeking emulation in streams that don't support seeking
...
in situations where the read operation gives back less data than requested
and when there was data in the buffer before the emulation started. Also made
more consistent its behavior -- should return failure every time less data
than was requested was skipped.
- Small performance improvement by correcting off-by-one error that generate an
invalid call to the seek handler or read handler. in _php_stream_seek.
2010-10-13 03:13:29 +00:00
Gustavo André dos Santos Lopes
a1888f585c
- Fixed forward stream seeking emulation in streams that don't support seeking
...
in situations where the read operation gives back less data than requested
and when there was data in the buffer before the emulation started. Also made
more consistent its behavior -- should return failure every time less data
than was requested was skipped.
- Small performance improvement by correcting off-by-one error that generate an
invalid call to the seek handler or read handler. in _php_stream_seek.
2010-10-13 03:13:29 +00:00
Pierre Joye
aa0ed267a2
- use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert
2010-09-16 09:13:19 +00:00
Pierre Joye
dec8593fac
- add lstat support for Windows
2010-09-01 09:49:53 +00:00
Pierre Joye
0d47dff287
- #51854 , fix logic (patch by Tjerk)
2010-05-18 19:39:39 +00:00
Pierre Joye
3a19fee38b
- #51854 , fix logic (patch by Tjerk)
2010-05-18 19:39:39 +00:00
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Antony Dovgal
d2699793e0
fix build
2010-04-08 09:56:18 +00:00
Pierre Joye
c264445a37
- WS
2010-04-08 07:55:35 +00:00
Pierre Joye
517d9bb1f2
- WS
2010-04-08 07:55:35 +00:00
Ilia Alshanetsky
d5b2007bed
Fixed bug #50657 (copy() with an empty (zero-byte) HTTP source succeeds but returns false).
2010-01-06 12:54:53 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Felipe Pena
f61a06350a
- Switching to TSRMLS_FETCH version
2009-11-16 10:36:27 +00:00
Felipe Pena
5411bb32a8
- Fixed bug #49936 (crash with ftp stream in php_stream_context_get_option())
...
(patch by Pierrick)
2009-11-15 20:30:57 +00:00
Arnaud Le Blanc
c79528a26d
MFH: Fixed bug #48309 (stream_copy_to_stream() and fpasstru() do not
...
update stream position of plain files)
2009-05-17 14:58:10 +00:00
Arnaud Le Blanc
a2600facdd
MFH: Fixed bug #48307 (stream_copy_to_stream() copies 0 bytes when $source
...
is a socket)
2009-05-16 20:23:06 +00:00
Arnaud Le Blanc
8ea9eb8560
MFH: Better fix for #47997
2009-04-19 17:10:35 +00:00
Arnaud Le Blanc
14c717f449
Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams)
2009-04-19 13:46:47 +00:00
Arnaud Le Blanc
2b57d6d6ea
MFH: Better fix for #44607 . Fixes #47487 (php_stream_fill_read_buffer()
...
performance degraded after fix of bug 44607).
2009-03-19 17:55:10 +00:00
Felipe Pena
31169e2c1a
MFH:
...
- Fixed bug #47037 (No error when using fopen with emty string)
Patch by Cristian Rodriguez R.
2009-01-08 18:46:00 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Lars Strojny
29f49d2ded
If a wrapper could not be found it is either a typo or a configuration issue. But in both cases it is critical enough to warn the user.
2008-12-14 16:25:37 +00:00
David Soria Parra
a9282f72a8
MFH: Revert fix for 43782, as it caused problems.
2008-11-24 15:36:47 +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
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
0a2bfc7968
MFH: Fixed bug #43353 (wrong detection of 'data' wrapper causes notice)
2008-11-03 15:47:31 +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
David Soria Parra
9f68483734
MFH: Fixed bug #43782 (feof() does not detect timeout on socket)
2008-08-26 16:06:36 +00:00
Antony Dovgal
93908474ad
MFH: increase context refcount before open() to avoid crash when open() fails and destroys the context
2008-08-06 09:03:48 +00:00
Antony Dovgal
04c8373b6a
MFH
2008-07-11 12:44:02 +00:00
Antony Dovgal
cf7e15c3a0
MFH: manage references of stream context properly
2008-07-11 10:25:15 +00:00
Dmitry Stogov
99933df5e2
closeder/readdir/rewinddir must work only with directories
2008-06-11 09:01:56 +00:00
Greg Beaver
cac1fd72ea
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:39:54 +00:00
Greg Beaver
c46d651b3e
Fixed potentially confusing error message on failure when no errors are logged
2008-04-28 22:37:31 +00:00
Dmitry Stogov
862f9ee3d2
Added ability to use stream wrappers in include_path
2008-03-27 10:33:40 +00:00
Antony Dovgal
fc134fd6c5
MFH: disabled mmap() when copying files to memory
2008-03-24 16:28:35 +00:00
Greg Beaver
7c1952c863
MFH: 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:57 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Antony Dovgal
2dab3c40fe
correct fix for bug #43522
2007-12-29 10:52:24 +00:00
Ilia Alshanetsky
b9e4413962
Fixed bug #43522 (stream_get_line() eats additional characters)
2007-12-10 14:16:58 +00:00
Marcus Boerger
6362476b20
MFH streams stuff
2007-11-06 11:02:36 +00:00
Jani Taskinen
45e96efd1d
MFH: This is what we get for not doing MFH..or MFB..a mess
2007-08-08 07:01:49 +00:00
Ilia Alshanetsky
0cb6dd5671
Fixed bug #42237 (stream_copy_to_stream returns invalid values for mmaped
...
streams).
2007-08-08 02:16:41 +00:00
Dmitry Stogov
5c28db4a9c
Fixed wrong warning
2007-07-11 14:33:30 +00:00
Dmitry Stogov
510bee631f
Fixed warning
2007-07-10 11:57:34 +00:00
Dmitry Stogov
539f67ed8f
Added ability to create local or remote (URL) user streams
...
Local user streams must not be able to open(), URLs if allow_url_include is off
Implemented new function stream_is_local()
[
- stream_wrapper_register() extended with additional optional argument "flags"
of type long. This time only one flag is implemented
- STREAM_IS_URL, that means that userstream wrapper is remote (URL).
By default stream is local.
- stream_is_local() is a new function that accepts stream and tell if this
stream is local or remote (URL)
]
2007-07-09 17:27:24 +00:00