[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, feature/nocopy, updated. gawk-4.1.0-1916
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, feature/nocopy, updated. gawk-4.1.0-1916-g615093c |
Date: |
Sun, 17 Jul 2016 03:32:43 +0000 (UTC) |
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/nocopy has been updated
via 615093c3aff4f248a4136f5030aaa3219fe35f62 (commit)
via ef3e7b2389729fd2bb906af94b31b49947cfe445 (commit)
via 87e61996806174f405b0aab9c92688945b9dca77 (commit)
from b91a006f9188fdf5249720329c1960ea9d3f3e19 (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=615093c3aff4f248a4136f5030aaa3219fe35f62
commit 615093c3aff4f248a4136f5030aaa3219fe35f62
Merge: b91a006 ef3e7b2
Author: Arnold D. Robbins <address@hidden>
Date: Sun Jul 17 06:32:30 2016 +0300
Merge branch 'master' into feature/nocopy
diff --cc ChangeLog
index e32a255,864f6c4..34f30ee
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,35 -1,8 +1,40 @@@
+ 2016-07-17 Arnold D. Robbins <address@hidden>
+
+ * eval.c (set_LINT): Reset lintfunc to `warning' for LINT="invalid".
+ Thanks to Andy Schorr for the report.
+
+2016-07-08 Andrew J. Schorr <address@hidden>
+
+ * awk.h: Restore previous comment about unterminated strings, since
+ I am removing the string termination patches from field.c
+ (free_api_string_copies): Declare new gawkapi function.
+ * builtin.c (do_mktime, do_system): Restore temporary string
+ termination to protect against unterminated field values.
+ (nondec2awknum): Remove comment about unnecessary termination.
+ * eval.c (posix_compare): Restore temporary string termination.
+ * field.c (databuf): Remove struct no longer needed.
+ (set_field): Remove memcpy for string termination, since we will support
+ unterminated field string values.
+ (rebuild_record): Ditto. Also no need to allocate space for terminated
+ string copies.
+ (allocate_databuf): Remove function, since memory management can again
+ be done inside set_record.
+ (set_record): Restore inline buffer management logic.
+ (reset_record): Remove calls to allocate_databuf, since we no longer
+ need space for making terminated copies of field strings.
+ * gawkapi.c (free_api_string_copies): New function to free strings
+ that we made to provide terminated copies to API functions.
+ (assign_string): New function to convert a string to an awk_value,
+ making sure to copy it if we need to terminate it.
+ (node_to_awk_value): Use assign_string to return string values with
+ NUL termination protection.
+ * int_array.c (is_integer): Restore temporary string termination.
+ * interpret.h (Op_push_i): Ditto.
+ (Op_ext_builtin): After external function returns, call
+ free_api_string_copies to free temporary string copies.
+ * mpfr.c (force_mpnum): Restore temporary string termination.
+ * node.c (r_force_number, get_ieee_magic_val): Ditto.
+
2016-07-08 Arnold D. Robbins <address@hidden>
* dfa.c: Sync with GNU grep.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
1 file changed, 5 insertions(+)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, feature/nocopy, updated. gawk-4.1.0-1916-g615093c,
Arnold Robbins <=