gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-287


From: John Malmberg
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-2872-g7966297
Date: Tue, 9 Jan 2018 08:45:39 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, gawk-4.2-stable has been updated
       via  7966297fe029414970ad1c8fe8594ca2c36dae24 (commit)
      from  add89651a72c0900de0792db3524ad3512c3c52e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=7966297fe029414970ad1c8fe8594ca2c36dae24

commit 7966297fe029414970ad1c8fe8594ca2c36dae24
Author: John Malmberg <address@hidden>
Date:   Tue Jan 9 07:44:31 2018 -0600

    Fix io.c to build on VMS.

diff --git a/ChangeLog b/ChangeLog
index 6f9f286..ea821c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-08         John E. Malmberg      <address@hidden>
+
+        * io.c (set_slave_pty_attributes) Currently no termios on VMS.
+        (set_slave_pty_attributes) No fork on VMS.
+
 2018-01-04         Arnold D. Robbins     <address@hidden>
 
        Refactor handling of slave pty. On AIX and HP-UX open
diff --git a/io.c b/io.c
index 994eb4a..8b9cc96 100644
--- a/io.c
+++ b/io.c
@@ -1923,6 +1923,7 @@ push_pty_line_disciplines(int slave)
 static void
 set_slave_pty_attributes(int slave)
 {
+#ifdef HAVE_TERMIOS_H
        struct termios st;
 
        tcgetattr(slave, & st);
@@ -1951,6 +1952,7 @@ set_slave_pty_attributes(int slave)
        st.c_cc[VEOF] = '\004'; /* ^d */
 #endif
        tcsetattr(slave, TCSANOW, & st);
+#endif /* HAVE_TERMIOS_H */
 }
 
 
@@ -2026,6 +2028,7 @@ fork_and_open_slave_pty(const char *slavenam, int master, 
const char *command, p
        }
 }
 #else
+#ifndef VMS
 static bool
 fork_and_open_slave_pty(const char *slavenam, int master, const char *command, 
pid_t *pid)
 {
@@ -2091,6 +2094,7 @@ fork_and_open_slave_pty(const char *slavenam, int master, 
const char *command, p
        return true;
 }
 #endif
+#endif
 
 /* two_way_open --- open a two way communications channel */
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog | 5 +++++
 io.c      | 4 ++++
 2 files changed, 9 insertions(+)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]