mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
revert-aix5-curpag-20061009
failed to commit this. commit now VS: ----------------------------------------------------------------------
This commit is contained in:
parent
aa7d443b6d
commit
763dc42ff0
@ -183,13 +183,6 @@ do_klog(const char *user, const char *password, const char *lifetime,
|
|||||||
static afs_int32
|
static afs_int32
|
||||||
curpag(void)
|
curpag(void)
|
||||||
{
|
{
|
||||||
#if defined(AFS_AIX51_ENV)
|
|
||||||
afs_int32 pag;
|
|
||||||
|
|
||||||
if (get_pag(PAG_AFS, &pag) < 0 || pag == 0)
|
|
||||||
pag = NOPAG;
|
|
||||||
return pag;
|
|
||||||
#else
|
|
||||||
gid_t groups[NGROUPS_MAX];
|
gid_t groups[NGROUPS_MAX];
|
||||||
afs_uint32 g0, g1;
|
afs_uint32 g0, g1;
|
||||||
afs_uint32 h, l, ret;
|
afs_uint32 h, l, ret;
|
||||||
@ -213,7 +206,6 @@ curpag(void)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Returns the AFS pag number, if any, otherwise return -1 */
|
/* Returns the AFS pag number, if any, otherwise return -1 */
|
||||||
|
Loading…
Reference in New Issue
Block a user