Shein Alexey
c02aa086c6
Resolved conflict.
2012-03-29 17:03:43 +05:00
Shein Alexey
e1352b0416
Fixed bug61115-1.phpt for debug build version.
2012-03-29 16:51:45 +05:00
Anatoliy Belsky
c447704f98
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61518 skip on windows, fix on linux - ext/standard/tests/streams/bug60106.phpt
2012-03-27 18:53:50 +02:00
Anatoliy Belsky
da85d5b4a0
Fix bug #61518 skip on windows, fix on linux - ext/standard/tests/streams/bug60106.phpt
2012-03-27 18:49:59 +02:00
Stanislav Malyshev
50bdc48685
fix test
2012-03-25 13:53:49 -07:00
Gustavo André dos Santos Lopes
9a460497da
MFH: 45a6f8d
for 5.4.
...
- Further fix for bug #60455 (stream_get_line misbehaves if EOF is not detected
together with the last read).
- Fixed bug #60817 (stream_get_line() reads from stream even when there is
already sufficient data buffered). stream_get_line() now behaves more like
fgets(), as is documented.
2012-03-19 16:34:31 +00:00
Gustavo André dos Santos Lopes
d974e44248
- Fixed bug #61371 (resource leak). This bug had two parts, a long standing leak
...
already fixed in trunk/5.3 and now merged onto 5.4 and a leak introduced in
fixing bug #61115 . This better fix for #61115 fixes the leak (the inhibition
for deleting the context was too broad) and so prevents segfaults in new
circumstances (where the inhibition was not broad enough).
2012-03-17 19:37:30 +00:00
Gustavo André dos Santos Lopes
ef19fba2d5
- Fixed bug #61371 (resource leak). This bug had two parts, a long standing leak
...
already fixed in trunk/5.3 and now merged onto 5.4 and a leak introduced in
fixing bug #61115 . This better fix for #61115 fixes the leak (the inhibition
for deleting the context was too broad) and so prevents segfaults in new
circumstances (where the inhibition was not broad enough).
2012-03-17 19:37:30 +00:00
Ilia Alshanetsky
0fe734b7c8
Fixed bug #60106 (stream_socket_server silently truncates long unix socket paths)
2012-03-03 20:36:14 +00:00
Ilia Alshanetsky
5525d80982
Fixed bug #60106 (stream_socket_server silently truncates long unix socket paths)
2012-03-03 20:36:14 +00:00
Olivier DOUCET
f94237edf3
fix phpt : fopen(data://) requires allow_url_fopen=1
2012-02-25 12:44:46 +00:00
Olivier DOUCET
e613889d50
more verbose skip reason in test files with not so obvious extension requirements
2012-02-25 12:10:41 +00:00
Olivier DOUCET
ce535f1819
more verbose skip reason in test files with not so obvious extension requirements
2012-02-25 12:10:41 +00:00
Olivier DOUCET
6546beecec
fix test file for bug #47997 : fopen(data://) requires allow_url_fopen=1
2012-02-25 10:58:30 +00:00
Gustavo André dos Santos Lopes
eb1ada852d
- Fixed bug #61115 (stream related segfault on fatal error in
...
php_stream_context_link).
#run-tests.php is not currently detecting the segfault in the test
#Missing 5.4 merge
2012-02-22 11:45:26 +00:00
Gustavo André dos Santos Lopes
45a6f8d9a5
- Further fix for bug #60455 (stream_get_line misbehaves if EOF is not detected
...
together with the last read).
- Fixed bug #60817 (stream_get_line() reads from stream even when there is
already sufficient data buffered). stream_get_line() now behaves more like
fgets(), as is documented.
#withheld commit to 5.4
2012-01-22 20:30:37 +00:00
Stanislav Malyshev
d42917b605
test fixes
2011-12-26 03:22:07 +00:00
Gustavo André dos Santos Lopes
74d2b2f0bd
- Fixed bug #60455 : stream_get_line misbehaves if EOF is not detected together
...
with the last read.
2011-12-11 21:08:15 +00:00
Gustavo André dos Santos Lopes
52c36e60c4
- Fixed bug #60455 : stream_get_line misbehaves if EOF is not detected together
...
with the last read.
2011-12-11 21:08:15 +00:00
Patrick Allaert
ea25a9be03
Added tests contributions on spl_autoload and stream_context_set_option()
...
Thank you Jean-Marc Fontaine and Alter Way
2011-12-09 11:45:39 +00:00
Patrick Allaert
183493d624
Added tests contributions on spl_autoload and stream_context_set_option()
...
Thank you Jean-Marc Fontaine and Alter Way
2011-12-09 11:23:19 +00:00
Hannes Magnusson
1e6a82a1cf
Fix test.. the errormessage is irrelevant, we are testing if we segfault and corrupt return value
2011-12-04 12:34:19 +00:00
Rasmus Lerdorf
d391bbae17
Fix test
2011-11-12 19:12:39 +00:00
Pierre Joye
af203fc7c4
- close the stream before removing the file (win and other system may lock it) and use test dir for tmp data
2011-09-05 13:31:13 +00:00
Pierre Joye
2e853f026a
- close the stream before removing the file (win and other system may lock it) and use test dir for tmp data
2011-09-05 13:31:13 +00:00
Pierre Joye
7b75be20a7
- sync&fix test with 5.3
2011-09-05 13:23:25 +00:00
Ferenc Kovacs
c6d59bd2fa
pass an absolute path for the php binary to proc_open, without this the test would fail if ran with a relative TEST_DEV_EXECUTABLE
2011-09-02 20:28:39 +00:00
Ferenc Kovacs
7632d09a81
pass an absolute path for the php binary to proc_open, without this the test would fail if ran with a relative TEST_DEV_EXECUTABLE
2011-09-02 20:28:39 +00:00
Stanislav Malyshev
1c83f5e04c
fix tests
2011-08-01 03:42:02 +00:00
Hannes Magnusson
9392b9cd73
Fixed bug #54946 (stream_get_contents infinite loop)
2011-05-29 12:29:19 +00:00
Hannes Magnusson
3b030ec75f
Fixed bug #54946 (stream_get_contents infinite loop)
2011-05-29 12:29:19 +00:00
Gustavo André dos Santos Lopes
6df67ace20
- Fixed bug #54623 (Segfault when when writing to a persistent socket after
...
closing a copy of the socket).
2011-05-01 03:57:01 +00:00
Gustavo André dos Santos Lopes
93f65cdeac
- Fixed bug #54623 (Segfault when when writing to a persistent socket after
...
closing a copy of the socket).
2011-05-01 03:57:01 +00:00
Gustavo André dos Santos Lopes
a3a5157286
- PHP_STREAM_OPTION_WRITE_BUFFER no longer disables the read buffer of a plain
...
stream when 0 is given as the value.
- PHP_STREAM_OPTION_WRITE_BUFFER no longer changes the chunk size in socket
streams.
- Added stream_set_chunk_size() function.
- Some signedness fixes.
- Test for commit r308474, now that it's possible to actually test it.
2011-02-19 01:28:37 +00:00
Gustavo André dos Santos Lopes
36d82e8a85
- Fixed bug #53903 (userspace stream stat callback does not separate the
...
elements of the returned array before converting them).
2011-02-01 22:55:17 +00:00
Gustavo André dos Santos Lopes
1f49902999
- Fixed bug #53903 (userspace stream stat callback does not separate the
...
elements of the returned array before converting them).
2011-02-01 22:55:17 +00:00
Felipe Pena
75eeee8f24
- Fixed test (Eyal Teutsch)
2010-12-04 15:57:08 +00:00
Felipe Pena
74484db1aa
- Fixed test (Eyal Teutsch)
2010-12-04 15:57:08 +00:00
Gustavo André dos Santos Lopes
22d461df62
- Implemented bug/request #53427 - stream_select doesn't preserve the
...
keys. This cannot be backported to PHP 5.3 due to a BC break. See
UPGRADING for more information.
2010-11-30 16:22:48 +00:00
Gustavo André dos Santos Lopes
3943351e6a
- [DOC] Reverted rev #304382 and rev #304380 , as I figured out a way to
...
fix the erratic behavior without breaking backwards compatibility. Namely,
$offset retains SEEK_SET behavior but actually SEEK_CUR is passed to
_php_stream_seek, if possible, by moving the offset stream->position bytes.
- Addresses bug #53006 .
2010-10-14 03:15:15 +00:00
Gustavo André dos Santos Lopes
fbd3eb6439
- Ooops. Fixed tests for rev #304380 (stream_get_contents() related) and a small error.
2010-10-14 02:39:21 +00:00
Pierre Joye
8b5a46b3cd
- disable the non win32 version on win
2010-01-25 09:10:45 +00:00
Pierre Joye
f5aa7da785
- fix test, dir separator agnostic
2010-01-24 17:57:40 +00:00
Pierre Joye
ce14d8cd5b
- add win32 version of the test, damned error msg with eol in them
2010-01-24 17:53:10 +00:00
Mikko Koppanen
207d9133ca
Changed stream_resolve_include_path to use zend_resolve_path
...
backported stream_resolve_include_path to PHP 5.3
backported stream_resolve_include_path test to PHP 5.3
2009-12-24 13:12:03 +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
Felipe Pena
1648ab5750
- Re-fix stream_is_local() memory leaks
2009-08-03 13:16:24 +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
1bef730840
MFH
2009-04-25 21:13:07 +00:00