[sudo-commits] sudo changeset 5319:e68315cf8c6b
Todd C. Miller
Todd.Miller at courtesan.com
Mon May 10 17:23:47 EDT 2010
changeset: 5319:e68315cf8c6b in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/e68315cf8c6b
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Mon May 10 17:23:35 2010 -0400
Log Message:
No need to use pseudo-cbreak mode now that we use pipes when stdout is
not a tty. Instead, check whether stdin is a tty and if not, delay
setting the tty to raw mode until the command tries to access it itself
(and receives SIGTTIN or SIGTTOU).
diffstat:
plugins/sudoers/sudoreplay.c | 4 ++--
src/script.c | 42 +++++++++++++++++++++++-------------------
src/sudo.h | 2 +-
src/term.c | 5 +----
4 files changed, 27 insertions(+), 26 deletions(-)
More information about the sudo-commits
mailing list