gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] gawk branch, master, updated. gawk-4.1.0-3848-g3e0eec7


From: Arnold Robbins
Subject: [SCM] gawk branch, master, updated. gawk-4.1.0-3848-g3e0eec7
Date: Thu, 21 Nov 2019 15:03:25 -0500 (EST)

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  3e0eec7b43484fc639d8e78d3f64ae10939257ee (commit)
       via  fd610c79b51ecd3be2ad3af9169b030cd53927ac (commit)
       via  204dfd4460f499ade13a56152d2b21dcb287ace9 (commit)
      from  5f5b770ec25aaef7265b004fa17adf58d3136a80 (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=3e0eec7b43484fc639d8e78d3f64ae10939257ee

commit 3e0eec7b43484fc639d8e78d3f64ae10939257ee
Author: Arnold D. Robbins <address@hidden>
Date:   Thu Nov 21 22:02:37 2019 +0200

    Doc update. The time extension is now obsolete.

diff --git a/doc/ChangeLog b/doc/ChangeLog
index f9f2b4d..515567a 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2019-11-21         Arnold D. Robbins     <address@hidden>
+
+       * gawktexi.in: Document that the time extension is now obsolete.
+
 2019-11-03         Arnold D. Robbins     <address@hidden>
 
        * gawktexi.in: Document that readdir extension can cause a
diff --git a/doc/gawk.info b/doc/gawk.info
index 7322305..60a24f8 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -28015,7 +28015,16 @@ File: gawk.info,  Node: Extension Sample Time,  Next: 
Extension Sample API Tests
 17.7.11 Extension Time Functions
 --------------------------------
 
-The 'time' extension adds two functions, named 'gettimeofday()' and
+     CAUTION: As 'gawk' version 5.1.0, this extension is considered to
+     be obsolete.  It is replaced by the 'timex' extension in
+     'gawkextlib' (*note gawkextlib::).
+
+     For version 5.1, no warning will be issued if this extension is
+     used.  For the next major release, a warning will be issued.  In
+     the release after that this extension will be removed from the
+     distribution.
+
+   The 'time' extension adds two functions, named 'gettimeofday()' and
 'sleep()', as follows:
 
 '@load "time"'
@@ -35540,7 +35549,7 @@ Index
 * gettext library, locale categories:    Explaining gettext.  (line  81)
 * gettext() function (C library):        Explaining gettext.  (line  63)
 * gettimeofday() extension function:     Extension Sample Time.
-                                                              (line  12)
+                                                              (line  21)
 * git utility:                           gawkextlib.          (line  31)
 * git utility <1>:                       Other Versions.      (line  18)
 * git utility <2>:                       Accessing The Source.
@@ -36692,7 +36701,7 @@ Index
 * Skywalker, Luke:                       Undocumented.        (line   6)
 * sleep utility:                         Alarm Program.       (line 109)
 * sleep() extension function:            Extension Sample Time.
-                                                              (line  22)
+                                                              (line  31)
 * Solaris, POSIX-compliant awk:          Other Versions.      (line  96)
 * sort array:                            String Functions.    (line  42)
 * sort array indices:                    String Functions.    (line  42)
@@ -37612,85 +37621,85 @@ Node: Extension Sample Rev2way1130520
 Node: Extension Sample Read write array1131260
 Node: Extension Sample Readfile1133202
 Node: Extension Sample Time1134297
-Node: Extension Sample API Tests1135645
-Node: gawkextlib1136137
-Node: Extension summary1139055
-Node: Extension Exercises1142757
-Node: Language History1143999
-Node: V7/SVR3.11145655
-Node: SVR41147807
-Node: POSIX1149241
-Node: BTL1150621
-Node: POSIX/GNU1151350
-Node: Feature History1157128
-Node: Common Extensions1173321
-Node: Ranges and Locales1174604
-Ref: Ranges and Locales-Footnote-11179220
-Ref: Ranges and Locales-Footnote-21179247
-Ref: Ranges and Locales-Footnote-31179482
-Node: Contributors1179703
-Node: History summary1185656
-Node: Installation1187036
-Node: Gawk Distribution1187980
-Node: Getting1188464
-Node: Extracting1189427
-Node: Distribution contents1191065
-Node: Unix Installation1197545
-Node: Quick Installation1198227
-Node: Shell Startup Files1200641
-Node: Additional Configuration Options1201730
-Node: Configuration Philosophy1204045
-Node: Non-Unix Installation1206414
-Node: PC Installation1206874
-Node: PC Binary Installation1207712
-Node: PC Compiling1208147
-Node: PC Using1209264
-Node: Cygwin1212817
-Node: MSYS1214041
-Node: VMS Installation1214542
-Node: VMS Compilation1215333
-Ref: VMS Compilation-Footnote-11216562
-Node: VMS Dynamic Extensions1216620
-Node: VMS Installation Details1218305
-Node: VMS Running1220558
-Node: VMS GNV1224837
-Node: VMS Old Gawk1225572
-Node: Bugs1226043
-Node: Bug address1226706
-Node: Usenet1229688
-Node: Maintainers1230692
-Node: Other Versions1231953
-Node: Installation summary1239041
-Node: Notes1240243
-Node: Compatibility Mode1241037
-Node: Additions1241819
-Node: Accessing The Source1242744
-Node: Adding Code1244181
-Node: New Ports1250400
-Node: Derived Files1254775
-Ref: Derived Files-Footnote-11260435
-Ref: Derived Files-Footnote-21260470
-Ref: Derived Files-Footnote-31261068
-Node: Future Extensions1261182
-Node: Implementation Limitations1261840
-Node: Extension Design1263023
-Node: Old Extension Problems1264167
-Ref: Old Extension Problems-Footnote-11265685
-Node: Extension New Mechanism Goals1265742
-Ref: Extension New Mechanism Goals-Footnote-11269106
-Node: Extension Other Design Decisions1269295
-Node: Extension Future Growth1271408
-Node: Notes summary1272244
-Node: Basic Concepts1273402
-Node: Basic High Level1274083
-Ref: figure-general-flow1274365
-Ref: figure-process-flow1275050
-Ref: Basic High Level-Footnote-11278351
-Node: Basic Data Typing1278536
-Node: Glossary1281864
-Node: Copying1313702
-Node: GNU Free Documentation License1351245
-Node: Index1376365
+Node: Extension Sample API Tests1136049
+Node: gawkextlib1136541
+Node: Extension summary1139459
+Node: Extension Exercises1143161
+Node: Language History1144403
+Node: V7/SVR3.11146059
+Node: SVR41148211
+Node: POSIX1149645
+Node: BTL1151025
+Node: POSIX/GNU1151754
+Node: Feature History1157532
+Node: Common Extensions1173725
+Node: Ranges and Locales1175008
+Ref: Ranges and Locales-Footnote-11179624
+Ref: Ranges and Locales-Footnote-21179651
+Ref: Ranges and Locales-Footnote-31179886
+Node: Contributors1180107
+Node: History summary1186060
+Node: Installation1187440
+Node: Gawk Distribution1188384
+Node: Getting1188868
+Node: Extracting1189831
+Node: Distribution contents1191469
+Node: Unix Installation1197949
+Node: Quick Installation1198631
+Node: Shell Startup Files1201045
+Node: Additional Configuration Options1202134
+Node: Configuration Philosophy1204449
+Node: Non-Unix Installation1206818
+Node: PC Installation1207278
+Node: PC Binary Installation1208116
+Node: PC Compiling1208551
+Node: PC Using1209668
+Node: Cygwin1213221
+Node: MSYS1214445
+Node: VMS Installation1214946
+Node: VMS Compilation1215737
+Ref: VMS Compilation-Footnote-11216966
+Node: VMS Dynamic Extensions1217024
+Node: VMS Installation Details1218709
+Node: VMS Running1220962
+Node: VMS GNV1225241
+Node: VMS Old Gawk1225976
+Node: Bugs1226447
+Node: Bug address1227110
+Node: Usenet1230092
+Node: Maintainers1231096
+Node: Other Versions1232357
+Node: Installation summary1239445
+Node: Notes1240647
+Node: Compatibility Mode1241441
+Node: Additions1242223
+Node: Accessing The Source1243148
+Node: Adding Code1244585
+Node: New Ports1250804
+Node: Derived Files1255179
+Ref: Derived Files-Footnote-11260839
+Ref: Derived Files-Footnote-21260874
+Ref: Derived Files-Footnote-31261472
+Node: Future Extensions1261586
+Node: Implementation Limitations1262244
+Node: Extension Design1263427
+Node: Old Extension Problems1264571
+Ref: Old Extension Problems-Footnote-11266089
+Node: Extension New Mechanism Goals1266146
+Ref: Extension New Mechanism Goals-Footnote-11269510
+Node: Extension Other Design Decisions1269699
+Node: Extension Future Growth1271812
+Node: Notes summary1272648
+Node: Basic Concepts1273806
+Node: Basic High Level1274487
+Ref: figure-general-flow1274769
+Ref: figure-process-flow1275454
+Ref: Basic High Level-Footnote-11278755
+Node: Basic Data Typing1278940
+Node: Glossary1282268
+Node: Copying1314106
+Node: GNU Free Documentation License1351649
+Node: Index1376769
 
 End Tag Table
 
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 2ae6d56..12841fd 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -38120,6 +38120,16 @@ if (contents == "" && ERRNO != "") @{
 @node Extension Sample Time
 @subsection Extension Time Functions
 
+@quotation CAUTION
+As @command{gawk} @value{PVERSION} 5.1.0, this extension is considered to be 
obsolete.
+It is replaced by the @code{timex} extension in @code{gawkextlib}
+(@pxref{gawkextlib}).
+
+For @value{PVERSION} 5.1, no warning will be issued if this extension is used.
+For the next major release, a warning will be issued. In the release after that
+this extension will be removed from the distribution.
+@end quotation
+
 The @code{time} extension adds two functions, named @code{gettimeofday()}
 and @code{sleep()}, as follows:
 
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index e6f778a..05741cf 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -37091,6 +37091,16 @@ if (contents == "" && ERRNO != "") @{
 @node Extension Sample Time
 @subsection Extension Time Functions
 
+@quotation CAUTION
+As @command{gawk} @value{PVERSION} 5.1.0, this extension is considered to be 
obsolete.
+It is replaced by the @code{timex} extension in @code{gawkextlib}
+(@pxref{gawkextlib}).
+
+For @value{PVERSION} 5.1, no warning will be issued if this extension is used.
+For the next major release, a warning will be issued. In the release after that
+this extension will be removed from the distribution.
+@end quotation
+
 The @code{time} extension adds two functions, named @code{gettimeofday()}
 and @code{sleep()}, as follows:
 
diff --git a/extension/ChangeLog b/extension/ChangeLog
index d71ac21..f6dd4a4 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -1,3 +1,7 @@
+2019-11-21         Arnold D. Robbins     <address@hidden>
+
+       * time.3am: Document that this extension is now obsolete.
+
 2019-11-03         Arnold D. Robbins     <address@hidden>
 
        * readdir.3am: Document that readdir extension can cause a
diff --git a/extension/time.3am b/extension/time.3am
index 0b872c7..05f4646 100644
--- a/extension/time.3am
+++ b/extension/time.3am
@@ -1,4 +1,4 @@
-.TH TIME 3am "Feb 02 2018" "Free Software Foundation" "GNU Awk Extension 
Modules"
+.TH TIME 3am "Nov 21 2019" "Free Software Foundation" "GNU Awk Extension 
Modules"
 .SH NAME
 time \- time functions for gawk
 .SH SYNOPSIS
@@ -9,6 +9,17 @@ time = gettimeofday()
 .br
 ret = sleep(amount)
 .ft R
+.SH CAUTION
+This extension is deprecated in favor of the
+.B timex
+extension in the
+.I gawkextlib
+project.  In the next major release of
+.IR gawk ,
+loading it will issue a warning.
+It will be removed from the
+.I gawk
+distribution in the major release after the next one.
 .SH DESCRIPTION
 The
 .I time

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=fd610c79b51ecd3be2ad3af9169b030cd53927ac

commit fd610c79b51ecd3be2ad3af9169b030cd53927ac
Author: Arnold D. Robbins <address@hidden>
Date:   Thu Nov 21 22:01:34 2019 +0200

    Update regexec.c.

diff --git a/support/ChangeLog b/support/ChangeLog
index ca8f6a3..5ef08af 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,7 @@
+2019-11-21         Arnold D. Robbins     <address@hidden>
+
+       * regexec.c: Updated from GNULIB.
+
 2019-10-19         Arnold D. Robbins     <address@hidden>
 
        * regcomp.c, regex_internal.c, regex_internal.h,
diff --git a/support/regexec.c b/support/regexec.c
index 3c46ac8..38b6d67 100644
--- a/support/regexec.c
+++ b/support/regexec.c
@@ -1266,10 +1266,13 @@ proceed_next_node (const re_match_context_t *mctx, Idx 
nregs, regmatch_t *regs,
       if (type == OP_BACK_REF)
        {
          Idx subexp_idx = dfa->nodes[node].opr.idx + 1;
-         naccepted = regs[subexp_idx].rm_eo - regs[subexp_idx].rm_so;
+         if (subexp_idx < nregs)
+           naccepted = regs[subexp_idx].rm_eo - regs[subexp_idx].rm_so;
          if (fs != NULL)
            {
-             if (regs[subexp_idx].rm_so == -1 || regs[subexp_idx].rm_eo == -1)
+             if (subexp_idx >= nregs
+                 || regs[subexp_idx].rm_so == -1
+                 || regs[subexp_idx].rm_eo == -1)
                return -1;
              else if (naccepted)
                {

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=204dfd4460f499ade13a56152d2b21dcb287ace9

commit 204dfd4460f499ade13a56152d2b21dcb287ace9
Author: Arnold D. Robbins <address@hidden>
Date:   Thu Nov 21 22:01:00 2019 +0200

    Update aux files.

diff --git a/ChangeLog b/ChangeLog
index 41a871f..e9a543e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-11-21         Arnold D. Robbins     <address@hidden>
+
+       * config.rpath: Update from GNULIB.
+
 2019-11-10         Arnold D. Robbins     <address@hidden>
 
        * compile, config.rpath: Update from GNULIB. Adds msys support.
diff --git a/config.rpath b/config.rpath
index 1644dbd..be202c1 100755
--- a/config.rpath
+++ b/config.rpath
@@ -57,7 +57,7 @@ else
     aix*)
       wl='-Wl,'
       ;;
-    mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
+    mingw* | cygwin* | pw32* | os2* | cegcc*)
       ;;
     hpux9* | hpux10* | hpux11*)
       wl='-Wl,'
@@ -149,7 +149,7 @@ hardcode_direct=no
 hardcode_minus_L=no
 
 case "$host_os" in
-  cygwin* | msys* | mingw* | pw32* | cegcc*)
+  cygwin* | mingw* | pw32* | cegcc*)
     # FIXME: the MSVC++ port hasn't been tested in a loooong time
     # When not using gcc, we currently assume that we are using
     # Microsoft Visual C++.
@@ -198,7 +198,7 @@ if test "$with_gnu_ld" = yes; then
         ld_shlibs=no
       fi
       ;;
-    cygwin* | msys* | mingw* | pw32* | cegcc*)
+    cygwin* | mingw* | pw32* | cegcc*)
       # hardcode_libdir_flag_spec is actually meaningless, as there is
       # no search path for DLLs.
       hardcode_libdir_flag_spec='-L$libdir'
@@ -348,7 +348,7 @@ else
       ;;
     bsdi[45]*)
       ;;
-    cygwin* | msys* | mingw* | pw32* | cegcc*)
+    cygwin* | mingw* | pw32* | cegcc*)
       # When not using gcc, we currently assume that we are using
       # Microsoft Visual C++.
       # hardcode_libdir_flag_spec is actually meaningless, as there is
@@ -533,7 +533,7 @@ case "$host_os" in
   bsdi[45]*)
     library_names_spec='$libname$shrext'
     ;;
-  cygwin* | msys* | mingw* | pw32* | cegcc*)
+  cygwin* | mingw* | pw32* | cegcc*)
     shrext=.dll
     library_names_spec='$libname.dll.a $libname.lib'
     ;;
diff --git a/extension/build-aux/ChangeLog b/extension/build-aux/ChangeLog
index 6e809e4..7a04b38 100644
--- a/extension/build-aux/ChangeLog
+++ b/extension/build-aux/ChangeLog
@@ -1,3 +1,7 @@
+2019-11-21         Arnold D. Robbins     <address@hidden>
+
+       * config.rpath, ar-lib: Update from GNULIB.
+
 2019-11-10         Arnold D. Robbins     <address@hidden>
 
        * compile, config.rpath: Update from GNULIB. Adds msys support.
