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
fab1f0e754
Fix warning when inner stream of a temp:// stream is closed before
...
the stream ifself
2009-05-16 20:27:36 +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
Hannes Magnusson
ebf7a8e9a3
Fix comments
2009-05-08 11:35:12 +00:00
Pierre Joye
be093af4fa
- silent compiler warning
2009-04-20 08:28:44 +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
Mikko Koppanen
3fd12260aa
MFH: Added support for passing O_NONBLOCK to the underlying open() system call
2009-04-11 11:44:15 +00:00
Hannes Magnusson
2881a60e31
Add missing proto
2009-03-25 19:55:59 +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
Ilia Alshanetsky
aaa5361c90
Adjust condition
2009-02-10 16:14:18 +00:00
Ilia Alshanetsky
2b531b5149
MFB: typo fix
2009-02-10 14:21:27 +00:00
Ilia Alshanetsky
986a933c82
MFB: Added path truncation E_NOTICE to let people now when path resolving
...
caused the file path to be truncated.
2009-02-10 14:18:46 +00:00
Ilia Alshanetsky
311a87c8d7
MFB: Fixed bug #44874 (dead pfsockopen'ed sockets aren't reaped when
...
the remote end restarts)
2009-02-09 02:55:45 +00:00
Pierre Joye
acdb832581
- silent compiler warning about socklen_t benign redefinition
2009-02-02 09:41:46 +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
Arnaud Le Blanc
61ae60f805
MFH: Fixed error conditions handling in stream_filter_append()
2009-01-08 17:01:58 +00:00
Felipe Pena
7c989115c2
MFH:
...
- Added check for EWOULDBLOCK
- Using EWOULDBLOCK instead of EAGAIN by portability issues
(Related to #46917 )
2009-01-07 20:21:46 +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
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
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
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
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
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
David Soria Parra
9f68483734
MFH: Fixed bug #43782 (feof() does not detect timeout on socket)
2008-08-26 16:06:36 +00:00
Arnaud Le Blanc
c93fbf629b
MFH:
...
Added clear_realpath_cache and filename parameters to clearstatcache() (Jani,
Arnaud)
[DOC] clearstatcache() now defaults to not affect the realpath cache.
clearstatcache() now takes two optionnal parameters, clear_realpath_cache to
clear the realpath cache (defaults to false), and filename to clear only the
given filename from the cache.
2008-08-07 09:25:33 +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
Dmitry Stogov
691d4a6999
Fixed uninitialised data
2008-07-25 08:23:07 +00:00
Jani Taskinen
d91bc9eca2
MFH:- Fixed bug #44127 (UNIX abstract namespace socket connect does not work)
2008-07-16 14:08:38 +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
Greg Beaver
e668dc629b
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:10 +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
Marcus Boerger
f8f01a1fd1
- MFH Settle to 4 MB, see internals@ archives
2008-03-21 19:37:43 +00:00
Marcus Boerger
3ce7194a4d
- MFH Fix comment
2008-03-21 18:21:09 +00:00
Marcus Boerger
9f001a01a1
- MFH Increase max mmap size to 8 MB
2008-03-21 17:13:08 +00:00
Felipe Pena
bbac59aa40
MFB: Fixed bug #44440 (st_blocks undefined under BeOS)
2008-03-15 10:32:32 +00:00
Andrey Hristov
49add03404
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:54:47 +00:00
Ilia Alshanetsky
425c4bca2e
Fixed bug #44233 (MSG_PEEK undefined under BeOS R5)
2008-02-27 00:30:24 +00:00