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. b84831d5a75556aa732cfa3


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. b84831d5a75556aa732cfa3552b90b9c804d9991
Date: Wed, 19 Sep 2012 18:48:42 +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  b84831d5a75556aa732cfa3552b90b9c804d9991 (commit)
      from  5117dd79ab0271ae5e1bb775876e9e1b80fd2f4a (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=b84831d5a75556aa732cfa3552b90b9c804d9991

commit b84831d5a75556aa732cfa3552b90b9c804d9991
Author: Arnold D. Robbins <address@hidden>
Date:   Wed Sep 19 21:48:20 2012 +0300

    Fix for PPC Mac OS X.

diff --git a/ChangeLog b/ChangeLog
index d43af15..b280ea3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-19         Arnold D. Robbins     <address@hidden>
+
+       * symbol.c (load_symbols): Zero out the new node. Prevents assertion
+       failure on PPC Mac OS X.
+
 2012-09-14         Arnold D. Robbins     <address@hidden>
 
        Allow read-only access to built-in variables from extensions.
diff --git a/symbol.c b/symbol.c
index 9d4c680..dd89796 100644
--- a/symbol.c
+++ b/symbol.c
@@ -493,6 +493,7 @@ load_symbols()
        aptr = assoc_lookup(PROCINFO_node, tmp);
 
        getnode(sym_array);
+       memset(sym_array, '\0', sizeof(NODE));  /* PPC Mac OS X wants this */
        init_array(sym_array);
 
        unref(*aptr);

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

Summary of changes:
 ChangeLog |    5 +++++
 symbol.c  |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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