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

3041 Commits

Author SHA1 Message Date
Pierre Joye 1907de98c6 - exposePHP_MAXPATHLEN 2008-08-23 17:53:19 +00:00
Marcus Boerger deadefb49f - Cleanup exports and allow to overwrite ext registration 2008-08-22 12:59:38 +00:00
Pierre Joye adfa214688 - drop bindlib usage on windows
- inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
2008-08-21 23:37:40 +00:00
Antony Dovgal 444a9997de reverted because it causes lots of test failures in ext/soap 2008-08-18 07:45:59 +00:00
Arnaud Le Blanc 994ca4edff ws 2008-08-18 04:11:51 +00:00
Arnaud Le Blanc 9881ae9834 Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit). 2008-08-18 04:07:54 +00:00
Arnaud Le Blanc 1e94a9d25f update buffer size after having effectively realloc()ed it when appending
data to an output buffer
# may caused some problems if erealloc() failed here because of memory
# limit ("memory limit exhausted" error message then written to
# the buffer, etc)
2008-08-18 03:54:49 +00:00
Felipe Pena 2985b4f9e3 - Removed some TSRMLS_FETCH()s 2008-08-15 19:45:25 +00:00
Kalle Sommer Nielsen 64b891fce0 * Remove NTDDI_VERSION declaring and use the one in config.w32.h
* Remove another _WIN32_WINNT macro redef in win32/time.c
2008-08-13 22:39:33 +00:00
Pierre Joye cc64e2f1e2 - MFB: move declaration on top and fix build error 2008-08-13 21:51:54 +00:00
Jani Taskinen bc6a9ad209 [DOC]- Added methods to change/disable --with-config-file-scan-dir=PATH at
[DOC]  startup:
[DOC]
[DOC]  To disable: Override default php.ini by using both -c and -n with
[DOC]              CGI/CLI or set "PHP_INI_SCAN_DIR" environment variable
[DOC]              to an empty string.
[DOC]
[DOC]  To change: Simply set "PHP_INI_SCAN_DIR" environment variable to point
[DOC]             to another path.

- Fixed bug #42604 ("make test" fails with --with-config-file-scan-dir=/some/path)
- Implemented FR #45114 (Option to change --with-config-file-scan-dir)
2008-08-13 00:49:59 +00:00
Felipe Pena a5f867f3d5 - Constness (Added const qualifier to several function parameters) 2008-08-12 17:15:59 +00:00
Arnaud Le Blanc ab812be73f Missing files in previous commit (Check the relevant path for open_basedir
in symlink())
2008-08-11 15:32:52 +00:00
Marcus Boerger aea4ea120f - Fix memleak, Zend's built-in functions get copied before we copy all
functions, thus ending up in the name and param definitions copied twice
  because zend_register_funciton already copies them.
- Also Be able to deallocate Zend's built-in functions and do so when
  appropriate.
- After unregistering Zend's built-in functions only dl() is left and that
  seems to be fine.
2008-08-10 21:52:05 +00:00
Marcus Boerger 034d2e5916 - Turns out the easy solution for correct error_handling doesn't work. So
we need to provide save/replace/restore functions right away. It also
  to save/restore in the vm.
2008-08-08 17:10:49 +00:00
Marcus Boerger 927b12e6af - Sorry for the compiler warning 2008-08-08 14:14:52 +00:00
Marcus Boerger 805cc4bf50 - PHP 5.3 todo, store error handling mode on stack when executing internal
or overloaded functions and methods. The issue is that a function might
  set and rely on a certain mode and then calls another internal function
  which changes it again, probably changing it back to the normal mode.
  With this change we need to drop all calls that change the mode back to
  normal using php_std_error_handling(). However there might be places
  where someone wants to restore the last mode. If there is such a case we
  need to add two functions one to save and one to restore. I briefly on
  this and not all cases are clear, especially one in sqlite but that seems
  to be a rather misleading comment. Eitherway I chose to not drop and mark
  as deprecated for now.
