Skip to Content.
Sympa Menu

freetds - Re: Patch to fix PHP cancel problem with ASA-6

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: Patch to fix PHP cancel problem with ASA-6
  • Date: Mon, 9 Sep 2002 08:04:08 -0400 (EDT)


len is overriden to be header len -8, so at this point i don't know what
it is, could be -8 in which case it'll work, but not too obvious on
reading the code.

Brian

On 9 Sep 2002, Frediano Ziglio wrote:

> >
> > --- src/tds/read.c.bak 2002-09-08 20:16:58.000000000 -0400
> > +++ src/tds/read.c 2002-09-08 20:59:22.000000000 -0400
> > @@ -386,7 +386,7 @@
> > tds->in_len=0;
> > tds->in_pos=0;
> > tds->last_packet=1;
> > - return(-1);
> > + return(len ? -1 : 0);
> > }
> >
> > /* Set the last packet flag */
> >
>
> This patch seem useless.
> Test for x < 1 is made inside loop. This code never execute..
>
> freddy77
>
>
>
>
> ---
> You are currently subscribed to freetds as: [camber AT ais.org]
> To unsubscribe, forward this message to $subst('Email.Unsub')
>
>





Archive powered by MHonArc 2.6.24.

Top of Page