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:
@@ -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
|
||||
|
Reference in New Issue
Block a user