diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-01-12 17:05:59 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-01-12 17:05:59 +0000 |
commit | 9a725509fd14ec55c5b8a4bdf84db63301f15844 (patch) | |
tree | 433854aebcf8c7cf676385c15a86c57a8f29485a | |
parent | 564d69540bb581c822c9fb5d66987977c8eb9b2a (diff) | |
download | glibc-9a725509fd14ec55c5b8a4bdf84db63301f15844.tar glibc-9a725509fd14ec55c5b8a4bdf84db63301f15844.tar.gz glibc-9a725509fd14ec55c5b8a4bdf84db63301f15844.tar.bz2 glibc-9a725509fd14ec55c5b8a4bdf84db63301f15844.zip |
* nis/nis_subr.c (nis_getnames): Revert last change.
* nis/nis_defaults.c (__nis_default_access): Don't call getenv twice.
* nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv.
* sysdeps/generic/unsecvars.h: Add NIS_PATH.
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | nis/nis_defaults.c | 2 | ||||
-rw-r--r-- | sysdeps/generic/unsecvars.h | 1 |
3 files changed, 13 insertions, 1 deletions
@@ -1,3 +1,14 @@ +2006-12-05 Jakub Jelinek <jakub@redhat.com> + + * nis/nis_subr.c (nis_getnames): Revert last change. + +2006-10-11 Jakub Jelinek <jakub@redhat.com> + + * nis/nis_defaults.c (__nis_default_access): Don't call getenv twice. + + * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv. + * sysdeps/generic/unsecvars.h: Add NIS_PATH. + 2006-12-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h. diff --git a/nis/nis_defaults.c b/nis/nis_defaults.c index 59fbbe4b26..ed79b59ec6 100644 --- a/nis/nis_defaults.c +++ b/nis/nis_defaults.c @@ -447,7 +447,7 @@ __nis_default_access (char *param, unsigned int defaults) { cptr = getenv ("NIS_DEFAULTS"); if (cptr != NULL && strstr (cptr, "access=") != NULL) - result = searchaccess (getenv ("NIS_DEFAULTS"), result); + result = searchaccess (cptr, result); } return result; diff --git a/sysdeps/generic/unsecvars.h b/sysdeps/generic/unsecvars.h index a7378b742f..d5b8119c9c 100644 --- a/sysdeps/generic/unsecvars.h +++ b/sysdeps/generic/unsecvars.h @@ -18,6 +18,7 @@ "LOCALDOMAIN\0" \ "LOCPATH\0" \ "MALLOC_TRACE\0" \ + "NIS_PATH\0" \ "NLSPATH\0" \ "RESOLV_HOST_CONF\0" \ "RES_OPTIONS\0" \ |