- Contains fixes for a bug which causes segmentation fault to the c-icap server
Does not build on 4.11: cc -DHAVE_CONFIG_H -I. -I. -I. -Iinclude/ -DCI_BUILD_LIB -D_REENTRANT -I/usr/local/include -Wall -c request_common.c -Wp,-MD,.deps/libicapapi_la-request_common.TPlo -fPIC -DPIC -o .libs/libicapapi_la-request_common.o request_common.c: In function `client_parse_icap_header': request_common.c:658: syntax error before `char' request_common.c:661: `end' undeclared (first use in this function) request_common.c:661: (Each undeclared identifier is reported only once request_common.c:661: for each function it appears in.) request_common.c:671: `buf' undeclared (first use in this function) *** Error code 1 -- Dixi. Sem.
State Changed From-To: open->feedback Ask for submitter fix. http://www.freebsd.org/cgi/query-pr.cgi?pr=98903 Adding to audit trail from misfiled PR ports/98970: The following patch must fix build failure on 4.x. Please, place it into files/patch-request_common.c before commit. --- patch-request_common.c begins here --- --- request_common.c.bak Thu Jun 15 08:42:50 2006 +++ request_common.c Thu Jun 15 08:43:02 2006 @@ -654,7 +654,7 @@ int client_parse_icap_header(request_t *req,ci_headers_list_t *h){ - int readed=0,eoh=0;; + int readed=0,eoh=0; char *buf,*end; if(req->pstrblock_read_len<4)/*we need 4 bytes for the end of headers "\r\n\r\n" string*/ return CI_NEEDS_MORE; --- patch-request_common.c ends here ---
State Changed From-To: feedback->open Maintainer replied (see audit-trail).
State Changed From-To: open->closed Committed. Thanks!