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.
(cherry picked from commit
e117599fe17fdfca9c61d1883fe9bf9aa95e3918)
afs_int32 listSuperGroups();
#endif
-static stolower();
extern int IDCmp();
extern int prp_group_default;
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)
nusers, 0, 0);
return code;
}
-
-int
-stolower(char *s)
-{
- while (*s) {
- if (isupper(*s))
- *s = tolower(*s);
- s++;
- }
- return 0;
-}
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.