[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4218-gde59839
From: |
Arnold Robbins |
Subject: |
[SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4218-gde59839 |
Date: |
Fri, 16 Apr 2021 11:02:32 -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, gawk-5.1-stable has been updated
via de59839144d666b3d8369395159c85ebb40e27fe (commit)
from a8f16ebdef4e43fcda9a4956e8ef528c33728047 (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=de59839144d666b3d8369395159c85ebb40e27fe
commit de59839144d666b3d8369395159c85ebb40e27fe
Author: Arnold D. Robbins <arnold@skeeve.com>
Date: Fri Apr 16 18:02:11 2021 +0300
Small bug fix in main.c:arg_assign.
diff --git a/ChangeLog b/ChangeLog
index 64dba79..beb3bde 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-04-16 Arnold D. Robbins <arnold@skeeve.com>
+
+ * main (arg_assign): For -v '@/...' make sure that there are
+ at least three characters there. Thanks to Ed Morton
+ <mortoneccc@comcast.net> for the report.
+
2021-04-14 Arnold D. Robbins <arnold@skeeve.com>
Fix up lint warnings for "no effect" to avoid false warnings.
diff --git a/main.c b/main.c
index 5b153bc..19c50b6 100644
--- a/main.c
+++ b/main.c
@@ -1203,6 +1203,7 @@ arg_assign(char *arg, bool initing)
cp2 = cp + strlen(cp) - 1; // end char
if (! do_traditional
+ && strlen(cp) >= 3 // '@/' doesn't do it.
&& cp[0] == '@' && cp[1] == '/' && *cp2 == '/') {
// typed regex
size_t len = strlen(cp) - 3;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
main.c | 1 +
2 files changed, 7 insertions(+)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4218-gde59839,
Arnold Robbins <=