diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-07-12 06:32:02 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-07-12 06:32:02 +0000 |
commit | 8c35c0da02e3c7a835263e0442ff0fa3d9da79c5 (patch) | |
tree | 0e3df52074c6b9aaf9edc65c8535d3418ed2bec9 | |
parent | 9a321276ef6bf30f05c75bc167bf8b3e216a2620 (diff) | |
download | glibc-8c35c0da02e3c7a835263e0442ff0fa3d9da79c5.tar glibc-8c35c0da02e3c7a835263e0442ff0fa3d9da79c5.tar.gz glibc-8c35c0da02e3c7a835263e0442ff0fa3d9da79c5.tar.bz2 glibc-8c35c0da02e3c7a835263e0442ff0fa3d9da79c5.zip |
Update.
2001-07-01 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
sbrk. Closes PR libc/2312.
2001-07-01 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/segfault.c (install_handler): Handle case that
the output file does not exists. Closes PR libc/2345.
2001-07-11 Ulrich Drepper <drepper@redhat.com>
* intl/locale.alias: Use he language code for hebrew, not il
[PR libc/2382].
2001-07-11 Jakub Jelinek <jakub@redhat.com>
* iconv/gconv_int.h: Fix comment typo.
* hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
backwards conditional in test for x == 1.0.
-rw-r--r-- | ChangeLog | 23 | ||||
-rw-r--r-- | intl/locale.alias | 2 | ||||
-rw-r--r-- | sysdeps/generic/segfault.c | 9 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/dl-sysdep.c | 11 |
4 files changed, 30 insertions, 15 deletions
@@ -1,6 +1,25 @@ +2001-07-01 Andreas Jaeger <aj@suse.de> + + * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate + sbrk. Closes PR libc/2312. + +2001-07-01 Andreas Jaeger <aj@suse.de> + + * sysdeps/generic/segfault.c (install_handler): Handle case that + the output file does not exists. Closes PR libc/2345. + +2001-07-11 Ulrich Drepper <drepper@redhat.com> + + * intl/locale.alias: Use he language code for hebrew, not il + [PR libc/2382]. + +2001-07-11 Jakub Jelinek <jakub@redhat.com> + + * iconv/gconv_int.h: Fix comment typo. + 2001-07-11 Igor Khavkine <i_khavki@alcor.concordia.ca> - * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code. + * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code. 2001-07-07 Roland McGrath <roland@frob.com> @@ -9,7 +28,7 @@ 2001-07-10 Stephen L Moshier <moshier@mediaone.net> * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Fix - backwards conditional in test for x == 1.0. + backwards conditional in test for x == 1.0. 2001-07-10 Andreas Jaeger <aj@suse.de> diff --git a/intl/locale.alias b/intl/locale.alias index be2da97c4c..08c250d35d 100644 --- a/intl/locale.alias +++ b/intl/locale.alias @@ -44,7 +44,7 @@ galego gl_ES.ISO-8859-1 galician gl_ES.ISO-8859-1 german de_DE.ISO-8859-1 greek el_GR.ISO-8859-7 -hebrew iw_IL.ISO-8859-8 +hebrew he_IL.ISO-8859-8 hrvatski hr_HR.ISO-8859-2 hungarian hu_HU.ISO-8859-2 icelandic is_IS.ISO-8859-1 diff --git a/sysdeps/generic/segfault.c b/sysdeps/generic/segfault.c index 8a8ee1d1a2..7e364f025f 100644 --- a/sysdeps/generic/segfault.c +++ b/sysdeps/generic/segfault.c @@ -237,6 +237,11 @@ install_handler (void) /* Preserve the output file name if there is any given. */ name = getenv ("SEGFAULT_OUTPUT_NAME"); - if (name != NULL && name[0] != '\0' && access (name, R_OK | W_OK) == 0) - fname = __strdup (name); + if (name != NULL && name[0] != '\0') + { + int ret = access (name, R_OK | W_OK); + + if (ret == 0 || (ret == -1 && errno == ENOENT)) + fname = __strdup (name); + } } diff --git a/sysdeps/unix/sysv/linux/dl-sysdep.c b/sysdeps/unix/sysv/linux/dl-sysdep.c index 07338573dc..b58f4c13e2 100644 --- a/sysdeps/unix/sysv/linux/dl-sysdep.c +++ b/sysdeps/unix/sysv/linux/dl-sysdep.c @@ -1,5 +1,5 @@ /* Dynamic linker system dependencies for Linux. - Copyright (C) 1995, 1997 Free Software Foundation, Inc. + Copyright (C) 1995, 1997, 2001 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 @@ -27,16 +27,7 @@ static inline void frob_brk (void) { - extern size_t _dl_pagesize; - extern void _end; __brk (0); /* Initialize the break. */ - if (__sbrk (0) == &_end) - /* The dynamic linker was run as a program, and so the initial break - starts just after our bss, at &_end. The malloc in dl-minimal.c - will consume the rest of this page, so tell the kernel to move the - break up that far. When the user program examines its break, it - will see this new value and not clobber our data. */ - __sbrk (_dl_pagesize - ((&_end - (void *) 0) & _dl_pagesize)); } #include <sysdeps/generic/dl-sysdep.c> |