summaryrefslogtreecommitdiff
path: root/platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'platform.c')
-rw-r--r--platform.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/platform.c b/platform.c
index 97439b574..c8163f901 100644
--- a/platform.c
+++ b/platform.c
@@ -1,4 +1,4 @@
1/* $Id: platform.c,v 1.11 2010/11/05 02:11:04 dtucker Exp $ */ 1/* $Id: platform.c,v 1.12 2010/11/05 02:29:25 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,11 @@ platform_setusercontext(struct passwd *pw)
102void 102void
103platform_setusercontext_post_groups(struct passwd *pw) 103platform_setusercontext_post_groups(struct passwd *pw)
104{ 104{
105#if !defined(HAVE_LOGIN_CAP) && (defined(WITH_IRIX_PROJECT) || \
106 defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY))
107 irix_setusercontext(pw);
108#endif /* defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) */
109
105#ifdef _AIX 110#ifdef _AIX
106 aix_usrinfo(pw); 111 aix_usrinfo(pw);
107#endif /* _AIX */ 112#endif /* _AIX */