Marcus Boerger
84fa2fd9a8
Better...
24 years ago
Marcus Boerger
1e6557f664
Fix implicit_flush
24 years ago
Marcus Boerger
ff51ed7c6f
Modified get_status(): Display chunk_size allways and size which is in
most cases initial_size as well as block_size only when used.
24 years ago
Marcus Boerger
d4bba6d158
Revisted Wez patch: chunk_size 0 means cahce the whole output. So
we must apply the default before calling php_enable_output_compression().
I have left the default setting in the rinit function even though i do think
it is not necessary.
24 years ago
Colin Viebrock
f871f3870d
Fix for SRM module (and maybe others). Header rows are now not HTML
escaped, so make sure you do this yourself in the modules.
24 years ago
Marcus Boerger
4a1d83aa8c
Another missing variable init
#Wez shouldn't "stream->filterhead->fops->flush()" affect return value also?
24 years ago
Marcus Boerger
efec24d22d
Missing variable init
24 years ago
Harald Radi
afb75a45e9
fixes bugs #19156 and #19544
24 years ago
Marcus Boerger
614d10a8cb
Check for C99 conformance of snprintf.
#This way we force using internal version if a broken library is used.
#E.g. length parameter is broken, return value or default precision wrong.
24 years ago
Sascha Schumann
6683334066
Another Linux x86 system returns ELIMIT so we need to check errno as well
before assuming that pread/pwrite work.
24 years ago
Sascha Schumann
875c1da58e
Reflect actual stance wrt cli/cgi
24 years ago
Yasuo Ohgaki
2300bddb9c
Fixed pg_escape_typea()
24 years ago
Yasuo Ohgaki
520486e8b1
Clean up a little.
24 years ago
Sascha Schumann
e1dd35bddb
The pread/pwrite macros check for a bug in the Linux glibc now.
The bug causes the kernel not to return -1/EAGAIN. The new test case
has been borrowed from the Linux Test Project.
This also fixes a bug which apparently caused HAVE_PREAD/WRITE to be
defined even if the more complex checks failed (ac_cv_func_NAME=no
was set albeit with no difference).
24 years ago
Yasuo Ohgaki
d4c7e8bbaf
Improve test to show output bufferring bypass bug clearly.
24 years ago
Yasuo Ohgaki
69957c56b3
Added pg_unescape_bytea(). Fixed pg_data_seek().
php_pgsql_unescape_bytea(PQunescapeBytea) is shamelessly stolen from PostgreSQL 7.3 :)
24 years ago
Yasuo Ohgaki
2745e8b9b2
Add some example functions for mysql users.
24 years ago
Yasuo Ohgaki
82e7bea504
pg_data_seek()
24 years ago
Yasuo Ohgaki
b8fdd3c7ae
Added pg_data_seek().
pg_result_seek() woudl be better name, but there is mysql_data_seek()...
24 years ago
Yasuo Ohgaki
2728440fdc
Added pg_ping()
24 years ago
Yasuo Ohgaki
f8f11ac0a2
Rename pg_metadata() to pg_meta_data() to confirm naming standard
24 years ago
foobar
fc721174c8
- Run ext/* tests only for those modules that are actually compiled
into the php binary. (faster)
- Skip search of .phpt files if they are passed as parameters
24 years ago
0662a009db
ChangeLog update
24 years ago
Stefan Esser
a87f4afc35
repairing the chaos
utime("filename", NULL) is not only valid but a MUST on linux if you are
not the owner...
24 years ago
Andi Gutmans
aa7bffeec6
- Fix problem when crashing on illegal tokens in class name during class
- definition.
24 years ago
Sascha Schumann
8b78c78973
Disable pread/pwrite for now until we can clarify why it should be
impossible to write a check for a broken OS feature.
24 years ago
Sascha Schumann
856cd5e17a
The session extension ensures now that get_session_var can rely
on the state of $_SESSION/$HTTP_SESSION_VARS. It does not look up
symbols in the global symbol table anymore.
This was achieved by actually planting references between every
$_SESSION["x"] and $x, not only when restoring a session, but also
when registering a session variable (in a register_globals=1 context).
Upon registering a new variable, this memory leak continues to show
up, regardless of register_globals.
ext/session/session.c(272) : Freeing 0x0818F01C (12 bytes), script=test
Obviously, the newly allocated empty zval is not properly freed. If anyone
has any idea on how to fix that, please step forward.
24 years ago
Yasuo Ohgaki
7cacf9713d
WS and added missing output.
It seems this bug is fixed in latest version at least.
24 years ago
Zeev Suraski
2c4b6fff6d
Fix warnings
24 years ago
Yasuo Ohgaki
2c7440537d
Bug fix
24 years ago
Yasuo Ohgaki
e92abff88b
Fixed bug #17825 . Double zval_ptr_dtor().
24 years ago
Yasuo Ohgaki
2ecf6161b8
Implicit flush fix
24 years ago
foobar
47ca8127bb
- Revert the removal of dlopen check here.
# Left HAVE_LIBDL undefined for some reason
24 years ago
Yasuo Ohgaki
3d8e33f06a
Fixed implicit flush.
24 years ago
foobar
8634346e73
- Removed unnecessary dlopen checks. (this is done in Zend.m4 already)
24 years ago
foobar
c12bd04609
some typos fixed..
24 years ago
6896ba5d8a
NEWS update
24 years ago
b9cb4f9442
ChangeLog update
24 years ago
Yasuo Ohgaki
ecf146cbce
Users can shoot themselves by their own output handler always.
Therefore, this check is overkill and it should be documented
limitation, IMO.
Anyway, a little optimization.
24 years ago
David Reid
6477b0b5d8
Use the built in autoconf test for fnmatch. Simply using the
AC_CHECK_FUNCS seems to give false positives on beos and reading
the comments on other systems as well.
24 years ago
Derick Rethans
d23c9b24ca
- No tabs :)
24 years ago
Wez Furlong
7bcc97c82e
Add header file required for pread/pwrite (on my system at least).
24 years ago
Wez Furlong
4356932dfe
Fix infinite recursion bug when using zlib output compression.
Cause: the chunk size is taken from the zlib.output_compression setting,
which is 0 or 1. This causes the block_size for output buffer to be set
to 0 (1 / 2) and thus causes infinite recursion in php_ob_allocate().
Solution: use a value of 0 for the chunk size which will use the default
sizes. Also add a sanity check which will default the block_size to 1
if it ends up as 0.
24 years ago
Edin Kadribasic
6e0c5d0fdc
Those can be safely ignored.
24 years ago
Derick Rethans
3b99744f0b
- Fix ZE2 build when overload is enabled
24 years ago
Yasuo Ohgaki
3053ba7b9c
Fixed typo.
# Thanks to Andrey Hristov.
24 years ago
Uwe Steinmann
86e3e1ac85
- make_objrec_from_array() gets a second parameter to handle key/pairs of
the form key=value and key:value.
- Proper treatment of the attribute SQLStmt
24 years ago
Yasuo Ohgaki
d378a2c959
Remove space
24 years ago
Yasuo Ohgaki
545f894524
Added pg_fetch_assoc(). Fixed proto. Added/fixed comments.
# It seems last attempt was failed. Try committing again.
24 years ago
Wez Furlong
81684ed0f2
Even better.
24 years ago