/[Apache-SVN]
ViewVC logotype

Revision 1621387


Jump to revision: Previous Next
Author: stefan2
Date: Fri Aug 29 21:03:25 2014 UTC (9 years, 7 months ago)
Changed paths: 3
Log Message:
On the authzperf branch:  Make /**/ segments match empty paths, i.e. zero
segments, as well.  That is in line with what e.g. zsh globbing does as well.

We must start applying var-segment nodes together with their parents instead
of applying them only with the next segment.  To make the code simplier,
normalize sequences of multiple var-segment wildcards to single var-segment.
This eliminates the need to enumerate them recursively.

* subversion/libsvn_repos/authz.h
  (authz_rule_segment_t): Update the docstring about the "**" pattern.

* subversion/libsvn_repos/authz_parse.c
  (parse_rule_path):  Modify normalization code, swallowing successive 
                      "any recursive" segments.

* subversion/libsvn_repos/authz.c
  (init_lockup_state,
   add_next_node): Add var-segment nodes to the result along with their
                   parents. 
  (lookup): Var-segment nodes have already been added.

Changed paths

Path Details
Directorysubversion/branches/authzperf/subversion/libsvn_repos/authz.c modified , text changed
Directorysubversion/branches/authzperf/subversion/libsvn_repos/authz.h modified , text changed
Directorysubversion/branches/authzperf/subversion/libsvn_repos/authz_parse.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26