From: Ulrich Drepper Date: Mon, 8 Jan 2001 18:06:26 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_2_1~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2090dd736453e0fc9b646ed7bc342b55bafd441d;p=platform%2Fupstream%2Fglibc.git Update. * sysdeps/generic/segfault.c (install_handler): Check output file name with access(). --- diff --git a/ChangeLog b/ChangeLog index 4c104df..41c9982 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2001-01-08 Ulrich Drepper + * sysdeps/generic/segfault.c (install_handler): Check output file + name with access(). + * resolv/res_query.c: Use simply getenv() for HOSTALIASES. * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES. diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 08c3b49..a643772 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,8 @@ +2001-01-08 Jakub Jelinek + + * locales/cs_CZ: Fix grammar of comment above abmon. + Reported by Stanislav Brabec . + 2000-12-31 Andreas Jaeger * tst-fmon.c (main): Use return instead of exit to avoid warning. diff --git a/sysdeps/generic/segfault.c b/sysdeps/generic/segfault.c index 24ed3f8..816e914c 100644 --- a/sysdeps/generic/segfault.c +++ b/sysdeps/generic/segfault.c @@ -1,5 +1,5 @@ /* Catch segmentation faults and print backtrace. - Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1998. @@ -237,6 +237,6 @@ install_handler (void) /* Preserve the output file name if there is any given. */ name = getenv ("SEGFAULT_OUTPUT_NAME"); - if (name != NULL && name[0] != '\0') + if (name != NULL && name[0] != '\0' && __access (name, R_OK | W_OK) == 0) fname = __strdup (name); }