diff options
-rw-r--r-- | macros2/ChangeLog | 6 | ||||
-rw-r--r-- | macros2/check-utmp.m4 | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/macros2/ChangeLog b/macros2/ChangeLog index 13988fe8..06dccdc1 100644 --- a/macros2/ChangeLog +++ b/macros2/ChangeLog @@ -1,3 +1,9 @@ +2003-02-14 Kalpesh Shah <kalpesh.shah@sun.com> + + * check-utmp.m4: initialize UTMP structure properly. + Fixes Bug#93774. + Patch reviewed by Andersca <andersca@gnu.org> + 2002-09-23 Bastien Nocera <hadess@hadess.net> * autogen.sh: exit if aclocal, autoheader, automake or autoconf diff --git a/macros2/check-utmp.m4 b/macros2/check-utmp.m4 index 5241b96b..5653923d 100644 --- a/macros2/check-utmp.m4 +++ b/macros2/check-utmp.m4 @@ -212,7 +212,7 @@ AC_TRY_COMPILE([#ifdef TIME_WITH_SYS_TIME #endif #ifdef HAVE_UTMPX_H #include <utmpx.h> -#endif],[UTMP ut; ut.ut_tv={0, 0};],result=yes,result=no) +#endif],[UTMP ut; ut.ut_tv.tv_sec=0; ut.ut_tv.tv_usec=0;],result=yes,result=no) if test "$result" = "yes"; then AC_DEFINE(HAVE_UT_UT_TV) fi |