gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, master, updated. 4cbd754d74e4dbaf463b470


From: Eli Zaretskii
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. 4cbd754d74e4dbaf463b47033a3a6f0c50a1e376
Date: Sun, 28 Apr 2013 19:17:13 +0000

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, master has been updated
       via  4cbd754d74e4dbaf463b47033a3a6f0c50a1e376 (commit)
      from  a3a4f0427cf13ef9dc72e8dc1f614371199be797 (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=4cbd754d74e4dbaf463b47033a3a6f0c50a1e376

commit 4cbd754d74e4dbaf463b47033a3a6f0c50a1e376
Author: Eli Zaretskii <address@hidden>
Date:   Sun Apr 28 22:16:07 2013 +0300

    Fix several tests on MinGW which were broken by a HACK in io.c.
    
     io.c (redirect): Remove the HACK that called close_one when
     errno was zero in the MinGW build.  This prevents failure in
     several tests in the test suite, e.g., closebad.

diff --git a/ChangeLog b/ChangeLog
index f3f7e7e..9399620 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-04-28  Eli Zaretskii  <address@hidden>
+
+       * io.c (redirect): Remove the HACK that called close_one when
+       errno was zero in the MinGW build.  This prevents failure in
+       several tests in the test suite, e.g., closebad.
+
 2013-04-28         Arnold D. Robbins     <address@hidden>
 
        * bootstrap.sh: Fix a comment.
diff --git a/io.c b/io.c
index c8bd9b2..7e3626b 100644
--- a/io.c
+++ b/io.c
@@ -902,10 +902,6 @@ redirect(NODE *redir_exp, int redirtype, int *errflg)
                        /* too many files open -- close one and try again */
                        if (errno == EMFILE || errno == ENFILE)
                                close_one();
-#if defined __MINGW32__
-                       else if (errno == 0)    /* HACK! */
-                               close_one();
-#endif
 #ifdef VMS
                        /* Alpha/VMS V7.1's C RTL is returning this instead
                           of EMFILE (haven't tried other post-V6.2 systems) */

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

Summary of changes:
 ChangeLog |    6 ++++++
 io.c      |    4 ----
 2 files changed, 6 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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