bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch: under Windows, cvs status reports "memory exhausted"


From: Derek Robert Price
Subject: Re: patch: under Windows, cvs status reports "memory exhausted"
Date: Thu, 25 Mar 2004 21:45:17 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Bohn wrote:

> Ignore my very last comments about xrealloc_and_strcat not needing
> newsize.  I wasn't thinking; it does need it for the while loop that
> is in the cvs 1.12.6 version of expand_string.


I think I solved this.  It had to do with how realloc &x2realloc liked
their NULL pointers.  I ended up changing an initialization in client.c
to NULL and tweaking xstrcat_and_allocate to deal happily with a NULL
destination string.

Go ahead and check out the trunk if you'd like to try it now.  The fix
will be in 1.12.7.

Derek

- --
                *8^)

Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQFAY5k9LD1OTBfyMaQRAreZAJ4oI9nLQlQf2EYh87hKMVIlLmCBMgCeMRvQ
uQvy7Cwt4Xgepsn3N9uJRNw=
=9g0L
-----END PGP SIGNATURE-----






reply via email to

[Prev in Thread] Current Thread [Next in Thread]