#45839 [Opn->Bgs]: zend_set_timeout args have changes change
[email protected] ("Fedora at FamilleCollet dot com")
| Newsgroups | php.gtk.dev |
|---|---|
| Message-ID | <[email protected]> |
ID: 45839 User updated by: Fedora at FamilleCollet dot com Reported By: Fedora at FamilleCollet dot com -Status: Open +Status: Bogus Bug Type: PHP-GTK related Operating System: Linux (Fedora 9) PHP Version: 5.3.0alpha1 New Comment: Forget this.... I haven't check CVS and see revision 1.61. Previous Comments: ------------------------------------------------------------------------ [2008-08-17 09:42:58] Fedora at FamilleCollet dot com Description: ------------ Working on latest php-5.3.0alpha2-dev (200808170830 snapshot). zend_set_timeout args function args have changes : ZEND_API void zend_set_timeout(long seconds, int reset_signals); Reading the source code (diff from 5.2.6), it seems the new option reset_signals should be set to 1 to have previous behaviour. Simple patch proposal : http://rpms.famillecollet.com/files/php-gtk-php53.patch Reproduce code: --------------- update to latest php 5.3 snapshot make Expected result: ---------------- Build complete. Actual result: -------------- /home/rpmbuild/BUILD/php-gtk-2.0.1/main/php_gtk.c:171: error: too few arguments to function 'zend_set_timeout' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45839&edit=1