From bd3a8ae05c40b6e44a7be92bcaddd2dfbd9cdbaf Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sun, 26 Feb 2023 21:23:53 +0200 Subject: Remove trailing whitespace from a bunch of files. --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 488e7a49..5885061a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2023-02-26 Arnold D. Robbins + + * Multiple files: Remove trailing whitespace. + 2023-02-24 Arnold D. Robbins * awk.h (boolval): Handle Node_var. Thanks to -- cgit v1.2.1 From 2e2263c3c04a13463be1fbd13a392962f00234b2 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Mon, 27 Feb 2023 21:05:44 +0200 Subject: Small improvement in gawkmisc.c. --- ChangeLog | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 5885061a..c214a6ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2023-02-27 Arnold D. Robbins + + * gawkmisc.c: Use #elif. Update copyright year. + 2023-02-26 Arnold D. Robbins * Multiple files: Remove trailing whitespace. @@ -250,7 +254,7 @@ Emanuel Attila Czirai for the report, and to Jan Alexander Steffens (heftig)" for the fix. - + 2022-09-04 Arnold D. Robbins * 5.2.0: Release tar ball made. @@ -728,7 +732,7 @@ * gawkapi.c (awk_value_to_node): Clear the GMP/MPFR values returned from the C extension after setting the internal variable. - + 2022-02-22 Arnold D. Robbins Enable interval expressions even for --traditional, as BWK @@ -1496,7 +1500,7 @@ * NEWS: Updated. 2020-07-10 Arnold D. Robbins - + Fix printf issues. Thanks to Michal Jaegermann for the report. * cint_array.c (cint_dump): Fix printf formats. @@ -1852,7 +1856,7 @@ 2020-01-14 Andrew J. Schorr - * cint_array.c (cint_array_init): Fix off-by-one error in array + * cint_array.c (cint_array_init): Fix off-by-one error in array bounds overflow check for an NHAT value set in the environment. Thanks to Michael Builov for the report. @@ -2206,7 +2210,7 @@ * awkgram.y (errcount): No longer static. * command.y (dbg_errcount): Renamed from errcount. * main.c (catchsig, catchsegv): If errcount > 0, just exit, - don't abort. + don't abort. 2019-04-12 Arnold D. Robbins -- cgit v1.2.1 From 6e98a8184b52173cf961cc4052bdd81c33b04244 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Mon, 27 Feb 2023 21:32:29 +0200 Subject: Fix memory leak when $a = $b appears in expressions. --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index c214a6ea..ad82e180 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,18 @@ * gawkmisc.c: Use #elif. Update copyright year. + Unrelated: Fix handling of $a = $b so that it's done OK also in + expressions, and not just in statements. This fixes a memory + leak seen with valgrind in test/fieldassign.awk. + + * awk.h (enum opcodeval): Add new member, Op_store_field_exp. + * awkgram.y (mk_assignment): Generate Op_store_field_exp under the + right circumstances. + (optimize_assignment): Remove case for Op_field_spec_lhs. + * eval.c (optypes): Add entry for Op_store_field. + * interpret.h (r_interpret): Handle Op_store_field in the switch. + * profile.c (pprint): Same. + 2023-02-26 Arnold D. Robbins * Multiple files: Remove trailing whitespace. -- cgit v1.2.1 From d5c88fbbbc92b80f424d35e5fd8cf3ede854dd87 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Mon, 27 Feb 2023 22:19:19 +0200 Subject: Squashed commit of the following: commit 4a145797803d4e16b3461d844464e753bf2ed5cf Author: Arnold D. Robbins Date: Mon Feb 27 21:58:06 2023 +0200 Update ChangeLogs and doc. commit a0262e53529c2f75dc4930dbeb95f47d526fd5d5 Merge: 6dd3e482 6e98a818 Author: Arnold D. Robbins Date: Mon Feb 27 21:35:08 2023 +0200 Merge branch 'gawk-5.2-stable' into private/fixes-for-readdir commit 6dd3e48226e365f8c2f1398037064c73f4f67ddb Author: Arnold D. Robbins Date: Sun Feb 26 21:45:18 2023 +0200 Improvements for setting up input parser. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index ad82e180..4bf60db4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,12 @@ * interpret.h (r_interpret): Handle Op_store_field in the switch. * profile.c (pprint): Same. + Unrelated: Improve how information is passed to input parsers: + + * io.c (iop_alloc): lstat() or stat() the file if could not be opened. + See the doc for explanation as to why. + * NEWS: Updated. + 2023-02-26 Arnold D. Robbins * Multiple files: Remove trailing whitespace. -- cgit v1.2.1