summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--NEWS12
-rw-r--r--login/tst-utmp.c8
3 files changed, 16 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index cae61e4c76..775e23fe44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-05 Ulrich Drepper <drepper@redhat.com>
+
+ * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
+
2001-04-04 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
diff --git a/NEWS b/NEWS
index a208842562..f1dce8d578 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,6 @@
-GNU C Library NEWS -- history of user-visible changes. 2001-3-16
+GNU C Library NEWS -- history of user-visible changes. 2001-4-5
-Copyright (C) 1992-1999, 2000, 2001 Free Software Foundation, Inc.
+Copyright (C) 1992-2000, 2001 Free Software Foundation, Inc.
See the end for copying conditions.
Please send GNU C library bug reports using the `glibcbug' script to
@@ -13,8 +13,9 @@ Version 2.2.3
accurate implementatations for most basic and standard math functions
in float, double, and long double format.
-* Stephen Moshier implemented j0, j1, jn, y0, y1, yn, lgamma, erf, and
- erfc for the 96-bit long double format.
+* Stephen Moshier implemented j0, j1, jn, y0, y1, yn, lgamma, erf, erfc,
+ and asin for the 96-bit long double format and logl for the 128-bit
+ long double format.
* The beginning of a last-bit accurate math library by IBM Haifa were added.
The basic double functions exist today. Contributed by Abraham Ziv
@@ -34,6 +35,9 @@ Version 2.2.3
* The RPC code is now thread safe. Threads can now use the same service
of different services at the same time. Patch by Eric Norum
<eric.norum@usask.ca> with some help by Ulrich Drepper.
+
+* Martin Schwidefsky <schwidefsky@de.ibm.com> implemented the setcontext
+ family of functions for Linux/S390.
Version 2.2.2
diff --git a/login/tst-utmp.c b/login/tst-utmp.c
index 56823b239e..8497067eb3 100644
--- a/login/tst-utmp.c
+++ b/login/tst-utmp.c
@@ -1,5 +1,5 @@
/* Tests for UTMP functions.
- Copyright (C) 1998 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2001 Free Software Foundation, Inc.
Contributed by Mark Kettenis <kettenis@phys.uva.nl>, 1998.
The GNU C Library is free software; you can redistribute it and/or
@@ -73,7 +73,7 @@ do_prepare (int argc, char *argv[])
struct utmp entry[] =
{
-#if _HAVE_UT_TV
+#if _HAVE_UT_TV || defined UTMPX
#define UT(a) ut_tv:{tv_sec:(a)}
#else
#define UT(a) ut_time:(a)
@@ -165,7 +165,7 @@ simulate_login (const char *line, const char *user)
entry[n].ut_pid = (entry_pid += 27);
entry[n].ut_type = USER_PROCESS;
strcpy (entry[n].ut_user, user);
-#if _HAVE_UT_TV - 0
+#if _HAVE_UT_TV - 0 || defined UTMPX
entry[n].ut_tv.tv_sec = (entry_time += 1000);
#else
entry[n].ut_time = (entry_time += 1000);
@@ -199,7 +199,7 @@ simulate_logout (const char *line)
{
entry[n].ut_type = DEAD_PROCESS;
entry[n].ut_user[0] = '\0';
-#if _HAVE_UT_TV - 0
+#if _HAVE_UT_TV - 0 || defined UTMPX
entry[n].ut_tv.tv_sec = (entry_time += 1000);
#else
entry[n].ut_time = (entry_time += 1000);