gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, feature/pma, updated. gawk-4.1.0-4752-g89647d9c


From: Arnold Robbins
Subject: [SCM] gawk branch, feature/pma, updated. gawk-4.1.0-4752-g89647d9c
Date: Wed, 8 Jun 2022 15:40:08 -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, feature/pma has been updated
       via  89647d9c5f75784f37fa9e6e3e8643048ef2ca8a (commit)
       via  4deed5a0e5a303ffbe5651268baac870cb0185f6 (commit)
       via  174bc50a050359bd857cf50d523226359e3baffa (commit)
      from  90f93e221e14979deced1d9a590b385425ba108f (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=89647d9c5f75784f37fa9e6e3e8643048ef2ca8a

commit 89647d9c5f75784f37fa9e6e3e8643048ef2ca8a
Merge: 4deed5a0 174bc50a
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Wed Jun 8 22:39:58 2022 +0300

    Merge branch 'master' into feature/pma


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

commit 4deed5a0e5a303ffbe5651268baac870cb0185f6
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Wed Jun 8 22:37:17 2022 +0300

    Typo fix in pma.c.

diff --git a/support/ChangeLog b/support/ChangeLog
index 3cb26dc6..a698a4d5 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,7 @@
+2022-06-08         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * pma.c (pma_free): Typo fix. Thanks to Terrence Kelley.
+
 2022-06-03         Arnold D. Robbins     <arnold@skeeve.com>
 
        * dfa.c, dfa.h: Sync with GNULIB.
diff --git a/support/pma.c b/support/pma.c
index d16b16e9..31b35676 100644
--- a/support/pma.c
+++ b/support/pma.c
@@ -586,7 +586,7 @@ void pma_free(void *ptr) {
   if (! (VS state.hdr->afirst <= ptr && VS state.hdr->abound > ptr)) {  // 
e.g., p=strdup("foo") ... pma_free(p);
     WRN("freed ptr %p outside allocatable area bounds %p %p\n",
         ptr, VS state.hdr->afirst, VS state.hdr->abound);
-    free(p);   // just be nice about it
+    free(ptr); // just be nice about it
     return;
   }
   assert(0 == (uintptr_t)ptr % WDSZ);

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

Summary of changes:
 doc/it/ChangeLog   | 4 ++++
 doc/it/gawktexi.in | 7 +++++++
 support/ChangeLog  | 4 ++++
 support/pma.c      | 2 +-
 4 files changed, 16 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
gawk



reply via email to

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