tc.disc.c (tcsh-6.22.02) | : | tc.disc.c (tcsh-6.22.03) | ||
---|---|---|---|---|
skipping to change at line 56 | skipping to change at line 56 | |||
# else | # else | |||
static struct termios otermiob; | static struct termios otermiob; | |||
# endif /* POSIX */ | # endif /* POSIX */ | |||
#endif /* IRIS4D || OREO */ | #endif /* IRIS4D || OREO */ | |||
#ifdef _IBMR2 | #ifdef _IBMR2 | |||
# define HAVE_DISC | # define HAVE_DISC | |||
char strPOSIX[] = "posix"; | char strPOSIX[] = "posix"; | |||
#endif /* _IBMR2 */ | #endif /* _IBMR2 */ | |||
#ifdef __IBMC__ | ||||
# define HAVE_DISC /* Z/OS TIOCGETD returns no such device */ | ||||
#endif /* __IBMC__ */ | ||||
#if !defined(HAVE_DISC) && defined(TIOCGETD) && defined(NTTYDISC) | #if !defined(HAVE_DISC) && defined(TIOCGETD) && defined(NTTYDISC) | |||
static int oldisc; | static int oldisc; | |||
#endif /* !HAVE_DISC && TIOCGETD && NTTYDISC */ | #endif /* !HAVE_DISC && TIOCGETD && NTTYDISC */ | |||
int | int | |||
/*ARGSUSED*/ | /*ARGSUSED*/ | |||
setdisc(int f) | setdisc(int f) | |||
{ | { | |||
#ifdef IRIS4D | #ifdef IRIS4D | |||
# ifndef POSIX | # ifndef POSIX | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added |