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

2202 Commits

Author SHA1 Message Date
Ilia Alshanetsky 09517318b1 Fixed bug #27530 (broken http auth when safe_mode is on and PCRE is
disabled).
2004-03-09 02:24:02 +00:00
Ard Biesheuvel b303ba089c More wordsize fixes 2004-03-08 23:11:45 +00:00
Wez Furlong 70757063a7 add cast for qsort compare function.
Kinda ugly, but helps assert that we are doing the right thing as well as
kill the warning there.
2004-03-07 22:06:36 +00:00
Wez Furlong 1e35cf4f32 Connect feof() call to user-space stream feof() method.
Fixes Bug #27417 and #27508
2004-03-07 22:05:21 +00:00
Wez Furlong 0dd2280102 Less magic please 2004-03-07 21:36:55 +00:00
Jon Parise 4db900732d Cast the php_stream_dirent to a 'const char *' for estrndup() to avoid a
compiler warning.
2004-03-01 07:02:23 +00:00
Sara Golemon 860daac5d8 Must addref the resource when we make a new zval reference to it that will be exported to userspace. 2004-03-01 05:33:19 +00:00
Zeev Suraski 3f514ccb79 - Rename compatiblity mode to zend.ze2_compatibility_mode (it doesn't only affect auto-clone).
- Perform implementation checks even with simple inheritance (off when
    compatibility mode is enabled).
  - Restore default arguments in interfaces and handle it correctly.
  - Move registration of internal classes later in the startup sequence
    in order to have INI options available.
2004-02-25 10:58:06 +00:00
Zeev Suraski e5e120460a Remove empty comment 2004-02-24 15:13:13 +00:00
Hartmut Holzgraefe 8c32fa79d7 EXTERN_C wrapping for PHPAPI prototypes
(Zend and main should now be ok)
2004-02-20 08:22:12 +00:00
Hartmut Holzgraefe b8f7d9f9f5 wrap all PHPAPI prototypes into BEGIN_EXTERN_C/END_EXTERN_C blocks
(else they won't be usable from C++ extensions)
2004-02-20 08:04:30 +00:00
Hartmut Holzgraefe d303509e05 be nice to C++ extensions 2004-02-18 21:34:15 +00:00
Marcus Boerger b59989e716 Fix startup errors 2004-02-15 17:00:42 +00:00
Derick Rethans ac9f4cc2af - We always need to destroy the llist though. 2004-02-14 12:35:59 +00:00
Derick Rethans 3781af53cd - Fixed zero bytes memory allocation when no extra ini files are found in the
--with-config-file-scan-dir specified directory. (patch by Eric Colinet
  <e.colinet@laposte.net>)
2004-02-14 12:29:04 +00:00
Stefan Esser debf069a58 better write into the correct buffer 2004-02-12 18:27:33 +00:00
Andi Gutmans efe864dc34 - We are RC1-dev now 2004-02-12 16:26:59 +00:00
Andi Gutmans 82ad916386 - Roll Beta 4 2004-02-12 15:59:18 +00:00
Zeev Suraski 30171a7590 zend_default_classes.h -> zend_exceptions.h 2004-02-12 10:43:27 +00:00
Andi Gutmans eca1fdc821 - Go with b4 RC 1 (Sanity package) 2004-02-12 08:46:02 +00:00
Andi Gutmans d93f899271 - Change to b4 2004-02-11 11:53:45 +00:00
Zeev Suraski ed113a65b0 Clear that up 2004-02-10 18:50:10 +00:00
Zeev Suraski acb1f365d2 Cleanup 2004-02-10 18:46:53 +00:00
Zeev Suraski b8a990ace7 Fix report_memleaks 2004-02-10 17:55:32 +00:00
Zeev Suraski f069be85bf Whitespace 2004-02-10 17:44:18 +00:00
Ilia Alshanetsky e8beeecf3e Fixed bug #26653 (open_basedir incorrectly resolved on win32). 2004-02-10 16:08:54 +00:00
Ilia Alshanetsky ec09b090f9 Fixed bug #27175 (tzset() is not being called by PHP on startup). 2004-02-09 04:04:24 +00:00
Wez Furlong a44838e8a3 Fix a bug in the persistent socket liveness checks and feof(); they were
using the default socket timeout of 60 seconds before returning the socket
to the calling script.  The reason they were using that value is that the
same code is used for feof(), so the fix is allowing the caller to
indicate the timeout value for liveness checks.

A possible remaining issue now is that 0 second timeout[1] for pfsockopen
is possibly too short; it's impossible to specify a sane value for all
possible uses, so maybe we need a stream context or an .ini option to
control this, or maybe use the timeout value that was passed to
pfsockopen().

# [1] by timeout, I mean the time that PHP will wait for data on a
# persistent socket before deciding if a new connection should be made;
# NOT the timeout while waiting for a new connection to be established.
2004-02-04 22:46:44 +00:00
Sara Golemon a172481869 This should not have been an INI_ALL directive. 2004-01-29 00:08:21 +00:00
Sara Golemon 6d10371ec6 'Bug Fix': scandir, being a new function in PHP5 should have always been wrapper aware. 2004-01-28 22:21:54 +00:00
Wez Furlong e1ae61802b Fix segfault for scripts like this:
<?php
pfsockopen("foo");
pfsockopen("foo");
?>
Where the transport fails to connect (since args are bogus);
the problem was that the persistent stream entry was not
correctly freed.
2004-01-27 22:40:44 +00:00
Ilia Alshanetsky 4cc62a06f6 Removed unused variable. 2004-01-27 03:20:35 +00:00
foobar e3c80d52da - Remove gpc_order since it doesn't serve any purpose. 2004-01-26 04:15:08 +00:00
Hartmut Holzgraefe 234e8a76c4 stream_lock() method added to userspace streams wrapper 2004-01-21 10:17:12 +00:00
Ilia Alshanetsky eb3ff409b0 Fixed bug #26974 (rename() doesn't check the destination file
against safe_mode/open_basedir).
2004-01-21 02:28:50 +00:00
Marcus Boerger 61fc2a9209 Add missing macro
# by popular demand, more and more exts need this
2004-01-12 00:19:40 +00:00
foobar ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Ilia Alshanetsky be5670af2b Fixed bug #26707 (Incorrect error for disabled functions/classes). 2003-12-24 16:38:22 +00:00
Derick Rethans 0041a5798b - Fix version number so that people are not mistaking our development
version for RC1.
2003-12-21 18:57:59 +00:00
Zeev Suraski 6ac233f975 B3 here we go (away) 2003-12-21 18:30:57 +00:00
Zeev Suraski bb531436c8 B3 here we come 2003-12-21 18:26:29 +00:00
Andi Gutmans d53caa9618 - Make the world a better place.
- Will roll b3 tomorrow.
2003-12-20 21:27:49 +00:00
Wez Furlong ab11c8c5ba MFB fix for #25597 2003-12-20 20:25:55 +00:00
Andi Gutmans e7bdc15148 - Prepare for RC2 2003-12-19 13:36:38 +00:00
Wez Furlong 12b0501f55 Counteract brain-death in Apache headers
(they #define strtoul to something that will break compilation,
and it successfully breaks the win32 IPv6 headers)
2003-12-18 11:26:00 +00:00
Andi Gutmans 3573c13552 Roll RC1 of B3 2003-12-17 20:20:34 +00:00
Ilia Alshanetsky 1128955aa4 Fixed compiler warnings. 2003-12-14 18:23:15 +00:00
Sara Golemon 822ea95785 Export STREAM_MKDIR_RECURSIVE constant 2003-12-13 23:13:51 +00:00
Sara Golemon a67bf6ecc9 Fix Win32 Build. mkdir/rmdir are macros 2003-12-13 18:48:39 +00:00