[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: canonicalize_filename_mode memory usage
From: |
Eric Blake |
Subject: |
Re: canonicalize_filename_mode memory usage |
Date: |
Sat, 19 Dec 2009 11:54:35 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Jim Meyering on 12/19/2009 7:55 AM:
>> For that matter, the temporary variable actual_size is not even needed. I'd
>> write the patch as just a 2-line addition:
>>
>> if (rname_limit != dest + 1)
>> rname = xrealloc (rname, dest - rname + 1);
>
> Yes, that is better.
> You're welcome to make that change.
Done.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkstIWsACgkQ84KuGfSFAYBkZwCcCx3r3mheJiXJQC8wTJoXcpQQ
Nw4AoJgw7WKLxb2elQ0wCEskFvgn9mNr
=CmOt
-----END PGP SIGNATURE-----