about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-02 22:16:22 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-02 22:16:22 +0000
commit59a8849de31975aebfc85842b6c87f57a972fd8d (patch)
tree349610648e41a72bd5ea4bff7e1af7e9eaac0508 /sysdeps
parentd5655997148755d00f960ac60ecb58ad9f53be60 (diff)
downloadglibc-59a8849de31975aebfc85842b6c87f57a972fd8d.tar.gz
glibc-59a8849de31975aebfc85842b6c87f57a972fd8d.tar.xz
glibc-59a8849de31975aebfc85842b6c87f57a972fd8d.zip
Update.
2000-11-02  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/utf-16.c (PREPARE_LOOP): Correct typo preventing BOM from
	being written.

	* manual/socket.texi (Local Namespace Concepts): Don't mention what
	permissions are necessary to connect to a socket.
	Reported by Peter Eisentraut <peter_e@gmx.net>.

	* sysdeps/generic/backtracesyms.c (__backtrace_symbols): Fix
	computation of total for 64-bit machines.
	Patch by Byron Stanoszek <gandalf@winds.org>.

	* manual/arith.texi (Rounding): Correct description of fesetround
	return value.  Patch by Conrado Badenas <Conrado.Badenas@uv.es>.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/backtracesyms.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/generic/backtracesyms.c b/sysdeps/generic/backtracesyms.c
index 76019eec3d..77988833d3 100644
--- a/sysdeps/generic/backtracesyms.c
+++ b/sysdeps/generic/backtracesyms.c
@@ -1,5 +1,5 @@
 /* Return list with names for address in backtrace.
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -37,8 +37,8 @@ __backtrace_symbols (array, size)
   char **result;
 
   /* We can compute the text size needed for the symbols since we print
-     them all as "[%<addr>]".  */
-  total = size * (WORD_WIDTH + 3);
+     them all as "[+0x<addr>]".  */
+  total = size * (WORD_WIDTH + 6);
 
   /* Allocate memory for the result.  */
   result = malloc (size * sizeof (char *) + total);