diff options
author | Darren Tucker <dtucker@zip.com.au> | 2010-11-05 13:11:04 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2010-11-05 13:11:04 +1100 |
commit | 676b912e780499e9f59e8add7859a014cb2db07d (patch) | |
tree | f3953e2d9f62131b6dcdb972e476ce89041bd1e5 | |
parent | 7a8afe3186bd2007da3a2fce4276e5b96ed877f6 (diff) |
- (dtucker) platform.c session.c] Move aix_usrinfo frament into platform.c.
-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 @@ the LOGIN_CAP case into platform.c. - (dtucker) platform.c session.c] Move the USE_LIBIAF fragment into platform.c + - (dtucker) platform.c session.c] Move aix_usrinfo frament into platform.c. 20101025 - (tim) [openbsd-compat/glob.h] Remove sys/cdefs.h include that came with @@ -1,4 +1,4 @@ -/* $Id: platform.c,v 1.10 2010/11/05 02:07:25 dtucker Exp $ */ +/* $Id: platform.c,v 1.11 2010/11/05 02:11:04 dtucker Exp $ */ /* * Copyright (c) 2006 Darren Tucker. All rights reserved. @@ -102,6 +102,10 @@ platform_setusercontext(struct passwd *pw) void platform_setusercontext_post_groups(struct passwd *pw) { +#ifdef _AIX + aix_usrinfo(pw); +#endif /* _AIX */ + #if !defined(HAVE_LOGIN_CAP) && defined(USE_LIBIAF) if (set_id(pw->pw_name) != 0) { exit(1); @@ -1513,9 +1513,6 @@ do_setusercontext(struct passwd *pw) # if defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) irix_setusercontext(pw); # endif /* defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) */ -# ifdef _AIX - aix_usrinfo(pw); -# endif /* _AIX */ #endif platform_setusercontext_post_groups(pw); |