mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
fileserver-hates-pruclient-20060626
right now there is one struct ubik_client shared by all threads in the fileserve r, which sucks when one has it locked let's, uh, fix that.
This commit is contained in:
parent
4478d3a99a
commit
e117599fe1
@ -104,7 +104,6 @@ afs_int32 listElements(), listOwned(), isAMemberOf(), idToName();
|
||||
afs_int32 listSuperGroups();
|
||||
#endif
|
||||
|
||||
static stolower();
|
||||
extern int IDCmp();
|
||||
|
||||
extern int prp_group_default;
|
||||
@ -2217,19 +2216,6 @@ isAMemberOf(call, uid, gid, flag, cid)
|
||||
return code;
|
||||
}
|
||||
|
||||
|
||||
static
|
||||
stolower(s)
|
||||
register char *s;
|
||||
{
|
||||
register int tc;
|
||||
while ((tc = *s)) {
|
||||
if (isupper(tc))
|
||||
*s = tolower(tc);
|
||||
s++;
|
||||
}
|
||||
}
|
||||
|
||||
#if IP_WILDCARDS
|
||||
afs_int32
|
||||
addWildCards(tt, alist, host)
|
||||
|
@ -765,14 +765,3 @@ pr_SetFieldsEntry(afs_int32 id, afs_int32 mask, afs_int32 flags, afs_int32 ngrou
|
||||
nusers, 0, 0);
|
||||
return code;
|
||||
}
|
||||
|
||||
int
|
||||
stolower(char *s)
|
||||
{
|
||||
while (*s) {
|
||||
if (isupper(*s))
|
||||
*s = tolower(*s);
|
||||
s++;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -67,6 +67,28 @@ ucstring(char *d, char *s, int n)
|
||||
return original_d;
|
||||
}
|
||||
|
||||
int
|
||||
stolower(char *s)
|
||||
{
|
||||
while (*s) {
|
||||
if (isupper(*s))
|
||||
*s = tolower(*s);
|
||||
s++;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
stoupper(char *s)
|
||||
{
|
||||
while (*s) {
|
||||
if (islower(*s))
|
||||
*s = toupper(*s);
|
||||
s++;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* strcompose - concatenate strings passed to it.
|
||||
* Input:
|
||||
* buf: storage for the composed string. Any data in it will be lost.
|
||||
|
Loading…
Reference in New Issue
Block a user