Remove support for the TIOCGSIZE ioctl. Systems that use this

rather than TIOCGWINSZ are too old for sudo to build on anyway.
This commit is contained in:
Todd C. Miller
2017-02-26 16:41:25 -07:00
parent 13fcdb4f5f
commit 4b1f0c4176
2 changed files with 0 additions and 15 deletions

View File

@@ -57,13 +57,6 @@
#define TERM_COOKED 0
#define TERM_RAW 1
/* Compatibility with older tty systems. */
#if !defined(TIOCGWINSZ) && defined(TIOCGSIZE)
# define TIOCGWINSZ TIOCGSIZE
# define TIOCSWINSZ TIOCSSIZE
# define winsize ttysize
#endif
/*
* I/O buffer with associated read/write events and a logging action.
* Used to, e.g. pass data from the pty to the user's terminal