You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Joe Orton <jo...@redhat.com> on 2004/02/04 10:34:44 UTC

Re: cvs commit: httpd-2.0/modules/metadata mod_expires.c

On Tue, Feb 03, 2004 at 09:51:39PM -0000, rederpj@apache.org wrote:
> rederpj     2004/02/03 13:51:39
> 
>   Modified:    .        Tag: APACHE_2_0_BRANCH CHANGES STATUS
>                modules/metadata Tag: APACHE_2_0_BRANCH mod_expires.c
>   Log:
>   *) Add support for IMT minor-type wildcards (e.g., text/*) to ExpiresByType.  PR#7991

That introduced a warning to the 2.0 build:

mod_expires.c: In function `set_expiresbytype':
mod_expires.c:365: warning: passing arg 1 of `ap_strrchr' discards qualifiers from pointer target type

joe

Re: cvs commit: httpd-2.0/modules/metadata mod_expires.c

Posted by Jeff Trawick <tr...@attglobal.net>.
Geoffrey Young wrote:

>>(thank goodness for cron)
> 
> 
> and -Werror :)

vendor compilers for Unix-ish systems have a nasty habit of rejecting invalid 
C...  no non-default settings required ;)


Re: cvs commit: httpd-2.0/modules/metadata mod_expires.c

Posted by Geoffrey Young <ge...@modperlcookbook.org>.
> yes, I was just about to post this :) 

:)

> (thank goodness for cron)

and -Werror :)

so I guess that makes at least two who build nightly.  just out of
curiosity, is anyone else?

--Geoff


Re: cvs commit: httpd-2.0/modules/metadata mod_expires.c

Posted by Jeff Trawick <tr...@attglobal.net>.
Geoffrey Young wrote:
>>That introduced a warning to the 2.0 build:
>>
>>mod_expires.c: In function `set_expiresbytype':
>>mod_expires.c:365: warning: passing arg 1 of `ap_strrchr' discards qualifiers from pointer target type
> 
> 
> the next version up in HEAD contains the fix
> 
> http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/metadata/mod_expires.c?r1=1.45&r2=1.46&only_with_tag=MAIN
> 
> --Geoff

yes, I was just about to post this :)  (thank goodness for cron)

so that's 2 +1s for backport of the fix... do we hear a third?



Re: cvs commit: httpd-2.0/modules/metadata mod_expires.c

Posted by Geoffrey Young <ge...@modperlcookbook.org>.
> That introduced a warning to the 2.0 build:
> 
> mod_expires.c: In function `set_expiresbytype':
> mod_expires.c:365: warning: passing arg 1 of `ap_strrchr' discards qualifiers from pointer target type

the next version up in HEAD contains the fix

http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/metadata/mod_expires.c?r1=1.45&r2=1.46&only_with_tag=MAIN

--Geoff