Checkout
stefan2
committed
on 11 Jul 12
Prevent path-handling related deprecation warnings. Since they happen
in code of functons that are deprecated themselves, we need a workarou… Show more
Prevent path-handling related deprecation warnings. Since they happen

in code of functons that are deprecated themselves, we need a workaround

here: move the actual code to a static *_internal function and let

the public deprecated API as well as its users call that internal

(non-deprecated) function.

* subversion/libsvn_subr/deprecated.c

 (svn_path_is_canonical): move from here to the next file

* subversion/libsvn_subr/path.c

 (svn_path_is_canonical_internal,

  svn_path_is_canonical): make the function body available internally

  without deprecation warning

 (svn_path_join_internal,

  svn_path_join): do a similar split; call svn_path_is_canonical_internal

  to prevent deprecation warnings

 (svn_path_join_many,

  svn_path_dirname,

  svn_path_basename,

  svn_path_decompose): call *_internal functions

Show less