*** 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@
 | 
					@BOTTOM@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* set this to a sensible login */
 | 
					/* set this to a sensible login */
 | 
				
			||||||
 | 
					#ifndef LOGIN_PATH
 | 
				
			||||||
#define LOGIN_PATH "/usr/athena/bin/login"
 | 
					#define LOGIN_PATH "/usr/athena/bin/login"
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef HAVE_TGETENT
 | 
					#ifdef HAVE_TGETENT
 | 
				
			||||||
#define TERMCAP 1
 | 
					#define TERMCAP 1
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef HAVE_TERMIOS_H
 | 
					#if defined(HAVE_TERMIOS_H) || defined(HAVE_TERMIO_H)
 | 
				
			||||||
#define USE_TERMIO 1
 | 
					#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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif /* defined(HAVE_TERMIOS_H) || defined(HAVE_TERMIO_H) */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef HAVE_VFORK
 | 
					#ifndef HAVE_VFORK
 | 
				
			||||||
#define vfork fork
 | 
					#define vfork fork
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -255,7 +255,7 @@ EncryptDisable(type, mode)
 | 
				
			|||||||
	if (isprefix(type, "help") || isprefix(type, "?")) {
 | 
						if (isprefix(type, "help") || isprefix(type, "?")) {
 | 
				
			||||||
		printf("Usage: encrypt disable <type> [input|output]\n");
 | 
							printf("Usage: encrypt disable <type> [input|output]\n");
 | 
				
			||||||
		encrypt_list_types();
 | 
							encrypt_list_types();
 | 
				
			||||||
	} else if ((ep = (Encryptions *)genget(type, encryptions,
 | 
						} else if ((ep = (Encryptions *)genget(type, (char**)encryptions,
 | 
				
			||||||
						sizeof(Encryptions))) == 0) {
 | 
											sizeof(Encryptions))) == 0) {
 | 
				
			||||||
		printf("%s: invalid encryption type\n", type);
 | 
							printf("%s: invalid encryption type\n", type);
 | 
				
			||||||
	} else if (Ambiguous(ep)) {
 | 
						} else if (Ambiguous(ep)) {
 | 
				
			||||||
@@ -290,7 +290,7 @@ EncryptType(type, mode)
 | 
				
			|||||||
	if (isprefix(type, "help") || isprefix(type, "?")) {
 | 
						if (isprefix(type, "help") || isprefix(type, "?")) {
 | 
				
			||||||
		printf("Usage: encrypt type <type> [input|output]\n");
 | 
							printf("Usage: encrypt type <type> [input|output]\n");
 | 
				
			||||||
		encrypt_list_types();
 | 
							encrypt_list_types();
 | 
				
			||||||
	} else if ((ep = (Encryptions *)genget(type, encryptions,
 | 
						} else if ((ep = (Encryptions *)genget(type, (char**)encryptions,
 | 
				
			||||||
						sizeof(Encryptions))) == 0) {
 | 
											sizeof(Encryptions))) == 0) {
 | 
				
			||||||
		printf("%s: invalid encryption type\n", type);
 | 
							printf("%s: invalid encryption type\n", type);
 | 
				
			||||||
	} else if (Ambiguous(ep)) {
 | 
						} else if (Ambiguous(ep)) {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -676,9 +676,9 @@ TerminalNewMode(f)
 | 
				
			|||||||
	(void) signal(SIGTSTP, SIG_DFL);
 | 
						(void) signal(SIGTSTP, SIG_DFL);
 | 
				
			||||||
# ifndef SOLARIS
 | 
					# ifndef SOLARIS
 | 
				
			||||||
	(void) sigsetmask(sigblock(0) & ~(1<<(SIGTSTP-1)));
 | 
						(void) sigsetmask(sigblock(0) & ~(1<<(SIGTSTP-1)));
 | 
				
			||||||
# else	SOLARIS
 | 
					# else
 | 
				
			||||||
	(void) sigrelse(SIGTSTP);
 | 
						(void) sigrelse(SIGTSTP);
 | 
				
			||||||
# endif	SOLARIS
 | 
					# endif
 | 
				
			||||||
#endif	/* SIGTSTP */
 | 
					#endif	/* SIGTSTP */
 | 
				
			||||||
#ifndef USE_TERMIO
 | 
					#ifndef USE_TERMIO
 | 
				
			||||||
	ltc = oltc;
 | 
						ltc = oltc;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user