diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | NEWS | 68 | ||||
-rw-r--r-- | command.c | 182 | ||||
-rw-r--r-- | command.y | 3 | ||||
-rwxr-xr-x | configure | 20 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rwxr-xr-x | doc/it/gawktexi.in | 7 | ||||
-rw-r--r-- | missing_d/ChangeLog | 4 | ||||
-rw-r--r-- | missing_d/strncasecmp.c | 5 |
9 files changed, 154 insertions, 142 deletions
@@ -1,6 +1,11 @@ 2017-10-08 Arnold D. Robbins <arnold@skeeve.com> + * command.y: Fix the FSF's address. + +2017-10-08 Arnold D. Robbins <arnold@skeeve.com> + * NEWS: Rationalized with respect to stuff on the API. + Also rationalized with respect to the pretty printer changes. 2017-10-04 Andrew J. Schorr <aschorr@telemetry-investments.com> @@ -24,7 +24,19 @@ Changes from 4.1.4 to 4.2.0 get the same series of numbers each time you call rand() repeatedly, but this will be a different series than previously. -3. The --pretty-print option no longer runs the program too. +3. Multiple changes related to the pretty printer: + + * The --pretty-print option no longer runs the program too. + + * Pretty printing now preserves comments and places them into the + pretty-printed file. + + * Pretty-printing now uses the original text of constant numeric values + for pretty-printing and profiling. + + * Pretty-printing now preserves parenthesized expressions as they + were in the source file. This solves several niggling corner cases + with such things. 4. The igawk script and igawk.1 man page are no longer installed by `make install'. They have been obsolete since gawk 4.0.0. @@ -38,23 +50,20 @@ Changes from 4.1.4 to 4.2.0 7. Setting PROCINFO["redirection", "NONFATAL"] to true makes I/O errors for "redirection" not fatal, setting ERRNO. Setting - PROCINFO["NONFATAL"] makes all I/O nonfatal. + PROCINFO["NONFATAL"] makes all I/O nonfatal. See the manual. 8. MirBSD is no longer supported. -9. Pretty printing now preserves comments and places them into the - pretty-printed file. +9. `make install' now installs shell startup files + $sysconfdir/profile.d/gawk.{csh,sh} containing shell functions to + manipulate the AWKPATH and AWKLIBPATH environment variables. On a Fedora + system, these files belong in /etc/profile.d, but the appropriate location + may be different on other platforms. -10. `make install' now installs shell startup files - $sysconfdir/profile.d/gawk.{csh,sh} containing shell functions to - manipulate the AWKPATH and AWKLIBPATH environment variables. On a Fedora - system, these files belong in /etc/profile.d, but the appropriate location - may be different on other platforms. - -11. Gawk now supports retryable I/O via PROCINFO[input-file, "RETRY"]; see +10. Gawk now supports retryable I/O via PROCINFO[input-file, "RETRY"]; see the manual. -12. The C API has undergone changes that break binary compatibility with +11. The C API has undergone changes that break binary compatibility with the previous version. Thus the API version is now at 2.0. YOU WILL NEED TO RECOMPILE YOUR EXTENSIONS to work with this version of gawk. Source code compatibility remains intact, although you will get @@ -64,61 +73,54 @@ Changes from 4.1.4 to 4.2.0 See the manual for the new features. -13. Revisions in the POSIX standard remove the special case for POSIX +12. Revisions in the POSIX standard remove the special case for POSIX mode when FS = " " where newline was not a field separator. The code and doc have been updated. -14. Gawk now supports strongly typed regexp constants. Such constants +13. Gawk now supports strongly typed regexp constants. Such constants look like @/.../. You can assign them to variables, pass them to functions, use them in ~, !~ and the case part of a switch statement. More details are provided in the manual. -15. The new typeof() function can be used to indicate if a variable or +14. The new typeof() function can be used to indicate if a variable or array element is an array, regexp, string or number. The isarray() function is deprecated in favor of typeof(). -16. As promised when 4.1 was released, the old extension mechanism, +15. As promised when 4.1 was released, the old extension mechanism, using the `extension' function, is now gone. -17. Support for GNU/Linux on Alpha systems has been removed. +16. Support for GNU/Linux on Alpha systems has been removed. -18. Optimizations are now enabled by default. Use the new -s/--no-optimize +17. Optimizations are now enabled by default. Use the new -s/--no-optimize option(s) to disable them. Pretty-printing and profiling automatically disable optimizations so that the output program is the same as the original input program. -19. Gawk now uses fwrite_unlocked if it's available. The yields a 7% - 18% +18. Gawk now uses fwrite_unlocked if it's available. The yields a 7% - 18% improvement in raw output speed (gawk '{ print }' on a large file). -20. Pretty-printing now uses the original text of constant numeric values for - pretty-printing and profiling. - -21. Passing negative operands to any of the bitwise functions now +19. Passing negative operands to any of the bitwise functions now produces a fatal error. -22. Programs that toggle IGNORECASE a lot should now be noticeably faster. +20. Programs that toggle IGNORECASE a lot should now be noticeably faster. -23. The mktime function now accepts an optional second argument. If this +21. The mktime function now accepts an optional second argument. If this argument is present and is non-zero or non-null, the time will be converted from UTC instead of from the local timezone. -24. The FIELDWIDTHS parsing syntax has been enhanced to allow specifying +22. The FIELDWIDTHS parsing syntax has been enhanced to allow specifying how many characters to skip before a field starts. It also allows specifying '*' as the last character to mean "the rest of the record". Field splitting with FIELDWIDTHS now sets NF correctly. The documentation for FIELDWIDTHS in the manual has been considerably reorganized and improved as well. -25. The PROCINFO["argv"] array records all of gawk's command line arguments +23. The PROCINFO["argv"] array records all of gawk's command line arguments as gawk received them (the values of the C level argv array). -26. Pretty-printing now preserves parenthesized expressions as they - were in the source file. This solves several niggling corner cases - with such things. - -27. The DJGPP port has been revived and now has an official maintainer. +24. The DJGPP port has been revived and now has an official maintainer. -28. The manual has been translated into Italian! The translation is +25. The manual has been translated into Italian! The translation is included in the distribution. Changes from 4.1.3 to 4.1.4 @@ -70,7 +70,7 @@ #define yychar zzchar /* Copy the first part of user declarations. */ -#line 27 "command.y" /* yacc.c:339 */ +#line 28 "command.y" /* yacc.c:339 */ #include "awk.h" #include "cmd.h" @@ -583,22 +583,22 @@ static const yytype_uint8 yytranslate[] = /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ static const yytype_uint16 yyrline[] = { - 0, 107, 107, 109, 127, 128, 178, 185, 186, 187, - 188, 189, 193, 194, 195, 196, 200, 201, 202, 203, - 207, 208, 213, 217, 237, 244, 244, 251, 267, 281, - 282, 283, 284, 285, 286, 292, 304, 305, 306, 306, - 307, 307, 308, 309, 310, 311, 312, 312, 313, 314, - 314, 315, 315, 316, 316, 317, 318, 319, 324, 329, - 355, 365, 370, 382, 382, 390, 404, 417, 418, 424, - 425, 429, 430, 431, 432, 438, 439, 440, 445, 456, - 457, 462, 470, 487, 488, 489, 490, 491, 496, 497, - 497, 498, 499, 499, 500, 505, 506, 511, 512, 517, - 518, 521, 523, 527, 528, 543, 544, 549, 557, 558, - 559, 560, 564, 565, 569, 570, 571, 576, 577, 579, - 586, 587, 588, 589, 590, 591, 595, 608, 609, 610, - 614, 615, 616, 617, 621, 623, 625, 629, 644, 648, - 650, 655, 656, 665, 675, 677, 684, 697, 698, 704, - 705, 710, 716, 725, 727, 729, 737 + 0, 108, 108, 110, 128, 129, 179, 186, 187, 188, + 189, 190, 194, 195, 196, 197, 201, 202, 203, 204, + 208, 209, 214, 218, 238, 245, 245, 252, 268, 282, + 283, 284, 285, 286, 287, 293, 305, 306, 307, 307, + 308, 308, 309, 310, 311, 312, 313, 313, 314, 315, + 315, 316, 316, 317, 317, 318, 319, 320, 325, 330, + 356, 366, 371, 383, 383, 391, 405, 418, 419, 425, + 426, 430, 431, 432, 433, 439, 440, 441, 446, 457, + 458, 463, 471, 488, 489, 490, 491, 492, 497, 498, + 498, 499, 500, 500, 501, 506, 507, 512, 513, 518, + 519, 522, 524, 528, 529, 544, 545, 550, 558, 559, + 560, 561, 565, 566, 570, 571, 572, 577, 578, 580, + 587, 588, 589, 590, 591, 592, 596, 609, 610, 611, + 615, 616, 617, 618, 622, 624, 626, 630, 645, 649, + 651, 656, 657, 666, 676, 678, 685, 698, 699, 705, + 706, 711, 717, 726, 728, 730, 738 }; #endif @@ -1527,7 +1527,7 @@ yyreduce: switch (yyn) { case 3: -#line 110 "command.y" /* yacc.c:1646 */ +#line 111 "command.y" /* yacc.c:1646 */ { cmd_idx = -1; want_nodeval = false; @@ -1546,7 +1546,7 @@ yyreduce: break; case 5: -#line 129 "command.y" /* yacc.c:1646 */ +#line 130 "command.y" /* yacc.c:1646 */ { if (errcount == 0 && cmd_idx >= 0) { Func_cmd cmdfunc; @@ -1600,7 +1600,7 @@ yyreduce: break; case 6: -#line 179 "command.y" /* yacc.c:1646 */ +#line 180 "command.y" /* yacc.c:1646 */ { yyerrok; } @@ -1608,13 +1608,13 @@ yyreduce: break; case 22: -#line 213 "command.y" /* yacc.c:1646 */ +#line 214 "command.y" /* yacc.c:1646 */ { want_nodeval = true; } #line 1614 "command.c" /* yacc.c:1646 */ break; case 23: -#line 218 "command.y" /* yacc.c:1646 */ +#line 219 "command.y" /* yacc.c:1646 */ { if (errcount == 0) { /* don't free arg_list; passed on to statement_list @@ -1634,7 +1634,7 @@ yyreduce: break; case 24: -#line 237 "command.y" /* yacc.c:1646 */ +#line 238 "command.y" /* yacc.c:1646 */ { (yyval) = append_statement(arg_list, (char *) start_EVAL); if (read_a_line == read_commands_string) /* unserializing 'eval' in 'commands' */ @@ -1646,13 +1646,13 @@ yyreduce: break; case 25: -#line 244 "command.y" /* yacc.c:1646 */ +#line 245 "command.y" /* yacc.c:1646 */ { (yyval) = append_statement((yyvsp[-1]), lexptr_begin); } #line 1652 "command.c" /* yacc.c:1646 */ break; case 26: -#line 245 "command.y" /* yacc.c:1646 */ +#line 246 "command.y" /* yacc.c:1646 */ { (yyval) = (yyvsp[-1]); } @@ -1660,7 +1660,7 @@ yyreduce: break; case 27: -#line 252 "command.y" /* yacc.c:1646 */ +#line 253 "command.y" /* yacc.c:1646 */ { arg_list = append_statement((yyvsp[-1]), (char *) end_EVAL); if (read_a_line == read_commands_string) { /* unserializing 'eval' in 'commands' */ @@ -1680,7 +1680,7 @@ yyreduce: break; case 28: -#line 268 "command.y" /* yacc.c:1646 */ +#line 269 "command.y" /* yacc.c:1646 */ { NODE *n; CMDARG *arg; @@ -1695,7 +1695,7 @@ yyreduce: break; case 34: -#line 287 "command.y" /* yacc.c:1646 */ +#line 288 "command.y" /* yacc.c:1646 */ { if (cmdtab[cmd_idx].class == D_FRAME && (yyvsp[0]) != NULL && (yyvsp[0])->a_int < 0) @@ -1705,7 +1705,7 @@ yyreduce: break; case 35: -#line 293 "command.y" /* yacc.c:1646 */ +#line 294 "command.y" /* yacc.c:1646 */ { int idx = find_argument((yyvsp[0])); if (idx < 0) @@ -1721,43 +1721,43 @@ yyreduce: break; case 38: -#line 306 "command.y" /* yacc.c:1646 */ +#line 307 "command.y" /* yacc.c:1646 */ { want_nodeval = true; } #line 1727 "command.c" /* yacc.c:1646 */ break; case 40: -#line 307 "command.y" /* yacc.c:1646 */ +#line 308 "command.y" /* yacc.c:1646 */ { want_nodeval = true; } #line 1733 "command.c" /* yacc.c:1646 */ break; case 46: -#line 312 "command.y" /* yacc.c:1646 */ +#line 313 "command.y" /* yacc.c:1646 */ { want_nodeval = true; } #line 1739 "command.c" /* yacc.c:1646 */ break; case 49: -#line 314 "command.y" /* yacc.c:1646 */ +#line 315 "command.y" /* yacc.c:1646 */ { want_nodeval = true; } #line 1745 "command.c" /* yacc.c:1646 */ break; case 51: -#line 315 "command.y" /* yacc.c:1646 */ +#line 316 "command.y" /* yacc.c:1646 */ { want_nodeval = true; } #line 1751 "command.c" /* yacc.c:1646 */ break; case 53: -#line 316 "command.y" /* yacc.c:1646 */ +#line 317 "command.y" /* yacc.c:1646 */ { want_nodeval = true; } #line 1757 "command.c" /* yacc.c:1646 */ break; case 57: -#line 320 "command.y" /* yacc.c:1646 */ +#line 321 "command.y" /* yacc.c:1646 */ { if (in_cmd_src((yyvsp[0])->a_string)) yyerror(_("source \"%s\": already sourced."), (yyvsp[0])->a_string); @@ -1766,7 +1766,7 @@ yyreduce: break; case 58: -#line 325 "command.y" /* yacc.c:1646 */ +#line 326 "command.y" /* yacc.c:1646 */ { if (! input_from_tty) yyerror(_("save \"%s\": command not permitted."), (yyvsp[0])->a_string); @@ -1775,7 +1775,7 @@ yyreduce: break; case 59: -#line 330 "command.y" /* yacc.c:1646 */ +#line 331 "command.y" /* yacc.c:1646 */ { int type = 0; int num; @@ -1805,7 +1805,7 @@ yyreduce: break; case 60: -#line 356 "command.y" /* yacc.c:1646 */ +#line 357 "command.y" /* yacc.c:1646 */ { if (! in_commands) yyerror(_("`end' valid only in command `commands' or `eval'")); @@ -1819,7 +1819,7 @@ yyreduce: break; case 61: -#line 366 "command.y" /* yacc.c:1646 */ +#line 367 "command.y" /* yacc.c:1646 */ { if (! in_commands) yyerror(_("`silent' valid only in command `commands'")); @@ -1828,7 +1828,7 @@ yyreduce: break; case 62: -#line 371 "command.y" /* yacc.c:1646 */ +#line 372 "command.y" /* yacc.c:1646 */ { int idx = find_argument((yyvsp[0])); if (idx < 0) @@ -1844,13 +1844,13 @@ yyreduce: break; case 63: -#line 382 "command.y" /* yacc.c:1646 */ +#line 383 "command.y" /* yacc.c:1646 */ { want_nodeval = true; } #line 1850 "command.c" /* yacc.c:1646 */ break; case 64: -#line 383 "command.y" /* yacc.c:1646 */ +#line 384 "command.y" /* yacc.c:1646 */ { int type; int num = (yyvsp[-2])->a_int; @@ -1862,7 +1862,7 @@ yyreduce: break; case 65: -#line 391 "command.y" /* yacc.c:1646 */ +#line 392 "command.y" /* yacc.c:1646 */ { if (in_commands) { /* Prepend command 'eval' to argument list */ @@ -1877,7 +1877,7 @@ yyreduce: break; case 66: -#line 405 "command.y" /* yacc.c:1646 */ +#line 406 "command.y" /* yacc.c:1646 */ { if ((yyvsp[0]) != NULL) { NODE *n = (yyvsp[0])->a_node; @@ -1891,37 +1891,37 @@ yyreduce: break; case 68: -#line 419 "command.y" /* yacc.c:1646 */ +#line 420 "command.y" /* yacc.c:1646 */ { (yyval) = NULL; } #line 1897 "command.c" /* yacc.c:1646 */ break; case 69: -#line 424 "command.y" /* yacc.c:1646 */ +#line 425 "command.y" /* yacc.c:1646 */ { (yyval) = NULL; } #line 1903 "command.c" /* yacc.c:1646 */ break; case 74: -#line 433 "command.y" /* yacc.c:1646 */ +#line 434 "command.y" /* yacc.c:1646 */ { (yyval) = NULL; } #line 1909 "command.c" /* yacc.c:1646 */ break; case 75: -#line 438 "command.y" /* yacc.c:1646 */ +#line 439 "command.y" /* yacc.c:1646 */ { (yyval) = NULL; } #line 1915 "command.c" /* yacc.c:1646 */ break; case 77: -#line 441 "command.y" /* yacc.c:1646 */ +#line 442 "command.y" /* yacc.c:1646 */ { (yyval) = NULL; } #line 1921 "command.c" /* yacc.c:1646 */ break; case 78: -#line 446 "command.y" /* yacc.c:1646 */ +#line 447 "command.y" /* yacc.c:1646 */ { NODE *n; n = (yyvsp[0])->a_node; @@ -1932,13 +1932,13 @@ yyreduce: break; case 79: -#line 456 "command.y" /* yacc.c:1646 */ +#line 457 "command.y" /* yacc.c:1646 */ { (yyval) = NULL; } #line 1938 "command.c" /* yacc.c:1646 */ break; case 80: -#line 458 "command.y" /* yacc.c:1646 */ +#line 459 "command.y" /* yacc.c:1646 */ { if (find_option((yyvsp[0])->a_string) < 0) yyerror(_("option: invalid parameter - \"%s\""), (yyvsp[0])->a_string); @@ -1947,7 +1947,7 @@ yyreduce: break; case 81: -#line 463 "command.y" /* yacc.c:1646 */ +#line 464 "command.y" /* yacc.c:1646 */ { if (find_option((yyvsp[-2])->a_string) < 0) yyerror(_("option: invalid parameter - \"%s\""), (yyvsp[-2])->a_string); @@ -1956,7 +1956,7 @@ yyreduce: break; case 82: -#line 471 "command.y" /* yacc.c:1646 */ +#line 472 "command.y" /* yacc.c:1646 */ { NODE *n; n = lookup((yyvsp[0])->a_string); @@ -1973,49 +1973,49 @@ yyreduce: break; case 83: -#line 487 "command.y" /* yacc.c:1646 */ +#line 488 "command.y" /* yacc.c:1646 */ { (yyval) = NULL; } #line 1979 "command.c" /* yacc.c:1646 */ break; case 88: -#line 496 "command.y" /* yacc.c:1646 */ +#line 497 "command.y" /* yacc.c:1646 */ { (yyval) = NULL; } #line 1985 "command.c" /* yacc.c:1646 */ break; case 89: -#line 497 "command.y" /* yacc.c:1646 */ +#line 498 "command.y" /* yacc.c:1646 */ { want_nodeval = true; } #line 1991 "command.c" /* yacc.c:1646 */ break; case 92: -#line 499 "command.y" /* yacc.c:1646 */ +#line 500 "command.y" /* yacc.c:1646 */ { want_nodeval = true; } #line 1997 "command.c" /* yacc.c:1646 */ break; case 95: -#line 505 "command.y" /* yacc.c:1646 */ +#line 506 "command.y" /* yacc.c:1646 */ { (yyval) = NULL; } #line 2003 "command.c" /* yacc.c:1646 */ break; case 97: -#line 511 "command.y" /* yacc.c:1646 */ +#line 512 "command.y" /* yacc.c:1646 */ { (yyval) = NULL; } #line 2009 "command.c" /* yacc.c:1646 */ break; case 99: -#line 517 "command.y" /* yacc.c:1646 */ +#line 518 "command.y" /* yacc.c:1646 */ { (yyval) = NULL; } #line 2015 "command.c" /* yacc.c:1646 */ break; case 104: -#line 529 "command.y" /* yacc.c:1646 */ +#line 530 "command.y" /* yacc.c:1646 */ { int idx = find_argument((yyvsp[-1])); if (idx < 0) @@ -2031,7 +2031,7 @@ yyreduce: break; case 106: -#line 545 "command.y" /* yacc.c:1646 */ +#line 546 "command.y" /* yacc.c:1646 */ { (yyvsp[0])->type = D_array; /* dump all items */ (yyvsp[0])->a_count = 0; @@ -2040,7 +2040,7 @@ yyreduce: break; case 107: -#line 550 "command.y" /* yacc.c:1646 */ +#line 551 "command.y" /* yacc.c:1646 */ { (yyvsp[-1])->type = D_array; (yyvsp[-1])->a_count = num_dim; @@ -2049,19 +2049,19 @@ yyreduce: break; case 117: -#line 576 "command.y" /* yacc.c:1646 */ +#line 577 "command.y" /* yacc.c:1646 */ { (yyval) = NULL; } #line 2055 "command.c" /* yacc.c:1646 */ break; case 118: -#line 578 "command.y" /* yacc.c:1646 */ +#line 579 "command.y" /* yacc.c:1646 */ { (yyval) = NULL; } #line 2061 "command.c" /* yacc.c:1646 */ break; case 119: -#line 580 "command.y" /* yacc.c:1646 */ +#line 581 "command.y" /* yacc.c:1646 */ { CMDARG *a; a = mk_cmdarg(D_int); @@ -2072,7 +2072,7 @@ yyreduce: break; case 126: -#line 596 "command.y" /* yacc.c:1646 */ +#line 597 "command.y" /* yacc.c:1646 */ { if ((yyvsp[-2])->a_int > (yyvsp[0])->a_int) yyerror(_("invalid range specification: %d - %d"), @@ -2085,25 +2085,25 @@ yyreduce: break; case 127: -#line 608 "command.y" /* yacc.c:1646 */ +#line 609 "command.y" /* yacc.c:1646 */ { (yyval) = NULL; } #line 2091 "command.c" /* yacc.c:1646 */ break; case 134: -#line 622 "command.y" /* yacc.c:1646 */ +#line 623 "command.y" /* yacc.c:1646 */ { (yyval) = (yyvsp[0]); } #line 2097 "command.c" /* yacc.c:1646 */ break; case 135: -#line 624 "command.y" /* yacc.c:1646 */ +#line 625 "command.y" /* yacc.c:1646 */ { (yyval) = (yyvsp[-2]); } #line 2103 "command.c" /* yacc.c:1646 */ break; case 137: -#line 630 "command.y" /* yacc.c:1646 */ +#line 631 "command.y" /* yacc.c:1646 */ { CMDARG *a; NODE *subs; @@ -2122,19 +2122,19 @@ yyreduce: break; case 139: -#line 649 "command.y" /* yacc.c:1646 */ +#line 650 "command.y" /* yacc.c:1646 */ { (yyval) = (yyvsp[0]); num_dim = 1; } #line 2128 "command.c" /* yacc.c:1646 */ break; case 140: -#line 651 "command.y" /* yacc.c:1646 */ +#line 652 "command.y" /* yacc.c:1646 */ { (yyval) = (yyvsp[-1]); num_dim++; } #line 2134 "command.c" /* yacc.c:1646 */ break; case 142: -#line 657 "command.y" /* yacc.c:1646 */ +#line 658 "command.y" /* yacc.c:1646 */ { NODE *n = (yyvsp[0])->a_node; if ((n->flags & NUMBER) == 0) @@ -2147,7 +2147,7 @@ yyreduce: break; case 143: -#line 666 "command.y" /* yacc.c:1646 */ +#line 667 "command.y" /* yacc.c:1646 */ { /* a_string is array name, a_count is dimension count */ (yyvsp[-1])->type = D_subscript; @@ -2158,13 +2158,13 @@ yyreduce: break; case 144: -#line 676 "command.y" /* yacc.c:1646 */ +#line 677 "command.y" /* yacc.c:1646 */ { (yyval) = (yyvsp[0]); } #line 2164 "command.c" /* yacc.c:1646 */ break; case 145: -#line 678 "command.y" /* yacc.c:1646 */ +#line 679 "command.y" /* yacc.c:1646 */ { NODE *n = (yyvsp[0])->a_node; if ((n->flags & NUMBER) == 0) @@ -2175,7 +2175,7 @@ yyreduce: break; case 146: -#line 685 "command.y" /* yacc.c:1646 */ +#line 686 "command.y" /* yacc.c:1646 */ { NODE *n = (yyvsp[0])->a_node; if ((n->flags & NUMBER) == 0) @@ -2188,31 +2188,31 @@ yyreduce: break; case 147: -#line 697 "command.y" /* yacc.c:1646 */ +#line 698 "command.y" /* yacc.c:1646 */ { (yyval) = NULL; } #line 2194 "command.c" /* yacc.c:1646 */ break; case 148: -#line 699 "command.y" /* yacc.c:1646 */ +#line 700 "command.y" /* yacc.c:1646 */ { (yyval) = (yyvsp[0]); } #line 2200 "command.c" /* yacc.c:1646 */ break; case 149: -#line 704 "command.y" /* yacc.c:1646 */ +#line 705 "command.y" /* yacc.c:1646 */ { (yyval) = NULL; } #line 2206 "command.c" /* yacc.c:1646 */ break; case 150: -#line 706 "command.y" /* yacc.c:1646 */ +#line 707 "command.y" /* yacc.c:1646 */ { (yyval) = (yyvsp[0]); } #line 2212 "command.c" /* yacc.c:1646 */ break; case 151: -#line 711 "command.y" /* yacc.c:1646 */ +#line 712 "command.y" /* yacc.c:1646 */ { if ((yyvsp[0])->a_int == 0) yyerror(_("non-zero integer value")); @@ -2222,7 +2222,7 @@ yyreduce: break; case 152: -#line 717 "command.y" /* yacc.c:1646 */ +#line 718 "command.y" /* yacc.c:1646 */ { if ((yyvsp[0])->a_int == 0) yyerror(_("non-zero integer value")); @@ -2232,19 +2232,19 @@ yyreduce: break; case 153: -#line 726 "command.y" /* yacc.c:1646 */ +#line 727 "command.y" /* yacc.c:1646 */ { (yyval) = (yyvsp[0]); } #line 2238 "command.c" /* yacc.c:1646 */ break; case 154: -#line 728 "command.y" /* yacc.c:1646 */ +#line 729 "command.y" /* yacc.c:1646 */ { (yyval) = (yyvsp[0]); } #line 2244 "command.c" /* yacc.c:1646 */ break; case 155: -#line 730 "command.y" /* yacc.c:1646 */ +#line 731 "command.y" /* yacc.c:1646 */ { (yyvsp[0])->a_int = - (yyvsp[0])->a_int; (yyval) = (yyvsp[0]); @@ -2253,7 +2253,7 @@ yyreduce: break; case 156: -#line 738 "command.y" /* yacc.c:1646 */ +#line 739 "command.y" /* yacc.c:1646 */ { if (lexptr_begin != NULL) { if (input_from_tty && lexptr_begin[0] != '\0') @@ -2494,7 +2494,7 @@ yyreturn: #endif return yyresult; } -#line 748 "command.y" /* yacc.c:1906 */ +#line 749 "command.y" /* yacc.c:1906 */ @@ -21,7 +21,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, + * USA */ %{ @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for GNU Awk 4.1.65. +# Generated by GNU Autoconf 2.69 for GNU Awk 4.1.66. # # Report bugs to <bug-gawk@gnu.org>. # @@ -580,8 +580,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='GNU Awk' PACKAGE_TARNAME='gawk' -PACKAGE_VERSION='4.1.65' -PACKAGE_STRING='GNU Awk 4.1.65' +PACKAGE_VERSION='4.1.66' +PACKAGE_STRING='GNU Awk 4.1.66' PACKAGE_BUGREPORT='bug-gawk@gnu.org' PACKAGE_URL='http://www.gnu.org/software/gawk/' @@ -1330,7 +1330,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures GNU Awk 4.1.65 to adapt to many kinds of systems. +\`configure' configures GNU Awk 4.1.66 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1400,7 +1400,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of GNU Awk 4.1.65:";; + short | recursive ) echo "Configuration of GNU Awk 4.1.66:";; esac cat <<\_ACEOF @@ -1523,7 +1523,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -GNU Awk configure 4.1.65 +GNU Awk configure 4.1.66 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2232,7 +2232,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by GNU Awk $as_me 4.1.65, which was +It was created by GNU Awk $as_me 4.1.66, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3115,7 +3115,7 @@ fi # Define the identity of the package. PACKAGE='gawk' - VERSION='4.1.65' + VERSION='4.1.66' cat >>confdefs.h <<_ACEOF @@ -11549,7 +11549,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by GNU Awk $as_me 4.1.65, which was +This file was extended by GNU Awk $as_me 4.1.66, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -11617,7 +11617,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -GNU Awk config.status 4.1.65 +GNU Awk config.status 4.1.66 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 0cef14e7..f0b83d7a 100644 --- a/configure.ac +++ b/configure.ac @@ -23,7 +23,7 @@ dnl dnl Process this file with autoconf to produce a configure script. -AC_INIT([GNU Awk],[4.1.65],[bug-gawk@gnu.org],[gawk]) +AC_INIT([GNU Awk],[4.1.66],[bug-gawk@gnu.org],[gawk]) # This is a hack. Different versions of install on different systems # are just too different. Chuck it and use install-sh. diff --git a/doc/it/gawktexi.in b/doc/it/gawktexi.in index 9f1edf38..e8038d1b 100755 --- a/doc/it/gawktexi.in +++ b/doc/it/gawktexi.in @@ -5145,10 +5145,9 @@ di scrivere righe di comando complesse e tediose. In particolare, @code{@@include} @`e molto utile per scrivere @dfn{script} CGI eseguibili da pagine web. -Come @`e stato detto in @ref{AWKPATH (Variabile)}, i file sorgenti vengono -sempre cercati nella directory corrente, prima di eseguire la ricerca in -@env{AWKPATH}; questo si applica anche ai file indicati con -@code{@@include}. +Le regole usate per trovare un file sorgente, descritte in +@ref{AWKPATH (Variabile)}, valgono anche per i file +caricati tramite @code{@@include}. @node Caricare librerie condivise @section Caricare librerie condivise nel proprio programma diff --git a/missing_d/ChangeLog b/missing_d/ChangeLog index 7d9bddc4..a62758ae 100644 --- a/missing_d/ChangeLog +++ b/missing_d/ChangeLog @@ -1,3 +1,7 @@ +2017-10-08 Arnold D. Robbins <arnold@skeeve.com> + + * strncasecmp.c: Fix FSF's address. + 2017-06-21 Andrew J. Schorr <aschorr@telemetry-investments.com> * getaddrinfo.c (getaddrinfo): Replace malloc+memset with calloc. diff --git a/missing_d/strncasecmp.c b/missing_d/strncasecmp.c index 74872356..a29015ce 100644 --- a/missing_d/strncasecmp.c +++ b/missing_d/strncasecmp.c @@ -63,8 +63,9 @@ strcasecmp (s1, s2) You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ + Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1335, USA +*/ /* * August 2006, for gawk, same comment applies. See strncase.c |