aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-03-01 07:21:39 +0000
committerUlrich Drepper <drepper@redhat.com>1999-03-01 07:21:39 +0000
commit9f6b6d8d19c17bdb5a30573c0ffc64e4177c7a49 (patch)
tree93278462f031ac5ae33061b1f236f11a85e4cb7f
parent407a7d0eb770ae079a662e7b2b8cff5a750ca6ed (diff)
downloadglibc-9f6b6d8d19c17bdb5a30573c0ffc64e4177c7a49.tar
glibc-9f6b6d8d19c17bdb5a30573c0ffc64e4177c7a49.tar.gz
glibc-9f6b6d8d19c17bdb5a30573c0ffc64e4177c7a49.tar.bz2
glibc-9f6b6d8d19c17bdb5a30573c0ffc64e4177c7a49.zip
Update.
1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to uc_link which is the right name according to Unix98. Reported by Craig Metz [PR libc/1001]. * sysdeps/arm/sys/ucontext.h (ucontext): Likewise. * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise. * sysdeps/mips/sys/ucontext.h (ucontext): Likewise. * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise. * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
-rw-r--r--ChangeLog12
-rw-r--r--FAQ40
-rw-r--r--FAQ.in9
-rw-r--r--sysdeps/arm/sys/ucontext.h4
-rw-r--r--sysdeps/i386/sys/ucontext.h4
-rw-r--r--sysdeps/m68k/sys/ucontext.h4
-rw-r--r--sysdeps/mips/sys/ucontext.h4
-rw-r--r--sysdeps/unix/sysv/linux/alpha/sys/ucontext.h4
-rw-r--r--sysdeps/unix/sysv/linux/i386/sys/ucontext.h4
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h4
10 files changed, 59 insertions, 30 deletions
diff --git a/ChangeLog b/ChangeLog
index 7da090e005..23f1a1ff5c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
+
+ * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
+ uc_link which is the right name according to Unix98.
+ Reported by Craig Metz [PR libc/1001].
+ * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
+ * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
+ * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
+ * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
+ * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
+ * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
+
1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
diff --git a/FAQ b/FAQ
index 7f5ca1d95a..7c3dd1d424 100644
--- a/FAQ
+++ b/FAQ
@@ -142,20 +142,23 @@ please let me know.
unresolved symbols, like `_dl_initial_searchlist' and can not
execute any binaries. What went wrong?
-4. Miscellaneous
+4. bonnie reports that char i/o with glibc 2 is much slower than with
-4.1. After I changed configure.in I get `Autoconf version X.Y.
+
+5. Miscellaneous
+
+5.1. After I changed configure.in I get `Autoconf version X.Y.
or higher is required for this script'. What can I do?
-4.2. When I try to compile code which uses IPv6 headers and
+5.2. When I try to compile code which uses IPv6 headers and
definitions on my Linux 2.x.y system I am in trouble.
Nothing seems to work.
-4.3. When I set the timezone by setting the TZ environment variable
+5.3. When I set the timezone by setting the TZ environment variable
to EST5EDT things go wrong since glibc computes the wrong time
from this information.
-4.4. What other sources of documentation about glibc are available?
-4.5. The timezone string for Sydney/Australia is wrong since even when
+5.4. What other sources of documentation about glibc are available?
+5.5. The timezone string for Sydney/Australia is wrong since even when
daylight saving time is in effect the timezone string is EST.
-4.6. I've build make 3.77 against glibc 2.1 and now make gets
+5.6. I've build make 3.77 against glibc 2.1 and now make gets
segmentation faults.
@@ -225,7 +228,7 @@ We recommend version GNU make version 3.75 or 3.77. Versions before 3.75
have bugs and/or are missing features. Version 3.76 has bugs which
appear when building big projects like GNU libc. 3.76.1 appears to work but
some people have reported problems. If you build GNU make 3.77 from source,
-please read question 4.6 first.
+please read question 5.6 first.
1.4. Do I need a special linker or assembler?
@@ -1191,7 +1194,7 @@ defined).
Instead GNU libc contains zone database support and compatibility code for
POSIX TZ environment variable handling. For former is very much preferred
-(see question 4.3).
+(see question 5.3).
3.4. The prototypes for `connect', `accept', `getsockopt',
@@ -1488,16 +1491,21 @@ correct paths to the compiler (option -I with gcc) and linker (options
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
-4. Miscellaneous
+4. bonnie reports that char i/o with glibc 2 is much slower than with
+
+
+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
+
+5. Miscellaneous
-4.1. After I changed configure.in I get `Autoconf version X.Y.
+5.1. After I changed configure.in I get `Autoconf version X.Y.
or higher is required for this script'. What can I do?
{UD} You have to get the specified autoconf version (or a later one)
from your favorite mirror of ftp.gnu.org.
-4.2. When I try to compile code which uses IPv6 headers and
+5.2. When I try to compile code which uses IPv6 headers and
definitions on my Linux 2.x.y system I am in trouble.
Nothing seems to work.
@@ -1521,7 +1529,7 @@ Also, as of the 2.1 release the IPv6 API provided by GNU libc is not
functions are not implemented.
-4.3. When I set the timezone by setting the TZ environment variable
+5.3. When I set the timezone by setting the TZ environment variable
to EST5EDT things go wrong since glibc computes the wrong time
from this information.
@@ -1546,7 +1554,7 @@ the POSIX method and you have not verified something is really broken by
reading the POSIX standards.
-4.4. What other sources of documentation about glibc are available?
+5.4. What other sources of documentation about glibc are available?
{AJ} The FSF has a page about the GNU C library at
<http://www.gnu.org/software/libc/>. The problem data base of open and
@@ -1560,7 +1568,7 @@ Looijaard describes a different way installing glibc2 as secondary libc at
Please note that this is not a complete list.
-4.5. The timezone string for Sydney/Australia is wrong since even when
+5.5. The timezone string for Sydney/Australia is wrong since even when
daylight saving time is in effect the timezone string is EST.
{UD} The problem for some timezones is that the local authorities decided
@@ -1575,7 +1583,7 @@ Great! To get this bug fixed convince the authorities to change the laws
and regulations of the country this effects. glibc behaves correctly.
-4.6. I've build make 3.77 against glibc 2.1 and now make gets
+5.6. I've build make 3.77 against glibc 2.1 and now make gets
segmentation faults.
{AJ} GNU make 3.77 has support for 64 bit filesystems which is slightly
diff --git a/FAQ.in b/FAQ.in
index 7a0d1a087d..495e30c6af 100644
--- a/FAQ.in
+++ b/FAQ.in
@@ -1278,6 +1278,15 @@ When compiling new programs against glibc 2.1, you've got to specify the
correct paths to the compiler (option -I with gcc) and linker (options
--dynamic-linker, -L and --rpath).
+? bonnie reports that char i/o with glibc 2 is much slower than with
+ libc5. What can be done?
+
+{AJ} The GNU C library uses thread safe functions by default and libc5 used
+non thread safe versions. The non thread safe functions have in glibc the
+suffix `_unlocked', for details check <stdio.h>. Using `putc_unlocked' etc.
+instead of `putc' should give nearly the same speed with bonnie (bonnie is a
+benchmark program for measuring disk access).
+
? Miscellaneous
diff --git a/sysdeps/arm/sys/ucontext.h b/sysdeps/arm/sys/ucontext.h
index 70af80fa47..999c01c417 100644
--- a/sysdeps/arm/sys/ucontext.h
+++ b/sysdeps/arm/sys/ucontext.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -85,7 +85,7 @@ typedef struct
typedef struct ucontext
{
unsigned long int uc_flags;
- struct ucontext *uc_links;
+ struct ucontext *uc_link;
__sigset_t uc_sigmask;
stack_t uc_stack;
mcontext_t uc_mcontext;
diff --git a/sysdeps/i386/sys/ucontext.h b/sysdeps/i386/sys/ucontext.h
index 68597c9c09..397c29a7b8 100644
--- a/sysdeps/i386/sys/ucontext.h
+++ b/sysdeps/i386/sys/ucontext.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -110,7 +110,7 @@ typedef struct
typedef struct ucontext
{
unsigned long int uc_flags;
- struct ucontext *uc_links;
+ struct ucontext *uc_link;
__sigset_t uc_sigmask;
stack_t uc_stack;
mcontext_t uc_mcontext;
diff --git a/sysdeps/m68k/sys/ucontext.h b/sysdeps/m68k/sys/ucontext.h
index 4776e7d821..1acfee41df 100644
--- a/sysdeps/m68k/sys/ucontext.h
+++ b/sysdeps/m68k/sys/ucontext.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -98,7 +98,7 @@ typedef struct
typedef struct ucontext
{
unsigned long int uc_flags;
- struct ucontext *uc_links;
+ struct ucontext *uc_link;
__sigset_t uc_sigmask;
stack_t uc_stack;
mcontext_t uc_mcontext;
diff --git a/sysdeps/mips/sys/ucontext.h b/sysdeps/mips/sys/ucontext.h
index f177cad121..741fb28df7 100644
--- a/sysdeps/mips/sys/ucontext.h
+++ b/sysdeps/mips/sys/ucontext.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -134,7 +134,7 @@ typedef struct
typedef struct ucontext
{
unsigned long int uc_flags;
- struct ucontext *uc_links;
+ struct ucontext *uc_link;
__sigset_t uc_sigmask;
stack_t uc_stack;
mcontext_t uc_mcontext;
diff --git a/sysdeps/unix/sysv/linux/alpha/sys/ucontext.h b/sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
index 349dd1e2a2..08eeb6e4a2 100644
--- a/sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
+++ b/sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -31,7 +31,7 @@ typedef struct sigcontext mcontext_t;
typedef struct ucontext
{
unsigned long int uc_flags;
- struct ucontext *uc_links;
+ struct ucontext *uc_link;
unsigned long __uc_osf_sigmask;
stack_t uc_stack;
mcontext_t uc_mcontext;
diff --git a/sysdeps/unix/sysv/linux/i386/sys/ucontext.h b/sysdeps/unix/sysv/linux/i386/sys/ucontext.h
index f8c8e26e17..e62b3d0792 100644
--- a/sysdeps/unix/sysv/linux/i386/sys/ucontext.h
+++ b/sysdeps/unix/sysv/linux/i386/sys/ucontext.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -97,7 +97,7 @@ typedef struct
typedef struct ucontext
{
unsigned long int uc_flags;
- struct ucontext *uc_links;
+ struct ucontext *uc_link;
stack_t uc_stack;
mcontext_t uc_mcontext;
__sigset_t uc_sigmask;
diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h b/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
index 09ab317b9b..930f95d122 100644
--- a/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
+++ b/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -32,7 +32,7 @@ typedef struct sigcontext mcontext_t;
typedef struct ucontext
{
unsigned long int uc_flags;
- struct ucontext *uc_links;
+ struct ucontext *uc_link;
stack_t uc_stack;
mcontext_t uc_mcontext;
__sigset_t uc_sigmask;