Hi,
here's a patch proposal for bug #28371.
ftruncate() doesn't update file position and all further writes go to the old
location. (or is it an undocumented feature?)
--
mg
--- php-5.0.1/main/streams/plain_wrapper.c 2004-07-31 13:00:10.0 +0200
+++ php-5.0.1-patch/main/streams/plain_wra
On Monday 23 of August 2004 09:00, [EMAIL PROTECTED] wrote:
>[Output Control]
> 28673 Open readfile() crashes on huge local
That one has some proposed solution attached too...
--
mg
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.p
> I browser through it and it seems you put it in the HAVE_GETRLIMIT
> define, you might want to add a new config/m4 check for it and use
> HAVE_SETRLIMIT around it. Conceptually I see no reason why we should not
> add it.
Here is updated patch.
--
mg
Index: config.m4
===
Hi,
this patch adds posix_setrlimit function (in posix extension), which can be
useful in standalone apps to lower your resources limits (for example cpu
limit).
Example usage is:
array('1', '3'));
posix_setrlimit($a);
?>
Could you review it and consider to apply if it's ok?
--
mg
diff -u -
> 29208 Open The variable name which ext_skel
> generates, and the variable name which configu
It this valid? There is a patch attached in the report...
--
mg
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
> > You can download updated patch (with test file) from
> > http://iceni.pl/qdbm.diff
>
> Your last patch was better, this one contains spaces instead of tabs again
Hm, where? I changed all (i hope) spaces to tabs in source code. Test file is
copied from dba_gdbm.phpt and there are spaces indeed
> > The patch in attachment adds QDBM support for dba functions. It is based
> > on gdbm part of this extension.
>
> Perfect right list. From a short glimpse the patch looks nice only a
> dedicated test file is missing. I'll try the patch either today or
> during the weekend.
You can download upda
> The patch in attachment adds QDBM support for dba functions. It is based on
Oops, something killed whitespace formatting... attaching corrected patch.
--
mg
diff -U 3 -H -d -r -N -a -- php-4.3.3-old/ext/dba/config.m4 php-4.3.3/ext/dba/config.m4
--- php-4.3.3-old/ext/dba/config.m4 2003-09-22 01
Hi,
I'm not sure if this is correct list for such things...
The patch in attachment adds QDBM support for dba functions. It is based on
gdbm part of this extension.
(sorry for my english)
--
mg
diff -U 3 -H -d -r -N -a -- php-4.3.3-old/ext/dba/config.m4 php-4.3.3/ext/dba/config.m4
--- php-4.3.