]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
[BZ #5222]
authorUlrich Drepper <drepper@redhat.com>
Sun, 28 Oct 2007 08:24:07 +0000 (08:24 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 28 Oct 2007 08:24:07 +0000 (08:24 +0000)
2007-10-28  Ulrich Drepper  <drepper@redhat.com>
[BZ #5222]
* elf/dl-load.c (_dl_rtld_di_serinfo): Correct handling of short
path elements in counting mode.

13 files changed:
BUGS
ChangeLog
FAQ.in
elf/dl-load.c
intl/locale.alias
manual/libc.texinfo
manual/process.texi
manual/socket.texi
manual/startup.texi
manual/stdio.texi
manual/sysinfo.texi
manual/syslog.texi
manual/time.texi

diff --git a/BUGS b/BUGS
index d0d5056ffc0b8f761d00b9c941c73dda53dc9ac7..6d6ce83772ae4a9437d59e628de3c2cfc7bdd3f8 100644 (file)
--- a/BUGS
+++ b/BUGS
@@ -1,7 +1,7 @@
            List of known bugs (certainly very incomplete)
            ----------------------------------------------
 
-Time-stamp: <2005-09-23 13:25:42 drepper>
+Time-stamp: <2007-10-27 18:37:51 drepper>
 
 This following list contains those bugs which I'm aware of.  Please
 make sure that bugs you report are not listed here.  If you can fix one
@@ -12,12 +12,10 @@ GNU project.  There is an easy to use WWW interface available at
 
        http://sourceware.org/bugzilla/
 
-I would appreciate it very much if you could verify the problem was not
-reported before by looking through the database.  To make the information
-in this database as useful as possible please report bugs always using the
-`glibcbug' shell script which gets installed with GNU libc.  Before reporting
-a bug please check the FAQ since it discusses also a lot of problematic
-situations.
+I would appreciate it very much if you could verify the problem was
+not reported before by looking through the database. Before reporting
+a bug please check the FAQ since it discusses also a lot of
+problematic situations.
 
 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
index a350fb79241e3ba6594bac56c59881cc12d86cff..2d9b1132e69972a80cd7fe289100838d0106f302 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-28  Ulrich Drepper  <drepper@redhat.com>
+
+       [BZ #5222]
+       * elf/dl-load.c (_dl_rtld_di_serinfo): Correct handling of short
+       path elements in counting mode.
+
 2007-10-27  Andreas Jaeger  <aj@suse.de>
 
        [BZ #5040]
diff --git a/FAQ.in b/FAQ.in
index 227132bc08c53a8917a43cb7f5dec3cdc0ccca34..d0b2805ca75cd0247df5f541318a79be0ba64c0a 100644 (file)
--- a/FAQ.in
+++ b/FAQ.in
@@ -287,12 +287,12 @@ down the build process and need more disk space.
 failure should be looked into.  Depending on the failures, you probably
 should not install the library at all.
 
-You should consider using the `glibcbug' script to report the failure,
-providing as much detail as possible.  If you run a test directly, please
-remember to set up the environment correctly.  You want to test the compiled
-library - and not your installed one.  The best way is to copy the exact
-command line which failed and run the test from the subdirectory for this
-test in the sources.
+You should consider reporting it in bugzilla
+<http://sourceware.org/bugzilla/> providing as much detail as possible.
+If you run a test directly, please remember to set up the environment
+correctly. You want to test the compiled library - and not your installed
+one. The best way is to copy the exact command line which failed and run
+the test from the subdirectory for this test in the sources.
 
 There are some failures which are not directly related to the GNU libc:
 - Some compilers produce buggy code.  No compiler gets single precision
index 98d25b827d1aa0a88e8a193d1efdd458f5d15891..94531b271f871ec94b3a6526a30ad24b7b151b87 100644 (file)
@@ -2274,7 +2274,7 @@ _dl_rtld_di_serinfo (struct link_map *loader, Dl_serinfo *si, bool counting)
              if (counting)
                {
                  si->dls_cnt++;
-                 si->dls_size += r->dirnamelen < 2 ? r->dirnamelen : 2;
+                 si->dls_size += MAX (2, r->dirnamelen);
                }
              else
                {
index 1a24c9e6143ad29c65f04d8c2dedda07f9af4410..05c979c280e131cd32063e3fe20c13712ffa4728 100644 (file)
@@ -1,5 +1,5 @@
 # Locale name alias data base.
-# Copyright (C) 1996-2001,2003 Free Software Foundation, Inc.
+# Copyright (C) 1996-2001,2003,2007 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # A single line contains two fields: an alias and a substitution value.
 # All entries are case independent.
 
-# Note: This file is far from being complete.  If you have a value for
-# your own site which you think might be useful for others too, share
-# it with the rest of us.  Send it using the `glibcbug' script to
-# bugs@gnu.org.
+# Note: This file is obsolete and is kept around for the time being for
+# backward compatibility.  Nobody should rely on the names defined here.
+# Locales should always be specified by their full name.
 
 bokmal         nb_NO.ISO-8859-1
 bokmÃ¥l         nb_NO.ISO-8859-1
index e36d0ce7e2ff9345000c5ad4d57a7ae09f3ceb91..d268cb997b3eea4f91522d65b06dc2bf67839717 100644 (file)
@@ -18,9 +18,9 @@
 @comment %**end of header (This is for running Texinfo on a region.)
 
 @c sold 0.06/1.09, print run out 21may96
-@set EDITION 0.11
-@set VERSION 2.7
-@set UPDATED 2007-09-09
+@set EDITION 0.12
+@set VERSION 2.8
+@set UPDATED 2007-10-27
 @set ISBN 1-882114-55-8
 
 @copying
index c17c4b0eab73665ac8ae55928c80aa0894d9e7c6..1946793dec1d6ca8cea1d01800509cc23537742c 100644 (file)
@@ -277,7 +277,7 @@ a file as a process image.  You can use these functions to make a child
 process execute a new program after it has been forked.
 
 To see the effects of @code{exec} from the point of view of the called
-program, @xref{Program Basics}.
+program, see @ref{Program Basics}.
 
 @pindex unistd.h
 The functions in this family differ in how you specify the arguments,
index f2f62adc4f679656442a210ab1626c0c068c990b..25f45a17f12d6d5d1c27bc1eb68994eec62adb48 100644 (file)
@@ -2070,7 +2070,7 @@ access to connect to the socket.
 
 @comment sys/socket.h
 @comment BSD
-@deftypefun int listen (int @var{socket}, unsigned int @var{n})
+@deftypefun int listen (int @var{socket}, int @var{n})
 The @code{listen} function enables the socket @var{socket} to accept
 connections, thus making it a server socket.
 
index 79c79683f74a93dd24cea98620f02a64e0bcb3e0..bccc708667dc09145320d520d2faf9c75e8d5a7f 100644 (file)
@@ -31,7 +31,7 @@ system, and telling the system the program is done.
 
 A program starts another program with the @code{exec} family of system calls.
 This chapter looks at program startup from the execee's point of view.  To
-see the event from the execor's point of view, @xref{Executing a File}.
+see the event from the execor's point of view, see @ref{Executing a File}.
 
 @menu
 * Program Arguments::           Parsing your program's command-line arguments.
@@ -309,9 +309,9 @@ character, since this is assumed to terminate the string.
 
 The value of an environment variable can be accessed with the
 @code{getenv} function.  This is declared in the header file
-@file{stdlib.h}.  All of the following functions can be safely used in
-multi-threaded programs.  It is made sure that concurrent modifications
-to the environment do not lead to errors.
+@file{stdlib.h}.  Modifications of enviroment variables are not
+allowed in Multi-threaded programs.  The @code{getenv} function
+can be safely used in multi-threaded programs
 @pindex stdlib.h
 
 @comment stdlib.h
index a39262cbc6afe28e2f128e28bc0b800a517a1442..67485135499be023fb2aaa10cdc07857441c81e2 100644 (file)
@@ -3907,7 +3907,7 @@ In GNU C, there is a special construct you can use to let the compiler
 know that a function uses a @code{scanf}-style format string.  Then it
 can check the number and types of arguments in each call to the
 function, and warn you when they do not match the format string.
-For details, @xref{Function Attributes, , Declaring Attributes of Functions,
+For details, see @ref{Function Attributes, , Declaring Attributes of Functions,
 gcc.info, Using GNU CC}.
 
 @node EOF and Errors
index 293e4181d17e6aa4940ed9a49ce331c2beba93c5..bf8b138dadaa6a276d2835216395d831a04a0668 100644 (file)
@@ -78,7 +78,7 @@ canonical FQDN.
 
 In some contexts, the host name is called a ``node name.''
 
-For more information on DNS host naming, @xref{Host Names}.
+For more information on DNS host naming, see @ref{Host Names}.
 
 @pindex hostname
 @pindex hostid
index 3d7def83f799ab13ef887f31247ff3b775800cab..02c8e28a7a7b4b8f3ea5e0ac9e63eae4649e091c 100644 (file)
@@ -90,7 +90,7 @@ more meaning than the system administrator gives to it.
 @item priority
 This tells how important the content of the message is.  Examples of
 defined priority values are: debug, informational, warning, critical.
-For the complete list, @xref{syslog; vsyslog}.  Except for
+For the complete list, see @ref{syslog; vsyslog}.  Except for
 the fact that the priorities have a defined order, the meaning of each
 of these priorities is entirely determined by the system administrator.
 
index a3e8438bcefa006b07ef7aede962aafd36f6da10..64763a2d2131784b6120fb8fad960d35ee1e5458 100644 (file)
@@ -212,7 +212,7 @@ Note that the clock can wrap around.  On a 32bit system with
 same value approximately every 72 minutes.
 
 For additional functions to examine a process' use of processor time,
-and to control it, @xref{Resource Usage And Limitation}.
+and to control it, see @ref{Resource Usage And Limitation}.
 
 
 @menu