mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
Update.
2001-04-05 Ulrich Drepper <drepper@redhat.com> * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
This commit is contained in:
parent
b53df4c940
commit
f128331c35
@ -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>
|
2001-04-04 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
|
* sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
|
||||||
|
12
NEWS
12
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.
|
See the end for copying conditions.
|
||||||
|
|
||||||
Please send GNU C library bug reports using the `glibcbug' script to
|
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
|
accurate implementatations for most basic and standard math functions
|
||||||
in float, double, and long double format.
|
in float, double, and long double format.
|
||||||
|
|
||||||
* Stephen Moshier implemented j0, j1, jn, y0, y1, yn, lgamma, erf, and
|
* Stephen Moshier implemented j0, j1, jn, y0, y1, yn, lgamma, erf, erfc,
|
||||||
erfc for the 96-bit long double format.
|
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 beginning of a last-bit accurate math library by IBM Haifa were added.
|
||||||
The basic double functions exist today. Contributed by Abraham Ziv
|
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
|
* 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
|
of different services at the same time. Patch by Eric Norum
|
||||||
<eric.norum@usask.ca> with some help by Ulrich Drepper.
|
<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
|
Version 2.2.2
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Tests for UTMP functions.
|
/* 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.
|
Contributed by Mark Kettenis <kettenis@phys.uva.nl>, 1998.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
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[] =
|
struct utmp entry[] =
|
||||||
{
|
{
|
||||||
#if _HAVE_UT_TV
|
#if _HAVE_UT_TV || defined UTMPX
|
||||||
#define UT(a) ut_tv:{tv_sec:(a)}
|
#define UT(a) ut_tv:{tv_sec:(a)}
|
||||||
#else
|
#else
|
||||||
#define UT(a) ut_time:(a)
|
#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_pid = (entry_pid += 27);
|
||||||
entry[n].ut_type = USER_PROCESS;
|
entry[n].ut_type = USER_PROCESS;
|
||||||
strcpy (entry[n].ut_user, user);
|
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);
|
entry[n].ut_tv.tv_sec = (entry_time += 1000);
|
||||||
#else
|
#else
|
||||||
entry[n].ut_time = (entry_time += 1000);
|
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_type = DEAD_PROCESS;
|
||||||
entry[n].ut_user[0] = '\0';
|
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);
|
entry[n].ut_tv.tv_sec = (entry_time += 1000);
|
||||||
#else
|
#else
|
||||||
entry[n].ut_time = (entry_time += 1000);
|
entry[n].ut_time = (entry_time += 1000);
|
||||||
|
Loading…
Reference in New Issue
Block a user