httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <cliffwool...@yahoo.com>
Subject Re: cvs commit: httpd-2.0/modules/filters mod_include.c
Date Sat, 21 Apr 2001 17:44:14 GMT
On Sat, 21 Apr 2001, Brian Havard wrote:

> >                   }
> >                   else {
> >  -                    do {
> >  -                        tmp_bkt  = tmp_dptr;
> >  -                        tmp_dptr = APR_BUCKET_NEXT (tmp_dptr);
> >  -                        apr_bucket_delete(tmp_bkt);
> >  -                    } while ((tmp_dptr != dptr) &&
> >  -                             (tmp_dptr != APR_BRIGADE_SENTINEL(*bb)));
> >  +                    apr_bucket_brigade *temp_bb = *bb;
> >  +                    *bb = apr_brigade_split(temp_bb, dptr);
> >  +                    apr_brigade_destroy(temp_bb);
> >                   }
> >
> >                   return;
>
> This part doesn't appear to be equivalent, I'm seeing data before a tag
> getting lost.

Hmmm... yeah, my fault.  I see the problem.  Will patch ASAP.

--Cliff



--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



Mime
View raw message