*** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@105 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -67,17 +67,26 @@
|
||||
@BOTTOM@
|
||||
|
||||
/* set this to a sensible login */
|
||||
#ifndef LOGIN_PATH
|
||||
#define LOGIN_PATH "/usr/athena/bin/login"
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef HAVE_TGETENT
|
||||
#define TERMCAP 1
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TERMIOS_H
|
||||
#if defined(HAVE_TERMIOS_H) || defined(HAVE_TERMIO_H)
|
||||
#define USE_TERMIO 1
|
||||
|
||||
/* If this is not a POSIX boxen use SYSV, this may not work on CRAY
|
||||
* se telnetd/desf.h */
|
||||
#ifndef HAVE_TERMIOS_H
|
||||
#define SYSV_TERMIO
|
||||
#endif
|
||||
|
||||
#endif /* defined(HAVE_TERMIOS_H) || defined(HAVE_TERMIO_H) */
|
||||
|
||||
#ifndef HAVE_VFORK
|
||||
#define vfork fork
|
||||
#endif
|
||||
|
@@ -255,7 +255,7 @@ EncryptDisable(type, mode)
|
||||
if (isprefix(type, "help") || isprefix(type, "?")) {
|
||||
printf("Usage: encrypt disable <type> [input|output]\n");
|
||||
encrypt_list_types();
|
||||
} else if ((ep = (Encryptions *)genget(type, encryptions,
|
||||
} else if ((ep = (Encryptions *)genget(type, (char**)encryptions,
|
||||
sizeof(Encryptions))) == 0) {
|
||||
printf("%s: invalid encryption type\n", type);
|
||||
} else if (Ambiguous(ep)) {
|
||||
@@ -290,7 +290,7 @@ EncryptType(type, mode)
|
||||
if (isprefix(type, "help") || isprefix(type, "?")) {
|
||||
printf("Usage: encrypt type <type> [input|output]\n");
|
||||
encrypt_list_types();
|
||||
} else if ((ep = (Encryptions *)genget(type, encryptions,
|
||||
} else if ((ep = (Encryptions *)genget(type, (char**)encryptions,
|
||||
sizeof(Encryptions))) == 0) {
|
||||
printf("%s: invalid encryption type\n", type);
|
||||
} else if (Ambiguous(ep)) {
|
||||
|
@@ -676,9 +676,9 @@ TerminalNewMode(f)
|
||||
(void) signal(SIGTSTP, SIG_DFL);
|
||||
# ifndef SOLARIS
|
||||
(void) sigsetmask(sigblock(0) & ~(1<<(SIGTSTP-1)));
|
||||
# else SOLARIS
|
||||
# else
|
||||
(void) sigrelse(SIGTSTP);
|
||||
# endif SOLARIS
|
||||
# endif
|
||||
#endif /* SIGTSTP */
|
||||
#ifndef USE_TERMIO
|
||||
ltc = oltc;
|
||||
|
Reference in New Issue
Block a user