1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 03:03:26 +02:00
Commit Graph

304 Commits

Author SHA1 Message Date
Dmitry Stogov d73bf1d322 Fixed mkdir("/tmp/foo//bar/log", 0777, true) 2006-10-19 09:49:56 +00:00
Sara Golemon d9423de12e Bugfix 38648: Don't assume all buckets are part of a brigade 2006-10-11 23:07:30 +00:00
Antony Dovgal 729ed6eafc fix crash when parsing invalid hostnames/IPs 2006-10-11 12:53:38 +00:00
Hannes Magnusson 176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Antony Dovgal d38bf75b69 int -> size_t 2006-10-03 23:22:21 +00:00
Ilia Alshanetsky 15e5832c26 MFB: Last set of zend_hash_init() optimizations 2006-10-03 19:52:34 +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
Sara Golemon 3191ed0e85 Update stream_copy_to_stream() for PHP6 2006-09-22 19:54:30 +00:00
Sara Golemon 3f56da6eba Add INI controlled default stream encoding (unicode.stream_encoding).
Add convenience function stream_defualt_encoding() for setting it.
2006-09-19 20:36:48 +00:00
Dmitry Stogov 128548a5c0 Disabled autoconversion of hash keys (from string to unicode) for PHP arrays 2006-09-19 10:38:31 +00:00
Antony Dovgal e264e460a4 fix double free(), add test 2006-09-15 07:26:19 +00:00
Dmitry Stogov a9f035d5c1 *** empty log message *** 2006-09-14 09:59:23 +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 d13d452523 fix coverity issue #197
"I can't think of a reason to pass a NULL buf" (c) Wez
2006-09-10 13:01:28 +00:00
Ilia Alshanetsky 22206ebf22 MFB: Fixed bug #38661 (mixed-case URL breaks url-wrappers). 2006-09-03 16:33: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 a4a561dc72 fix #38450 (constructor is not called for classes used in userspace stream wrappers) 2006-08-14 15:00:04 +00:00
Antony Dovgal dbe2092313 implement zend_unicode_to_string() and zend_string_to_unicode()
part #2 (of 2)
2006-08-08 16:59:11 +00:00
Sara Golemon 2ef3bb9cb8 Logic fix: (!a == b) != (a != b) 2006-07-14 22:24:07 +00:00
Sara Golemon eb634dfa84 #38105 (2/3) Filters should report char/UChar count, not bytes 2006-07-14 19:15:31 +00:00
Sara Golemon aea4195ac6 #38105 (1/3) Backward logic, filter_product == IS_STRING means the wrapper HAS applied pre-filtering 2006-07-14 19:14:40 +00:00
Antony Dovgal 12f44c2b2b fix #38086 (stream_copy_to_stream() returns 0 when maxlen is bigger than the actual length) 2006-07-13 11:58:42 +00:00
Hannes Magnusson b9c078acf4 url->URL 2006-06-29 14:42:30 +00:00
Andrei Zmievski e875205714 Implement user conversion error handler support. Works as normal error
handler, in that it can return false to make the default one take over.
Handler signature is:
  user_handler($direction, $encoding, $char_byte, $offset, $message)

Also removed support for using exceptions in default error handler.
2006-06-21 20:17:21 +00:00
Andrei Zmievski 9573e77249 Typos. 2006-06-21 17:10:13 +00:00
Hannes Magnusson 64ce1969c9 Plug memleak (leaks on empty files) 2006-06-20 18:09:33 +00:00
Antony Dovgal 7a9ad25d8c don't leak when decoding failed 2006-06-06 14:08:47 +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
Marcus Boerger 25d5adec0d - Fix feof() with temp/memory streams 2006-05-23 22:26:23 +00:00
Marcus Boerger a4d6c5a6f0 - Handle corrupt base64 data in data: url 2006-05-21 13:35:06 +00:00
Antony Dovgal 1417222aee initialize factory 2006-05-19 10:23:43 +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
Marcus Boerger 1bbfe90571 - No need to have this controlled by allow_url_fopen 2006-05-14 19:13:17 +00:00
Marcus Boerger 3856d8da6d - Add strict compliant RFC2397 support (no //) 2006-05-14 18:35:40 +00:00
Marcus Boerger 3b66ab74f9 - RFC2397 add decoding
# done (need to decide whether all examples shouldl work or specs are
# followed)
2006-05-14 01:39:24 +00:00
Marcus Boerger f9c249407d - Enforce stream mode correct 2006-05-14 01:03:42 +00:00
Marcus Boerger 73069100fd - Change to use dedicated stream ops 2006-05-14 00:45:27 +00:00
Marcus Boerger 4f29479a22 - RFC 2397 meta data handling 2006-05-14 00:40:53 +00:00
Marcus Boerger 29c0f5bede - Initial RFC2397 support
# decoding is missing right now
2006-05-13 17:53:01 +00:00
Antony Dovgal 8a434f5df0 merge fix for #37158 into HEAD
add test
2006-04-22 23:49:39 +00:00
Michael Wallner 54ff84d3d5 MFB: Fix reading stream filters never notified about EOF 2006-04-20 17:52:01 +00:00
Sara Golemon d229fc9048 Fix copy/paste typo in php_stream_path_decode() proto 2006-04-18 19:09:31 +00:00
Antony Dovgal 78fdeb1acc fix CS and prevent NULL dereference 2006-04-13 18:14:14 +00:00
Sara Golemon d05836890b Preserve full name of filter for use in stream_get_meta_data() 2006-04-13 04:41:08 +00:00
Sara Golemon 0b84c73635 Allow http:// wrapper to automatically apply correct unicode.from.* filter based on content-type header 2006-04-12 22:40:56 +00:00
Sara Golemon 3b35b15961 Do runtime conversions (with an E_NOTICE) on writing unicode data to a binary stream. Take the WTF out of the equation 2006-04-06 19:39:11 +00:00