From 1ede3ec68026e85dbaa3c4d67cb8013e6df1032b Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 1 Dec 1995 19:52:35 +0000 Subject: (devio_suspend_physical_output): Only if not already stopped. --- term/devio.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'term') diff --git a/term/devio.c b/term/devio.c index 870f969c..b813178b 100644 --- a/term/devio.c +++ b/term/devio.c @@ -354,8 +354,11 @@ devio_abandon_physical_output () static void devio_suspend_physical_output () { - device_set_status (phys_device, TTY_STOP, 0, 0); - output_stopped = 1; + if (!output_stopped) + { + device_set_status (phys_device, TTY_STOP, 0, 0); + output_stopped = 1; + } } -- cgit v1.2.3