Bug 564307 - php_stream_filter_api.h is BROKEN
Summary: php_stream_filter_api.h is BROKEN
Keywords:
Status: CLOSED DUPLICATE of bug 530824
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: php
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Joe Orton
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-12 11:15 UTC by Renato Botelho
Modified: 2010-02-12 23:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-12 11:24:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CentOS 4194 0 None None None Never

Description Renato Botelho 2010-02-12 11:15:48 UTC
Description of problem:
I was building a program that depends of this header, and it failed with this error:

/usr/include/php/main/streams/php_stream_filter_api.h:65: error: comma
at end of enumerator list

Version-Release number of selected component (if applicable):
php-devel-5.1.6-24.el5_4.5

After investigating I saw this inside header:

typedef enum {
       PSFS_ERR_FATAL, /* error in data stream */
       PSFS_FEED_ME,   /* filter needs more data; stop processing chain until more is available */
       PSFS_PASS_ON,   /* filter generated output buckets; pass them on to next in chain */
} php_stream_filter_status_t;

Just removing comma after PSFS_PASS_ON, problem's gone

How reproducible:
I got the error building zarafa, but, anyway, the error in code is so explicity

Comment 1 Joe Orton 2010-02-12 11:24:18 UTC
Thanks for the report.  This is due to be fixed in a future update.

*** This bug has been marked as a duplicate of bug 530824 ***


Note You need to log in before you can comment on or make changes to this bug.