aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-01-11 21:58:25 +0200
committerArnold D. Robbins <arnold@skeeve.com>2018-01-11 21:58:25 +0200
commit02cb19a2b247a82be6d94ed05b67f7d8b4a59fdd (patch)
treed50df837e195ee52f7b215f43958e63c1b056344
parent7d463f19f1fc98a7d4f99e3575c545ca7009d9db (diff)
parent1dd70048aed615cde08f96709ca6a00ebb4ae6cd (diff)
downloadegawk-02cb19a2b247a82be6d94ed05b67f7d8b4a59fdd.tar.gz
egawk-02cb19a2b247a82be6d94ed05b67f7d8b4a59fdd.tar.bz2
egawk-02cb19a2b247a82be6d94ed05b67f7d8b4a59fdd.zip
Merge branch 'gawk-4.2-stable'
-rw-r--r--doc/ChangeLog6
-rw-r--r--doc/gawk.info194
-rw-r--r--doc/gawk.texi4
-rw-r--r--doc/gawktexi.in4
-rw-r--r--extension/ChangeLog8
-rw-r--r--extension/filefuncs.c2
-rw-r--r--extension/fnmatch.c2
-rw-r--r--extension/fork.c2
-rw-r--r--extension/inplace.c2
-rw-r--r--extension/intdiv.c2
-rw-r--r--extension/ordchr.c2
-rw-r--r--extension/readdir.c2
-rw-r--r--extension/readdir_test.c2
-rw-r--r--extension/readfile.c2
-rw-r--r--extension/revoutput.c2
-rw-r--r--extension/revtwoway.c2
-rw-r--r--extension/rwarray.c2
-rw-r--r--extension/rwarray0.c2
-rw-r--r--extension/testext.c2
-rw-r--r--extension/time.c2
-rw-r--r--pc/ChangeLog2
21 files changed, 131 insertions, 117 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index a8f90b81..bd0be9fa 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,9 @@
+2018-01-11 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawktexi.in: Remove incorrect '*' on some declarations of
+ ext_id in sample extension code. Thanks to Panos Papadopoulos
+ <panos1962@gmail.com> for the report.
+
2018-01-08 Andrew J. Schorr <aschorr@telemetry-investments.com>
* gawktexi.in (Checking for MPFR): Add warnings about exit's processing
diff --git a/doc/gawk.info b/doc/gawk.info
index aafd94bf..dcfd2ef2 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -26231,7 +26231,7 @@ Boilerplate::):
#include "stack.h"
static const gawk_api_t *api; /* for convenience macros to work */
- static awk_ext_id_t *ext_id;
+ static awk_ext_id_t ext_id;
static awk_bool_t init_filefuncs(void);
static awk_bool_t (*init_func)(void) = init_filefuncs;
static const char *ext_version = "filefuncs extension: version 1.0";
@@ -36454,101 +36454,101 @@ Node: Finding Extensions1060050
Node: Extension Example1060609
Node: Internal File Description1061407
Node: Internal File Ops1065487
-Ref: Internal File Ops-Footnote-11076838
-Node: Using Internal File Ops1076978
-Ref: Using Internal File Ops-Footnote-11079361
-Node: Extension Samples1079635
-Node: Extension Sample File Functions1081164
-Node: Extension Sample Fnmatch1088813
-Node: Extension Sample Fork1090300
-Node: Extension Sample Inplace1091518
-Node: Extension Sample Ord1094735
-Node: Extension Sample Readdir1095571
-Ref: table-readdir-file-types1096460
-Node: Extension Sample Revout1097265
-Node: Extension Sample Rev2way1097854
-Node: Extension Sample Read write array1098594
-Node: Extension Sample Readfile1100536
-Node: Extension Sample Time1101631
-Node: Extension Sample API Tests1102979
-Node: gawkextlib1103471
-Node: Extension summary1105927
-Node: Extension Exercises1109629
-Node: Language History1111127
-Node: V7/SVR3.11112783
-Node: SVR41114935
-Node: POSIX1116369
-Node: BTL1117749
-Node: POSIX/GNU1118478
-Node: Feature History1124256
-Node: Common Extensions1140115
-Node: Ranges and Locales1141398
-Ref: Ranges and Locales-Footnote-11146014
-Ref: Ranges and Locales-Footnote-21146041
-Ref: Ranges and Locales-Footnote-31146276
-Node: Contributors1146497
-Node: History summary1152442
-Node: Installation1153822
-Node: Gawk Distribution1154766
-Node: Getting1155250
-Node: Extracting1156213
-Node: Distribution contents1157851
-Node: Unix Installation1164331
-Node: Quick Installation1165013
-Node: Shell Startup Files1167427
-Node: Additional Configuration Options1168516
-Node: Configuration Philosophy1170681
-Node: Non-Unix Installation1173050
-Node: PC Installation1173510
-Node: PC Binary Installation1174348
-Node: PC Compiling1174783
-Node: PC Using1175900
-Node: Cygwin1178945
-Node: MSYS1179715
-Node: VMS Installation1180216
-Node: VMS Compilation1181007
-Ref: VMS Compilation-Footnote-11182236
-Node: VMS Dynamic Extensions1182294
-Node: VMS Installation Details1183979
-Node: VMS Running1186232
-Node: VMS GNV1190511
-Node: VMS Old Gawk1191246
-Node: Bugs1191717
-Node: Bug address1192380
-Node: Usenet1195172
-Node: Maintainers1195949
-Node: Other Versions1197210
-Node: Installation summary1203972
-Node: Notes1205174
-Node: Compatibility Mode1206039
-Node: Additions1206821
-Node: Accessing The Source1207746
-Node: Adding Code1209183
-Node: New Ports1215402
-Node: Derived Files1219890
-Ref: Derived Files-Footnote-11225536
-Ref: Derived Files-Footnote-21225571
-Ref: Derived Files-Footnote-31226169
-Node: Future Extensions1226283
-Node: Implementation Limitations1226941
-Node: Extension Design1228124
-Node: Old Extension Problems1229278
-Ref: Old Extension Problems-Footnote-11230796
-Node: Extension New Mechanism Goals1230853
-Ref: Extension New Mechanism Goals-Footnote-11234217
-Node: Extension Other Design Decisions1234406
-Node: Extension Future Growth1236519
-Node: Old Extension Mechanism1237355
-Node: Notes summary1239118
-Node: Basic Concepts1240300
-Node: Basic High Level1240981
-Ref: figure-general-flow1241263
-Ref: figure-process-flow1241948
-Ref: Basic High Level-Footnote-11245249
-Node: Basic Data Typing1245434
-Node: Glossary1248762
-Node: Copying1280600
-Node: GNU Free Documentation License1318139
-Node: Index1343257
+Ref: Internal File Ops-Footnote-11076837
+Node: Using Internal File Ops1076977
+Ref: Using Internal File Ops-Footnote-11079360
+Node: Extension Samples1079634
+Node: Extension Sample File Functions1081163
+Node: Extension Sample Fnmatch1088812
+Node: Extension Sample Fork1090299
+Node: Extension Sample Inplace1091517
+Node: Extension Sample Ord1094734
+Node: Extension Sample Readdir1095570
+Ref: table-readdir-file-types1096459
+Node: Extension Sample Revout1097264
+Node: Extension Sample Rev2way1097853
+Node: Extension Sample Read write array1098593
+Node: Extension Sample Readfile1100535
+Node: Extension Sample Time1101630
+Node: Extension Sample API Tests1102978
+Node: gawkextlib1103470
+Node: Extension summary1105926
+Node: Extension Exercises1109628
+Node: Language History1111126
+Node: V7/SVR3.11112782
+Node: SVR41114934
+Node: POSIX1116368
+Node: BTL1117748
+Node: POSIX/GNU1118477
+Node: Feature History1124255
+Node: Common Extensions1140114
+Node: Ranges and Locales1141397
+Ref: Ranges and Locales-Footnote-11146013
+Ref: Ranges and Locales-Footnote-21146040
+Ref: Ranges and Locales-Footnote-31146275
+Node: Contributors1146496
+Node: History summary1152441
+Node: Installation1153821
+Node: Gawk Distribution1154765
+Node: Getting1155249
+Node: Extracting1156212
+Node: Distribution contents1157850
+Node: Unix Installation1164330
+Node: Quick Installation1165012
+Node: Shell Startup Files1167426
+Node: Additional Configuration Options1168515
+Node: Configuration Philosophy1170680
+Node: Non-Unix Installation1173049
+Node: PC Installation1173509
+Node: PC Binary Installation1174347
+Node: PC Compiling1174782
+Node: PC Using1175899
+Node: Cygwin1178944
+Node: MSYS1179714
+Node: VMS Installation1180215
+Node: VMS Compilation1181006
+Ref: VMS Compilation-Footnote-11182235
+Node: VMS Dynamic Extensions1182293
+Node: VMS Installation Details1183978
+Node: VMS Running1186231
+Node: VMS GNV1190510
+Node: VMS Old Gawk1191245
+Node: Bugs1191716
+Node: Bug address1192379
+Node: Usenet1195171
+Node: Maintainers1195948
+Node: Other Versions1197209
+Node: Installation summary1203971
+Node: Notes1205173
+Node: Compatibility Mode1206038
+Node: Additions1206820
+Node: Accessing The Source1207745
+Node: Adding Code1209182
+Node: New Ports1215401
+Node: Derived Files1219889
+Ref: Derived Files-Footnote-11225535
+Ref: Derived Files-Footnote-21225570
+Ref: Derived Files-Footnote-31226168
+Node: Future Extensions1226282
+Node: Implementation Limitations1226940
+Node: Extension Design1228123
+Node: Old Extension Problems1229277
+Ref: Old Extension Problems-Footnote-11230795
+Node: Extension New Mechanism Goals1230852
+Ref: Extension New Mechanism Goals-Footnote-11234216
+Node: Extension Other Design Decisions1234405
+Node: Extension Future Growth1236518
+Node: Old Extension Mechanism1237354
+Node: Notes summary1239117
+Node: Basic Concepts1240299
+Node: Basic High Level1240980
+Ref: figure-general-flow1241262
+Ref: figure-process-flow1241947
+Ref: Basic High Level-Footnote-11245248
+Node: Basic Data Typing1245433
+Node: Glossary1248761
+Node: Copying1280599
+Node: GNU Free Documentation License1318138
+Node: Index1343256

