php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56271 prototype mismatch with php_date
Submitted: 2005-01-18 22:15 UTC Modified: 2005-01-20 08:30 UTC
From: eflash at gmx dot net Assigned: pajoye (profile)
Status: Closed Package: date_time (PECL)
PHP Version: Irrelevant OS: all
Private report: No CVE-ID: None
 [2005-01-18 22:15 UTC] eflash at gmx dot net
Description:
------------
I've tried to build the php_date extension for NetWare,
but my compiler isnt happy with a prototype mismatch;
while in t_date.h I can find:
Date *date_get_easter(DateYear year, DateWeekday weekstart);
the function is declared in t_date.c as:
Date *date_get_easter(DateYear year, DateDay weekstart)

I've changed the later to match the previous prototype, and that seems to work for me....




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-20 08:30 UTC] pierre at dotgeek dot org
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

Thanks for your report,
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Nov 12 11:01:31 2019 UTC