Checkout
stsp
committed
on 03 Sep
Use more of the new _safe variants of canonicalization functions.

This commit converts all relevant function calls in libsvn_repos.

* subv… Show more
Use more of the new _safe variants of canonicalization functions.

This commit converts all relevant function calls in libsvn_repos.

* subversion/libsvn_repos/commit.c

 (add_file_or_directory, delete_entry, open_directory, open_file): Use

   svn_relpath_canonicalize_safe() instead of svn_relpath_canonicalize().

* subversion/libsvn_repos/delta.c

 (svn_repos_dir_delta2): Use svn_relpath_canonicalize_safe() instead of

   svn_relpath_canonicalize().

* subversion/libsvn_repos/dump.c

 (make_dir_baton): Convert to return an svn_error_t and use

   svn_relpath_canonicalize_safe() instead of svn_relpath_canonicalize().

 (open_root, add_directory, open_directory): Update callers.

 (dump_node): Use svn_relpath_canonicalize_safe() instead of

   svn_relpath_canonicalize().

* subversion/libsvn_repos/dump_editor.c

 (make_dir_baton): Convert to return an svn_error_t and use

   svn_relpath_canonicalize_safe() instead of svn_relpath_canonicalize().

 (open_root, add_directory, open_directory): Update callers.

* subversion/libsvn_repos/load-fs-vtable.c

 (prefix_mergeinfo_paths, make_node_baton, svn_repos_get_fs_build_parser6):

   Use svn_relpath_canonicalize_safe() instead of svn_relpath_canonicalize().

Show less