Andreas Stieger (andreas stieger at gmx de)


Patch
r1599140

r1599140 | stefan2 | 2014-06-02 04:36:58 -0500 (Mon, 02 Jun 2014)

Fix xgettext warnings and incomplete format strings due to APR macros.

* subversion/libsvn_fs_fs/cached_data.c
  (svn_fs_fs__check_rep): Make xgettext friendly by removing the
   macro from the format string.

* subversion/libsvn_fs_x/cached_data.c
  (svn_fs_x__check_rep): Same.

* subversion/libsvn_fs_fs/index.c
  (svn_fs_fs__l2p_index_create): Same x2.
  (l2p_page_info_copy,l2p_page_get_entry): Same, and grow
   scratch_pool parameters to support it.
  (l2p_page_info_access_func,get_l2p_page_info): Update calls to
   l2p_page_info_copy to pass a pool.
  (l2p_entry_access_func,l2p_index_lookup): Update calls to
   l2p_page_get_entry to pass a pool.

* subversion/libsvn_fs_x/index.c
  (svn_fs_x__l2p_index_create): Make xgettext friendly by removing
   the macro from the format string.
  (l2p_header_copy): Same, and grow scratch_pool parameters to
   support it.
  (l2p_header_access_func,get_l2p_page_info): Update calls to
   l2p_header_copy to pass a pool.
  (l2p_page_get_offset): Same pattern to allow compile-time
   checking of arguments against format string.

Patch by: Andreas Stieger (andreas stieger at gmx de)