End Tag Table
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 61b232ea..ab3437b6 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -35125,7 +35125,7 @@ in the symbol table:
#include "gawkapi.h"
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static const char *ext_version = "testarray extension: version 1.0";
int plugin_is_GPL_compatible;
@@ -35867,7 +35867,7 @@ to make use of the API macros and boilerplate code
#include "stack.h"
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static awk_bool_t init_filefuncs(void);
static awk_bool_t (*init_func)(void) = init_filefuncs;
static const char *ext_version = "filefuncs extension: version 1.0";
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 6c4e3b29..07e52436 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -34099,7 +34099,7 @@ in the symbol table:
#include "gawkapi.h"
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static const char *ext_version = "testarray extension: version 1.0";
int plugin_is_GPL_compatible;
@@ -34841,7 +34841,7 @@ to make use of the API macros and boilerplate code
#include "stack.h"
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static awk_bool_t init_filefuncs(void);
static awk_bool_t (*init_func)(void) = init_filefuncs;
static const char *ext_version = "filefuncs extension: version 1.0";
diff --git a/extension/ChangeLog b/extension/ChangeLog
index 06eedf3e..02931fda 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -1,3 +1,11 @@
+2018-01-11 Arnold D. Robbins <arnold@skeeve.com>
+
+ * filefuncs.c, fnmatch.c, fork.c, inplace.c, intdiv.c, ordchr.c,
+ readdir.c, readdir_test.c, readfile.c, revoutput.c, revtwoway.c,
+ rwarray.c, rwarray0.c, testext.c, time.c: Remove incorrect '*'
+ on declarations of ext_id in sample extension code. Thanks to
+ Panos Papadopoulos <panos1962@gmail.com> for the report.
+
2017-12-29 Arnold D. Robbins <arnold@skeeve.com>
* configure.ac (fmod): Put AC_SEARCH_LIBS before the call
diff --git a/extension/filefuncs.c b/extension/filefuncs.c
index 64016402..99b5eda2 100644
--- a/extension/filefuncs.c
+++ b/extension/filefuncs.c
@@ -144,7 +144,7 @@ get_inode(const char *fname)
#endif
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static awk_bool_t init_filefuncs(void);
static awk_bool_t (*init_func)(void) = init_filefuncs;
static const char *ext_version = "filefuncs extension: version 1.0";
diff --git a/extension/fnmatch.c b/extension/fnmatch.c
index 5119bfda..9e39e433 100644
--- a/extension/fnmatch.c
+++ b/extension/fnmatch.c
@@ -90,7 +90,7 @@
#endif
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static const char *ext_version = "fnmatch extension: version 1.0";
static awk_bool_t init_fnmatch(void);
diff --git a/extension/fork.c b/extension/fork.c
index 823506dd..9ff758d5 100644
--- a/extension/fork.c
+++ b/extension/fork.c
@@ -48,7 +48,7 @@
#define N_(msgid) msgid
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static const char *ext_version = "fork extension: version 1.0";
static awk_bool_t (*init_func)(void) = NULL;
diff --git a/extension/inplace.c b/extension/inplace.c
index f89017b7..daed0654 100644
--- a/extension/inplace.c
+++ b/extension/inplace.c
@@ -70,7 +70,7 @@ mkstemp (char *template)
#endif
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static const char *ext_version = "inplace extension: version 1.0";
int plugin_is_GPL_compatible;
diff --git a/extension/intdiv.c b/extension/intdiv.c
index fb98f153..529ea361 100644
--- a/extension/intdiv.c
+++ b/extension/intdiv.c
@@ -28,7 +28,7 @@
#define N_(msgid) msgid
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static const char *ext_version = "intdiv extension: version 1.0";
static awk_bool_t (*init_func)(void) = NULL;
diff --git a/extension/ordchr.c b/extension/ordchr.c
index c7451f6d..f0e90562 100644
--- a/extension/ordchr.c
+++ b/extension/ordchr.c
@@ -49,7 +49,7 @@
#define N_(msgid) msgid
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static const char *ext_version = "ordchr extension: version 1.0";
static awk_bool_t (*init_func)(void) = NULL;
diff --git a/extension/readdir.c b/extension/readdir.c
index 2e34456e..c4aa7b06 100644
--- a/extension/readdir.c
+++ b/extension/readdir.c
@@ -72,7 +72,7 @@
#endif
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static const char *ext_version = "readdir extension: version 1.0";
static awk_bool_t init_readdir(void);
diff --git a/extension/readdir_test.c b/extension/readdir_test.c
index 6d6ee134..a9faa548 100644
--- a/extension/readdir_test.c
+++ b/extension/readdir_test.c
@@ -72,7 +72,7 @@
#endif
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static const char *ext_version = "readdir extension: version 2.0";
static awk_bool_t init_readdir(void);
diff --git a/extension/readfile.c b/extension/readfile.c
index b600f27a..99a12b45 100644
--- a/extension/readfile.c
+++ b/extension/readfile.c
@@ -61,7 +61,7 @@
#endif
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static const char *ext_version = "readfile extension: version 2.0";
static awk_bool_t init_readfile();
static awk_bool_t (*init_func)(void) = init_readfile;
diff --git a/extension/revoutput.c b/extension/revoutput.c
index 5862ed6e..20f886e4 100644
--- a/extension/revoutput.c
+++ b/extension/revoutput.c
@@ -46,7 +46,7 @@
#define N_(msgid) msgid
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static const char *ext_version = "revoutput extension: version 1.1";
static awk_bool_t init_revoutput(void);
diff --git a/extension/revtwoway.c b/extension/revtwoway.c
index 84989bfc..5d4fb0fc 100644
--- a/extension/revtwoway.c
+++ b/extension/revtwoway.c
@@ -48,7 +48,7 @@
#define N_(msgid) msgid
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static const char *ext_version = "revtwoway extension: version 1.0";
static awk_bool_t init_revtwoway(void);
diff --git a/extension/rwarray.c b/extension/rwarray.c
index 997b6b2f..7ae1870e 100644
--- a/extension/rwarray.c
+++ b/extension/rwarray.c
@@ -60,7 +60,7 @@
#define MINOR 1
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static const char *ext_version = "rwarray extension: version 1.2";
static awk_bool_t (*init_func)(void) = NULL;
diff --git a/extension/rwarray0.c b/extension/rwarray0.c
index 79dee79e..f535a6a7 100644
--- a/extension/rwarray0.c
+++ b/extension/rwarray0.c
@@ -54,7 +54,7 @@
#define MINOR 0
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static const char *ext_version = "rwarray0 extension: version 1.0";
static awk_bool_t (*init_func)(void) = NULL;
diff --git a/extension/testext.c b/extension/testext.c
index c1a03f5b..3815dbf5 100644
--- a/extension/testext.c
+++ b/extension/testext.c
@@ -42,7 +42,7 @@
#include "gawkapi.h"
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static const char *ext_version = "testext extension: version 1.0";
int plugin_is_GPL_compatible;
diff --git a/extension/time.c b/extension/time.c
index 01be7784..7451b258 100644
--- a/extension/time.c
+++ b/extension/time.c
@@ -79,7 +79,7 @@ vms_fake_nanosleep(struct timespec *rqdly, struct timespec *rmdly)
#define N_(msgid) msgid
static const gawk_api_t *api; /* for convenience macros to work */
-static awk_ext_id_t *ext_id;
+static awk_ext_id_t ext_id;
static const char *ext_version = "time extension: version 1.0";
static awk_bool_t (*init_func)(void) = NULL;
diff --git a/pc/ChangeLog b/pc/ChangeLog
index e4b6c028..15a3e382 100644
--- a/pc/ChangeLog
+++ b/pc/ChangeLog
@@ -255,7 +255,7 @@
* gawkmisc.pc (usleep): Condition on MinGW runtime version older
than 3.21, which defines 'usleep' as an inline function in
unistd.h, and thus causes compilation errors due to conflicting
- definitions. Reported by Ivan Suchý <suchy.ivan@gmail.com>.
+ definitions. Reported by Ivan Suchý <suchy.ivan@gmail.com>.
* Makefile (mingw32, mingw32-readline, mingw32-mpfr)
(mingw32-readline-mpfr): Use -Wno-deprecated-declarations, to