Greetings PHP people,
I have written a patch to resolve the issue mentioned in the subject. Also I
wrote a small test case for it. This patch is to be applied on PHP5_2 CVS.
Still in this matter, I have written a patch for dbase.c (this was based on
Felipe's patch which seems to have been lost) to use zend_parse_parameters
and also to check for the PHP version to define if the arginfo should
receive a static identifier or not.
The patches are attached, and so is the test case.
These files can also be found in the following URLs:
Patch for the bug: http://felipe.ath.cx/typoon/dbase_php5.2.9_bug47002.diff
Patch for dbase.c: http://felipe.ath.cx/typoon/dbase_php5.2.9.diff
Test case for the bug: http://felipe.ath.cx/typoon/bug47002.phpt
Currently I am also working on getting the dbase fixed in the PECL
repositories so we can have a release (just finishing writing some test
cases).
In case there are any doubts or problems, please let me know so I can
verify.
BTW, I am Gilgamesh on #php.pecl (sometimes shows up as typoon because of
problems with mibbit). So you can also contact me there :)
Thanks!
Henrique
Oh, I missed one thing.
I also had to fix test 001.phpt
Attached is the patch for it, which can also be found in the following url:
http://felipe.ath.cx/typoon/001.phpt.diff.txt
Sorry for the confusion :$
Thanks!
Henrique
On Wed, Jan 14, 2009 at 11:16 AM, Henrique M. Decaria typoon@gmail.comwrote:
Greetings PHP people,
I have written a patch to resolve the issue mentioned in the subject. Also
I wrote a small test case for it. This patch is to be applied on PHP5_2 CVS.
Still in this matter, I have written a patch for dbase.c (this was based on
Felipe's patch which seems to have been lost) to use zend_parse_parameters
and also to check for the PHP version to define if the arginfo should
receive a static identifier or not.
The patches are attached, and so is the test case.
These files can also be found in the following URLs:Patch for the bug:
http://felipe.ath.cx/typoon/dbase_php5.2.9_bug47002.diff
Patch for dbase.c: http://felipe.ath.cx/typoon/dbase_php5.2.9.diff
Test case for the bug: http://felipe.ath.cx/typoon/bug47002.phptCurrently I am also working on getting the dbase fixed in the PECL
repositories so we can have a release (just finishing writing some test
cases).In case there are any doubts or problems, please let me know so I can
verify.BTW, I am Gilgamesh on #php.pecl (sometimes shows up as typoon because of
problems with mibbit). So you can also contact me there :)Thanks!
Henrique