subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1588906 - /subversion/trunk/subversion/libsvn_fs_fs/transaction.c
Date Mon, 21 Apr 2014 15:45:08 GMT
Author: stefan2
Date: Mon Apr 21 15:45:08 2014
New Revision: 1588906

URL: http://svn.apache.org/r1588906
Log:
Follow-up to r1588899.

* subversion/libsvn_fs_fs/transaction.c
  (fnv1a_checksum_on_file_range): Don't NUL the read buffer
                                            *damn auto-complete*.

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/transaction.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/transaction.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/transaction.c?rev=1588906&r1=1588905&r2=1588906&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/transaction.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/transaction.c Mon Apr 21 15:45:08 2014
@@ -3567,7 +3567,7 @@ fnv1a_checksum_on_file_range(apr_uint32_
                              apr_off_t size,
                              apr_pool_t *pool)
 {
-  char *buffer = apr_pcalloc(pool, SVN__STREAM_CHUNK_SIZE);
+  char *buffer = apr_palloc(pool, SVN__STREAM_CHUNK_SIZE);
 
   svn_checksum_ctx_t *checksum_ctx
     = svn_checksum_ctx_create(svn_checksum_fnv1a_32x4, pool);



Mime
View raw message