]> granicus.if.org Git - shadow/commitdiff
Added previous commit changelog.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 21 Apr 2009 22:39:52 +0000 (22:39 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 21 Apr 2009 22:39:52 +0000 (22:39 +0000)
ChangeLog

index 790f3c7b1fd6511e00dab6711c4b5e7831edff85..1b668be7ad881b7e8025065fd2fd79bd88f7e161 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,27 @@
+2009-04-22  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * libmisc/utmp.c: Reworked. Get rid of Linux specific stuff. Get rid
+       of global utent/utxent variables. Only reuse the ut_id and maybe
+       the ut_host fields from utmp.
+       * lib/prototypes.h, libmisc/utmp.c: Removed checkutmp(),
+       setutmp(), setutmpx().
+       * lib/prototypes.h, libmisc/utmp.c: Added get_current_utmp(),
+       prepare_utmp(), prepare_utmpx(), setutmp(), setutmpx().
+       * libmisc/utmp.c (is_my_tty): Only compare the name of the utmp
+       line with ttyname(). (No stat of the two terminals to compare the
+       devices).
+       * libmisc/utmp.c: Use getaddrinfo() to get the address of the
+       host.
+       * configure.in: Check for getaddrinfo().
+       * configure.in: Use AC_CHECK_MEMBERS to check for the existence of
+       fields in the utmp/utmpx structures.
+       * configure.in: Reject systems with utmpx support but no ut_id
+       field in utmp. This could be fixed later if needed.
+       * src/login.c: Use the new utmp functions. This also simplifies
+       the failtmp() handling.
+       * src/login.c: passwd_free() renamed to pw_free() and
+       shadow_free() renamed to spw_free()
+
 2009-04-21  Nicolas François  <nicolas.francois@centraliens.net>
 
        * NEWS, configure.in: Enable --enable-account-tools-setuid by