Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
2001-04-05  Ulrich Drepper  <drepper@redhat.com>

	* login/tst-utmp.c: Make file usable again in tst-utmpx.c.
  • Loading branch information
Ulrich Drepper committed Apr 5, 2001
1 parent b53df4c commit f128331
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
12 changes: 8 additions & 4 deletions NEWS
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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

Expand Down
8 changes: 4 additions & 4 deletions login/tst-utmp.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit f128331

Please sign in to comment.