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

Re: svn commit: r1325899 - in /subversion/trunk/subversion/libsvn_ra_svn: marshal.c ra_svn.h

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Thu, 26 Apr 2012 12:14:35 +0300

stefan2_at_apache.org wrote on Fri, Apr 13, 2012 at 18:36:46 -0000:
> svn_error_t *svn_ra_svn_write_cstring(svn_ra_svn_conn_t *conn,
> apr_pool_t *pool, const char *s)
> {
> + else
> + write_number(conn, pool, len, ':');

Error leak

> Modified: subversion/trunk/subversion/libsvn_ra_svn/ra_svn.h
> URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_svn/ra_svn.h?rev=1325899&r1=1325898&r2=1325899&view=diff
> ==============================================================================
> --- subversion/trunk/subversion/libsvn_ra_svn/ra_svn.h (original)
> +++ subversion/trunk/subversion/libsvn_ra_svn/ra_svn.h Fri Apr 13 18:36:46 2012
> @@ -57,8 +57,8 @@ typedef svn_error_t *(*ra_svn_block_hand
> void *baton);
>
> /* The size of our per-connection read and write buffers. */
> -#define SVN_RA_SVN__READBUF_SIZE 4096
> -#define SVN_RA_SVN__WRITEBUF_SIZE 4096
> +#define SVN_RA_SVN__READBUF_SIZE 4*4096
> +#define SVN_RA_SVN__WRITEBUF_SIZE 4*4096
>

Parentheses please? (May not be strictly necessary, but I shouldn't
have to reach for the man page to check whether there is an operator
that binds more tightly than * and is applicable here.)
Received on 2012-04-26 11:15:13 CEST

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.