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

Re: Crashes in 1.8.0 test suite on Solaris Sparc (wrong alignment in cache_lookup())

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 20 Jun 2013 17:44:41 +0200

On Thu, Jun 20, 2013 at 07:37:22PM +0400, Sergey Raevskiy wrote:
> > Rainer, can you check if the patch below works for you?
> > If so, we can merge both patches and put the new code into an #else block.
> >
> ...
> > + for (j = 0; j < 4; j++)
> > + val |= (path[i + j] << j);
> ...
>
> It seems that this sode should be:
> + for (j = 0; j < 4; j++)
> + val |= (path[i + j] << (j * 8));

That's right, thank you.
Received on 2013-06-20 17:45:42 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.