NetBSD doesn't have VSWTCH, so we can't emulate it; clarify. (see PR#2793).

This commit is contained in:
jonathan 1997-05-05 22:21:18 +00:00
parent 3a12db07c6
commit 68db3bde6d
1 changed files with 5 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ultrix_ioctl.c,v 1.8 1997/04/06 21:33:44 jonathan Exp $ */
/* $NetBSD: ultrix_ioctl.c,v 1.9 1997/05/05 22:21:18 jonathan Exp $ */
/* from : NetBSD: sunos_ioctl.c,v 1.21 1995/10/07 06:27:31 mycroft Exp */
/*
@ -366,13 +366,9 @@ btios2stios(bt, st)
st->c_cc[4] = NATIVE_TO_EMUL_CC(bt->c_cc[VEOF]);
st->c_cc[5] = NATIVE_TO_EMUL_CC(bt->c_cc[VEOL]);
st->c_cc[6] = NATIVE_TO_EMUL_CC(bt->c_cc[VEOL2]);
/*
* XXX Should not be an #ifdef here (typo or not!) since
* XXX COMPAT_ULTRIX is implied if this code is being
* XXX compiled at all! Unfortunately, this code doesn't
* XXX currently compile, so leave it broken for now...
*/
#ifdef CMOPAT_ULTRIX
/* XXX ultrix has a VSWTCH. NetBSD does not. */
#ifdef notdef
st->c_cc[7] = NATIVE_TO_EMUL_CC(bt->c_cc[VSWTCH]);
#else
st->c_cc[7] = 0;
@ -401,7 +397,7 @@ btios2stios(bt, st)
#ifdef COMPAT_SUNOS
st->c_line = 0; /* 4.3bsd "old" line discipline */
#else
st->c_line = 2; /* 4.3bsd "new" line discipline */
st->c_line = 2; /* 4.3bsd "new" line discipline, Ultrix default. */
#endif
}