git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
aa7d443
)
revert-aix5-curpag-20061009
author
Derrick Brashear
<shadow@dementia.org>
Tue, 5 Dec 2006 19:37:00 +0000 (19:37 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Tue, 5 Dec 2006 19:37:00 +0000 (19:37 +0000)
failed to commit this. commit now
VS: ----------------------------------------------------------------------
src/pam/afs_util.c
patch
|
blob
|
history
diff --git
a/src/pam/afs_util.c
b/src/pam/afs_util.c
index
f423a72
..
56bbd91
100644
(file)
--- a/
src/pam/afs_util.c
+++ b/
src/pam/afs_util.c
@@
-183,13
+183,6
@@
do_klog(const char *user, const char *password, const char *lifetime,
static afs_int32
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];
afs_uint32 g0, g1;
afs_uint32 h, l, ret;
@@
-213,7
+206,6
@@
curpag(void)
return -1;
}
return -1;
-#endif
}
/* Returns the AFS pag number, if any, otherwise return -1 */