apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject Re: APR_INCOMPLETE
Date Mon, 30 Jul 2001 07:34:49 GMT
Ryan Bloom wrote:
> 
> The comment is correct.  If we are using it in more places than apr_getopt, then it is
> a bug.

It is used in apr-iconv (for wrong byte sequence in input buffer). That looks
correct for me.

>  Those other uses should have their own status value.  We are trying to not
> have one status value have multiple definitions based on context.
> 
> Ryan
> 
> On Sunday 29 July 2001 17:36, Marc Slemko wrote:
> > apr_errno.h says:
> >
> >  * APR_INCOMPLETE     The character conversion stopped because of an
> >  *                    incomplete character or shift sequence at the end
> >  *                    of the input buffer.
> >
> > This doesn't seem to be a good description of what it is used for
> > in reality...  since it seems to be used for functions that can return
> > partially filled structures.
> >
> > Could someone who is positive of what it is used for maybe update this
> > comment to make it less misleading?
> 
> --
> 
> _____________________________________________________________________________
> Ryan Bloom                              rbb@apache.org
> Covalent Technologies                   rbb@covalent.net
> -----------------------------------------------------------------------------

Mime
View raw message