[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[7943] pseudotty move code out of conditional block
From: |
gavinsmith0123 |
Subject: |
[7943] pseudotty move code out of conditional block |
Date: |
Mon, 28 Aug 2017 16:44:38 -0400 (EDT) |
Revision: 7943
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7943
Author: gavin
Date: 2017-08-28 16:44:38 -0400 (Mon, 28 Aug 2017)
Log Message:
-----------
pseudotty move code out of conditional block
Modified Paths:
--------------
trunk/info/pseudotty.c
Modified: trunk/info/pseudotty.c
===================================================================
--- trunk/info/pseudotty.c 2017-08-28 20:42:04 UTC (rev 7942)
+++ trunk/info/pseudotty.c 2017-08-28 20:44:38 UTC (rev 7943)
@@ -2,7 +2,7 @@
standard output. Read and ignore any data sent to terminal. This
is so we can run tests interactively without messing up the screen.
- Copyright 2014, 2015, 2016 Free Software Foundation, Inc.
+ Copyright 2014, 2015, 2016, 2017 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -64,11 +64,12 @@
exit (1);
error (0, 0, "%s", name);
-#ifdef HAVE_STROPTS_H
error (0, 0, "opening slave device");
slave = open (name, O_RDWR);
if (slave == -1)
exit (1);
+
+#ifdef HAVE_STROPTS_H
if (!isatty (slave))
{
error (0, 0, "performing STREAMS ioctl's on slave");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [7943] pseudotty move code out of conditional block,
gavinsmith0123 <=