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
8342c36f09
- Renamed php_stream_rep_nonstand_mode to
...
php_stream_mode_sanitize_fdopen_fopencookie, made it not
exported and movied it from php_streams.h to
php_streams_int.h.
2010-11-05 18:53:48 +00:00
Gustavo André dos Santos Lopes
68107ae1c3
- Fixed bug #53241 (stream casting that relies on fdopen/fopencookie fails
...
with streams opened with, inter alia, the 'xb' mode).
2010-11-05 01:29:08 +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
Felipe Pena
6ca2ea7109
- Fixed bug #49215 (make fails on glob_wrapper)
2010-09-10 21:33:50 +00:00
Pierre Joye
13fd8fcded
- WS
2010-09-01 10:16:48 +00:00
Pierre Joye
87bf415853
- sb needed only in safemode
2010-09-01 10:13:46 +00:00
Pierre Joye
6396a3272c
- 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
Antony Dovgal
d2699793e0
fix build
2010-04-08 09:56:18 +00:00
Pierre Joye
517d9bb1f2
- WS
2010-04-08 07:55:35 +00:00
Michael Wallner
5b277c4da0
add backlock socket context option for stream_socket_server(),
...
which had a hardcoded backlog of 5 at two occurrances
2010-03-11 16:37:24 +00:00
Pierre Joye
acc6609a27
- get the right error on windows
2010-02-21 17:44:25 +00:00
Pierre Joye
658e86b847
- prevent unexpectable behaviors (for the user) with invalid path
2010-02-07 20:15:58 +00:00
Pierre Joye
b7aee13069
- removed debug breakpoint and improve inline comment
2010-01-27 02:03:41 +00:00
Pierre Joye
6925763347
- prevent bad things to happen when invalid path are passed to MoveFileEx
2010-01-27 01:18:43 +00:00
Pierre Joye
573c33b3b7
- [DOC] #45986 , bad file descriptor warning when rename is used with invalid path, add php_win32_docref2_from_error to display system error for non posix api
2010-01-26 20:04:03 +00:00
Jani Taskinen
3d733ce6fa
- Fixed bug #50791 (Compile failure: Bad logic in defining fopencookie emulation)
2010-01-19 13:44:08 +00:00
Jani Taskinen
95a4f5fabe
- WS + CS fixes
2010-01-19 12:03:07 +00:00
Ilia Alshanetsky
7e1f29e930
Fixed bug #50787 (stream_set_write_buffer() has no effect on socket streams).
2010-01-18 12:50:08 +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
Antony Dovgal
42d05a5c02
remove automatic file unlocking on shutdown and/or stream close
...
(make it win32-specific for 5_2, as discussed with Ilia)
2009-12-25 20:34:59 +00:00
Stanislav Malyshev
0401c6ca2d
fix bug #50196
2009-12-19 01:13:33 +00:00
Kalle Sommer Nielsen
1063c8346b
MFT: VC10 build support
2009-12-03 11:50:32 +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
Johannes Schlüter
473d75475a
Fix #50063 (safe_mode_include_dir fails)
2009-11-12 15:05:03 +00:00
Dmitry Stogov
4b1c7c5615
Fixed ext/standard/tests/streams/stream_get_contents_002.phpt
2009-09-23 10:25:54 +00:00
Sriram Natarajan
fbc335e5d1
- Fixed bug #49572 (use of C++ style comments causes build failure)
2009-09-17 02:45:25 +00:00
Sriram Natarajan
ac2d3990f2
- Fixed bug #49447 (php engine need to correctly check for socket API
...
return status on windows). (Sriram Natarajan)
2009-09-04 07:59:48 +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
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