summaryrefslogtreecommitdiff
path: root/sshpty.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2008-06-08 12:53:20 +1000
committerDarren Tucker <dtucker@zip.com.au>2008-06-08 12:53:20 +1000
commitdd39264e4b4fcd5a9fd4141b1f7b10eff09b3f8c (patch)
tree0430fcc66e198ba19cf1039fe6bc5b488bb65344 /sshpty.h
parent136e56f68967fd39e8868769f3af316f1cca0559 (diff)
- djm@cvs.openbsd.org 2008/05/19 15:45:07
[sshtty.c ttymodes.c sshpty.h] Fix sending tty modes when stdin is not a tty (bz#1199). Previously we would send the modes corresponding to a zeroed struct termios, whereas we should have been sending an empty list of modes. Based on patch from daniel.ritz AT alcatel.ch; ok dtucker@ markus@
Diffstat (limited to 'sshpty.h')
-rw-r--r--sshpty.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshpty.h b/sshpty.h
index 7fac622d9..ac9003584 100644
--- a/sshpty.h
+++ b/sshpty.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshpty.h,v 1.10 2006/08/03 03:34:42 deraadt Exp $ */ 1/* $OpenBSD: sshpty.h,v 1.11 2008/05/19 15:45:07 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -16,7 +16,7 @@
16 16
17#include <termios.h> 17#include <termios.h>
18 18
19struct termios get_saved_tio(void); 19struct termios *get_saved_tio(void);
20void leave_raw_mode(void); 20void leave_raw_mode(void);
21void enter_raw_mode(void); 21void enter_raw_mode(void);
22 22