httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Life is hard, and then you die" <ron...@innovation.ch>
Subject Re: cvs commit: apache-2.0/src/modules/mpm/winnt mpm_winnt.c registry.c service.c
Date Fri, 28 Jul 2000 09:48:53 GMT
On Mon, Jul 24, 2000 at 08:18:05PM -0700, Greg Stein wrote:
> On Mon, Jul 24, 2000 at 08:28:13PM -0500, William A. Rowe, Jr. wrote:
> >...
> > >   --- mod_auth_digest.c	2000/06/24 17:34:02	1.20
> > >   +++ mod_auth_digest.c	2000/07/25 00:58:20	1.21
> > >   @@ -498,7 +499,7 @@
> > >    static const char *set_qop(cmd_parms *cmd, void *config, const char *op)
> > >    {
> > >        digest_config_rec *conf = (digest_config_rec *) config;
> > >   -    const char **tmp;
> > >   +    char **tmp;
> > >        int cnt;
> > 
> > Was causing constness errors, as I recall, but it can be retracted.
> 
> This is a correct change. tmp[] is modified in that function.

Umm, sorry to be so dense, but I don't understand why the const was
wrong. Yes, tmp[] is modified, but the declaration isn't
'char * const *tmp;'. What compiler gave what sort of warning?


  Cheers,

  Ronald


Mime
View raw message