php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45839 zend_set_timeout args have changes change
Submitted: 2008-08-17 09:42 UTC Modified: 2008-08-17 10:00 UTC
From: Fedora at FamilleCollet dot com Assigned:
Status: Not a bug Package: PHP-GTK related
PHP Version: 5.3.0alpha1 OS: Linux (Fedora 9)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Fedora at FamilleCollet dot com
New email:
PHP Version: OS:

 

 [2008-08-17 09:42 UTC] 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'


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-17 10:00 UTC] Fedora at FamilleCollet dot com
Forget this....

I haven't check CVS and see revision 1.61.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC