[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-3815-g58982a
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-3815-g58982af |
Date: |
Fri, 23 Aug 2019 06:24:39 -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, master has been updated
via 58982af68e8cbbc71b48a2ab36865ed4630b960b (commit)
via 8de8e60457bc273694f4b42e4f3f7148bd075576 (commit)
via ea165901ac317100d3d54bc2ad7fc3582b1dd53c (commit)
from 4ee83adb563e86ac2283d47117b8f6c456a67c94 (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=58982af68e8cbbc71b48a2ab36865ed4630b960b
commit 58982af68e8cbbc71b48a2ab36865ed4630b960b
Author: Arnold D. Robbins <address@hidden>
Date: Fri Aug 23 13:24:14 2019 +0300
Updates to awkcard.in.
diff --git a/doc/ChangeLog b/doc/ChangeLog
index c9d7913..65124d1 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2019-08-23 Arnold D. Robbins <address@hidden>
+
+ * awkcard.in: Fixes and updates. Some cleanup.
+
2019-08-21 Arnold D. Robbins <address@hidden>
* texinfo.tex: Updated.
diff --git a/doc/awkcard.in b/doc/awkcard.in
index 84f7e97..8cdfc83 100644
--- a/doc/awkcard.in
+++ b/doc/awkcard.in
@@ -1135,7 +1135,7 @@ _
The \*(FIr\*(FC{\*(FIn\*(FC,\*(FIm\*(FC}\*(FR notation is called an
\*(FIinterval expression\fP.
\*(CRNot supported by
-\*(MK or \*(NK.\*(CX
+\*(MK.\*(CX
.sp .5
\*(CDIn regular expressions, within character ranges
(\*(FC[\*(FR...\*(FC]\*(FR),
@@ -1162,9 +1162,6 @@ when finding source files named with the \*(FC\-f\fP and
\*(FC\-i\fP
options.
The default path is
\*(FC".:/usr/local/share/awk"\*(FR.
-.\" if this variable does not exist.
-.\" (The actual directory may vary,
-.\" depending upon how \*(GK was built and installed.)
If a source file name contains a ``/'' character,
no path search is performed.
.sp .5
@@ -1186,7 +1183,6 @@ for \*(GK to
wait for input before returning with an error.
.sp .5
If \*(FCPOSIXLY_CORRECT\fP exists
-.\" in the environment,
then \*(GK
behaves exactly as if the \*(FC\-\^\-posix\fP option had been given.\*(CB
.EB "\s+2\f(HBENVIRONMENT VARIABLES (\*(GK\f(HB)\*(FR\s0"
@@ -1333,7 +1329,6 @@ T}
\*(FCgetline \*(FIv \*(FC< \*(FIfile\*(FR Set \*(FIv\fP from next record
of \*(FIfile\*(FR.
\*(FIcmd \*(FC| getline\*(FR Pipe into \*(FCgetline\*(FR; set \*(FC$0\*(FR,
\*(FCNF\*(FR.
\*(FIcmd \*(FC| getline \*(FIv\*(FR Pipe into \*(FCgetline\*(FR; set
\*(FIv\*(FR.
-.\" \*(CB\*(FIcmd \*(FC|& getline\*(FR Coprocess pipe into \*(FCgetline\*(FR;
set \*(FC$0\*(FR, \*(FCNF\*(FR.
.TE
.fi
.in +.2i
@@ -1917,9 +1912,6 @@ Return the bitwise XOR of the arguments.\*(CB
.br
Dynamically load the named \*(FIextension\*(FR.
This adds new built-in functions to \*(GK.
-.\" The extension should use the API defined by the
-.\" \*(FCgawkapi.h\*(FR header file, as documented in
-.\" the full manual.
The extension is loaded during the parsing of the program.
See the manual for details.\*(CB
.in -.2i
@@ -1994,16 +1986,13 @@ to use the current domain.\*(CB
.ES
.nf
\*(CDHost: \*(FCftp.gnu.org\*(FR
-File: \*(FC/gnu/gawk/gawk-5.1.0:tar.gz\fP
+File: \*(FC/gnu/gawk/gawk-5.1.0.tar.gz\fP
.in +.2i
.fi
GNU \*(AK (\*(GK). There may be a later version.
.in -.2i
.nf
.sp .4
-.\" http://www.cs.princeton.edu/~bwk/btl.mirror/
-.\" awk.tar.gz
-.\" .br
\*(FCgit clone git://github.com/onetrueawk/awk\fP
.in +.2i
.fi
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=8de8e60457bc273694f4b42e4f3f7148bd075576
commit 8de8e60457bc273694f4b42e4f3f7148bd075576
Author: Arnold D. Robbins <address@hidden>
Date: Fri Aug 23 13:23:15 2019 +0300
Small code cleanup in re.c.
diff --git a/ChangeLog b/ChangeLog
index 2b66647..b608e02 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
2019-08-23 Arnold D. Robbins <address@hidden>
- * main.c: Fix whitespace issues.
+ * main.c (main): Fix whitespace issues.
+ * re.c (re_update): Small code cleanup in handling t->re_cnt.
+ Thanks to Andrew Schorr.
2019-08-21 Arnold D. Robbins <address@hidden>
diff --git a/re.c b/re.c
index 91cff4d..a23e7f6 100644
--- a/re.c
+++ b/re.c
@@ -438,9 +438,12 @@ re_update(NODE *t)
refree(t->re_reg[1]);
t->re_reg[1] = NULL;
}
- if (t->re_cnt > 0)
- t->re_cnt++;
- if (t->re_cnt > 10)
+ if (t->re_cnt > 0 && ++t->re_cnt > 10)
+ /*
+ * The regex appears to update frequently, so disable DFA
+ * matching (which trades off expensive upfront compilation
+ * overhead for faster subsequent matching).
+ */
t->re_cnt = 0;
if (t->re_text == NULL) {
/* reset regexp text if needed */
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=ea165901ac317100d3d54bc2ad7fc3582b1dd53c
commit ea165901ac317100d3d54bc2ad7fc3582b1dd53c
Author: Arnold D. Robbins <address@hidden>
Date: Fri Aug 23 13:22:24 2019 +0300
Fix whitespace in main.c.
diff --git a/ChangeLog b/ChangeLog
index ee92172..2b66647 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-08-23 Arnold D. Robbins <address@hidden>
+
+ * main.c: Fix whitespace issues.
+
2019-08-21 Arnold D. Robbins <address@hidden>
* config.guess: Updated from GNULIB.
diff --git a/main.c b/main.c
index 9be7793..ae34d75 100644
--- a/main.c
+++ b/main.c
@@ -435,12 +435,12 @@ main(int argc, char **argv)
init_ext_api();
/* load extension libs */
- for (s = srcfiles->next; s != srcfiles; s = s->next) {
- if (s->stype == SRC_EXTLIB)
+ for (s = srcfiles->next; s != srcfiles; s = s->next) {
+ if (s->stype == SRC_EXTLIB)
load_ext(s->fullpath);
else if (s->stype != SRC_INC)
have_srcfile++;
- }
+ }
/* do version check after extensions are loaded to get extension info */
if (do_version)
@@ -1694,7 +1694,7 @@ parse_args(int argc, char **argv)
case 'S':
do_flags |= DO_SANDBOX;
- break;
+ break;
case 'V':
do_version = true;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
doc/ChangeLog | 4 ++++
doc/awkcard.in | 15 ++-------------
main.c | 8 ++++----
re.c | 9 ++++++---
5 files changed, 22 insertions(+), 20 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-3815-g58982af,
Arnold Robbins <=