Small change in Apache2
| From: | Teodor Cimpoesu | Date: | Thu, 28 Feb 2002 13:49:58 +0000 |
| Subject: | Small change in Apache2 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-80520@lists.php.net to get a copy of this message | ||
Hi,
Apache 2.0.32 changed the prototype of ap_get_brigade.
To make php4.1.2 compile w/ it I had to do:
--- sapi_apache2.c.orig Thu Feb 28 15:52:54 2002
+++ sapi_apache2.c Thu Feb 28 15:53:03 2002
@@ -244,7 +244,7 @@
INIT_CTX;
- if ((rv = ap_get_brigade(f->next, bb, mode, readbytes)) != APR_SUCCESS) {
+ if ((rv = ap_get_brigade(f->next, bb, mode, APR_BLOCK_READ, readbytes)) != APR_SUCCESS) {
return rv;
}
-- teodor