gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4093-gaf190c9


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4093-gaf190c9
Date: Thu, 13 Aug 2020 14:41:10 -0400 (EDT)

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-5.1-stable has been updated
       via  af190c94590e340fcb5918a6ebd245169d5f1000 (commit)
       via  e774ca51390768c79a9078c25ed1f9f5d5afa283 (commit)
      from  ca28ed34bb81cac9c434c864de7abfe9b4620c13 (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=af190c94590e340fcb5918a6ebd245169d5f1000

commit af190c94590e340fcb5918a6ebd245169d5f1000
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Thu Aug 13 21:40:07 2020 +0300

    Spell ROUNDMODE correctly in prints.

diff --git a/ChangeLog b/ChangeLog
index f71651d..70859ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,11 @@
        * symbol.c (make_symbol): Set valref to 1. Allows the
        release_all_vars function to work.
 
+       Unrelated:
+
+       * array.c (value_info): Spell ROUNDMODE correctly in output.
+       * mpfr.c (set_ROUNDMODE): Ditto.
+
 2020-08-12         Arnold D. Robbins     <arnold@skeeve.com>
 
        * awkgram.c, command.c: Regenerated with Bison 3.7.1.
diff --git a/array.c b/array.c
index c256620..60d1862 100644
--- a/array.c
+++ b/array.c
@@ -709,7 +709,7 @@ value_info(NODE *n)
                                        n->stfmt == STFMT_UNUSED ? "<unused>"
                                        : fmt_list[n->stfmt]->stptr);
 #ifdef HAVE_MPFR
-               fprintf(output_fp, ", RNDMODE=\"%c\"", n->strndmode);
+               fprintf(output_fp, ", ROUNDMODE=\"%c\"", n->strndmode);
 #endif
        }
 
diff --git a/mpfr.c b/mpfr.c
index f5cdd58..38f38a3 100644
--- a/mpfr.c
+++ b/mpfr.c
@@ -618,7 +618,7 @@ set_ROUNDMODE()
                        ROUND_MODE = rndm;
                        MPFR_round_mode = n->stptr[0];
                } else
-                       warning(_("RNDMODE value `%.*s' is invalid"), (int) 
n->stlen, n->stptr);
+                       warning(_("ROUNDMODE value `%.*s' is invalid"), (int) 
n->stlen, n->stptr);
        }
 }
 

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=e774ca51390768c79a9078c25ed1f9f5d5afa283

commit e774ca51390768c79a9078c25ed1f9f5d5afa283
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Thu Aug 13 21:38:43 2020 +0300

    Fix TIDYMEM / mtrace usage.

diff --git a/ChangeLog b/ChangeLog
index 5f4c05e..f71651d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2020-08-13         Arnold D. Robbins     <arnold@skeeve.com>
+
+       Fix TIDYMEM / use of mtrace.
+
+       * configure.ac: Add mtrace to list of functions searched for.
+       * symbol.c (make_symbol): Set valref to 1. Allows the
+       release_all_vars function to work.
+
 2020-08-12         Arnold D. Robbins     <arnold@skeeve.com>
 
        * awkgram.c, command.c: Regenerated with Bison 3.7.1.
diff --git a/configh.in b/configh.in
index 4d1ed15..09a3b37 100644
--- a/configh.in
+++ b/configh.in
@@ -156,6 +156,9 @@
 /* Define to 1 if you have fully functional mpfr and gmp libraries. */
 #undef HAVE_MPFR
 
+/* Define to 1 if you have the `mtrace' function. */
+#undef HAVE_MTRACE
+
 /* Define to 1 if you have the <netdb.h> header file. */
 #undef HAVE_NETDB_H
 
diff --git a/configure b/configure
index ed52595..b06c38a 100755
--- a/configure
+++ b/configure
@@ -10721,7 +10721,8 @@ for ac_func in __etoa_l atexit btowc fmod gai_strerror \
        fwrite_unlocked \
        isascii isblank iswctype iswlower iswupper mbrlen \
        memcmp memcpy memcpy_ulong memmove memset \
-       memset_ulong mkstemp posix_openpt setenv setlocale setsid sigprocmask \
+       memset_ulong mkstemp mtrace \
+       posix_openpt setenv setlocale setsid sigprocmask \
        snprintf strchr \
        strerror strftime strcasecmp strncasecmp strcoll strtod strtoul \
        system timegm tmpfile towlower towupper tzset usleep waitpid wcrtomb \
diff --git a/configure.ac b/configure.ac
index c25730b..ce9d015 100644
--- a/configure.ac
+++ b/configure.ac
@@ -303,7 +303,8 @@ AC_CHECK_FUNCS(__etoa_l atexit btowc fmod gai_strerror \
        fwrite_unlocked \
        isascii isblank iswctype iswlower iswupper mbrlen \
        memcmp memcpy memcpy_ulong memmove memset \
-       memset_ulong mkstemp posix_openpt setenv setlocale setsid sigprocmask \
+       memset_ulong mkstemp mtrace \
+       posix_openpt setenv setlocale setsid sigprocmask \
        snprintf strchr \
        strerror strftime strcasecmp strncasecmp strcoll strtod strtoul \
        system timegm tmpfile towlower towupper tzset usleep waitpid wcrtomb \
diff --git a/symbol.c b/symbol.c
index 844d8ee..99a8b3a 100644
--- a/symbol.c
+++ b/symbol.c
@@ -292,6 +292,7 @@ make_symbol(const char *name, NODETYPE type)
                r->var_value = dupnode(Nnull_string);
        r->vname = (char *) name;
        r->type = type;
+       r->valref = 1;
 
        return r;
 }

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

Summary of changes:
 ChangeLog    | 13 +++++++++++++
 array.c      |  2 +-
 configh.in   |  3 +++
 configure    |  3 ++-
 configure.ac |  3 ++-
 mpfr.c       |  2 +-
 symbol.c     |  1 +
 7 files changed, 23 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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