diff --git a/extension/build-aux/ar-lib b/extension/build-aux/ar-lib
index f64465e..be8806a 100755
--- a/extension/build-aux/ar-lib
+++ b/extension/build-aux/ar-lib
@@ -53,7 +53,7 @@ func_file_conv ()
          MINGW*)
            file_conv=mingw
            ;;
-         CYGWIN*)
+         CYGWIN* | MSYS*)
            file_conv=cygwin
            ;;
          *)
@@ -65,7 +65,7 @@ func_file_conv ()
        mingw)
          file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
          ;;
-       cygwin)
+       cygwin | msys)
          file=`cygpath -m "$file" || echo "$file"`
          ;;
        wine)
diff --git a/extension/build-aux/config.rpath b/extension/build-aux/config.rpath
index 1644dbd..be202c1 100755
--- a/extension/build-aux/config.rpath
+++ b/extension/build-aux/config.rpath
@@ -57,7 +57,7 @@ else
     aix*)
       wl='-Wl,'
       ;;
-    mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
+    mingw* | cygwin* | pw32* | os2* | cegcc*)
       ;;
     hpux9* | hpux10* | hpux11*)
       wl='-Wl,'
@@ -149,7 +149,7 @@ hardcode_direct=no
 hardcode_minus_L=no
 
 case "$host_os" in
-  cygwin* | msys* | mingw* | pw32* | cegcc*)
+  cygwin* | mingw* | pw32* | cegcc*)
     # FIXME: the MSVC++ port hasn't been tested in a loooong time
     # When not using gcc, we currently assume that we are using
     # Microsoft Visual C++.
@@ -198,7 +198,7 @@ if test "$with_gnu_ld" = yes; then
         ld_shlibs=no
       fi
       ;;
-    cygwin* | msys* | mingw* | pw32* | cegcc*)
+    cygwin* | mingw* | pw32* | cegcc*)
       # hardcode_libdir_flag_spec is actually meaningless, as there is
       # no search path for DLLs.
       hardcode_libdir_flag_spec='-L$libdir'
@@ -348,7 +348,7 @@ else
       ;;
     bsdi[45]*)
       ;;
-    cygwin* | msys* | mingw* | pw32* | cegcc*)
+    cygwin* | mingw* | pw32* | cegcc*)
       # When not using gcc, we currently assume that we are using
       # Microsoft Visual C++.
       # hardcode_libdir_flag_spec is actually meaningless, as there is
@@ -533,7 +533,7 @@ case "$host_os" in
   bsdi[45]*)
     library_names_spec='$libname$shrext'
     ;;
-  cygwin* | msys* | mingw* | pw32* | cegcc*)
+  cygwin* | mingw* | pw32* | cegcc*)
     shrext=.dll
     library_names_spec='$libname.dll.a $libname.lib'
     ;;

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                        |   4 +
 config.rpath                     |  10 +--
 doc/ChangeLog                    |   4 +
 doc/gawk.info                    | 173 ++++++++++++++++++++-------------------
 doc/gawk.texi                    |  10 +++
 doc/gawktexi.in                  |  10 +++
 extension/ChangeLog              |   4 +
 extension/build-aux/ChangeLog    |   4 +
 extension/build-aux/ar-lib       |   4 +-
 extension/build-aux/config.rpath |  10 +--
 extension/time.3am               |  13 ++-
 support/ChangeLog                |   4 +
 support/regexec.c                |   7 +-
 13 files changed, 160 insertions(+), 97 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]