gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4403-g3fc67d1b


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4403-g3fc67d1b
Date: Tue, 17 May 2022 10:45:03 -0400 (EDT)

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-5.1-stable has been updated
       via  3fc67d1b51dc36b70ccd39178ae2d65cf8f2368d (commit)
      from  f4877a3fbb65abcfa665b5751739d84cf57eb779 (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=3fc67d1b51dc36b70ccd39178ae2d65cf8f2368d

commit 3fc67d1b51dc36b70ccd39178ae2d65cf8f2368d
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Tue May 17 17:44:41 2022 +0300

    Fixes for Cygwin in posix/gawkmisc.c.

diff --git a/posix/ChangeLog b/posix/ChangeLog
index 06b16f74..a2aaba2c 100644
--- a/posix/ChangeLog
+++ b/posix/ChangeLog
@@ -1,3 +1,9 @@
+2022-05-17         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * gawkmisc.c (CYGWIN): Remove unecessary includes, leaving only
+       include of <io.h>.  Thanks to Tom Gray <tom_gray@keysight.com>
+       for the report.
+
 2021-12-01         Arnold D. Robbins     <arnold@skeeve.com>
 
        * gawkmisc.c (os_maybe_set_errno): New, empty function.
diff --git a/posix/gawkmisc.c b/posix/gawkmisc.c
index e6f316c9..fafdfc50 100644
--- a/posix/gawkmisc.c
+++ b/posix/gawkmisc.c
@@ -18,10 +18,7 @@
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
 #ifdef __CYGWIN__
-#include <stdio.h>
-#include <windows.h>
-#include <sys/cygwin.h>
-#include <io.h>
+#include <io.h>                /* for declaration of setmode(). */
 #endif
 
 const char quote = '\'';

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

Summary of changes:
 posix/ChangeLog  | 6 ++++++
 posix/gawkmisc.c | 5 +----
 2 files changed, 7 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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