httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgaudet-list-new-ht...@arctic.org>
Subject Re: cvs commit: apache-2.0/src/main buff.c
Date Thu, 02 Mar 2000 22:48:47 GMT


On Thu, 2 Mar 2000, Manoj Kasichainula wrote:

> On Thu, Mar 02, 2000 at 09:45:08AM -0000, dgaudet@locus.apache.org wrote:
> >   @@ -382,11 +399,7 @@
> >    	rv = read_with_errors(fb, buf, nbyte, &i);
> >    	if (rv != APR_SUCCESS) {
> >                *bytes_read = nrd;
> >   -#ifdef MIDWAY_ERROR_RETURNS_ERROR_BLAH_BLAH_BLAH
> >                return rv;
> >   -#else
> >   -	    return *bytes_read ? APR_SUCCESS : rv;
> >   -#endif
> 
> Hmmm. So now, the buff calls return errors even when bytes have been
> successfully read or written. This wasn't what you wanted to do
> before.

bwrite and bread do, sure.  but i didn't propagate that into the rest of
the buffered operations...  dunno really, it was the only thing which made
sense -- since i needed the info the whole way up the call chain.

Dean


Mime
View raw message