diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | platform.c | 6 | ||||
-rw-r--r-- | session.c | 3 |
3 files changed, 6 insertions, 4 deletions
@@ -35,6 +35,7 @@ | |||
35 | the LOGIN_CAP case into platform.c. | 35 | the LOGIN_CAP case into platform.c. |
36 | - (dtucker) platform.c session.c] Move the USE_LIBIAF fragment into | 36 | - (dtucker) platform.c session.c] Move the USE_LIBIAF fragment into |
37 | platform.c | 37 | platform.c |
38 | - (dtucker) platform.c session.c] Move aix_usrinfo frament into platform.c. | ||
38 | 39 | ||
39 | 20101025 | 40 | 20101025 |
40 | - (tim) [openbsd-compat/glob.h] Remove sys/cdefs.h include that came with | 41 | - (tim) [openbsd-compat/glob.h] Remove sys/cdefs.h include that came with |
diff --git a/platform.c b/platform.c index 910e39713..97439b574 100644 --- a/platform.c +++ b/platform.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: platform.c,v 1.10 2010/11/05 02:07:25 dtucker Exp $ */ | 1 | /* $Id: platform.c,v 1.11 2010/11/05 02:11:04 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2006 Darren Tucker. All rights reserved. | 4 | * Copyright (c) 2006 Darren Tucker. All rights reserved. |
@@ -102,6 +102,10 @@ platform_setusercontext(struct passwd *pw) | |||
102 | void | 102 | void |
103 | platform_setusercontext_post_groups(struct passwd *pw) | 103 | platform_setusercontext_post_groups(struct passwd *pw) |
104 | { | 104 | { |
105 | #ifdef _AIX | ||
106 | aix_usrinfo(pw); | ||
107 | #endif /* _AIX */ | ||
108 | |||
105 | #if !defined(HAVE_LOGIN_CAP) && defined(USE_LIBIAF) | 109 | #if !defined(HAVE_LOGIN_CAP) && defined(USE_LIBIAF) |
106 | if (set_id(pw->pw_name) != 0) { | 110 | if (set_id(pw->pw_name) != 0) { |
107 | exit(1); | 111 | exit(1); |
@@ -1513,9 +1513,6 @@ do_setusercontext(struct passwd *pw) | |||
1513 | # if defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) | 1513 | # if defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) |
1514 | irix_setusercontext(pw); | 1514 | irix_setusercontext(pw); |
1515 | # endif /* defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) */ | 1515 | # endif /* defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) */ |
1516 | # ifdef _AIX | ||
1517 | aix_usrinfo(pw); | ||
1518 | # endif /* _AIX */ | ||
1519 | #endif | 1516 | #endif |
1520 | 1517 | ||
1521 | platform_setusercontext_post_groups(pw); | 1518 | platform_setusercontext_post_groups(pw); |