1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02:00
Commit Graph

44 Commits

Author SHA1 Message Date
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
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
Olivier DOUCET f94237edf3 fix phpt : fopen(data://) requires allow_url_fopen=1 2012-02-25 12:44:46 +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
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
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
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
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
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
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 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
Felipe Pena 75eeee8f24 - Fixed test (Eyal Teutsch) 2010-12-04 15:57:08 +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
Arnaud Le Blanc 790d160b6f new test 2009-04-19 13:56:08 +00:00
andy wharmby ada3990c1a Make test more robust; avoid hangs if fsockopen() fails. Tested on Windows, Linux and Linux 64 bit 2009-01-23 23:49:38 +00:00
Kalle Sommer Nielsen 73b17408fb MFH: Windows support for stream_socket_pair(), by moving the socketpair() implementation from ext/sockets to win32/ 2009-01-23 15:49:49 +00:00
Arnaud Le Blanc 0cd7fdd99f MFH: Fixed test 2008-12-18 16:04:59 +00:00
Ant Phillips fc8a260a92 Remove duff comment produced by the test generator tool 2008-12-05 14:18:02 +00:00
Arnaud Le Blanc 06119f4748 MFH: Added stream_context_get_params() 2008-11-13 05:47: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 f6345133b3 MFH: Fixed bug #44818 (php://memory writeable when opened read only) 2008-11-11 00:44:55 +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 55ccadecbe MDH: Avoids fclose() from complaining that stream_socket_pair() streams
have not been closed
2008-11-04 16:46:03 +00:00
Arnaud Le Blanc 55e7b35e6b MFH: Fixed bug #46024 (stream_select() doesn't return the correct number) 2008-11-04 00:42:41 +00:00
Felipe Pena 16bce25da2 - Fixed memory leak when using offset out of range. (php_stream_copy_to_mem returns 0, but the empty string is alloced) 2008-10-30 15:53:18 +00:00
Felipe Pena 1eb552a712 - Fix the fix
- Improved test
2008-10-30 14:34:25 +00:00
Felipe Pena bfa5404e90 - MFH: Fixed bug #46426 (3rd parameter offset of stream_get_contents not works for "0") 2008-10-30 10:09:22 +00:00
Dmitry Stogov 628bc1f927 Fixed possible infinity loop in tests 2008-08-15 09:27:27 +00:00
Felipe Pena 5fe790929d - New parameter parsing API 2008-06-20 14:53:57 +00:00
Hannes Magnusson 5fcd85240b Fixed bug#44712 (stream_context_set_params segfaults on invalid arguments) 2008-04-13 22:35:27 +00:00
Antony Dovgal b2af8cac94 MFH 2008-03-20 12:14:06 +00:00
Antony Dovgal dff9a32350 MFH: fix tests 2008-03-20 08:35:44 +00:00
Steve Seear 5e0afe8eb9 Adding streams tests 2008-03-19 17:38:23 +00:00