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.0-stable, updated. 87699484738f7c


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. 87699484738f7c1017fb5a46a7d56411511c7894
Date: Tue, 26 Jul 2011 18:39:54 +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, gawk-4.0-stable has been updated
       via  87699484738f7c1017fb5a46a7d56411511c7894 (commit)
      from  452f4efefd5511bc7dbe95b0167b10b403cdcf45 (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=87699484738f7c1017fb5a46a7d56411511c7894

commit 87699484738f7c1017fb5a46a7d56411511c7894
Author: Arnold D. Robbins <address@hidden>
Date:   Tue Jul 26 21:39:34 2011 +0300

    Additional getline fix.

diff --git a/ChangeLog b/ChangeLog
index bde19e1..5b06317 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-07-26         John Haque      <address@hidden>
 
+       * eval.c (r_interpret): In cases Op_var_assign and Op_field_assign,
+       include Op_K_getline_redir in the test for skipping the routine.
+
+2011-07-26         John Haque      <address@hidden>
+
        Fix handling of assign routines for 'getline var'.
        Rework the previous fix for (g)sub.
 
diff --git a/eval.c b/eval.c
index bd3e027..ea45efd 100644
--- a/eval.c
+++ b/eval.c
@@ -2125,7 +2125,8 @@ post:
                                 */
 
                                break;
-                       } else if (pc->assign_ctxt == Op_K_getline
+                       } else if ((pc->assign_ctxt == Op_K_getline
+                                       || pc->assign_ctxt == 
Op_K_getline_redir)
                                && TOP()->numbr <= 0.0  /* top of stack has a 
number <= 0 */
                        ) {
                                /* getline returned EOF or error */

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

Summary of changes:
 ChangeLog |    5 +++++
 eval.c    |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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