You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2014/08/30 01:58:34 UTC
svn commit: r1621397 -
/subversion/branches/authzperf/subversion/libsvn_repos/authz_parse.c
Author: stefan2
Date: Fri Aug 29 23:58:33 2014
New Revision: 1621397
URL: http://svn.apache.org/r1621397
Log:
On the authzperf branch: Follow-up to r1621387.
* subversion/libsvn_repos/authz_parse.c
(parse_rule_path): Don't forget to mark "**" as authz_rule_any_recursive.
Modified:
subversion/branches/authzperf/subversion/libsvn_repos/authz_parse.c
Modified: subversion/branches/authzperf/subversion/libsvn_repos/authz_parse.c
URL: http://svn.apache.org/viewvc/subversion/branches/authzperf/subversion/libsvn_repos/authz_parse.c?rev=1621397&r1=1621396&r2=1621397&view=diff
==============================================================================
--- subversion/branches/authzperf/subversion/libsvn_repos/authz_parse.c (original)
+++ subversion/branches/authzperf/subversion/libsvn_repos/authz_parse.c Fri Aug 29 23:58:33 2014
@@ -554,10 +554,12 @@ parse_rule_path(authz_rule_t *rule,
/* This is a **. Replace **|** with a single **. */
if (prev && prev->kind == authz_rule_any_recursive)
{
- /* Simply drop the new segment. */
+ /* Simply drop the redundant new segment. */
--nseg;
continue;
}
+ else
+ segment->kind = authz_rule_any_recursive;
}
segment->pattern.data = interned_empty_string;