mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 02:40:08 +00:00
Update.
1999-02-08 Ulrich Drepper <drepper@cygnus.com> * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for SUID binaries.
This commit is contained in:
parent
9395e8892d
commit
17f6d8b916
@ -1,3 +1,8 @@
|
||||
1999-02-08 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
|
||||
SUID binaries.
|
||||
|
||||
1999-02-07 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* signal/signal.h: Don't declare __libc_allocate_rtsig.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1993, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1993, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
|
||||
Contributed by David Mosberger (davidm@azstarnet.com).
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -320,7 +320,7 @@ _res_hconf_init (void)
|
||||
|
||||
memset (&_res_hconf, '\0', sizeof (_res_hconf));
|
||||
|
||||
hconf_name = getenv (ENV_HOSTCONF);
|
||||
hconf_name = __secure_getenv (ENV_HOSTCONF);
|
||||
if (hconf_name == NULL)
|
||||
hconf_name = _PATH_HOSTCONF;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user