[OpenAFS-devel] ptuser interfaces: inconsistent downcasing

Garrett Wollman wollman@csail.mit.edu
Tue, 24 Jul 2012 22:06:35 -0400


Some interfaces in the client-side protection library, like
pr_CreateUser, pr_CreateGroup, and pr_SNameToId, unconditionally
downcase their arguments, which prevents them from being constified.
Other interfaces, like pr_AddToGroup and pr_RemoveUserFromGroup, do
not do so.  Can anyone explain the reason for this inconsistency?  It
would make more sense to me if these interfaces either all did
case-folding, or all did not.

-GAWollman