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.1-stable, updated. gawk-4.1.0-16-


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-16-g94b64f9
Date: Mon, 27 May 2013 18:06:05 +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.1-stable has been updated
       via  94b64f95755e183578d74fafa3e6403a1f23545a (commit)
      from  62b366e5e839aee729a9f97d3c4c38bca4aaddab (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=94b64f95755e183578d74fafa3e6403a1f23545a

commit 94b64f95755e183578d74fafa3e6403a1f23545a
Author: Arnold D. Robbins <address@hidden>
Date:   Mon May 27 21:05:38 2013 +0300

    Bug fix in array.c.

diff --git a/ChangeLog b/ChangeLog
index 767bd43..75e86d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,11 @@
        * configure.ac (AC_STRUCT_ST_BLKSIZE): Replaced with call to
        AC_CHECK_MEMBERS.
 
+       Unrelated:
+
+       * array.c (null_array): Remove the assert and just clear
+       symbol->xarray.
+
 2013-05-26         Arnold D. Robbins     <address@hidden>
 
        * getopt.c: For Mac OS X, also include <stdlib.h> to avoid
diff --git a/array.c b/array.c
index 5dac7a4..92a1cb8 100644
--- a/array.c
+++ b/array.c
@@ -113,7 +113,16 @@ null_array(NODE *symbol)
        symbol->table_size = symbol->array_size = 0;
        symbol->array_capacity = 0;
        symbol->flags = 0;
-       assert(symbol->xarray == NULL);
+       /*
+        * 5/2013: This used to be
+        *
+        *      assert(symbol->xarray == NULL);
+        *
+        * But that seems to cause problems for no good reason
+        * that I can see. I believe it to be an artifact of the
+        * union getting in the way.
+        */
+       symbol->xarray = NULL;
        /* vname, parent_array not (re)initialized */
 }
 

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

Summary of changes:
 ChangeLog |    5 +++++
 array.c   |   11 ++++++++++-
 2 files changed, 15 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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