Josef Wolf <firstname.lastname@example.org>
r844630 | kfogel | 2003-01-24 02:55:42 +0000 (Fri, 24 Jan 2003)
Allow symlinked hook scripts to run, by offering an alternative
path-checking function that resolves symlinks.
Patch by: Josef Wolf <email@example.com>
(Tweaked by me.)
(svn_io_check_resolved_path): New prototype.
(io_check_path): New function, contains the code from
svn_io_check_path, but with new parameter 'resolve_symlinks'.
Also, fix a comment while at it.
(svn_io_check_path): Just wrap io_check_path, and pass false for the
new flag, to maintain old semantics.
(svn_io_check_resolved_path): New function; same as
svn_io_check_path, but pass new flag as true, to resolve links.
svn_repos__hooks_post_revprop_change): Changed callers to use
svn_io_check_resolved_path instead of svn_io_check_path.