[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: CVS update: subversion/subversion/libsvn_subr io.c xml.c

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-11-08 03:40:54 CET

On Wed, Nov 08, 2000 at 02:32:35AM -0000, kfogel@tigris.org wrote:
> User: kfogel
> Date: 00/11/07 18:32:35
>
> Modified: subversion/libsvn_subr io.c xml.c
> Log:
> Use `apr_size_t' instead of the now-obsolete `apr_ssize_t'.

Just to be clear: apr_ssize_t is not obsolete. It should be used when a
size_t or a negative value needs to be returned.

The APR functions were redefined to return an error status, rather than a
length of -1.

Do your SVN routines need to deal with negative numbers? If so, then you
should continue to use apr_ssize_t.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:14 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.