]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 1 Mar 1999 07:21:39 +0000 (07:21 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 1 Mar 1999 07:21:39 +0000 (07:21 +0000)
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.

ChangeLog
FAQ
FAQ.in
sysdeps/arm/sys/ucontext.h
sysdeps/i386/sys/ucontext.h
sysdeps/m68k/sys/ucontext.h
sysdeps/mips/sys/ucontext.h
sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
sysdeps/unix/sysv/linux/i386/sys/ucontext.h
sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h

index 7da090e005e7f559af8d3e9b691ea99802c3fc16..23f1a1ff5c130de7b0120d87aa366ecffa893b23 100644 (file)
--- 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 7f5ca1d95a8c5d86e62380fb769d066ca2569855..7c3dd1d424a2d20dda609caf46e20bd00c148ee7 100644 (file)
--- 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.
 
 \f
@@ -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
 \f
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
 
-4. Miscellaneous
+4. bonnie reports that char i/o with glibc 2 is much slower than with
+
+\f
+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
+
+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 7a0d1a087dbead212e43c4f5272b2bb59167d8fd..495e30c6af6c7919c02a7c497bfa0f8b5fab5730 100644 (file)
--- 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
 
index 70af80fa4764eae5d297ef8dd7a7425f6e4acef6..999c01c417b0a0891c76bff652583d6261a19d22 100644 (file)
@@ -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;
index 68597c9c09e77c342c4133f4f60be8641578c965..397c29a7b88ef12fed71a642bbe0ff1ad2d6c0a0 100644 (file)
@@ -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;
index 4776e7d8211f775074bafee1e7410b9e6530f6e6..1acfee41dff14d128d591e26bffa8ef8ee3e69d8 100644 (file)
@@ -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;
index f177cad12129c51d186dac0eefe18150058afb18..741fb28df79db256aca9c8dddfb639aab13d6abb 100644 (file)
@@ -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;
index 349dd1e2a2332bd0176ece0a8fc64ea475c2a6db..08eeb6e4a2e40fa86efda94d70b7f559f74fc74c 100644 (file)
@@ -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;
index f8c8e26e1782f637a750ba647cb26a3eb59621fd..e62b3d079233abc2763aed5c6b4f4920e9d1ea18 100644 (file)
@@ -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;
index 09ab317b9b17b76d6bde28f1ff6d303d76716107..930f95d122900a83fb08355a40a39e0d4769eaae 100644 (file)
@@ -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;