diff options
| author | Mark Eichin <eichin@mit.edu> | 1994-10-27 18:51:43 +0000 |
|---|---|---|
| committer | Mark Eichin <eichin@mit.edu> | 1994-10-27 18:51:43 +0000 |
| commit | a5bc0b684d7a110b00ed6d36ae454978bd267853 (patch) | |
| tree | cd8c03cab4ecfa192b15d1c5fb98388de910f40e /src | |
| parent | 4c0dd02caea5a7a04becd467b0de77a62b5530a8 (diff) | |
* login.c (main): if CDISCARD is missing, use CFLUSH instead
* configure.in: fix typo in "use streams interface" test (ttold.h
not ttyold.h)
appl/bsd now builds on solaris.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4591 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
| -rw-r--r-- | src/appl/bsd/ChangeLog | 9 | ||||
| -rw-r--r-- | src/appl/bsd/configure.in | 2 | ||||
| -rw-r--r-- | src/appl/bsd/login.c | 3 |
3 files changed, 13 insertions, 1 deletions
diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index 048334818..752f8c478 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,12 @@ +Thu Oct 27 14:50:40 1994 Mark Eichin (eichin@cygnus.com) + + * login.c (main): if CDISCARD is missing, use CFLUSH instead. + +Thu Oct 27 14:47:41 1994 Mark Eichin (eichin@cygnus.com) + + * configure.in: fix typo in "use streams interface" test (ttold.h + not ttyold.h) + Thu Oct 27 14:31:17 1994 Mark Eichin (eichin@cygnus.com) * configure.in: check for srand48, srand, and srandom. diff --git a/src/appl/bsd/configure.in b/src/appl/bsd/configure.in index 88c19198b..4d46dac8b 100644 --- a/src/appl/bsd/configure.in +++ b/src/appl/bsd/configure.in @@ -40,7 +40,7 @@ AC_DEFINE(POSIX_SIGNALS))) AC_HAVE_HEADERS(sys/filio.h sys/sockio.h unistd.h sys/label.h ttyent.h lastlog.h sys/select.h sys/ptyvar.h) AC_COMPILE_CHECK([use streams interface], [#include <sys/tty.h> -#include <sys/ttyold.h> +#include <sys/ttold.h> #include <sys/ptyvar.h>], [], AC_DEFINE(HAVE_STREAMS)) AC_REPLACE_FUNCS(getdtablesize) diff --git a/src/appl/bsd/login.c b/src/appl/bsd/login.c index e45db69d6..0d27eff44 100644 --- a/src/appl/bsd/login.c +++ b/src/appl/bsd/login.c @@ -437,6 +437,9 @@ main(argc, argv) tc.c_cc[VDISCRD] = CFLUSH; #endif #ifdef VDISCARD +#ifndef CDISCARD +#define CDISCARD CFLUSH +#endif tc.c_cc[VDISCARD] = CDISCARD; #endif #ifdef VWERSE |
