summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2019-01-11 15:09:49 +0200
committerArnold D. Robbins <arnold@skeeve.com>2019-01-11 15:09:49 +0200
commitfeebb01f31e29740b050da1531416c90a12352ca (patch)
treeb693ec44973e3a6566213b9e01ddb83db619c732
parent56f4a4139ad7e81064e25887f959a4a6e5e54a58 (diff)
parent3d0561d7546022605687802d19c5effcf89d7172 (diff)
downloadgawk-feebb01f31e29740b050da1531416c90a12352ca.tar.gz
Merge branch 'gawk-4.2-stable'
-rwxr-xr-xChangeLog5
-rw-r--r--awk.h4
-rw-r--r--doc/ChangeLog5
-rw-r--r--doc/gawk.info404
-rw-r--r--doc/gawk.texi8
-rw-r--r--doc/gawktexi.in8
-rw-r--r--missing_d/ChangeLog4
-rw-r--r--missing_d/timegm.c2
-rw-r--r--support/ChangeLog5
-rw-r--r--support/cdefs.h4
-rw-r--r--support/xalloc.h6
-rw-r--r--vms/ChangeLog5
-rw-r--r--vms/generate_config_vms_h_gawk.com4
13 files changed, 243 insertions, 221 deletions
diff --git a/ChangeLog b/ChangeLog
index 23f1bf7b..11b57fea 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,11 @@
* builtin.c (do_typeof): Add support for optional 2nd array arg,
returning flag info for scalars and backend array type for arrays.
+2019-01-09 John E. Malmberg <wb8tyw@qsl.net>
+
+ * awk.h: For non GCC, have __attribute__ definition match
+ support/regex_internal.h exactly.
+
2019-01-08 Arnold D. Robbins <arnold@skeeve.com>
* interpret.h (r_interpret): For a translatable string, only copy
diff --git a/awk.h b/awk.h
index aa1fa91b..d6aaf6eb 100644
--- a/awk.h
+++ b/awk.h
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 1986, 1988, 1989, 1991-2018 the Free Software Foundation, Inc.
+ * Copyright (C) 1986, 1988, 1989, 1991-2019 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
@@ -221,7 +221,7 @@ extern double gawk_strtod();
#endif
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
-# define __attribute__(x)
+# define __attribute__(arg)
#endif
#ifndef ATTRIBUTE_UNUSED
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 287f2cd1..270bdf2c 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+2019-01-11 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawktexi.in (I18N Example): $LC_MESSAGES is involved here
+ also. Document this.
+
2019-01-09 Andrew J. Schorr <aschorr@telemetry-investments.com>
* gawktexi.in (Undocumented): Discuss typeof's optional 2nd argument.
diff --git a/doc/gawk.info b/doc/gawk.info
index 2171d6f2..35d1f56f 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -21520,10 +21520,10 @@ object file and then to create the 'guide.mo' file. The directory has
the form 'LOCALE/LC_MESSAGES', where LOCALE is a locale name known to
the C 'gettext' routines.
- How do we know which locale to use? It turns out that there are
-three different environment variables used by the C 'gettext' routines.
-In order, they are '$LANGUAGE', '$LC_ALL', and '$LANG'.(2) Thus, we
-check the value of '$LANGUAGE':
+ How do we know which locale to use? It turns out that there are four
+different environment variables used by the C 'gettext' routines. In
+order, they are '$LANGUAGE', '$LC_ALL', '$LANG', and '$LC_MESSAGES'.(2)
+Thus, we check the value of '$LANGUAGE':
$ echo $LANGUAGE
-| en_US.UTF-8
@@ -36610,203 +36610,203 @@ Ref: Printf Ordering-Footnote-1868756
Node: I18N Portability868820
Ref: I18N Portability-Footnote-1871276
Node: I18N Example871339
-Ref: I18N Example-Footnote-1874599
-Ref: I18N Example-Footnote-2874672
-Node: Gawk I18N874781
-Node: I18N Summary875426
-Node: Debugger876767
-Node: Debugging877787
-Node: Debugging Concepts878228
-Node: Debugging Terms880037
-Node: Awk Debugging882612
-Ref: Awk Debugging-Footnote-1883557
-Node: Sample Debugging Session883689
-Node: Debugger Invocation884223
-Node: Finding The Bug885609
-Node: List of Debugger Commands892083
-Node: Breakpoint Control893416
-Node: Debugger Execution Control897110
-Node: Viewing And Changing Data900472
-Node: Execution Stack903846
-Node: Debugger Info905483
-Node: Miscellaneous Debugger Commands909554
-Node: Readline Support914616
-Node: Limitations915512
-Node: Debugging Summary917621
-Node: Arbitrary Precision Arithmetic918900
-Node: Computer Arithmetic920385
-Ref: table-numeric-ranges924151
-Ref: table-floating-point-ranges924644
-Ref: Computer Arithmetic-Footnote-1925302
-Node: Math Definitions925359
-Ref: table-ieee-formats928675
-Ref: Math Definitions-Footnote-1929278
-Node: MPFR features929383
-Node: FP Math Caution931101
-Ref: FP Math Caution-Footnote-1932173
-Node: Inexactness of computations932542
-Node: Inexact representation933502
-Node: Comparing FP Values934862
-Node: Errors accumulate936103
-Node: Getting Accuracy937536
-Node: Try To Round940246
-Node: Setting precision941145
-Ref: table-predefined-precision-strings941842
-Node: Setting the rounding mode943672
-Ref: table-gawk-rounding-modes944046
-Ref: Setting the rounding mode-Footnote-1947977
-Node: Arbitrary Precision Integers948156
-Ref: Arbitrary Precision Integers-Footnote-1951331
-Node: Checking for MPFR951480
-Node: POSIX Floating Point Problems952954
-Ref: POSIX Floating Point Problems-Footnote-1957239
-Node: Floating point summary957277
-Node: Dynamic Extensions959467
-Node: Extension Intro961020
-Node: Plugin License962286
-Node: Extension Mechanism Outline963083
-Ref: figure-load-extension963522
-Ref: figure-register-new-function965087
-Ref: figure-call-new-function966179
-Node: Extension API Description968241
-Node: Extension API Functions Introduction969883
-Node: General Data Types975423
-Ref: General Data Types-Footnote-1983784
-Node: Memory Allocation Functions984083
-Ref: Memory Allocation Functions-Footnote-1988293
-Node: Constructor Functions988392
-Node: Registration Functions991978
-Node: Extension Functions992663
-Node: Exit Callback Functions997878
-Node: Extension Version String999128
-Node: Input Parsers999791
-Node: Output Wrappers1012512
-Node: Two-way processors1017024
-Node: Printing Messages1019289
-Ref: Printing Messages-Footnote-11020460
-Node: Updating ERRNO1020613
-Node: Requesting Values1021352
-Ref: table-value-types-returned1022089
-Node: Accessing Parameters1023025
-Node: Symbol Table Access1024260
-Node: Symbol table by name1024772
-Node: Symbol table by cookie1026561
-Ref: Symbol table by cookie-Footnote-11030746
-Node: Cached values1030810
-Ref: Cached values-Footnote-11034346
-Node: Array Manipulation1034499
-Ref: Array Manipulation-Footnote-11035590
-Node: Array Data Types1035627
-Ref: Array Data Types-Footnote-11038285
-Node: Array Functions1038377
-Node: Flattening Arrays1042875
-Node: Creating Arrays1049851
-Node: Redirection API1054618
-Node: Extension API Variables1057451
-Node: Extension Versioning1058162
-Ref: gawk-api-version1058591
-Node: Extension GMP/MPFR Versioning1060322
-Node: Extension API Informational Variables1061950
-Node: Extension API Boilerplate1063023
-Node: Changes from API V11066997
-Node: Finding Extensions1068569
-Node: Extension Example1069128
-Node: Internal File Description1069926
-Node: Internal File Ops1074006
-Ref: Internal File Ops-Footnote-11085356
-Node: Using Internal File Ops1085496
-Ref: Using Internal File Ops-Footnote-11087879
-Node: Extension Samples1088153
-Node: Extension Sample File Functions1089682
-Node: Extension Sample Fnmatch1097331
-Node: Extension Sample Fork1098818
-Node: Extension Sample Inplace1100036
-Node: Extension Sample Ord1103253
-Node: Extension Sample Readdir1104089
-Ref: table-readdir-file-types1104978
-Node: Extension Sample Revout1105783
-Node: Extension Sample Rev2way1106372
-Node: Extension Sample Read write array1107112
-Node: Extension Sample Readfile1109054
-Node: Extension Sample Time1110149
-Node: Extension Sample API Tests1111497
-Node: gawkextlib1111989
-Node: Extension summary1114907
-Node: Extension Exercises1118609
-Node: Language History1120107
-Node: V7/SVR3.11121763
-Node: SVR41123915
-Node: POSIX1125349
-Node: BTL1126729
-Node: POSIX/GNU1127458
-Node: Feature History1133236
-Node: Common Extensions1149282
-Node: Ranges and Locales1150565
-Ref: Ranges and Locales-Footnote-11155181
-Ref: Ranges and Locales-Footnote-21155208
-Ref: Ranges and Locales-Footnote-31155443
-Node: Contributors1155664
-Node: History summary1161609
-Node: Installation1162989
-Node: Gawk Distribution1163933
-Node: Getting1164417
-Node: Extracting1165380
-Node: Distribution contents1167018
-Node: Unix Installation1173498
-Node: Quick Installation1174180
-Node: Shell Startup Files1176594
-Node: Additional Configuration Options1177683
-Node: Configuration Philosophy1179848
-Node: Non-Unix Installation1182217
-Node: PC Installation1182677
-Node: PC Binary Installation1183515
-Node: PC Compiling1183950
-Node: PC Using1185067
-Node: Cygwin1188620
-Node: MSYS1189719
-Node: VMS Installation1190220
-Node: VMS Compilation1191011
-Ref: VMS Compilation-Footnote-11192240
-Node: VMS Dynamic Extensions1192298
-Node: VMS Installation Details1193983
-Node: VMS Running1196236
-Node: VMS GNV1200515
-Node: VMS Old Gawk1201250
-Node: Bugs1201721
-Node: Bug address1202384
-Node: Usenet1205366
-Node: Maintainers1206370
-Node: Other Versions1207631
-Node: Installation summary1214545
-Node: Notes1215747
-Node: Compatibility Mode1216541
-Node: Additions1217323
-Node: Accessing The Source1218248
-Node: Adding Code1219685
-Node: New Ports1225904
-Node: Derived Files1230392
-Ref: Derived Files-Footnote-11236038
-Ref: Derived Files-Footnote-21236073
-Ref: Derived Files-Footnote-31236671
-Node: Future Extensions1236785
-Node: Implementation Limitations1237443
-Node: Extension Design1238626
-Node: Old Extension Problems1239770
-Ref: Old Extension Problems-Footnote-11241288
-Node: Extension New Mechanism Goals1241345
-Ref: Extension New Mechanism Goals-Footnote-11244709
-Node: Extension Other Design Decisions1244898
-Node: Extension Future Growth1247011
-Node: Notes summary1247847
-Node: Basic Concepts1249022
-Node: Basic High Level1249703
-Ref: figure-general-flow1249985
-Ref: figure-process-flow1250670
-Ref: Basic High Level-Footnote-11253971
-Node: Basic Data Typing1254156
-Node: Glossary1257484
-Node: Copying1289322
-Node: GNU Free Documentation License1326865
-Node: Index1351985
+Ref: I18N Example-Footnote-1874614
+Ref: I18N Example-Footnote-2874687
+Node: Gawk I18N874796
+Node: I18N Summary875441
+Node: Debugger876782
+Node: Debugging877802
+Node: Debugging Concepts878243
+Node: Debugging Terms880052
+Node: Awk Debugging882627
+Ref: Awk Debugging-Footnote-1883572
+Node: Sample Debugging Session883704
+Node: Debugger Invocation884238
+Node: Finding The Bug885624
+Node: List of Debugger Commands892098
+Node: Breakpoint Control893431
+Node: Debugger Execution Control897125
+Node: Viewing And Changing Data900487
+Node: Execution Stack903861
+Node: Debugger Info905498
+Node: Miscellaneous Debugger Commands909569
+Node: Readline Support914631
+Node: Limitations915527
+Node: Debugging Summary917636
+Node: Arbitrary Precision Arithmetic918915
+Node: Computer Arithmetic920400
+Ref: table-numeric-ranges924166
+Ref: table-floating-point-ranges924659
+Ref: Computer Arithmetic-Footnote-1925317
+Node: Math Definitions925374
+Ref: table-ieee-formats928690
+Ref: Math Definitions-Footnote-1929293
+Node: MPFR features929398
+Node: FP Math Caution931116
+Ref: FP Math Caution-Footnote-1932188
+Node: Inexactness of computations932557
+Node: Inexact representation933517
+Node: Comparing FP Values934877
+Node: Errors accumulate936118
+Node: Getting Accuracy937551
+Node: Try To Round940261
+Node: Setting precision941160
+Ref: table-predefined-precision-strings941857
+Node: Setting the rounding mode943687
+Ref: table-gawk-rounding-modes944061
+Ref: Setting the rounding mode-Footnote-1947992
+Node: Arbitrary Precision Integers948171
+Ref: Arbitrary Precision Integers-Footnote-1951346
+Node: Checking for MPFR951495
+Node: POSIX Floating Point Problems952969
+Ref: POSIX Floating Point Problems-Footnote-1957254
+Node: Floating point summary957292
+Node: Dynamic Extensions959482
+Node: Extension Intro961035
+Node: Plugin License962301
+Node: Extension Mechanism Outline963098
+Ref: figure-load-extension963537
+Ref: figure-register-new-function965102
+Ref: figure-call-new-function966194
+Node: Extension API Description968256
+Node: Extension API Functions Introduction969898
+Node: General Data Types975438
+Ref: General Data Types-Footnote-1983799
+Node: Memory Allocation Functions984098
+Ref: Memory Allocation Functions-Footnote-1988308
+Node: Constructor Functions988407
+Node: Registration Functions991993
+Node: Extension Functions992678
+Node: Exit Callback Functions997893
+Node: Extension Version String999143
+Node: Input Parsers999806
+Node: Output Wrappers1012527
+Node: Two-way processors1017039
+Node: Printing Messages1019304
+Ref: Printing Messages-Footnote-11020475
+Node: Updating ERRNO1020628
+Node: Requesting Values1021367
+Ref: table-value-types-returned1022104
+Node: Accessing Parameters1023040
+Node: Symbol Table Access1024275
+Node: Symbol table by name1024787
+Node: Symbol table by cookie1026576
+Ref: Symbol table by cookie-Footnote-11030761
+Node: Cached values1030825
+Ref: Cached values-Footnote-11034361
+Node: Array Manipulation1034514
+Ref: Array Manipulation-Footnote-11035605
+Node: Array Data Types1035642
+Ref: Array Data Types-Footnote-11038300
+Node: Array Functions1038392
+Node: Flattening Arrays1042890
+Node: Creating Arrays1049866
+Node: Redirection API1054633
+Node: Extension API Variables1057466
+Node: Extension Versioning1058177
+Ref: gawk-api-version1058606
+Node: Extension GMP/MPFR Versioning1060337
+Node: Extension API Informational Variables1061965
+Node: Extension API Boilerplate1063038
+Node: Changes from API V11067012
+Node: Finding Extensions1068584
+Node: Extension Example1069143
+Node: Internal File Description1069941
+Node: Internal File Ops1074021
+Ref: Internal File Ops-Footnote-11085371
+Node: Using Internal File Ops1085511
+Ref: Using Internal File Ops-Footnote-11087894
+Node: Extension Samples1088168
+Node: Extension Sample File Functions1089697
+Node: Extension Sample Fnmatch1097346
+Node: Extension Sample Fork1098833
+Node: Extension Sample Inplace1100051
+Node: Extension Sample Ord1103268
+Node: Extension Sample Readdir1104104
+Ref: table-readdir-file-types1104993
+Node: Extension Sample Revout1105798
+Node: Extension Sample Rev2way1106387
+Node: Extension Sample Read write array1107127
+Node: Extension Sample Readfile1109069
+Node: Extension Sample Time1110164
+Node: Extension Sample API Tests1111512
+Node: gawkextlib1112004
+Node: Extension summary1114922
+Node: Extension Exercises1118624
+Node: Language History1120122
+Node: V7/SVR3.11121778
+Node: SVR41123930
+Node: POSIX1125364
+Node: BTL1126744
+Node: POSIX/GNU1127473
+Node: Feature History1133251
+Node: Common Extensions1149297
+Node: Ranges and Locales1150580
+Ref: Ranges and Locales-Footnote-11155196
+Ref: Ranges and Locales-Footnote-21155223
+Ref: Ranges and Locales-Footnote-31155458
+Node: Contributors1155679
+Node: History summary1161624
+Node: Installation1163004
+Node: Gawk Distribution1163948
+Node: Getting1164432
+Node: Extracting1165395
+Node: Distribution contents1167033
+Node: Unix Installation1173513
+Node: Quick Installation1174195
+Node: Shell Startup Files1176609
+Node: Additional Configuration Options1177698
+Node: Configuration Philosophy1179863
+Node: Non-Unix Installation1182232
+Node: PC Installation1182692
+Node: PC Binary Installation1183530
+Node: PC Compiling1183965
+Node: PC Using1185082
+Node: Cygwin1188635
+Node: MSYS1189734
+Node: VMS Installation1190235
+Node: VMS Compilation1191026
+Ref: VMS Compilation-Footnote-11192255
+Node: VMS Dynamic Extensions1192313
+Node: VMS Installation Details1193998
+Node: VMS Running1196251
+Node: VMS GNV1200530
+Node: VMS Old Gawk1201265
+Node: Bugs1201736
+Node: Bug address1202399
+Node: Usenet1205381
+Node: Maintainers1206385
+Node: Other Versions1207646
+Node: Installation summary1214560
+Node: Notes1215762
+Node: Compatibility Mode1216556
+Node: Additions1217338
+Node: Accessing The Source1218263
+Node: Adding Code1219700
+Node: New Ports1225919
+Node: Derived Files1230407
+Ref: Derived Files-Footnote-11236053
+Ref: Derived Files-Footnote-21236088
+Ref: Derived Files-Footnote-31236686
+Node: Future Extensions1236800
+Node: Implementation Limitations1237458
+Node: Extension Design1238641
+Node: Old Extension Problems1239785
+Ref: Old Extension Problems-Footnote-11241303
+Node: Extension New Mechanism Goals1241360
+Ref: Extension New Mechanism Goals-Footnote-11244724
+Node: Extension Other Design Decisions1244913
+Node: Extension Future Growth1247026
+Node: Notes summary1247862
+Node: Basic Concepts1249037
+Node: Basic High Level1249718
+Ref: figure-general-flow1250000
+Ref: figure-process-flow1250685
+Ref: Basic High Level-Footnote-11253986
+Node: Basic Data Typing1254171
+Node: Glossary1257499
+Node: Copying1289337
+Node: GNU Free Documentation License1326880
+Node: Index1352000

