Received: (qmail 7031 invoked by uid 501); 26 Sep 2000 21:28:56 -0000 Message-Id: <20000926212856.7030.qmail@locus.apache.org> Date: 26 Sep 2000 21:28:56 -0000 From: Mike Abbott Reply-To: mja@sgi.com To: submit@bugz.apache.org Subject: 2.0a6 file cache doesn't compile X-Send-Pr-Version: 3.110 >Number: 6591 >Category: other >Synopsis: 2.0a6 file cache doesn't compile >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Sep 26 14:30:02 PDT 2000 >Closed-Date: Sat Oct 07 17:47:57 PDT 2000 >Last-Modified: Sat Oct 07 17:47:57 PDT 2000 >Originator: mja@sgi.com >Release: 2.0a6 >Organization: >Environment: Irix 6.5 >Description: "file_cache.c", line 95: error(1515): a value of type "int" cannot be assigned to an entity of type "char *" cq->tempfile = apr_pstrcat(h->pool, conf->root, TMPFILESTR, NULL); ^ "cache_util.c", line 553: error(1515): a value of type "int" cannot be assigned to an entity of type "char *" filebase = apr_pstrcat(h->pool, conf->root, "/", hashfile, "%s", NULL); ^ "cache_util.c", line 558: error(1119): return value type does not match the function type return apr_psprintf(h->pool, generate_name(h, name), CACHE_HEADER_SUFFIX); ^ "cache_util.c", line 562: error(1119): return value type does not match the function type return apr_psprintf(h->pool, generate_name(h, name), CACHE_DATA_SUFFIX); ^ >How-To-Repeat: configure --enable-cache >Fix: --- modules/file_cache/file_cache.c-orig Tue Sep 26 14:22:58 2000 +++ modules/file_cache/file_cache.c Tue Sep 26 14:23:10 2000 @@ -60,6 +60,7 @@ #include "http_conf_globals.h" #include "http_log.h" #include "http_main.h" +#include "apr_strings.h" #if defined(ULTRIX_BRAIN_DEATH) || defined(SINIX_D_RESOLVER_BUG) extern char *mktemp(char *template); --- modules/file_cache/cache_util.c-orig Tue Sep 26 14:24:36 2000 +++ modules/file_cache/cache_util.c Tue Sep 26 14:24:46 2000 @@ -61,6 +61,7 @@ #include "http_log.h" #include "http_main.h" #include "apr_md5.h" +#include "apr_strings.h" int file_cache_get_hdrs(cache_req *cq) { >Release-Note: >Audit-Trail: From: mja@trudge.engr.sgi.com (Mike Abbott) To: apbugs@apache.org Cc: Subject: Re: other/6591: 2.0a6 file cache doesn't compile Date: Tue, 26 Sep 2000 14:34:18 -0700 (PDT) >State: closed >Fix: ViewCVS was down but now that it's back I see this has already been fixed post-a6. State-Changed-From-To: open-closed State-Changed-By: abagchi State-Changed-When: Sat Oct 7 17:47:57 PDT 2000 State-Changed-Why: Submitter reports problem resolved post a6 >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]