+1999-07-09 Ken Raeburn <raeburn@mit.edu>
+
+ AIX 4.3.2 changes based on bug report from Joshua Lackey,
+ lackeyj@austin.ibm.com:
+ * configure.in: Check for rmufile function.
+ * login.c (update_ref_count) [! HAVE_RMUFILE]: Call putgroupattr
+ with SEC_DELETE before SEC_COMMIT; don't call rmufile.
+
Fri Mar 12 19:01:35 1999 Tom Yu <tlyu@mit.edu>
* Makefile.in (kshd): Add $(LOGINLIBS).
dnl
AC_VFORK
AC_TYPE_MODE_T
-AC_CHECK_FUNCS(isatty inet_aton gettosbyname killpg initgroups setpriority setreuid setresuid waitpid setsid ptsname setlogin tcgetpgrp tcsetpgrp setpgid strsave utimes)
+AC_CHECK_FUNCS(isatty inet_aton gettosbyname killpg initgroups setpriority setreuid setresuid waitpid setsid ptsname setlogin tcgetpgrp tcsetpgrp setpgid strsave utimes rmufile)
AC_CHECK_HEADERS(unistd.h stdlib.h string.h sys/filio.h sys/sockio.h sys/label.h sys/tty.h ttyent.h lastlog.h sys/select.h sys/ptyvar.h utmp.h sys/time.h krb4-proto.h sys/ioctl_compat.h paths.h arpa/nameser.h)
AC_HEADER_STDARG
AC_REPLACE_FUNCS(getdtablesize)
putgroupattr(grp, (char *)0, (void *)0, SEC_COMMIT);
} else {
putgroupattr(grp, S_USERS, (void *)empty, SEC_LIST);
+#ifdef HAVE_RMUFILE /* pre-4.3.0 AIX */
putgroupattr(grp, (char *)0, (void *)0, SEC_COMMIT);
rmufile(grp, 0, GROUP_TABLE);
+#else
+ putgroupattr(grp, (char *)0, (void *)0, SEC_DELETE);
+ putgroupattr(grp, (char *)0, (void *)0, SEC_COMMIT);
+#endif
}
}
while (*grp) grp++;