Sara Golemon
fac9416797
Only wind filters when appending to the read chain.
22 years ago
Sara Golemon
002f7ef393
This leaks when a stream opener proxy opens another stream.
22 years ago
Sara Golemon
72616e6eae
BugFix#27619
Filters not applied to pre-buffered stream data.
(esp. http:// streams)
22 years ago
Wez Furlong
32be6f268b
Fix for Bug #26757 : session.save_path defaults to bogus value on win32
Merge from branch with one main difference: the default save_path is
set to the empty string on all platforms, whereas the code in the
branch only does so for win32.
22 years ago
Derick Rethans
fe576c7acb
- Stopped file uploads from throwing E_WARNINGs and E_NOTICEs which can not be
hidden from within scripts (and a result value in the $_FILES global can be
used to see the real failure anyway).
22 years ago
Marcus Boerger
bca4347064
Fixed bug #27687 (Bug Adding Default Charset to 'text/*' Content-Type Header
22 years ago
Derick Rethans
9ff10d086a
- Revert bogus commit
22 years ago
Stanislav Malyshev
550da4ae7c
and set module startup flag on startup
22 years ago
Stanislav Malyshev
b514ab2ee9
reset module shutdown flag on startup
22 years ago
Derick Rethans
2face60bef
- Fixed NEWS
#- Can we *please* keep this in order?
22 years ago
Andi Gutmans
814000305a
- Back to RC2-dev
22 years ago
Zeev Suraski
aac5c1f6c5
Prepare to roll RC1
22 years ago
Sara Golemon
581948ab00
Provide a meaningful error message when registration fails
22 years ago
Ilia Alshanetsky
88058e5715
Fixed bug #27498 (bogus safe_mode error on nonexistent directories for
chdir() and opendir() functions).
22 years ago
Derick Rethans
1ef3c8c74a
- Replaced the exec_finished hook by the zend_post_deactive hook for
extensions. The new hook will be run after the symbol table and destructors
are run. (PHP part)
22 years ago
Zeev Suraski
02344b1dae
Improve the way auto-globals JIT works, and add the ability to turn it off
22 years ago
Marcus Boerger
09e76476ef
Improve error message
22 years ago
Ilia Alshanetsky
542b034efa
Fixed bug #27559 (Corrected open_basedir resolving logic).
22 years ago
Marcus Boerger
97b5bb474e
Guard display_startup_errors with checking for default (working) output
functions.
22 years ago
Ilia Alshanetsky
09517318b1
Fixed bug #27530 (broken http auth when safe_mode is on and PCRE is
disabled).
22 years ago
Ard Biesheuvel
b303ba089c
More wordsize fixes
22 years ago
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.
22 years ago
Wez Furlong
1e35cf4f32
Connect feof() call to user-space stream feof() method.
Fixes Bug #27417 and #27508
22 years ago
Wez Furlong
0dd2280102
Less magic please
22 years ago
Jon Parise
4db900732d
Cast the php_stream_dirent to a 'const char *' for estrndup() to avoid a
compiler warning.
22 years ago
Sara Golemon
860daac5d8
Must addref the resource when we make a new zval reference to it that will be exported to userspace.
22 years ago
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.
22 years ago
Zeev Suraski
e5e120460a
Remove empty comment
22 years ago
Hartmut Holzgraefe
8c32fa79d7
EXTERN_C wrapping for PHPAPI prototypes
(Zend and main should now be ok)
22 years ago
Hartmut Holzgraefe
b8f7d9f9f5
wrap all PHPAPI prototypes into BEGIN_EXTERN_C/END_EXTERN_C blocks
(else they won't be usable from C++ extensions)
22 years ago
Hartmut Holzgraefe
d303509e05
be nice to C++ extensions
22 years ago
Marcus Boerger
b59989e716
Fix startup errors
22 years ago
Derick Rethans
ac9f4cc2af
- We always need to destroy the llist though.
22 years ago
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>)
22 years ago
Stefan Esser
debf069a58
better write into the correct buffer
22 years ago
Andi Gutmans
efe864dc34
- We are RC1-dev now
22 years ago
Andi Gutmans
82ad916386
- Roll Beta 4
22 years ago
Zeev Suraski
30171a7590
zend_default_classes.h -> zend_exceptions.h
22 years ago
Andi Gutmans
eca1fdc821
- Go with b4 RC 1 (Sanity package)
22 years ago
Andi Gutmans
d93f899271
- Change to b4
22 years ago
Zeev Suraski
ed113a65b0
Clear that up
22 years ago
Zeev Suraski
acb1f365d2
Cleanup
22 years ago
Zeev Suraski
b8a990ace7
Fix report_memleaks
22 years ago
Zeev Suraski
f069be85bf
Whitespace
22 years ago
Ilia Alshanetsky
e8beeecf3e
Fixed bug #26653 (open_basedir incorrectly resolved on win32).
22 years ago
Ilia Alshanetsky
ec09b090f9
Fixed bug #27175 (tzset() is not being called by PHP on startup).
22 years ago
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.
22 years ago
Sara Golemon
a172481869
This should not have been an INI_ALL directive.
22 years ago
Sara Golemon
6d10371ec6
'Bug Fix': scandir, being a new function in PHP5 should have always been wrapper aware.
22 years ago
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.
22 years ago