r863824 | danderson | 2007-03-09 09:16:38 -0600 (Fri, 09 Mar 2007)
Add token rules for authenticated only and anonymous only to the authz
system, as well as inverted rules.
Patch by: Jonathan Gilbert <o2w9gs702@sneakemail.com>
(Tweaked by me.)
* subversion/libsvn_repos/authz.c
(authz_line_applies_to_user): New function, factored out of
authz_parse_line() and extended to support token authz rules and
inverted rules.
(authz_validate_rule): Reject double negatives and unknown tokens in
rules.
* subversion/libsvn_repos/repos.c
(create_conf): Add the new authz syntax to the stock authz
configuration help text.

r863568 | malcolm | 2007-02-24 16:10:01 -0600 (Sat, 24 Feb 2007)
svndumpfilter: don't use '%n' in printf strings.
In VS2005, Microsoft has deprecated the use of %n as 'inherently
insecure' and turning it back on requires a special function call.
Suggested by: djh
Jonathan Gilbert <o2w9gs702@sneakemail.com>
* subversion/svndumpfilter/main.c
(write_prop_to_stringbuf, output_revision, output_node): Use the return
value of sprintf() to determine how many characters were written, rather
than using '%n' at the end of the string.