#45839 [Opn->Bgs]: zend_set_timeout args have changes change

From: Date: Sun, 17 Aug 2008 10:00:59 +0000
Subject: #45839 [Opn->Bgs]: zend_set_timeout args have changes change
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-4251@lists.php.net to get a copy of this message
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

« previous php.gtk.dev (#4251) next »