summaryrefslogtreecommitdiff
path: root/nis/nis_subr.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-12-05 21:28:15 +0000
committerUlrich Drepper <drepper@redhat.com>2006-12-05 21:28:15 +0000
commitf0d5e1f67bf5d856f7dad926746ca7170560e65f (patch)
tree5c392aa4d0baa98aa814e249b0341af60b60dfda /nis/nis_subr.c
parent30a58e6599d9d8419006eb12e413854674ab2f24 (diff)
* nis/nis_subr.c (nis_getnames): Revert last change.cvs/fedora-glibc-20061205T2141
2006-12-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h. (ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY. * sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h. (__ttyname_r): Use tcgetattr instead of isatty, don't set errno to ENOTTY. * io/Makefile: Add rules to build and run tst-ttyname_r test. * io/tst-ttyname_r.c: New test.
Diffstat (limited to 'nis/nis_subr.c')
-rw-r--r--nis/nis_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/nis_subr.c b/nis/nis_subr.c
index 258479c857..c68189e541 100644
--- a/nis/nis_subr.c
+++ b/nis/nis_subr.c
@@ -178,7 +178,7 @@ nis_getnames (const_nis_name name)
}
/* Get the search path, where we have to search "name" */
- path = __secure_getenv ("NIS_PATH");
+ path = getenv ("NIS_PATH");
if (path == NULL)
path = strdupa ("$");
else