On Mon, Dec 14, 2009 at 02:15:55PM -0700, Stefan Sperling wrote:
> CVSROOT:      /cvs
> Module name:  src
> Changes by:   [email protected]    2009/12/14 14:15:55
> 
> Modified files:
>       gnu/usr.bin/cvs/src: rcs.c 
> 
> Log message:
> Fix "cvs [update aborted]: out of memory; can not reallocate 5242880 bytes"
> when checking out xenocara from a server running OpenBSD/amd64.
> 
> While processing RCS deltas, don't allocate twice as much memory as
> needed when copying a line vector to a vector which has less lines.
> Also, when switching back from a branch to trunk while searching an
> RCS file for a revision, free the trunklines vector immediately after
> lines saved in it have been copied back into the currentlines vector.
> Somehow, these two changes together make the problem go away.
> 
> ok tobias@, "this has been a serious annoyance" sthen@, "sure" deraadt@

This was also ok guenther.

Reply via email to