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. gawk-4.1.0-1892-g558582


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-1892-g5585826
Date: Fri, 8 Jul 2016 11:16:52 +0000 (UTC)

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  55858266e4b310f34c6812e6ecb8f08fe3e5c582 (commit)
      from  7b8e8b3a25420f6d79f0d24831063eccae9291ea (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=55858266e4b310f34c6812e6ecb8f08fe3e5c582

commit 55858266e4b310f34c6812e6ecb8f08fe3e5c582
Author: Arnold D. Robbins <address@hidden>
Date:   Fri Jul 8 14:16:36 2016 +0300

    Minor coding style fix in builtin.c.

diff --git a/ChangeLog b/ChangeLog
index 3cd1305..19d915a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 
        * dfa.c: Sync with GNU grep.
 
+       Unrelated:
+
+       * builtin.c (do_print): Coding style change.
+
 2016-07-03         Andrew J. Schorr     <address@hidden>
 
        * field.c (rebuild_record): Revert warning message regarding flags,
diff --git a/builtin.c b/builtin.c
index 92ac9e4..77cf3fc 100644
--- a/builtin.c
+++ b/builtin.c
@@ -2203,9 +2203,10 @@ do_print(int nargs, int redirtype)
 
                if (tmp->type == Node_typedregex)
                        args_array[i] = force_string(tmp);
-               else if (!((tmp->flags & STRCUR) != 0
-                               && (tmp->stfmt == STFMT_UNUSED || tmp->stfmt == 
OFMTidx)))
-                       args_array[i] = format_val(OFMT, OFMTidx, tmp);
+               else if (   (tmp->flags & STRCUR) == 0
+                        || (   tmp->stfmt != STFMT_UNUSED
+                            && tmp->stfmt != OFMTidx))
+                               args_array[i] = format_val(OFMT, OFMTidx, tmp);
        }
 
        if (redir_exp != NULL) {

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

Summary of changes:
 ChangeLog |    4 ++++
 builtin.c |    7 ++++---
 2 files changed, 8 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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