Author: stefan2
Date: Fri Jan 25 10:15:45 2013
New Revision: 1438417
URL: http://svn.apache.org/viewvc?rev=1438417&view=rev
Log:
On the fsfs-format7 branch: Fix item index counter storage.
* subversion/libsvn_fs_fs/transaction.c
(allocate_item_index): use the correct buffer size value
Modified:
subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/transaction.c
Modified: subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/transaction.c
URL:
http://svn.apache.org/viewvc/subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/transaction.c?rev=1438417&r1=1438416&r2=1438417&view=diff
==============================================================================
--- subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/transaction.c
(original)
+++ subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/transaction.c Fri
Jan 25 10:15:45 2013
@@ -1673,8 +1673,7 @@ allocate_item_index(apr_uint64_t *item_i
APR_READ | APR_WRITE
| APR_CREATE | APR_BUFFERED,
APR_OS_DEFAULT, pool));
- SVN_ERR(svn_io_file_read_full2(file, buffer,
- sizeof(SVN_INT64_BUFFER_SIZE)-1,
+ SVN_ERR(svn_io_file_read_full2(file, buffer, sizeof(buffer)-1,
&read, &eof, pool));
if (read)
SVN_ERR(svn_cstring_atoui64(item_index, buffer));