Crc Crc wrote: > >Try the attached patch. Hope that this header file existed before they > >made this change. > > I will try it at morning (now it is 1.20 am here), but I wonder where these > functions have been before, as SAPI.h didn't have to get #include-ed until > now. They weren't necesarily absent. What might as well have happened, I just figured, is that we included SAPI.h 'implicitly' through another include, and that that include file no longer needs SAPI.h, and dropped it. That would be valid, and our bad. > Now if I check from a Mandrake php-devel-4.0.4pl1-6mdk: > > /usr/include/php/main/SAPI.h:SAPI_API int sapi_add_header_ex(char > *header_line, uint header_line_len, zend_bool duplicate, zend_bool replace); > /usr/include/php/main/SAPI.h:#define sapi_add_header(header_line, > header_line_len, duplicate) \ > /usr/include/php/main/SAPI.h: sapi_add_header_ex((header_line), > (header_line_len), (duplicate), 1) > /usr/include/php/main/SAPI.h:SAPI_API int sapi_add_post_entry(char > *content_type 4.0.4pl1 is old enough for me. I say we include this. Any against? > PS: It is really embarrassing that a sub-sub-version change makes php > incompatible with the previous version... :-[ Well, this one may actually be our fault. But don't dispair, we have crashed into other non-compatible changes between 4.0.4pl1 and 4.0.5 (and again to 4.0.6, I think). That were reported. And ignored. Oh, and one that wasn't ignored entirely, just labelled 'bogus', removed fro their bugtracking system with the comment to discuss it on their list first (twice), and *then* ignored. Emile --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
