diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-09-16 12:36:28 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-09-16 12:36:28 +0000 |
commit | 15b643fc119221658ca3e9c6718eeb88ffcbe47a (patch) | |
tree | 21c2d4ebd4565117a9a4d9ed7c98f84326849f07 /tmux.h | |
parent | 150fba5ecdb3fedd8aed71ee65fb8cc6b0354070 (diff) | |
download | rtmux-15b643fc119221658ca3e9c6718eeb88ffcbe47a.tar.gz rtmux-15b643fc119221658ca3e9c6718eeb88ffcbe47a.tar.bz2 rtmux-15b643fc119221658ca3e9c6718eeb88ffcbe47a.zip |
Sync from OpenBSD:
==
Rather than constructing an entire termios struct from ttydefaults.h, just let
forkpty do it and then alter the bits that should be changed after fork. A
little neater and more portable.
==
This should fix problems caused by glibc's broken ttydefaults.h file.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.442 2009-09-15 23:50:32 tcunha Exp $ */ +/* $Id: tmux.h,v 1.443 2009-09-16 12:36:27 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -813,7 +813,7 @@ struct session { #define SESSION_DEAD 0x2 int flags; - struct termios tio; + struct termios *tio; struct environ environ; |