subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1554618 - /subversion/trunk/subversion/libsvn_subr/string.c
Date Wed, 01 Jan 2014 13:46:32 GMT
Author: stefan2
Date: Wed Jan  1 13:46:32 2014
New Revision: 1554618

URL: http://svn.apache.org/r1554618
Log:
No functional change.

* subversion/libsvn_subr/string.c
  (membuf_ensure): Remove outdated and confusing comments.

Modified:
    subversion/trunk/subversion/libsvn_subr/string.c

Modified: subversion/trunk/subversion/libsvn_subr/string.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/string.c?rev=1554618&r1=1554617&r2=1554618&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/string.c (original)
+++ subversion/trunk/subversion/libsvn_subr/string.c Wed Jan  1 13:46:32 2014
@@ -78,14 +78,10 @@ membuf_ensure(void **data, apr_size_t *s
       apr_size_t new_size = *size;
 
       if (new_size == 0)
-        /* APR will increase odd allocation sizes to the next
-         * multiple for 8, for instance. Take advantage of that
-         * knowledge and allow for the extra size to be used. */
         new_size = minimum_size;
       else
         while (new_size < minimum_size)
           {
-            /* new_size is aligned; doubling it should keep it aligned */
             const apr_size_t prev_size = new_size;
             new_size *= 2;
 



Mime
View raw message