summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2023-02-27 22:24:03 +0200
committerArnold D. Robbins <arnold@skeeve.com>2023-02-27 22:24:03 +0200
commit1abbbbc5a414d77c67d9a362148c1c81ddaeaf5b (patch)
tree8ac9cf25274798691593cdaaa7e835f7de4179b4 /ChangeLog
parent70737fac5709a4766d34b87fe598f2c30ac4c051 (diff)
parentd5c88fbbbc92b80f424d35e5fd8cf3ede854dd87 (diff)
downloadgawk-1abbbbc5a414d77c67d9a362148c1c81ddaeaf5b.tar.gz
Merge branch 'gawk-5.2-stable'
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog36
1 files changed, 31 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 836fbf17..c958bded 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,29 @@
+2023-02-27 Arnold D. Robbins <arnold@skeeve.com>
+
+ * 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.
+
+ 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 <arnold@skeeve.com>
+
+ * Multiple files: Remove trailing whitespace.
+
2023-02-24 Arnold D. Robbins <arnold@skeeve.com>
* field.c (set_comma_field): Free the string node. Fixes a
@@ -283,7 +309,7 @@
Emanuel Attila Czirai <corre.a.buscar@gmail.com> for the report,
and to Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
for the fix.
-
+
2022-09-04 Arnold D. Robbins <arnold@skeeve.com>
* 5.2.0: Release tar ball made.
@@ -780,7 +806,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 <arnold@skeeve.com>
Enable interval expressions even for --traditional, as BWK
@@ -1548,7 +1574,7 @@
* NEWS: Updated.
2020-07-10 Arnold D. Robbins <arnold@skeeve.com>
-
+
Fix printf issues. Thanks to Michal Jaegermann for the report.
* cint_array.c (cint_dump): Fix printf formats.
@@ -1904,7 +1930,7 @@
2020-01-14 Andrew J. Schorr <aschorr@telemetry-investments.com>
- * 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 <mbuilov@gmail.com> for the report.
@@ -2258,7 +2284,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 <arnold@skeeve.com>