2008-08-08 13:18:31 +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
Antony Dovgal 35f366273f increase context refcount before open() to avoid crash when open() fails and destroys the context 2008-08-06 09:03:36 +00:00
Dmitry Stogov c1ef996a1c Removed shebang line check from CGI sapi (it is checked by scanner) 2008-08-04 07:20:44 +00:00
Jani Taskinen c9c53d7bcd - Nuketh C++ comments from C files. 2008-08-03 12:12:45 +00:00
Pierre Joye 50c685a305 - silent warning with vc8 + dbg mode 2008-07-28 11:35:36 +00:00
Felipe Pena 6182c24aa8 - Fixed the parameter type expected. set_time_limit() should accept only integer. 2008-07-25 13:39:39 +00:00
Felipe Pena 4eaf978874 - MFB: New parameter parsing API (set_time_limit) 2008-07-25 12:14:36 +00:00
Dmitry Stogov 013059c247 Fixed uninitialized data 2008-07-25 08:53:11 +00:00
Antony Dovgal 55fecd6593 invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:24:35 +00:00
Felipe Pena f76da1b96c - Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:06:17 +00:00
Steph Fox c799f0a1ef MFB Removed generated file (no longer used for .dsp builds) 2008-07-21 10:02:08 +00:00
Hannes Magnusson 5919165375 Add E_USER_DEPRECATED (patch by Lars Strojny) 2008-07-21 09:36:21 +00:00
Dmitry Stogov 637e591a3d Fixed chdir() into requested file directory inconsistencies 2008-07-21 08:42:35 +00:00
Nuno Lopes 0b858d15e3 update PCRE symbols 2008-07-17 14:35:33 +00:00
Jani Taskinen 1a58013044 - Fixed bug #44127 (UNIX abstract namespace socket connect does not work) 2008-07-16 14:08:04 +00:00
Jani Taskinen c3e18660ec - Silence "unused variable" warning when ip6 support is disabled 2008-07-11 13:11:37 +00:00
Antony Dovgal ca0a6ec295 not all stream wrappers use context, so no need to addref in all cases 2008-07-11 12:40:20 +00:00
Antony Dovgal 3519ed9e31 manage references of stream context properly 2008-07-11 10:24:29 +00:00
Pierre Joye 1c82616c27 - don't redefine WINDOWS and pid_t 2008-07-05 18:50:10 +00:00
Pierre Joye ebeaa08ecd - _getpid is in process.h 2008-07-05 18:36:13 +00:00
Dmitry Stogov 7528240b85 Fixed bug #45352 (Segmentation fault because of tick function on second request) 2008-06-25 12:18:51 +00:00
Kalle Sommer Nielsen 96cd1c1e0b Fix build on Windows NT6 2008-06-24 05:59:11 +00:00
Dmitry Stogov 00ea3108ea closeder/readdir/rewinddir must work only with directories 2008-06-11 09:01:44 +00:00
Stanislav Malyshev dcd1cd8002 with unicode buffers, positions are in uchars 2008-06-08 18:21:59 +00:00
Antony Dovgal 41c60bab79 fix invalid free in Unicode filter 2008-05-20 07:48:04 +00:00
Greg Beaver 2b41209dfb MFB: fix erroneous use of php_resolve_path in _php_stream_wrapper_open_ex - this breaks require/include for all extensions that intercept zend_resolve_path 2008-04-28 22:40:10 +00:00
Greg Beaver e8ac7c11d1 MFB: Fixed potentially confusing error message on failure when no errors are logged 2008-04-28 22:37:45 +00:00
Dmitry Stogov f3c82b0055 Optimized request startup sequence for php.ini without per dir and per host conf
igurations
2008-04-15 11:32:13 +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
Scott MacVicar 56352d1a2f MFB 5.3: Rest of the changes for re2c merge 2008-03-26 14:46:17 +00:00
Johannes Schlüter 870ddcdb3e - New egg 2008-03-25 17:17:42 +00:00
Christopher Jones 7060c9574c oci8: Sync with 5.3 - version macro updates and DRCP tweaks 2008-03-25 02:25:03 +00:00