End Tag Table
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 44c00d00..5f304a1b 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -30108,10 +30108,10 @@ The directory has the form @file{@var{locale}/LC_MESSAGES}, where
@var{locale} is a locale name known to the C @command{gettext} routines.
How do we know which locale to use? It turns out that there are
-three different environment variables used by the C @command{gettext} routines.
-In order, they are @env{$LANGUAGE}, @env{$LC_ALL}, and @env{$LANG}.@footnote{Well,
-sort of. It seems that if @env{$LC_ALL} is set to @samp{C}, then no translations
-are done. Go figure.}
+four different environment variables used by the C @command{gettext} routines.
+In order, they are @env{$LANGUAGE}, @env{$LC_ALL}, @env{$LANG}, and
+@env{$LC_MESSAGES}.@footnote{Well, sort of. It seems that if @env{$LC_ALL}
+is set to @samp{C}, then no translations are done. Go figure.}
Thus, we check the value of @env{$LANGUAGE}:
@example
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index ac099ccc..84618fd6 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -29121,10 +29121,10 @@ The directory has the form @file{@var{locale}/LC_MESSAGES}, where
@var{locale} is a locale name known to the C @command{gettext} routines.
How do we know which locale to use? It turns out that there are
-three different environment variables used by the C @command{gettext} routines.
-In order, they are @env{$LANGUAGE}, @env{$LC_ALL}, and @env{$LANG}.@footnote{Well,
-sort of. It seems that if @env{$LC_ALL} is set to @samp{C}, then no translations
-are done. Go figure.}
+four different environment variables used by the C @command{gettext} routines.
+In order, they are @env{$LANGUAGE}, @env{$LC_ALL}, @env{$LANG}, and
+@env{$LC_MESSAGES}.@footnote{Well, sort of. It seems that if @env{$LC_ALL}
+is set to @samp{C}, then no translations are done. Go figure.}
Thus, we check the value of @env{$LANGUAGE}:
@example
diff --git a/missing_d/ChangeLog b/missing_d/ChangeLog
index a1095cd4..83cae855 100644
--- a/missing_d/ChangeLog
+++ b/missing_d/ChangeLog
@@ -1,3 +1,7 @@
+2019-01-09 John E. Malmberg <wb8tyw@qsl.net>
+
+ * timegm.c (timegm): Remove static attribute from function.
+
2018-12-12 Andrew J. Schorr <aschorr@telemetry-investments.com>
* timegm.c (timegm): Add comment indicating that this came from
diff --git a/missing_d/timegm.c b/missing_d/timegm.c
index fdb65fb5..faf377ed 100644
--- a/missing_d/timegm.c
+++ b/missing_d/timegm.c
@@ -3,7 +3,7 @@
/* timegm -- based on Linux timegm man page */
-static time_t
+time_t
timegm(struct tm *tm)
{
time_t ret;
diff --git a/support/ChangeLog b/support/ChangeLog
index 1cc4410f..9e0ffe71 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,8 @@
+2019-01-09 John E. Malmberg <wb8tyw@qsl.net>
+
+ * cdefs.h, xalloc.h: For non GCC, have
+ __attribute__ definition match regex_internal.h exactly.
+
2018-12-26 Arnold D. Robbins <arnold@skeeve.com>
In a spirit of depressed resignation, synced regex
diff --git a/support/cdefs.h b/support/cdefs.h
index 26e2f3fe..b616e195 100644
--- a/support/cdefs.h
+++ b/support/cdefs.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992-2018 Free Software Foundation, Inc.
+/* Copyright (C) 1992-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -198,7 +198,7 @@
`__attribute__' syntax. All of the ways we use this do fine if
they are omitted for compilers that don't understand it. */
#if !defined __GNUC__ || __GNUC__ < 2
-# define __attribute__(xyz) /* Ignore */
+# define __attribute__(arg) /* Ignore */
#endif
/* At some point during the gcc 2.96 development the `malloc' attribute
diff --git a/support/xalloc.h b/support/xalloc.h
index 89dbe2c1..f238bb79 100644
--- a/support/xalloc.h
+++ b/support/xalloc.h
@@ -1,8 +1,8 @@
/* xalloc.h -- malloc with out-of-memory checking
Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2003, 2004, 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
- Inc.
+ 2000, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2019
+ Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -30,7 +30,7 @@ extern "C" {
# ifndef __attribute__
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8)
-# define __attribute__(x)
+# define __attribute__(arg)
# endif
# endif
diff --git a/vms/ChangeLog b/vms/ChangeLog
index 52b1433b..44f13a52 100644
--- a/vms/ChangeLog
+++ b/vms/ChangeLog
@@ -1,3 +1,8 @@
+2019-01-09 John E. Malmberg <wb8tyw@qsl.net>
+
+ * generate_config_h_vms_gawk.com: remove unused
+ definition for __attribute(a)
+
2018-08-07 John E. Malmberg <wb8tyw@qsl.net>
* vmstest.com: Fixes for back89, gsubtst5, and fsbs
diff --git a/vms/generate_config_vms_h_gawk.com b/vms/generate_config_vms_h_gawk.com
index 8edf55d7..b0d1ed1b 100644
--- a/vms/generate_config_vms_h_gawk.com
+++ b/vms/generate_config_vms_h_gawk.com
@@ -13,7 +13,7 @@ $! This generates a []config.h file and also a config_vms.h file,
$! which is used to supplement that file.
$!
$!
-$! Copyright (C) 2014, 2016 the Free Software Foundation, Inc.
+$! Copyright (C) 2014, 2016, 2019 the Free Software Foundation, Inc.
$!
$! This file is part of GAWK, the GNU implementation of the
$! AWK Progamming Language.
@@ -301,8 +301,6 @@ $ write cvh ""
$ write cvh "#define TIME_T_UNSIGNED 1"
$ write cvh "#include ""custom.h"""
$ write cvh ""
-$ write cvh "#define __attribute(a)"
-$ write cvh ""
$
$!
$! Close out the file