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.
2002-10-02 12:52:53 +00:00
Sascha Schumann
6683334066
Another Linux x86 system returns ELIMIT so we need to check errno as well
...
before assuming that pread/pwrite work.
2002-10-02 08:32:26 +00:00
Sascha Schumann
875c1da58e
Reflect actual stance wrt cli/cgi
2002-10-02 08:14:47 +00:00
Yasuo Ohgaki
2300bddb9c
Fixed pg_escape_typea()
2002-10-02 06:30:40 +00:00
Yasuo Ohgaki
520486e8b1
Clean up a little.
2002-10-02 06:22:52 +00:00
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).
2002-10-02 06:05:16 +00:00
Yasuo Ohgaki
d4c7e8bbaf
Improve test to show output bufferring bypass bug clearly.
2002-10-02 05:29:06 +00:00
Yasuo Ohgaki
69957c56b3
Added pg_unescape_bytea(). Fixed pg_data_seek().
...
php_pgsql_unescape_bytea(PQunescapeBytea) is shamelessly stolen from PostgreSQL 7.3 :)
2002-10-02 04:03:21 +00:00
Yasuo Ohgaki
2745e8b9b2
Add some example functions for mysql users.
2002-10-02 03:32:27 +00:00
Yasuo Ohgaki
82e7bea504
pg_data_seek()
2002-10-02 03:17:30 +00:00
Yasuo Ohgaki
b8fdd3c7ae
Added pg_data_seek().
...
pg_result_seek() woudl be better name, but there is mysql_data_seek()...
2002-10-02 03:16:35 +00:00
Yasuo Ohgaki
2728440fdc
Added pg_ping()
2002-10-02 02:41:21 +00:00
Yasuo Ohgaki
f8f11ac0a2
Rename pg_metadata() to pg_meta_data() to confirm naming standard
2002-10-02 02:11:27 +00:00
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
2002-10-02 01:52:25 +00:00
0662a009db
ChangeLog update
2002-10-02 00:33:32 +00:00
Stefan Esser
a87f4afc35
repairing the chaos
...
utime("filename", NULL) is not only valid but a MUST on linux if you are
not the owner...
2002-10-01 21:53:25 +00:00
Andi Gutmans
aa7bffeec6
- Fix problem when crashing on illegal tokens in class name during class
...
- definition.
2002-10-01 20:00:45 +00:00
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.
2002-10-01 19:19:10 +00:00
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.
2002-10-01 11:59:45 +00:00
Yasuo Ohgaki
7cacf9713d
WS and added missing output.
...
It seems this bug is fixed in latest version at least.
2002-10-01 11:18:31 +00:00
Zeev Suraski
2c4b6fff6d
Fix warnings
2002-10-01 10:16:40 +00:00
Yasuo Ohgaki
2c7440537d
Bug fix
2002-10-01 10:04:04 +00:00
Yasuo Ohgaki
e92abff88b
Fixed bug #17825 . Double zval_ptr_dtor().
2002-10-01 10:01:56 +00:00
Yasuo Ohgaki
2ecf6161b8
Implicit flush fix
2002-10-01 02:54:30 +00:00
foobar
47ca8127bb
- Revert the removal of dlopen check here.
...
# Left HAVE_LIBDL undefined for some reason
2002-10-01 02:47:52 +00:00
Yasuo Ohgaki
3d8e33f06a
Fixed implicit flush.
2002-10-01 02:43:33 +00:00
foobar
8634346e73
- Removed unnecessary dlopen checks. (this is done in Zend.m4 already)
2002-10-01 01:47:09 +00:00
foobar
c12bd04609
some typos fixed..
2002-10-01 01:40:07 +00:00
6896ba5d8a
NEWS update
2002-10-01 00:35:04 +00:00
b9cb4f9442
ChangeLog update
2002-10-01 00:34:05 +00:00
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.
2002-09-30 23:46:43 +00:00
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.
2002-09-30 23:31:13 +00:00
Derick Rethans
d23c9b24ca
- No tabs :)
2002-09-30 10:34:40 +00:00
Wez Furlong
7bcc97c82e
Add header file required for pread/pwrite (on my system at least).
2002-09-30 10:18:57 +00:00
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.
2002-09-30 10:18:06 +00:00
Edin Kadribasic
6e0c5d0fdc
Those can be safely ignored.
2002-09-30 09:48:54 +00:00
Derick Rethans
3b99744f0b
- Fix ZE2 build when overload is enabled
2002-09-30 09:40:12 +00:00
Yasuo Ohgaki
3053ba7b9c
Fixed typo.
...
# Thanks to Andrey Hristov.
2002-09-30 09:35:04 +00:00
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
2002-09-30 09:27:56 +00:00
Yasuo Ohgaki
d378a2c959
Remove space
2002-09-30 09:15:23 +00:00
Yasuo Ohgaki
545f894524
Added pg_fetch_assoc(). Fixed proto. Added/fixed comments.
...
# It seems last attempt was failed. Try committing again.
2002-09-30 09:07:57 +00:00
Wez Furlong
81684ed0f2
Even better.
2002-09-30 09:07:10 +00:00
Wez Furlong
5de7ae1fc7
Slight grammar fix.
2002-09-30 09:04:48 +00:00
Yasuo Ohgaki
9049e7547c
Consolidate some entries.
2002-09-30 08:32:03 +00:00
Yasuo Ohgaki
6dbe013b9e
Fixed my name :)
2002-09-30 08:26:54 +00:00
Yasuo Ohgaki
95ed0fb2d5
Added pg_fetch_assoc()
2002-09-30 08:26:23 +00:00
Yasuo Ohgaki
5a6703484d
Use PGSQL_CONV_FORCE_NULL as it is supposed.
...
PGSQL_CONV_FORCE_NULL inserts NULL to field instead of
NULL string for string type tuples.
2002-09-30 07:35:41 +00:00
Yasuo Ohgaki
788e4070b6
Use of PGSQL_CONV_INGORE_NOT_NULL as it is supposed. Change comment a little.
2002-09-30 07:24:41 +00:00
Tim Toohey
6a952f0856
fix gdImageCopyResampled() for non-constant alpha layer
2002-09-30 07:23:34 +00:00
Derick Rethans
4cd4878fc6
- Rewording
2002-09-30 05:20:17 +00:00