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

Re: svn commit: r987869 - /subversion/branches/performance/subversion/libsvn_fs_fs/temp_serial izer.c

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sun, 22 Aug 2010 21:07:19 +0300

Stefan Sperling wrote on Sun, Aug 22, 2010 at 13:44:07 +0200:
> On Sun, Aug 22, 2010 at 11:37:38AM -0000, stefan2_at_apache.org wrote:
> > + apr_size_t entries_len = count * sizeof(svn_fs_dirent_t*[1]);
>

So how would this be parsed? Is it parsed as

        sizeof( (type *) [1] )

?

> Do you really want the second asterisk in that line?
> It looks like you really want this:
>
> + apr_size_t entries_len = count * sizeof(svn_fs_dirent_t[1]);
Received on 2010-08-22 20:10:24 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.