From d6df5b8bc391ac1726d3bd63bee1605b9b634eae Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 3 Jun 1993 12:18:16 +0000 Subject: [PATCH] Change dependencies on path.h to KRB5_PATH_TTY, KRB5_PATH_LOGIN, etc git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2602 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/telnet/telnetd/sys_term.c | 10 +++++----- src/appl/telnet/telnetd/telnetd.c | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/appl/telnet/telnetd/sys_term.c b/src/appl/telnet/telnetd/sys_term.c index f020866f9..92a0d19d3 100644 --- a/src/appl/telnet/telnetd/sys_term.c +++ b/src/appl/telnet/telnetd/sys_term.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)sys_term.c 5.19 (Berkeley) 1/19/93"; #endif /* not lint */ #include "telnetd.h" -#include "pathnames.h" +#include #if defined(AUTHENTICATION) #include @@ -1003,7 +1003,7 @@ getptyslave() * that we are the session (process group) leader. */ # ifdef TIOCNOTTY - t = open(_PATH_TTY, O_RDWR); + t = open(KRB5_PATH_TTY, O_RDWR); if (t >= 0) { (void) ioctl(t, TIOCNOTTY, (char *)0); (void) close(t); @@ -1519,10 +1519,10 @@ start_login(host, autologin, name) unsetenv("USER"); } closelog(); - execv(_PATH_LOGIN, argv); + execv(KRB5_PATH_LOGIN, argv); - syslog(LOG_ERR, "%s: %m\n", _PATH_LOGIN); - fatalperror(net, _PATH_LOGIN); + syslog(LOG_ERR, "%s: %m\n", KRB5_PATH_LOGIN); + fatalperror(net, KRB5_PATH_LOGIN); /*NOTREACHED*/ } diff --git a/src/appl/telnet/telnetd/telnetd.c b/src/appl/telnet/telnetd/telnetd.c index 0fe95f3e8..7e821544a 100644 --- a/src/appl/telnet/telnetd/telnetd.c +++ b/src/appl/telnet/telnetd/telnetd.c @@ -42,7 +42,7 @@ static char sccsid[] = "@(#)telnetd.c 5.51 (Berkeley) 1/21/93"; #endif /* not lint */ #include "telnetd.h" -#include "pathnames.h" +#include #if defined(_SC_CRAY_SECURE_SYS) #include @@ -975,7 +975,7 @@ telnet(f, p, host) #ifdef TIOCNOTTY { register int t; - t = open(_PATH_TTY, O_RDWR); + t = open(KRB5_PATH_TTY, O_RDWR); if (t >= 0) { (void) ioctl(t, TIOCNOTTY, (char *)0); (void) close(t); -- 2.26.2