[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Renames functions in libsvn_repos/authz.c with better meaning

From: Arwin Arni <arwin_at_collab.net>
Date: Wed, 19 Jan 2011 19:18:14 +0530

Hi All,

There are a couple of functions (authz_get_global_access,
authz_global_parse_section) inside libsvn_repos/authz.c which completely
threw me off track by virtue of their names. The names seem to suggest
that they check for global access to the repository, which is very
misleading. What they actually do is check to see if the user has *any*
kind of access to *any* part of the repository.

This patch renames these functions to convey a better meaning, and also
inserts a comment that explains the function better. I have attached the
patch and log message.

Regards,
Arwin Arni

Received on 2011-01-19 14:48:53 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.