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

2750 Commits

Author SHA1 Message Date
Michael Wallner d96f225a15 - fix buffer size alignment
- avoid memory overflow #if MEMORY_LIMIT
2006-11-13 14:05:03 +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 768185e58f Implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic. 2006-11-10 11:42:40 +00:00
Dmitry Stogov a68d5f0a89 opendir() is reimplemented using GetFistFile/GetNextFile those are faster then _findfirst/_findnext 2006-11-10 11:20:58 +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 dc34d34230 Simplify the code base as this getpwd() was used only once 2006-11-10 09:56:37 +00:00
Antony Dovgal e2070c4360 eliminate a couple of compile warnings 2006-11-09 01:06:45 +00:00
Rasmus Lerdorf d566d5553f Mark memory streams as is_url 2006-11-04 20:44:02 +00:00
Johannes Schlüter 823681aaa0 - Fix merging of $_REQUEST in unicode mode and remove $GLOBALS check from
register_globals times
2006-10-21 10:01:39 +00:00
Dmitry Stogov d73bf1d322 Fixed mkdir("/tmp/foo//bar/log", 0777, true) 2006-10-19 09:49:56 +00:00
Sara Golemon be5debc65a Extend open_basedir functionality to allow runtime tightening 2006-10-17 21:54:17 +00:00
Ilia Alshanetsky bec31fe85a MFB: main/php_open_temporary_file.c 2006-10-13 01:11:45 +00:00
Michael Wallner 9de590ecf1 - use new zend_fcall_info API
- use enums where appropriate
2006-10-12 12:50:29 +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
Michael Wallner 99fe9133c1 - typo 2006-10-03 22:28:33 +00:00
Michael Wallner 32186c45fb - fix failure with tests/lang/bug23489.phpt
- allocate fci param space at once with php_output_handler_user_func_t
2006-10-03 22:20:28 +00:00
Ilia Alshanetsky 15e5832c26 MFB: Last set of zend_hash_init() optimizations 2006-10-03 19:52:34 +00:00
Sara Golemon d666c05427 PHP6 Update for get_included_files() and export of path decode for Zend 2006-10-03 16:28:02 +00:00
Michael Wallner ea0f299bad - use fci/fcc instead of zval* for user ob handler 2006-10-03 08:15:44 +00:00
Sara Golemon fa71abf4a2 Unused label, now how the heck did it get there? 2006-10-02 18:13:56 +00:00
Sara Golemon e321287b4f Try out simplified API for encoding paths/filenames 2006-10-02 02:24:29 +00:00
Antony Dovgal 500dd0ac79 fix compile warning 2006-09-28 08:26:19 +00:00
Dmitry Stogov eb1e643690 Fixed wrong pipe detection code 2006-09-28 07:26:19 +00:00
Ilia Alshanetsky 1af5f8cd39 MFB: Fixed bug #38963 (Fixed a possible open_basedir bypass in tempnam()). 2006-09-27 23:44:34 +00:00
Ilia Alshanetsky 13e1309f40 MFB: Fixed bug #38904 (apache2filter changes cwd to /). 2006-09-25 14:49:34 +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
Ilia Alshanetsky a3a3cc7546 MFB: Avoid generating php_errormsg twice in some instances. 2006-09-18 23:11:01 +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
Sara Golemon 1ce3ba599b Bug #38687 - sockaddr local storage insufficient for all sock families 2006-09-11 19:18:06 +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
Edin Kadribasic b279fe502a MFB 2006-09-05 11:55:08 +00:00
Dmitry Stogov 9a06a517d6 Fixed VIRTUAL_DIR inconsistency 2006-09-04 08:18:35 +00:00
Ilia Alshanetsky 22206ebf22 MFB: Fixed bug #38661 (mixed-case URL breaks url-wrappers). 2006-09-03 16:33:02 +00:00
Michael Wallner df26ea87bd - output handler alias ctor should know about chunk_size and flags 2006-08-31 13:51:35 +00:00
Michael Wallner d83fdc677f - fix PHP_OUTPUT_CONFLICT macro 2006-08-30 22:34:32 +00:00
Michael Wallner e62c35f141 - add PHP_OUTPUT_WRITTEN and PHP_OUTPUT_SENT status flags 2006-08-30 14:42:01 +00:00
Michael Wallner 2dc5f6de5d - the Vary header for zlib.output_compression is now handled inside the output handler 2006-08-30 12:25:56 +00:00
Michael Wallner 0eef1208c2 - output handler may modify context->op
- discard any context->out.data on failure
2006-08-30 12:06:22 +00:00
Michael Wallner 7947beb75a - revise output handler alias API
- add convenience macros for conflicts and aliases
- generalize flags to php_output_stack_pop()
- mark the handler as started *after* run
- handler should still be flushable after marking it immutable
2006-08-30 07:39:09 +00:00
Antony Dovgal 144cca7be3 fix #38199 (fclose() unable to close STDOUT and STDERR) 2006-08-28 17:14:13 +00:00
Andrei Zmievski f4a5e50069 MFB 2006-08-23 20:39:37 +00:00