From: Mark Eichin Date: Thu, 27 Oct 1994 18:51:43 +0000 (+0000) Subject: * login.c (main): if CDISCARD is missing, use CFLUSH instead X-Git-Tag: krb5-1.0-beta5~1057 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a5bc0b684d7a110b00ed6d36ae454978bd267853;p=krb5.git * 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 --- 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 -#include +#include #include ], [], 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