From 15b643fc119221658ca3e9c6718eeb88ffcbe47a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 16 Sep 2009 12:36:28 +0000 Subject: 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. --- tmux.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 5d909054..cb9938bf 100644 --- a/tmux.h +++ b/tmux.h @@ -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 @@ -813,7 +813,7 @@ struct session { #define SESSION_DEAD 0x2 int flags; - struct termios tio; + struct termios *tio; struct environ environ; -- cgit