1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 10:43:30 +02:00
Commit Graph

366 Commits

Author SHA1 Message Date
Ilia Alshanetsky d963eaffcc MFB: Fixed bug #43522 (stream_get_line() eats additional characters) 2007-12-10 14:19:20 +00:00
Jani Taskinen 4fc4814012 - Fixed bug #43365 (Several enums have trailing commas) 2007-11-26 10:58:28 +00:00
Marcus Boerger c26e0d8ee7 - MFB ws 2007-11-06 10:54:29 +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
Yiduo (David) Wang 95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Antony Dovgal 277eb1feee ucnv_toUnicode() in ICU 3.8 requires target buffer size to be even, otherwise it bails out with U_ILLEGAL_ARGUMENT_ERROR
this commit fixes endless loop (due to the absence of error catching) and also fixes the cause of the error
2007-10-02 17:09:22 +00:00
Stanislav Malyshev 201388e5ab fix proto 2007-08-16 23:53:40 +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
Dmitry Stogov 9343c54040 Fixed bug #41984 (Hangs on large SoapClient requests) 2007-07-24 14:25:07 +00:00
Jani Taskinen 562a0629e4 - Fix compile warnings 2007-07-21 01:41:55 +00:00
Jani Taskinen 97abf9d5dc - Fixed bugs #36796, #36918, #41371 (stream_set_blocking() does not work) 2007-07-17 13:27:38 +00:00
Dmitry Stogov eb5dab85c9 Unicode support 2007-07-11 15:17:59 +00:00
Dmitry Stogov 922f3d5512 Fixed wrong warning 2007-07-11 14:32:54 +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
Dmitry Stogov f766275b7a Added ability to create local or remote (URL) user streams
Local user streams must not be able to open(), URLs if allow_url_include is off
Implemented new function stream_is_local()
[
- stream_wrapper_register() extended with additional optional argument "flags"
  of type long. This time only one flag is implemented - STREAM_IS_URL, that
  means that userstream wrapper is remote (URL). By default stream is local.
- stream_is_local() is a new function that accepts stream and tell if this
  stream is local or remote (URL)
]
2007-07-03 10:22:55 +00:00
Ilia Alshanetsky e844eaedbb MFB 2007-05-29 21:06:04 +00:00
Ilia Alshanetsky 66526cee92 MFB 2007-05-28 23:00:25 +00:00
Scott MacVicar b0856d961f Fixed bug #41390 (Clarify error message with invalid protocol scheme syntax) 2007-05-15 13:01:47 +00:00
Dmitry Stogov 0ddb071abb Fixed bug #41304 (compress.zlib temp files left) 2007-05-08 12:08:41 +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
Sara Golemon 98e832d29e Fix handling over overridden file:// wrapper 2007-03-06 20:04:05 +00:00
Marcus Boerger bf8ea04c13 - Missed to add [ to meta char check 2007-03-03 23:56:43 +00:00
Marcus Boerger c7faeb736a - Allow to retrieve flags with php_glob_stream_get_count()
- Detect meta chars in pathand switch to append mode so that path can
  actually changes for each entry
2007-03-03 23:41:10 +00:00
Marcus Boerger ce1d14eae8 - Allow to get number of entries of a glob stream 2007-03-03 23:04:57 +00:00
Marcus Boerger 3f5e89cf31 - Provide access to pattern used in glob 2007-03-03 21:38:25 +00:00
Marcus Boerger 0c52e058b0 - php_stream_is() requires php_glob_stream_ops to be public
- little bit of additional whitespace
2007-03-03 20:56:45 +00:00
Marcus Boerger 01220f548f - Add glob stream wrapper 2007-03-03 20:41:12 +00:00
Marcus Boerger ff3a914147 -A stream wrapper might only allow directory access 2007-03-03 18:59:53 +00:00
Sara Golemon 3b00d29d5a Add retry for interrupted reads and graceful handling for failed retries 2007-02-23 23:08:40 +00:00
Marcus Boerger bbfce40c49 - Fix logic 2007-02-22 23:25:36 +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
Antony Dovgal be4b75b136 improve php_userstreamop_seek()
check for errors in stream_seek() and return correct status
2007-02-13 19:50:13 +00:00
Andi Gutmans 7b6523c8e6 - Make sure to be ANSI C compliant 2007-02-05 05:15:49 +00:00
Marcus Boerger 67206a2cbf - Fix mem/temp stream exports and readonlyissue 2007-02-03 14:45:54 +00:00
Marcus Boerger 93918c7a7c - Add option support for temp/memory stream (adds ftruncate support) 2007-01-27 15:17:23 +00:00
Sara Golemon cc1b19cf0e Expand allow_url_fopen/allow_url_include functionality 2007-01-24 21:43:47 +00:00
Nuno Lopes 22fbaf2d6c MFB: use only 2 bits 2007-01-18 16:06:28 +00:00
Marcus Boerger 1c60406349 - Add more unicode stuff 2007-01-16 20:36:04 +00:00
Marcus Boerger 99bd9f758a - Help streams debugging 2007-01-15 22:19:33 +00:00
Antony Dovgal 902e6583d9 add trailing '\0' to stream hashes 2007-01-15 17:06:52 +00:00
Antony Dovgal 3868c1533e include \0 to the hash
it does matter because we use these strings in phpinfo()
2007-01-15 14:59:40 +00:00
Marcus Boerger 25095070cf - Use relay to aid debugging 2007-01-14 19:13:34 +00:00
Marcus Boerger 672eae9c90 - Fix readonly mode to 'rb' 2007-01-14 19:09:55 +00:00
Sara Golemon 53333166fc Add convenience function for openeing files with unicode names 2007-01-10 22:43:17 +00:00
Sebastian Bergmann 3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Dmitry Stogov 1ed6591f8a Fixed heap overflow 2006-12-25 13:11:48 +00:00