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

Re: svn commit: rev 2106 - trunk/subversion/libsvn_fs trunk/subversion/libsvn_ra_local trunk/subversion/svnlook trunk/subversion/clients/cmdline trunk/subversion/tests/libsvn_fs

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-06-07 01:29:35 CEST

On Thu, Jun 06, 2002 at 03:18:59PM -0700, Blair Zajac wrote:
> gstein@tigris.org wrote:
> >
> > Author: gstein
> > Date: 2002-06-06 20:30 GMT
> > New Revision: 2106
> >
> > Modified: trunk/subversion/tests/libsvn_fs/fs-test.c
> > ==============================================================================
> > --- trunk/subversion/tests/libsvn_fs/fs-test.c (original)
> > +++ trunk/subversion/tests/libsvn_fs/fs-test.c Thu Jun 6 15:30:36 2002
> > @@ -4292,7 +4292,7 @@
> > crappy. We need to keep this buffer fairly large so we don't run
> > out of memory doing undeltification of large files into tiny
> > buffers. Issue #465. */
> > - char buf[100000];
> > + char *buf = apr_palloc (pool, 100000);

Dang. And I even forgot to include that one in the log message!

I've corrected the log message to include:

* tests/libsvn_fs/fs-test.c (get_file_digest): allocate the buffer on the
    heap, not the stack (it is too big for the stack).

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 7 04:24:51 2002

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.