since it's the same as updwtmp(), and glibc doesn't define PATH_WTMPX.
updwtmpx() is not part of the XPG standard anyway. (Needed for RedHat
6.0.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11357
dc483132-0cff-0310-8789-
dd5450dbe970
+1999-04-14 <tytso@rsts-11.mit.edu>
+
+ * update_wtmp.c: Don't use updwtmpx() even if it exists for glibc
+ 2.1, since it's the same as updwtmp(), and glibc doesn't
+ define PATH_WTMPX. updwtmpx() is not part of the XPG
+ standard anyway. (Needed for RedHat 6.0.)
+
Sun Mar 28 17:50:57 1999 Tom Yu <tlyu@mit.edu>
* update_wtmp.c: Define WTMPX_FILE to be _PATH_WTMPX in case we're
#define WTMP_FILE "/usr/adm/wtmp"
#endif
+#if defined(__GLIBC__) && (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1)
+/* This is ugly, but the lack of standardization in the utmp/utmpx
+ * space, and what glibc implements and doesn't make available, is
+ * even worse.
+ */
+#undef HAVE_UPDWTMPX /* Don't use updwtmpx for glibc 2.1 */
+#endif
long ptyint_update_wtmp (ent , host, user)
struct utmp *ent;