gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, gawk-5.2-stable, updated. gawk-4.1.0-4979-gc4952e65


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.2-stable, updated. gawk-4.1.0-4979-gc4952e65
Date: Sun, 1 Jan 2023 14:29:15 -0500 (EST)

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.2-stable has been updated
       via  c4952e65db78afdc54dc59edfd5af00c94b55fbe (commit)
      from  8066f8b4c6d50706052f79ffe4478715a9d2b622 (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=c4952e65db78afdc54dc59edfd5af00c94b55fbe

commit c4952e65db78afdc54dc59edfd5af00c94b55fbe
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Sun Jan 1 21:29:00 2023 +0200

    Fix testdfa.c.

diff --git a/helpers/ChangeLog b/helpers/ChangeLog
index b5c62bf8..b63efdea 100644
--- a/helpers/ChangeLog
+++ b/helpers/ChangeLog
@@ -1,3 +1,8 @@
+2023-01-01         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * testdfa.c (main): Call pma_init() so that malloc-ing stuff
+       works. Fix the comment at the top telling how to compile.
+
 2022-11-17         Arnold D. Robbins     <arnold@skeeve.com>
 
        * 5.2.1: Release tar ball made.
diff --git a/helpers/testdfa.c b/helpers/testdfa.c
index 2f1c687a..5ff866e6 100644
--- a/helpers/testdfa.c
+++ b/helpers/testdfa.c
@@ -1,7 +1,7 @@
 /*
  * testdfa.c --- abstracted from gawk.
  *
- * gcc -I.. -I../support testdfa.c ../support/libsupport.a -o testdfa
+ * gcc -I.. -I../support testdfa.c ../support/libsupport.a -lm -o testdfa
  */
 
 /*
@@ -93,6 +93,8 @@ int main(int argc, char **argv)
        bool not_bol = false;
        struct localeinfo localeinfo;
 
+       pma_init(1, NULL);
+
        if (argc < 2)
                usage(argv[0]);
 

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

Summary of changes:
 helpers/ChangeLog | 5 +++++
 helpers/testdfa.c | 4 +++-
 2 files changed, 8 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
gawk



reply via email to

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