Ilia Alshanetsky
f18a2ff04c
MFB:Adjust condition
2009-02-10 16:14:35 +00:00
Ilia Alshanetsky
91aa9e2bf9
MFB: Added path truncation E_NOTICE to let people now when path resolving
...
caused the file path to be truncated.
2009-02-10 14:22:19 +00:00
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
2008-12-31 11:12:40 +00:00
Arnaud Le Blanc
c4c2308fec
Fixed bug #45303 (Opening php:// wrapper in append mode results
...
in a warning)
2008-11-03 16:58:28 +00:00
Arnaud Le Blanc
a51e5ebaeb
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:24:04 +00:00
Greg Beaver
b34cf3d86f
MFB 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:23 +00:00
Dmitry Stogov
977cc79398
Added ability to use stream wrappers in include_path
2008-03-27 10:33:52 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Jani Taskinen
13171134f8
- Nuke unused variables
2007-11-01 17:32:10 +00:00
Jani Taskinen
eb1a26c8b2
- Fixed bug #43137 (rmdir() and rename() do not clear statcache)
2007-10-31 13:22:18 +00:00
Dmitry Stogov
11c5577116
Fixed EOF handling in case of reading from file opened in write only mode.
2007-07-25 16:34:27 +00:00
Sascha Schumann
ad31680f34
- fix concurrent reader/writer use case
...
(we read, while the other process writes -> if we don't try
read we won't notice that the file has been growing.)
2007-07-10 20:13:29 +00:00
Ilia Alshanetsky
66526cee92
MFB
2007-05-28 23:00:25 +00:00
Dmitry Stogov
2918cda494
Fixed crash on win32 in case of negative size
2007-04-18 14:23:35 +00:00
Dmitry Stogov
98423baf13
Fixed crash
2007-04-18 13:53:32 +00:00
Dmitry Stogov
2908322c14
WIN64 support
2007-04-16 09:43:53 +00:00
Dmitry Stogov
8610b4f6cf
Fixed 64-bit support
2007-04-09 15:39:16 +00:00
Marcus Boerger
01220f548f
- Add glob stream wrapper
2007-03-03 20:41:12 +00:00
Sara Golemon
3b00d29d5a
Add retry for interrupted reads and graceful handling for failed retries
2007-02-23 23:08:40 +00:00
Antony Dovgal
30dacafa72
implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks in plain wrapper
2007-02-21 21:56:45 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Antony Dovgal
9ed4f515d1
fix #39673 (file_get_contents causes bus error on certain offsets)
2006-11-29 11:10:49 +00:00
Hannes Magnusson
9da991dd50
MFB: Fix ftruncate() with negative size
2006-11-16 16:08:09 +00:00
Dmitry Stogov
6850e95c3e
Removed unnecessary ftell() calls (one call for each included PHP file)
2006-11-10 13:18:46 +00:00
Dmitry Stogov
c39eecf9ae
Disabled reading from stream (calls to read()) after EOF
2006-11-10 13:10:28 +00:00
Dmitry Stogov
b71309f4a2
Removed unnecessary checks for ISREG file and corresponding stat() calls on Wind
...
ows
2006-11-10 10:55:43 +00:00
Dmitry Stogov
d73bf1d322
Fixed mkdir("/tmp/foo//bar/log", 0777, true)
2006-10-19 09:49:56 +00:00
Sara Golemon
fa71abf4a2
Unused label, now how the heck did it get there?
2006-10-02 18:13:56 +00:00
Dmitry Stogov
eb1e643690
Fixed wrong pipe detection code
2006-09-28 07:26:19 +00:00
Sara Golemon
f8fdb67056
PHP6 Updates for popen() and related functionality
2006-09-24 20:33:14 +00:00
Ilia Alshanetsky
504078c64e
MFB: Fixed bug #37779 (empty include_path leads to search for files
...
inside /).
2006-09-12 15:49:02 +00:00
Antony Dovgal
144cca7be3
fix #38199 (fclose() unable to close STDOUT and STDERR)
2006-08-28 17:14:13 +00:00
Dmitry Stogov
d824f02ce1
Fixed bug #38488 (Access to "php://stdin" and family crashes PHP on win32)
2006-08-22 06:15:45 +00:00
Antony Dovgal
99e0a6f3d6
no need to check if non-existing include_path complies with open_basedir setting
...
the only result we can get is segfault
2006-06-05 22:39:10 +00:00
Edin Kadribasic
19787d38e9
MFB
2006-06-05 22:23:39 +00:00
Antony Dovgal
e2d3206e78
MFB: fix #37395 (recursive mkdir() fails to create nonexistent directories in root dir)
2006-05-16 13:05:23 +00:00
Ilia Alshanetsky
27e175eef0
So long safe_mode mode.
...
Also removed the magic_quotes configure option, no longer relevant since
the magic is gone :-).
2006-03-08 14:41:45 +00:00
Dmitry Stogov
c366cc6d1a
Nuke int32_t (everywhere except streams layer) and signed/unsigned warnings
2006-03-02 13:12:45 +00:00
Andi Gutmans
8f126f33ac
- Fix according to Sara's reply
2006-02-19 03:41:25 +00:00
Andi Gutmans
d3f7bee047
Nuke php_check_safe_mode_include_dir
2006-02-19 01:19:37 +00:00
Andi Gutmans
e3b1e8c5dd
- Some more safe_mode nuking
2006-02-19 01:10:13 +00:00
Dmitry Stogov
227295a4f1
Unicode stuff is changed according to decision maden on PDM.
...
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
Ilia Alshanetsky
1204ea0e63
MFB51: Only report mkdir() errors if error reporting option is set.
2006-01-17 02:32:34 +00:00
Antony Dovgal
07ff99a075
fix bug #35999 (recursive mkdir() does not work with relative path like "foo/bar")
2006-01-16 19:47:07 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
Antony Dovgal
1c7661a301
MFB: fix #35781 (stream_filter_append() can cause segfault)
2005-12-23 15:05:42 +00:00
Antony Dovgal
a5e2f63d68
fix #35079 (stream_set_blocking(true) toggles, not enables blocking)
...
patch by askalski at gmail dot com
2005-11-17 14:19:06 +00:00
Derick Rethans
cdcf566a21
- Fixed a bug where stream_get_meta_data() did not return the "uri" element for
...
files opened with tmpname().
2005-08-26 12:50:06 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Wez Furlong
8c57c3a9fe
compile before commit (gah!)
2005-07-18 14:12:52 +00:00