summaryrefslogtreecommitdiff
path: root/CWRU/changelog
blob: 67829991ea45735466a9629ee636a353f478bc20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
				 4/9/2001
				 --------
[bash-2.05 released]

				   4/10
				   ----
redir.c
	- check return value of fclose() in write_here_document() for error
	  returns; don't just rely on fwrite() failing

support/bashbug.sh
	- set TMPDIR to /tmp if it's null or unset
	- use $TMPDIR in the TEMP tempfile name template
	- fixed the call to `mktemp', if it exists, to make it more portable

jobs.c
	- if WCONTINUED is not defined, define it to 0 and add a define for
	  WIFCONTINUED(wstatus) which expands to 0
	- add WCONTINUED to the flags passed to waitpid(2) in waitchld()
	- don't increment children_exited if waitpid's status is WIFCONTINUED,
	  since we don't want to call a SIGCHLD trap handler in this case
	- in waitchld(), we set child->running to 1 if WIFCONTINUED(status)
	  is non-zero
	- make sure pretty_print_job doesn't check for the core dump bit if
	  the process has been continued; it's only valid if the job is dead
	- in set_job_status_and_cleanup, set the job to JRUNNING if job_state
	  is non-zero and the job was previously marked as JSTOPPED

configure.in
	- add -DBROKEN_DIRENT_D_INO to interix LOCAL_CFLAGS

lib/glob/glob.c
	- if BROKEN_DIRENT_D_INO is defined, define REAL_DIR_ENTRY to 1

jobs.c
	- in kill_pid, we only need to block and unblock SIGCHLD if the
	  `group' argument is non-zero, since otherwise we just call `kill'
	  on the pid argument

version.c
	- update copyright date to 2001

bashline.c
	- prog_complete_return needs to take a `const char *' as its first
	  argument
	- history_completion_generator needs to take a `const char *' as
	  its first argument, and `text' needs to be a `const char *'

				   4/11
				   ----
redir.c
	- fixed a weird typo in redir_special_open, case RF_DEVFD, added
	  call to all_digits before call to legal_number
	- fixed do_redirection_internal to call legal_number instead of atol(3)
	  when translating r_duplicating_{in,out}put_word, so it handles
	  overflow better
	- produce an error message in redirection_error for out-of-range
	  file descriptors
	- change allocation strategy in redirection_error so we don't have to
	  malloc scratch memory if redirection_expand() fails

jobs.h
	- added defines for `running' member of a struct process

general.c
	- fix legal_number to return 0 when strtol(3) reports overflow or
	  underflow

parse.y
	- changed read_token_word to call legal_number instead of atoi(3)

input.c
	- return -1/EBADF from close_buffered_fd if fd is < 0

command.h
	- fixed bogus comment about IS_DESCRIPTOR in description of the
	  REDIRECTEE struct

print_cmd.c
	- change cprintf's 'd' modifier code to display negative numbers as
	  an out-of-range value.  We can do this only because the only use
	  of %d is to output file descriptor numbers in redirections

support/mksignames.c
	- need to include config.h to get a possible value for
	  UNUSABLE_RT_SIGNALS

				   4/16
				   ----
lib/readline/doc/rluser.texinfo
	- corrected a small error in one description of M-DEL

				   4/17
				   ----
stringlib.c
	- need to initialize `ind' before calls to RESIZE_MALLOCED_BUFFER
	  in strcreplace()

support/bashversion.c
	- new file, prints bash version information

Makefile.in
	- rules for building bashversion and linking it to version.o

				   4/24
				   ----
conftypes.h
	- new file with HOSTTYPE, OSTYPE, MACHTYPE, etc. defines from
	  variables.h

variables.h, version.c
	- include conftypes.h

patchlevel.h
	- new file, contains define for PATCHLEVEL.  Doing away with the old
	  scheme of having the information in configure.in

version.c
	- include patchlevel.h

Makefile.in
	- run bashversion -p to find patch level rather than have configure
	  substitute in a value
	- pass -S ${top_srcdir} to support/mkversion.sh

support/mkversion.sh
	- don't put PATCHLEVEL define into version.h, but accept and ignore
	  a -p option
	- take a new -S srcdir option
	- find the patch level by parsing it out of patchlevel.h

configure.in
	- hard-code BASHVERS assignment instead of reading it from a file
	- remove BASHPATCH; don't substitute it

_distribution,_patchlevel
	- removed

				   4/26
				   ----
shell.c
	- call init_noninteractive() in open_shell_script if forced_interactive
	  is non-zero (the shell was started with -i) and fd_is_tty is 0
	  (the script file is a real file, not something like /dev/stdin),
	  since it wasn't done earlier

builtins/printf.def
	- change for POSIX.2 compliance when conversion errors are encountered
	  when processing %d, %u, and floating point conversion operators
	  (print a warning message, return the value accumulated at the time
	  of the error -- which is always 0 -- and exit with a non-zero status)

command.h
	- added CMD_COMMAND_BUILTIN for use by the `command' builtin and the
	  code in execute_cmd.c

builtins/command.def
	- add CMD_COMMAND_BUILTIN to the created command's flags

				    5/1
				    ---
configure.in
	- add call to AC_C_CONST to test `const' compiler behavior
	- add call to AC_C_INLINE to test `inline' compiler behavior
	- add call to AC_C_STRINGIZE to test cpp #x stringizing operator

config.h.in
	- add `#undef const' for configure to substitute
	- add `#undef inline' for configure to substitute
	- add `#undef HAVE_STRINGIZE' for configure to substitute

include/stdc.h
	- remove code that defines or undefines `const' and `inline'
	- change the __STRING macro to be defined depending on the value
	  of HAVE_STRINGIZE

lib/malloc/malloc.c
	- change the __STRING macro to be defined depending on the value
	  of HAVE_STRINGIZE

lib/readline/{readline,rlprivate}.h
	- moved rl_get_termcap to readline.h, making it a public function

lib/readline/readline.h
	- new #define, RL_READLINE_VERSION, hex-encoded library version
	  number, currently set to 0x0402
	- new public int variable, rl_readline_version

lib/readline/readline.c
	- #define RL_READLINE_VERSION if it is not already defined (which it
	  should be in readline.h)
	- initialize rl_readline_version to RL_READLINE_VERSION

lib/readline/doc/rltech.texinfo
	- documented rl_get_termcap
	- documented rl_readline_version

jobs.c
	- job_exit_status should return an int, not a WAIT (undetected
	  before because on most POSIX-like systems a WAIT is really an int)

builtins/evalfile.c
	- added FEVAL_REGFILE (file must be a regular file) to accepted
	   _evalfile flags
	- fc_execute_file() adds FEVAL_REGFILE to _evalfile flags.  This
	  means that startup files and files read with `.' no longer need
	  to be regular files

				    5/2
				    ---

lib/termcap/Makefile.in
	- fix target for installed termcap library (normally unused)

lib/tilde/Makefile.in
	- fix install target to install in $(libdir) (normally unused)

Makefile.in
	- don't make $(man3dir) since there's nothing installed there

Makefile.in,doc/Makefile.in
	- change `man1ext' to `.1', `man3ext' to `.3'
	- change appropriate install targets to use new values of man[13]ext
	- use `test ...' instead of `[...]'
	- add support for DESTDIR root installation prefix, for package
	  building (installdirs, install, install-strip, uninstall targets)

builtins/common.c
	- new function int get_exitstat(WORD_LIST *list) returns an eight-bit
	  exit status value for use in return, exit, logout builtins

builtins/common.h
	- extern declaration for get_exitstat()

builtins/{exit,return}.def
	- call get_exitstat where appropriate

builtins/printf.def
	- add support for "'" flag character as posix 1003.2-200x d6 says
	- fix core dump when user-supplied field width or precision is 0
	- fix to printstr() to handle zero-length precision with `%b' format
	  specifier (printf '%.0b-%.0s\n' foo bar)
	- fix to printstr() to treat a negative field width as a positive
	  field width with left-justification
	- fix to mklong to avoid static buffers, which can always be overrun
	  by someone sufficiently motivated

bashline.c
	- change var in add_host_name to type `size_t' for passing to xrealloc

				    5/3
				    ---
execute_cmd.c
	- change restore_signal_mask to accept a sigset_t *, since a sigset_t
	  may not fit into a pointer, change call

unwind_prot.c
	- use a union UWP in restore_variable when restoring a variable whose
	  size is the same as sizeof(int), the reverse of the method used to
	  store it in unwind_protect_int

builtins/printf.def
	- use a #define LENMODS containing the length modifiers instead of
	  testing against each possible modifier character, save any mod
	  character found
	- add support for ISO C99 length specifiers `j', `t', and `z'
	- if `L' modifier is supplied with a floating point conversion char,
	  pass a `long double' to printf if HAVE_LONG_DOUBLE is defined

configure.in,config.h.in
	- call AC_C_LONG_DOUBLE to check for `long double'; define
	  HAVE_LONG_DOUBLE if supported

bashline.c
	- fix an inadvertantly-unclosed comment in attempt_shell_completion
	- make set_saved_history return a value
	- make dynamic_complete_history return a useful value

{make_cmd,execute_cmd,shell,subst,trap,variables,input,unwind_prot,test,
pcomplete}.c
	- removed some declared-but-unused variables

builtins/{cd,enable,fc,set,setattr,type,umask,printf,complete}.def
	- removed some declared-but-unused variables

lib/sh/{zread,netopen}.c
	- removed some declared-but-unused variables

execute_cmd.c
	- in execute_arith_command, use a long variable to hold the result
	  of evalexp(), since that's what it returns

builtins/evalstring.c
	- make cat_file return -1 on a read or write error

lib/sh/stringlib.c
	- make merge_stringlists() return the right value

				    5/7
				    ---
pcomplete.c
	- remove typo that caused empty declaration (;;)

parse.y
	- fix yyerror() to accept a single string argument; fix callers

trap.c
	- cast pointer to long instead of int when printing message with
	  internal_warning() in run_pending_traps()

subst.c
	- fix process_substitute to handle stdin being closed

test.c
	- change `while' to `if' in and() and or(), since the loop isn't
	  actually performed -- there's an unconditional `return' in the
	  loop body
	- check for integer overflow of arguments to `-t'

lib/sh/netopen.c
	- change _getserv() to reject negative port/service numbers

expr.c
	- fix strlong() to not convert the base specification from long to
	  int before checking for overflow, since truncation on machines
	  where sizeof(int) != sizeof(long) may mask errors

builtins/{jobs,kill,wait}.def
	- use legal_number instead of atoi when converting strings to pid_t;
	  check for numeric overflow

input.c
	- fix for cygwin in b_fill_buffer -- off-by-one error when checking
	  buffer for \r\n termination

general.h
	- new #define INT_STRLEN_BOUND(t), computes max length of string
	  representing integer value of type T, possibly including a sign
	  character
	- include <limits.h> if it's present

{execute_cmd,findcmd,test}.c
	- don't include <limits.h>, since general.h does it now

{execute_cmd,lib/sh/itos,pcomplete,print_cmd,subst,variables}.c
	- use INT_STRLEN_BOUND instead of static array sizes when converting
	  various strings to integer values

shell.h
	- struct fd_bitmap now uses an `int' size, since it's bounded by
	  the number of file descriptors, which must fit into an `int'

execute_cmd.c
	- FD_BITMAP_DEFAULT_SIZE is now 32, not 32L
	- new_fd_bitmap takes an `int' size parameter, not a `long'

execute_cmd.h
	- change prototype for new_fd_bitmap()

test.c
	- fix test_stat to check for overflow when parsing the integer file
	  descriptor number; return ENOENT instead of EBADF for files that
	  are not open

hashlib.c
	- don't discard the upper 32 bits of the random value, if present

lib/readline/shell.c
	- use the same INT_STRLEN_BOUND mechanism to decide how much space to
	  allocated in sh_set_lines_and_columns

				    5/8
				    ---
aclocal.m4
	- add check for libtinfo (termcap-specific portion of ncurses-5.2) to
	  BASH_CHECK_LIB_TERMCAP
	- new macro, RL_LIB_READLINE_VERSION, checks version of installed
	  readline library and (optionally) writes version #defines to
	  config.h.  Bash doesn't use the version defines

configure.in
	- call RL_LIB_READLINE_VERSION instead of support/rlvers.sh

execute_cmd.c
	- fix execute_shell_script and the WHITECHAR and STRINGCHAR macros
	  to check array bounds before indexing into the sample string

unwind_prot.[ch]
	- import new versions submitted by Paul Eggert <eggert@twinsun.com>
	  with a couple of changes for backwards compatibility, so the rest
	  of the source doesn't need to be changed yet

jobs.c
	- use unwind_protect_var on last_made_pid in run_sigchld_trap

builtins/bind.def
	- use unwind_protect_var on rl_outstream

general.c
	- rework print_rlimtype to use INT_STRLEN_BOUND and handle the
	  most negative number correctly

expr.c
	- `tokval' should have been a `long', since all arithmetic is done
	  as longs

builtins/history.def
	- consolidate tests for valid history position in one block to
	  avoid duplicate code and strings

builtins/ulimit.def
	- fix check for overflow when setting limit to work when int is 32
	  bits and RLIMTYPE is 64

lib/sh/tmpfile.c
	- don't truncate the result of time(3) to int; just use time_t,
	  since it's being assigned to an `unsigned long'

mailcheck.c
	- use legal_number instead of atoi in time_to_check_mail() to catch
	  more numeric errors; consolidate error checking in one block
	- last_time_mail_checked should be a time_t

				    5/9
				    ---
builtins/set.def
	- recognize `set [-+]o nolog' if HISTORY is defined

bashline.c
	- new variable `dont_save_function_defs', set by `set -o nolog';
	  currently ignored

command.h
	- the `dest' member of a REDIRECTEE is now an `int'

parse.y,redir.c
	- changed uses of `redir.test' (where redir is a REDIRECTEE) since
	  it's now an int

lib/readline/rlstdc.h
	- don't mess around with `const', rely on configure to supply a
	  proper definition if the compiler doesn't support it

lib/tilde/tilde.h
	- include <config.h> if HAVE_CONFIG_H is defined
	- don't mess around with `const', rely on configure

builtins/shopt.def
	- new read-only `shopt' option, login_shell, non-zero if shell is a
	  login shell (as decided by shell.c)
	- new function set_login_shell(), sets shopt private value of
	  login_shell

builtins/common.h
	- new extern declaration for set_login_shell

shell.c
	- call set_login_shell after setting value of login_shell (in
	  main() and set_shell_name())

parse.y
	- added new `\A' prompt string escape sequence:  time in 24-hour
	  HH:MM format

configure.in, config.h.in
	- check for <grp.h>, define HAVE_GRP_H if found

builtins/complete.def
	- add new `-A group/-g' option to complete group names

pcomplete.h
	- new define for CA_GROUP, used with group name completion

pcomplete.c
	- add code to support CA_GROUP group name completion

bashline.c
	- new function, bash_groupname_completion_function(), supports
	  programmable completion of group names

bashline.h
	- extern declaration for bash_groupname_completion_function

lib/readline/bind.c
	- new inputrc variable, `match-hidden-files', controls completion
	  matching files beginning with a `.' (on Unix)

lib/readline/complete.c
	- new variable, _rl_match_hidden_files, mirrors `match-hidden-files'
	  inputrc variable

lib/readline/rlprivate.h
	- extern declaration for _rl_match_hidden_files

builtins/hash.def
	- new `-t' option to list hash values for each filename argument

builtins/read.def
	- alarm(3) takes an `unsigned int' argument, not int
	- check for arithmetic overflow with -t and -n options

input.c
	- check for read error before doing \r\n translation on cygnus in
	  b_fill_buffer
	- reset bp->b_used to 0 instead of leaving it at -1 on read error
	  in b_fill_buffer

builtins/shopt.def
	- new functions, shopt_setopt(name, mode) and
	  shopt_listopt(name, mode) to give the rest of the shell an easy
	  interface

builtins/common.h
	- extern declarations for shopt_setopt and shopt_listopt

shell.c
	- new invocation options -O and +O, to list or set/unset shopt
	  options like +o/-o sets and unsets `set -o' options

doc/{bash.1,bashref.texi}
	- document `set -o nolog'
	- document `login_shell' shopt option
	- document new `\A' prompt string escape sequence
	- document new `-t' option to `hash'
	- document new `[+-]O' invocation option

doc/bashref.texi
	- add text to `Invoking Bash' section defining a login shell; text
	  taken from man page

doc/bash.1, lib/readline/doc/rluser.texinfo
	- documented new complete/compgen `-A group/-g' option

lib/readline/doc/{rluser.texinfo,readline.3}, doc/bash.1
	- documented new `match-hidden-files' inputrc variable

				   5/10
				   ----
configure.in
	- fix AC_CHECK_PROG(ar, ...)
	- add AC_CHECK_TYPE for ssize_t

config.h.in
	- new #undef for ssize_t

lib/sh/zread.c
	- int -> ssize_t fixes to mirror modern declarations of read and write
	- the `off' variable in zsyncfd should be an off_t since it computes
	  a file offset
	- the local buffer `lbuf' is now char, since it's not nice to pass
	  unsigned char * to read(2), and the values from it are assigned to
	  a char anyway
	- lind and lused are now size_t, since they index into a buffer
	- set lused to 0 on read error

lib/sh/zwrite.c
	- change second argument to type `char *', since ISO C says you have
	  to pass a `char *' to `write'

externs.h
	- fix extern declarations of zread, zread1, zreadc, and zwrite
	- prototype extern declaration of qsort_string_compare
	- add extern declaration for history_delimiting_chars() from parse.y

input.h
	- b_used and b_inputp members ofr struct BSTREAM are now size_t

builtins/evalstring.c
	- the number of chars read with zread in cat_file should be assigned
	  to a variable of type ssize_t

input.c
	- the number of chars read with zread in b_fill_buffer should be
	  assigned to a variable of type ssize_t
	- `localbuf' is now type char[], since POSIX says you shouldn't pass
	  unsigned char * to read(2)
	- in getc_with_restart(), use a variable of type unsigned char to
	  get a value from the local buffer and return it
	- in ungetc_with_restart, explicitly return the character arg passed
	  to avoid relying on localbuf being unsigned char

subst.c
	- the number of chars read with zread in read_comsub should be
	  assigned to a variable of type ssize_t

mksyntax.c
	- instead of casting to unsigned char * in addcstr, use a variable
	  of type unsigned char and let the compiler do the work

parse.y
	- instead of casting to unsigned char * in yy_readline_get, use a
	  variable of type unsigned char and let the compiler do the work
	- ditto for yy_string_get and shell_getc (cast to unsigned char)

subst.c
	- instead of casting to unsigned char when assigning to ifscmap in
	  expand_word_internal, use a variable of type unsigned char and
	  let the compiler do the work

lib/sh/strtrans.c
	- instead of casting to unsigned char in ansic_quote, use a variable
	  of type unsigned char and let the compiler do the work

builtins/evalstring.c
	- remove extern declarations for zwrite and run_trap_cleanup; they're
	  in externs.h
	- prototype cat_file forward declaration

Makefile.in
	- remove -I$(includedir) from INCLUDES and SUBDIR_INCLUDES

aclocal.m4
	- change RL_LIB_READLINE_VERSION to set RL_PREFIX, RL_LIBDIR,
	  and RL_INCLUDEDIR to what it used to test the installed readline
	  library version for use by the caller
	- change RL_LIB_READLINE_VERSION to not compute ac_cv_rl_prefix if
	  the caller has already assigned it a value
	- rename _rl_prefix -> ac_cv_rl_prefix, _rl_libdir -> ac_cv_rl_libdir,
	  _rl_includedir -> ac_cv_rl_includedir

configure.in
	- change testing of whether to use the value of
	  $opt_with_installed_readline to be != no, to allow the user to
	  specify a prefix where the installed readline library may be found
	- if --with-installed-readline=PREFIX is supplied, set ac_cv_rl_prefix
	  to PREFIX before calling RL_LIB_READLINE_VERSION
	- if --with-installed-readline[=PREFIX] is supplied, don't set
	  RL_LIBDIR and RL_INCLUDEDIR; let RL_LIB_READLINE_VERSION take care
	  of it, set RL_INCLUDE=-I${RL_INCLUDEDIR}
	- if --with-installed-readline[=PREFIX] is supplied, and we're
	  linking with the history library, assign $RL_LIBDIR to HIST_LIBDIR
	  so we use the same version of the installed readline and history
	  libraries

Makefile.in, builtins/Makefile.in
	- have configure substitute RL_INCLUDEDIR, set RL_INCLUDEDIR variable

doc/bashref.texi
	- updated description of --with-installed-readline configure option 

general.c
	- moved QSFUNC typedef here from builtins/common.c

{alias,bashline,variables,lib/sh/stringvec}.c
	- cast fourth argument to qsort to (QSFUNC *)

alias.c
	- prototype forward declaration of qsort_alias_compare

bashhist.c
	- include <glob/glob.h> for extern declaration of glob_pattern_p
	- remove extern declaration of history_delimiting_chars; it's now
	  in externs.h
	- prototype forward declarations of histignore_item_func,
	  maybe_add_history, and bash_add_history

bracecomp.c
	- remove extern declaration for sh_backslash_quote; it's in externs.h

braces.c
	- remove extern declaration for extract_command_subst; it's in subst.h
	- prototype forward declarations for expand_amble, array_concat, and
	  brace_gobbler

error.c
	- prototype extern declaration of give_terminal_to, fix bad call

{execute_cmd,expr,findcmd,jobs,mailcheck,nojobs,pcomplete,print_cmd,redir,
shell}.c
	- prototype all static forward function declarations

pcomplete.c
	- changed some function parameters to `const char *' to avoid discarding
	  const qualifier

make_cmd.c
	- make_bare_word, make_word_flags, and make_word now take a
	  `const char *' string argument

make_cmd.h
	- changed extern declarations for make_bare_word and make_word

print_cmd.c
	- cprintf now takes a `const char *' as its first argument, like
	  xprintf and printf
	- the conditional define for xprintf should have been HAVE_VPRINTF,
	  not HAVE_VFPRINTF

shell.c
	- in isnetconn(), the return value of sizeof() is size_t

aclocal.m4
	- add inclusion of stddef.h if STDC_HEADERS is defined to 1 in
	  BASH_CHECK_TYPE

configure.in
	- add a call to BASH_CHECK_TYPE for socklen_t (type of third argument
	  to getpeername(2))

				   5/11
				   ----
lib/readline/bind.c
	- make `useq' a char array to pass to rl_macro_bind in
	  rl_parse_and_bind

lib/readline/{{bind,isearch}.c,rlprivate.h}
	- _rl_isearch_terminators is now a char *, not unsigned char *

{subst,variables,lib/sh/tmpfile}.c
	- dollar_dollar_pid is now a `pid_t' instead of `int'

variables.c
	- sbrand() now takes an `unsigned long' to set the seed value
	- changed last_random_value to type int, since it's always between
	  0 and 32767
	- use strtoul to convert the value in assign_random instead of atoi
	- take out casts in any arguments to sbrand()
	- take out cast to int in call to inttostr in set_ppid()

subst.c
	- don't cast last_asynchronous_pid when passing to itos()

{sig,subst}.c
	- prototype all static forward function declarations

				   5/14
				   ----
{test,trap,variables}.c
	- prototype all static forward function declarations

variables.c
	- free_variable_hash_data() now takes a PTR_T, a `generic pointer'

builtins/{alias,bind,break,cd,complete,declare,enable,exit,fc,fg_bg,help,
history,jobs,pushd,read,set,trap,umask,
	- prototype all static forward function declarations

builtins/read.def
	- reset_eol_delim now takes a `char *' arg, since that's what the
	  unwind_protect functions pass it, and it ignores its arguments
	  anyway

lib/readline/{histsearch,input,kill,rltty,search,vi_mode}.c
	- prototype all static forward function declarations

lib/tilde/tilde.c
	- prototype all static forward function declarations
	- tilde_find_prefix, tilde_find_suffix, isolate_tilde_prefix, and
	  glue_prefix_and_suffix now take `const char *' arguments where
	  appropriate

configure.in,config.h.in
	- check for vsnprintf, define HAVE_VSNPRINTF if found

lib/readline/display.c
	- use vsnprintf() in rl_message if it's available; if we don't, at
	  least set the last character in msg_buf to 0 to avoid overrun --
	  we really can't do anything about overflow at this point.  if it's
	  available, this fixes buffer overflow problems in rl_message

				   5/15
				   ----
lib/readline/histexpand.c
	- in get_history_word_specifier, allow any character to terminate
	  a `:first-' modifier, not just `:' and null.  This is what csh
	  appears to do.  This allows things like `!:0- xyzzy' to replace the
	  last argument with xyzzy

				   5/18
				   ----
configure.in, config.h.in
	- check for <stdint.h>, define HAVE_STDINT_H if found
	- check for intmax_t in <stdint.h>, define intmax_t as long if not
	  found

				   5/21
				   ----
builtins/kill.def
	- change to use strerror() for error message when kill(2) fails

aclocal.m4
	- new macro, BASH_C_LONG_LONG, check for `long long'

configure.in, config.h.in
	- call BASH_C_LONG_LONG, define HAVE_LONG_LONG if found

lib/sh/snprintf.c
	- new file, with implementations of snprintf, vsnprintf, asprintf,
	  and vasprintf, derived from inetutils version

Makefile.in, lib/sh/Makefile.in
	- add snprintf.c/snprintf.o

configure.in, config.h.in
	- add checks for snprintf, asprintf, vasprintf, with appropriate
	  cpp defines

lib/readline/{rldefs,xmalloc}.h, lib/readline/xmalloc.c
	- xmalloc and xrealloc now take `size_t' arguments, like their bash
	  counterparts

externs.h,lib/sh/itos.c
	- inttostr and itos now take `long' arguments
	- inttostr takes a `size_t' argument for the buffer size

{expr,lib/malloc/malloc,variables,general}.c
	- fixed calls to itos() by removing casts, etc.

subst.[ch]
	- get_dollar_var_value now takes a long, not an int
	- sub_append_number now takes a long, not an int

subst.c
	- in parameter_brace_expand_word, use a long and legal_number to
	  translate ${N}, to avoid overflow
	- in parameter_brace_expand_length, use a long and legal_number to
	  translate ${#N}, to avoid overflow
	- in do_array_element_assignment, array_expand_index,
	  array_value_internal, use arrayind_t instead of int
	- let verify_substring_values take long * arguments for the return
	  value of evalexp()
	- pass long * arguments to verify_substring_values in
	  parameter_brace_substring
	- parameter_brace_expand_length now returns `long'
	- parameter_brace_expand now uses a long variable for the return
	  value of parameter_brace_expand_length
	- param_expand now uses a long variable for the return value from
	  evalexp
	- array_length reference now returns an `arrayind_t', since it can
	  return the num_elements member of an array, which is of type
	  arrayind_t

subst.h
	- array_expand_index now returns an `arrayind_t'

array.[ch]
	- array_subrange now takes arrayind_t arguments, not `int'
	- dup_array_subrange now uses arrayind_t local variable to do
	  array indexing
	- use long to print array indices in print_element

variables.c
	- null_array_assign, assign_dirstack, bind_array_variable
	  now take arrayind_t arguments as array indices
	- assign_array_var_from_word_list, assign_array_var_from_string,
	  unbind_array_element now use arrayind_t local variables for
	  array indexing

variables.h
	- change extern declaration of bind_array_variable

builtins/common.[ch]
	- get_numeric_arg now returns a `long', since it usually returns
	  the value of legal_number()

builtins/{shift,break}.def
	- use long variables for the return value of get_numeric_arg

builtins/history.def
	- convert string argument to int only if it's in range

builtins/pushd.def
	- set_dirstack_element and get_dirstack_element now take `long'
	  index arguments
	- get_dirstack_index now takes a `long' index argument, since it's
	  passed the converted value from legal_number

lib/sh/timeval.c
	- in print_timeval, don't assume that the number of minutes fits into
	  an int, since it's just seconds/60.

lib/sh/clock.c
	- ditto for print_clock_t

				   5/22
				   ----
shell.c
	- since the -O option settings may possibly be overridden by the
	  normal shell initialization or posix initialization, save the
	  invocation options on an alist (with add_shopt_to_alist) and
	  process them after basic initialization (with run_shopt_alist)

				   5/23
				   ----
trap.h
	- new define, BASH_NSIG, all system signals plus special bash traps

trap.c, builtins/trap.def
	- use BASH_NSIG for array bounds and loops where appropriate

trap.c
	- change decode_signal to disallow numeric signal numbers above
	  NSIG -- this means you can only reference special traps like
	  DEBUG by name
	- new SPECIAL_TRAP(s) macro to test whether s is one of the special
	  bash traps (currently DEBUG and EXIT)
	- change reset_or_restore_signal_handlers so command substitution
	  doesn't inherit the debug trap (like ksh93), and child processes
	  don't have to rely on initialize_traps being run to get rid of
	  any debug trap

support/mksignames.c
	- add extra "ERR" signal name, value NSIG+1, allocate space for it
	  and write it out in signal_names[]

trap.h
	- new define: ERROR_TRAP == NSIG+1, change BASH_NSIG to NSIG+2
	- extern declarations for set_error_trap, run_error_trap
	- new define: TRAP_STRING(s), expands to trap_list[s] if signal S
	  is trapped and not ignored, NULL otherwise

trap.c
	- add ERROR_TRAP to SPECIAL_TRAPS define
	- initialize ERROR_TRAP stuff in initialize_traps
	- new function: set_error_trap(command), sets the ERR trap string
	- new function: run_error_trap(command), runs the ERR trap string
	- set trap string for ERROR_TRAP to NULL in free_trap_strings
	- change reset_or_restore_signal_handlers so child processes don't
	  inherit the ERR trap
	- add case to call run_error_trap in maybe_call_trap_handler

execute_cmd.c
	- in execute_command_internal, keep track of ERR trap and call it if
	  necessary
	- use TRAP_STRING to get the value of debug and error traps
	- in execute_function, arrange things so the ERR trap is not inherited
	  by shell functions, and is saved and restored like the DEBUG trap

doc/{bash.1,bashref.texi}
	- documented new ERR trap

tests/{trap.{tests,right},trap2.sub,trap2a.sub}
	- added ERR trap tests

subst.c
	- on machines without /dev/fd, change the named pipe fifo list to a
	  list of structs containing pathname and proc information
	- change unlink_fifo_list to kill the proc in the fifo list with
	  signal 0 and not remove the fifo if the proc is still alive.  This
	  should fix the problem on those backward systems without /dev/fd
	  where fifos were removed when a job using process substitution was
	  suspended

				   5/24
				   ----
examples/loadables/getconf.h
	- new file, with basic defines needed to make getconf work minimally
	  on POSIX systems without the necessary definitions

examples/loadables/getconf.c
	- replacement functions for confstr, sysconf, pathconf for systems
	  that lack them, providing a minimal posix interface
	- heavily augmented getconf, now supports all POSIX.1-200x,
	  POSIX.2-200x, Solaris 7, AIX 4.2 getconf variables

				   5/29
				   ----
builtins/setattr.def
	- make `readonly', `export', and `declare' print `invisible' variables
	  as just a command and variable name, without a value, when listing
	  all variables (as POSIX.2-200x d6 requires)

				   5/30
				   ----

configure.in
	- upgraded to autoconf-2.50 on main development machine, so require
	  autoconf-2.50 in preparation for using some if its new features
	- call AC_C_PROTOTYPES
	- remove call to AC_EXEEXT, which now does the wrong thing
	- changed AC_INIT to new flavor
	- added call to AC_CONFIG_SRCDIR
	- AC_CONFIG_HEADER -> AC_CONFIG_HEADERS
	- AC_RETSIGTYPE -> AC_TYPE_SIGNAL

configure.in, aclocal.m4, config.h.in
	- removed call to BASH_LARGE_FILE_SUPPORT, use AC_SYS_LARGEFILE
	  standard support, with new macros _FILE_OFFSET_BITS and
	  _LARGE_FILES
	- removed definition of BASH_LARGE_FILE_SUPPORT

doc/bashref.texi
	- document new `--enable-largefile' configure option

lib/readline/readline.c
	- change rl_set_prompt to call rl_expand_prompt unconditionally, so
	  local_prompt and local_prompt_prefix get set correctly

				    6/6
				    ---
lib/readline/complete.c
	- don't append `/' or ` ' to a match when completing a symlink that
	  resolves to a directory, unless the match doesn't add anything
	  to the word.  This means that a tab will complete the word up to
	  the full name, but not add anything, and a subsequent tab will add
	  a slash.  Change to append_to_match; callers changed

hashlib.c
	- new function, hash_table_nentries (table), returns the number of
	  items in TABLE

hashlib.h
	- extern declaration for hash_table_nentries

configure.in
	- configure without bash malloc on openbsd; they claim it needs
	  eight-bit alignment (which the bash malloc provides, but...)

				    7/2
				    ---
stringlib.c
	- only call RESIZE_MALLOCED_BUFFER from strsub() if the replacement
	  string length is > 0, avoid possible hangs if replacement is null

subst.c
	- don't include input.h; no longer needed

configure.in
	- remove calls to AC_SYS_RESTARTABLE_SYSCALLS and
	  BASH_SYS_RESTARTABLE_SYSCALLS; the results are no longer used

config.h.in
	- remove define for HAVE_RESTARTABLE_SYSCALLS

aclocal.m4
	- removed definition of BASH_SYS_RESTARTABLE_SYSCALLS; no longer used

execute_cmd.c
	- changed select command so `return' no longer terminates the select
	  command, so it can be used to return from an enclosing function.
	  This is as ksh (88 and 93) does it

lib/readline/vi_mode.c
	- fix trivial typo in declaration of vi_motion; `t' appears twice;
	  the second instance should be `T'

				    7/3
				    ---
configure.in
	- don't add -static to LDFLAGS on Solaris 2.x.  This means that the
	  auxiliary programs will be built as dynamic executables, but that
	  should do no harm

				    7/5
				    ---
lib/glob/fnmatch.c
	- fix the code that processes **(pattern) to short-circuit if the
	  pattern is ill-formed or lacks a trailing `)'  -- this fixes the
	  segfault on **(/*)

Makefile.in, builtins/Makefile.in
	- split CCFLAGS into CCFLAGS_FOR_BUILD and CFLAGS, to aid in
	  cross-compilation
	- build programs that use $(CC_FOR_BUILD) using $(CCFLAGS_FOR_BUILD)

configure.in, config.h.in
	- check for getaddrinfo(3), define HAVE_GETADDRINFO if found

lib/sh/netopen.c
	- implemented a version of _netopen (_netopen6) that uses
	  getaddrinfo(3) if available, use if HAVE_GETADDRINFO is defined.
	  old _netopen is _netopen4; _netopen now calls either _netopen6
	  or _netopen4 as appropriate

				    7/9
				    ---
builtins/exit.def
	- don't source ~/.bash_logout if subshell_environment is non-zero

execute_command.c
	- in execute_until_or_while, handle the case where `breaking' is
	  set in the loop test (e.g., by the job control code when a job
	  is stopped with SIGTSTP), but the return value from the test is
	  something that would cause the loop to break.  Need to decrement
	  `breaking' in this case

				   7/10
				   ----
execute_cmd.c
	- in execute_in_subshell, make sure a command of type cm_subshell
	  inherits its `enclosing' command's CMD_IGNORE_RETURN flag

variables.c
	- in maybe_make_export_env, don't allow restricted shells to put
	  exported functions in the export environment

				   7/11
				   ----
lib/glob/strmatch.h
	- renamed old fnmatch.h
	- changed guard #ifdef to _STRMATCH_H
	- include system <fnmatch.h> if HAVE_LIBC_FNM_EXTMATCH is defined

lib/glob/strmatch.c
	- renamed old fnmatch.c
	- include "strmatch.h"
	- if HAVE_LIBC_FNM_EXTMATCH is defined, define a dummy version of
	  strmatch() that just calls fnmatch(3)

lib/glob/glob.c
	- include "strmatch.h"
	- fnmatch -> strmatch

Makefile.in, lib/glob/Makefile.in
	- fnmatch -> strmatch

{bashhist,execute_cmd,pathexp,pcomplete,shell,stringlib,subst,test}.c,
pathexp.h,builtins/help.def
	- include <glob/strmatch.h>
	- fnmatch -> strmatch

execute_cmd.c
	- broke the code that parses the interpreter name from a #! line
	  out from execute_shell_script to a new function, getinterp()
	- call getinterp from execute_shell_script
	- use return value from getinterp in error message about bad
	  #! interpreter in shell_execve

				   7/12
				   ----
lib/readline/isearch.c
	- the last isearch string is now remembered in a new static variable,
	  last_isearch_string
	- if ^R^R is typed, readline now searches for the remembered isearch
	  string, if one exists

				   7/24
				   ----
pcomplete.h
	- extern declaration for completions_to_stringlist()

				   7/25
				   ----
builtins/complete.def
	- make compgen handle -o default option
	- make compgen return success only if sl->list_len is non-zero,
	  indicating that there are items on the list

				   7/31
				   ----
execute_cmd.c
	- in execute_connection, force stdin to /dev/null for asynchronous
	  commands if job control is not active, not just if the shell is
	  running a shell script (since you can run `set -m' in a script)

lib/readline/rltty.c
	- make sure _rl_tty_restore_signals resets `tty_sigs_disabled' on
	  successful restoration of the terminal modes
	- make sure _rl_tty_disable_signals turns off IXON so that ^S and
	  ^Q can be read by rl_quoted_insert

				    8/1
				    ---
aclocal.m4
	- new check for FNM_EXTMATCH being defined in <fnmatch.h>, as Ullrich
	  Drepper intends to do for new versions of GNU libc

config.h.in
	- new definition for HAVE_LIBC_FNM_EXTMATCH

configure.in
	- check for fnmatch, but don't define anything in config.h
	- call BASH_FUNC_FNMATCH_EXTMATCH to check for FNM_EXTMATCH

				    8/2
				    ---
alias.h
	- remove bogus extern declaration for xmalloc()
	- include "stdc.h"
	- add prototype declarations for all extern function declarations

xmalloc.c,lib/readline/xmalloc.c
	- fix xmalloc to return a PTR_T
	- fix xrealloc to return a PTR_T and take a PTR_T as first argument

include/ansi_stdlib.h
	- extern declarations for malloc and realloc have them return PTR_T

xmalloc.h
	- new file, with extern declarations for functions in xmalloc.c

general.h
	- removed extern declarations for functions in xmalloc.c
	- include xmalloc.h

Makefile.in,builtins/Makefile.in
	- update dependencies to include xmalloc.h

parse.y,{alias,array,bashline,bracecomp,execute_cmd,findcmd,flags,general,
hashcmd,locale,mailcheck,make_cmd,pathexp,pcomplete,print_cmd,stringlib,
subst,unwind_prot,variables}.c
builtins/{common,evalfile}.c
builtins/{cd,command,enable,exec,printf,read,set}.def
lib/sh/{makepath,netopen,pathphys,setlinebuf,shquote,snprintf,stringlist,
strtrans,tmpfile}.c
lib/readline/{util,terminal,shell,readline,macro,kill,isearch,input,
histfile,histexpand,display,complete,bind}.c
	- make sure all calls to xmalloc are cast to the right return value

siglist.c
	- include xmalloc.h

parse.y,{alias,bashline,bracecomp,expr,make_cmd,nojobs,print_cmd,subst}.c
builtins/{fc,printf,read}.def
lib/sh/snprintf.c, lib/tilde/tilde.c
lib/readline/{bind,display,histexpand,isearch,macro,util,vi_mode}.c
	- make sure all calls to xrealloc are cast to the right return value

lib/sh/{netopen,setlinebuf,shquote,snprintf}.c, lib/tilde/tilde.c
	- include xmalloc.h, remove extern declaration of xmalloc

lib/readline/xmalloc.h
	- xmalloc and xrealloc should return PTR_T

lib/readline/rldefs.h
	- don't include an extern declaration for xmalloc

				    8/7
				    ---
support/shobj-conf
	- fixed up commented-out stanzas for HP's unbundled C compiler on
	  HP/UX

support/bashbug.sh
	- force the subject to be changed from the default

lib/readline/doc/{rluser.texinfo,readline.3}, doc/bash.1
	- document that transpose-words swaps the last two words on the line
	  if point is at the end of the line

				    8/9
				    ---
stringlib.c
	- fix possible infinite recursion problem with null pattern in
	  strsub()

hashlib.c
	- new function copy_hash_table to copy a hash table using a caller-
	  supplied function to copy item data (defaults to savestring())

hashlib.h
	- new extern declaration for copy_hash_table

builtins/declare.def
	- changes so that declare [-a] var=value assigns `value' to element 0
	  of array variable `var' like ksh93
	- change so that declare [-a] var[N]=value assigns `value' to element
	  N of array variable `var' like ksh93

				   8/13
				   ----
arrayfunc.c
	- new file, for miscellaneous array functions

arrayfunc.h
	- new file, extern declarations for functions in arrayfunc.c

variables.c
	- move convert_var_to_array, bind_array_variable,
	  assign_array_from_string, assign_array_var_from_word_list,
	  assign_array_var_from_string, quote_array_assignment_chars,
	  skipsubscript, unbind_array_element, print_array_assignment
	  to arrayfunc.c

shell.h
	- include arrayfunc.h after variables.h

variables.h
	- remove above extern function declarations moved to arrayfunc.h
	- add extern declaration for var_lookup

Makefile.in
	- add arrayfunc.c, arrayfunc.h in appropriate places
	- add arrayfunc.h to dependencies

subst.c
	- move valid_array_reference, array_expand_index, array_variable_part,
	  array_value_internal, array_value (now global), get_array_value,
	  do_array_element_assignment to arrayfunc.c

subst.h
	- extern declarations for functions above moved to arrayfunc.h

arrayfunc.h
	- extern declarations for above functions from subst.c

subst.[ch]
	- string_list_dollar_star and string_list_dollar_at are now global
	  functions
	- quote_escapes is now a global function

subst.c
	- maybe_expand_string -> expand_string_if_necessary
	- expand_string_to_string -> expand_string_to_string_internal
	- new functions: expand_string_to_string and
	  expand_string_unsplit_to_string, which call
	  expand_string_to_string_internal with expand_string and
	  expand_string_unsplit as the FUNC arguments, respectively

arrayfunc.c
	- change array_expand_index to call expand_string_to_string instead
	  of maybe_expand_string

				   8/14
				   ----
shell.c
	- in execute_env_file, call expand_string_unsplit_to_string

mailcheck.c
	- in check_mail, call expand_string_to_string

variables.c
	- in assign_in_env, call expand_string_unsplit_to_string

arrayfunc.c
	- new function, array_variable_name, splits an array reference into
	  a name (which is returned as a new string) and subscript
	- change array_variable_part to just call array_variable_name and
	  look up the string returned with find_variable
	- new function, find_or_make_array_variable (name, flags) which will
	  look up an array variable and convert a string variable to an
	  array if necessary.  The FLAGS argument, if non-zero, says to
	  check the readonly and noassign attributes and fail if either is set

builtins/read.def
	- make `read -a aname' honor any readonly status of `aname'
	- read -a now calls find_or_make_array_variable with FLAGS value 1

arrayfunc.[ch], subst.c, builtins/{declare,read}.def
	- do_array_element_assignment -> assign_array_element

				   8/20
				   ----
parse.y
	- changed `for' command grammar to allow missing word list after `IN'
	  token, like latest POSIX drafts require

lib/sh/tmpfile.c
	- in sh_mktmpname(), check for filenum == 0 and init to non-zero number
	  in this case.  it can happen on arithmetic overflow

support/mkversion.sh
	- added `[0-9].[0-9][0-9][a-z]' as an acceptable value for a
	  distribution to allow for intermediate versions, like 2.05a

support/config.guess
	- removed the addition of the output of `/usr/bin/objformat' when
	  creating the canonical name on FreeBSD machines, so the canonical
	  name is once again `freebsd4.2' instead of `freebsdelf4.2'

				   8/22
				   ----
lib/readline/{rlstdc,history,keymaps,readline,rldefs,rlprivate,rlshell,
rltypedefs,xmalloc}.h
lib/readline/{bind,compat,complete,display,funmap,histexpand,histsearch,
input,isearch,kill,nls,parens,readline,rltty,search,shell,signals,vi_mode
	- changed __P to PARAMS

lib/tilde/tilde.[ch]
	- changed __P to PARAMS

{Makefile,configure}.in
	- changed the version number to 2.05a
	- changed the release status to `alpha1'

				   8/23
				   ----
support/shobj-conf
	- support for building shared libraries on Darwin/MacOS X

siglist.h
	- extern declaration for strsignal() to compensate for lack of
	  a definition in some system include files

jobs.c
	- remove casts from strsignal() calls

[bash-2.05a-alpha1 frozen]

				   8/27
				   ----
[bash-2.05a-alpha1 released]

				   8/27
				   ----
execute_cmd.c
	- fix eval_arith_for_expr to handle the case where the expanded
	  word list is NULL, returning 0 in this case

print_cmd.c
	- in print_function_def, make sure that func_redirects is assigned
	  a value before being used

				   8/28
				   ----
alias.c
	- include <ctype.h> for definition of isalpha()

bashhist.h
	- add prototypes for extern function declarations

flags.c
	- include bashhist.h for extern function declarations

mksyntax.c
	- include <unistd.h> if HAVE_UNISTD_H is defined in config.h

parse.y
	- include test.h for extern function declarations

externs.h
	- change extern declaration for setlinebuf to sh_setlinebuf

stringlib.c
	- include <glob/glob.h> for extern function declarations

variables.h
	- add function prototypes for all of the sv_* functions

builtins/common.h
	- add extern declarations for set_shellopts() and parse_shellopts()
	  from builtins/set.def

variables.c
	- include "hashcmd.h" for extern declaration for flush_hashed_filenames
	- include "pathexp.h" for extern declaration for setup_glob_ignore

lib/malloc/malloc.c
	- cast to `long' instead of `int' in memalign for 64-bit machines

{pcomplete,trap}.c
	- changed printf escape sequences used to print pointers to %p

lib/readline/undo.c
	- include "xmalloc.h" for extern function declaration

input.h
	- add function prototypes to extern declarations for getc_with_restart
	  and ungetc_with_restart

variables.[ch]
	- changed type of `function' member of `struct name_and_function' to
	  `sv_func_t', which is defined and prototyped in variables.h
	- map_over now takes an `sh_var_map_func_t *'

shell.h
	- start of a set of function pointer typedefs like those in
	  lib/readline/rltypedefs.h

hashlib.[ch]
	- second paramter to flush_hash_table is now an `sh_free_func_t *'

trap.c
	- parameter to reset_or_restore_signal_handlers is now an
	  `sh_resetsig_func_t *'

pcomplete.h, pcomplib.c
	- function pointer argument to print_all_compspecs is now an
	  `sh_csprint_func_t *'
	- function pointer `list_getter' element of an `ITEMLIST' is now
	  prototyped with __P((...)) instead of using `Function *'

jobs.[ch]
	- `j_cleanup' member of a JOB is now an `sh_vptrfunc_t *'

alias.c
	- map_over_aliases now takes an `sh_alias_map_func_t *'
	- free_alias_data now takes a `PTR_T'

pathexp.c
	- function pointer argument to ignore_globbed_names is now an
	  `sh_ignore_func_t *' 

bashline.c
	- function pointer argument to _ignore_completion_names is now an
	  `sh_ignore_func_t *' 

pathexp.h,{bashhist,bashline.c
	- `item_func' member of a `struct ignorevar' is now an
	  `sh_iv_item_func_t *'

builtins/evalfile.c
	- `errfunc' is now an `sh_vmsg_func_t *'

jobs.c
	- map_over_job now takes an `sh_job_map_func_t *' as its first argument

array.[ch]
	- function pointer argument to array_walk is now an
	  `sh_ae_map_func_t *'

general.c
	- tilde_expansion_preexpansion_hook has type `tilde_hook_func_t *',
	  and so the assignment in tilde_initialize doesn't need a cast

list.c
	- map_over_words now takes an `sh_icpfunc_t *' as its second argument

input.h
	- the `getter' and `ungetter' function pointer members of a
	  BASH_INPUT are now of types `sh_cget_func_t *' and
	  `sh_cunget_func_t *' respectively
	- init_yy_io now takes an `sh_cget_func_t *' as its first argument and
	  an `sh_cunget_func_t *' as its second

parse.y
	- init_yy_io now takes an `sh_cget_func_t *' as its first argument and
	  an `sh_cunget_func_t *' as its second
	- initialize_bash_input casts bash_input.getter and bash_input.ungetter
	  appropriately

builtins/mkbuiltins.c
	- make the extern function definitions written to builtext.h have
	  prototypes with __P((...))
	- include "stdc.h"
	- change Function to mk_handler_func_t
	- fixed comment_handler to take the right number of args
	- prototyped all the handler functions with __P((...))

builtins.h
	- the `function' member of a struct builtin is now of type
	  `sh_builtin_func_t *'

builtins/common.[ch]
	- last_shell_builtin, this_shell_builtin are now of type
	  `sh_builtin_func_t *'
	- find_shell_builtin, builtin_address, find_special_builtin now return
	  `sh_builtin_func_t *'

builtins/exit.def, {execute_cmd,jobs,nojobs,variables}.c, parse.y
	- changed all declarations of last_shell_builtin and this_shell_builtin

execute_cmd.c
	- execute_builtin, execute_builtin_or_function,
	  execute_subshell_builtin_or_function now take an
	  `sh_builtin_func_t *' instead of a `Function *' for argument
	- changed appropriate variables from `Function *' to
	  `sh_builtin_func_t *'

builtins/{bind,builtin,enable,read,setattr}.def
	- replaced uses of `Function *' in variable declarations with
	  appropriate types (sh_builtin_func_t * or rl_command_func_t *)

builtins/set.def
	- set_func and get_func members of binary_o_options are now of types
	  `setopt_set_func_t *' and `setopt_get_func_t *', which are
	  prototyped

builtins/shopt.def
	- set_func member of shopt_vars is now of type `shopt_set_func_t *'

bashline.c
	- enable_hostname_completion now returns `int' (the old value of
	  perform_hostname_completion)

[The only use of Function and VFunction now is for unwind-protects]

				    9/4
				    ---
lib/sh/getcwd.c
	- use const define from config.h rather than `CONST'
	- use PTR_T define from xmalloc.h rather than `PTR'
	- include xmalloc.h for PTR_T
	- remove PATH_MAX define, rely on value from maxpath.h

{general,mailcheck}.c, lib/sh/{pathcanon,pathphys}.c
	- don't include maxpath.h directly; it's already included by shell.h

lib/sh/mailstat.c
	- new `mailstat()' implementation, to stat a mailbox file for
	  mail checking.  handles maildir-style mail directories with one
	  file per message and creates a dummy stat struct from them

lib/sh/Makefile.in
	- add mailstat.c and mailstat.o in the appropriate places

lib/malloc/malloc.c
	- augmented implementation with wrapper functions that pass in file
	  and line number information from cpp.  currently unused, but a
	  placeholder for future debugging and use tracking

lib/malloc/shmalloc.h
	- new file, extern declarations for allocation wrapper functions for
	  use by the shell (and others, I guess)

xmalloc.[ch]
	- wrapper functions for xmalloc, xfree, xrealloc (sh_ prefixed) that
	  pass cpp line number information through to the malloc functions,
	  if USING_BASH_MALLOC is defined

				    9/5
				    ---
lib/malloc/gmalloc.c
	- removed; no longer part of distribution

lib/malloc/Makefile.in
	- removed references to gmalloc.[co]

configure.in, doc/bashref.texi
	- removed references to `--with-glibc-malloc' configure option

{configure,Makefile}.in
	- changed the way bash malloc is configured into the Makefile, making
	  it more like how readline is configured.  If the bash malloc is
	  not configured in, nothing in lib/malloc will be built

				    9/6
				    ---
lib/malloc/imalloc.h
	- new file, some internal malloc definitions

lib/malloc/mstats.h
	- new file, definitions for malloc statistics structs and functions

lib/malloc/trace.c
	- new file, malloc tracing functions (currently just print messages
	  to stderr), code is #ifdef MALLOC_TRACE

lib/malloc/stats.c
	- new file, moved malloc stats code from malloc.c to here

lib/malloc/malloc.c
	- moved some definitions to imalloc.h
	- moved stats code to stats.c
	- malloc tracing calls added to internal_{malloc,realloc,free}, all
	  #ifdef MALLOC_TRACE

lib/malloc/Makefile.in, Makefile.in
	- added {imalloc,mstats}.h, {trace,stats}.c

parse.y
	- changed decode_prompt_string to save and restore $?
	  (last_command_exit_value) around calls to expand_prompt_string(),
	  so command substitutions in PS1, etc. don't change $?

{array,subst}.c
	- a couple more arrayind_t fixes from Paul Eggert

configure.in
	- remove redundant check for wait3(2)

redir.h
	- fixed a typo (stdin_redirs -> stdin_redirects)

				   9/10
				   ----
execute_cmd.c
	- remove check for \n and \r from WHITESPACE macro, since those
	  chars are not whitespace as returned by the whitespace(c) macro
	- getinterp now takes a `char *' as first arg, not unsigned char *
	- execute_shell_script now takes a `char *' as first arg, not
	  unsigned char *
	- fix typo in forward declaration for `initialize_subshell'
	
general.[ch]
	- check_binary_file now takes a (char *) argument, not unsigned char *
	- pass unsigned char to isspace and isprint because of ISO C fuckup
	- bash_tilde_expand now takes a `const char *' as its argument

builtins/evalfile.c, shell.c
	- buffer passed to check_binary_file is char, not unsigned char

parse.y
	- fix extern declaration for yyerror()
	- yyerror now takes a `const char *' as first arg

{error,jobs}.c
	- fixes to printf-style functions to handle pids wider than an int

lib/readline/{isearch,vi_mode}.c
	- fix call to rl_message in rl_display_search (remove extra arg)

variables.c
	- fix missing argument to builtin_error in make_local_variable

builtins/getopts.def
	- since getopts takes no options, change while loop calling
	  internal_getopts to a simple `if' check

builtins/printf.def
	- since printf takes no options, change while loop calling
	  internal_getopts to a simple `if' check

lib/readline/bind.c
	- remove _SET_BELL macro, expand code inline

lib/readline/input.c
	- change _rl_input_available to use either select or FIONREAD,
	  but not both

lib/readline/readline.c
	- fix rl_digit_loop to remove unreachable code at end of loop

{bashhist,bashline,expr,jobs,redir,shell}.c, builtins/fc.def, lib/sh/snprintf.c
	- bracket unused functions with #ifdef INCLUDE_UNUSED/#endif
	- remove some unused variables

execute_cmd.c
	- remove #ifdef'd code that allowed `return' to terminate a select
	  statement

expr.c
	- remove some extraneous tests from strlong()

array.h
	- arrayind_t is now a long, since shell arithmetic is performed as
	  longs
	- remove second declaration of new_array_element

builtins/printf.def
	- in mklong, xrealloc cannot return NULL, so don't check for it
	- remove some #if 0 code
	- fix core dump triggered by a format specification with more than
	  one `*'
	- remove `foundmod', since its value mirrors `modchar != 0'
	- include "common.h" for builtin_{error,usage} declarations

Makefile.in,builtins/Makefile.in
	- updated some dependencies due to new include files

pcomplete.c
	- include "execute_cmd.h" for declaration of execute_shell_function

arrayfunc.c
	- include <stdio.h> for printf
	- include "builtins/common.h" for builtin_error declaration

builtins/evalstring.c
	- include "../trap.h" for run_trap_cleanup declaration

builtins/help.def
	- include "common.h" instead of locally declaring builtin_error
	  and builtin_usage

error.h
	- add extern declaration for itrace()
	- add prototype to extern declaration of get_name_for_error
	- file_error now takes a `const char *' as first argument

externs.h
	- added prototype for sh_setlinebuf declaration, bracketed with
	  NEED_SH_SETLINEBUF_DECL so we don't need stdio.h everywhere
	- add extern declaration for parse.y:return_EOF()

shell.c
	- add NEED_SH_SETLINEBUF_DECL before including shell.h

lib/readline/callback.c
	- include <stdlib.h> or "ansi_stdlib.h" for abort declaration

quit.h
	- remove declaration of throw_to_top_level

subst.c
	- remove unused extern declaration for getopts_reset

lib/sh/netopen.c
	- include <shell.h> for legal_number, etc.
	- add prototype for inet_aton extern declaration

lib/sh/clock.c
	- include <stdc.h> for __P declaration
	- add extern declaration for get_clk_tck

support/mkversion.sh
	- changed so that extern function declarations for functions in
	  version.c (moved from externs.h) are in the generated version.h

shell.h
	- include version.h

version.c
	- various `char *' version variables are now `const char *'

general.h
	- add prototype for same_file, bracketed with _POSIXSTAT_H
	  #ifdef, since that's what include/posixstat.h defines

builtins/common.[ch]
	- _evalfile, maybe_execute_file, source_file, and fc_execute_file
	  now take a `const char *' as their first argument

eval.c
	- removed extern declaration of yyparse; it's in externs.h

parse.y
	- added prototypes to static forward function declarations
	- changed local `all_digits' variable in read_token_word () to
	  all_digit_token to avoid clash with all_digits() function in
	  general.c

{bashhist,copy_cmd,make_cmd,hashlib,mailcheck}.c
	- added prototypes for static function declarations

shell.h
	- add extern declarations for interactive, interactive_shell,
	  changed c files with extern declarations

pcomplete.c
	- changed it_init_aliases to avoid shadowing global variable
	  `aliases'

bashline.c,pathexp.c,general.h
	- sh_ignore_func_t is now a pointer to a function taking a
	  `const char *'; users changed

configure.in
	- test for <strings.h>

config.h.in
	- add #undef HAVE_STRINGS_H

bashansi.h
	- change like recommended in autoconf manual

				   9/11
				   ----
[a date which will live in infamy.  prayers for the victims.]

execute_cmd.c
	- don't use an absolute index into abuf in mkfmt, use
	  sizeof(abuf) to compute last index

builtins/common.c
	- fix read_octal to do a better job of detecting overflow while
	  iterating through the string

builtins/umask.def
	- change octal-print mode to print 4 digits, like other shells
	- cast umask to unsigned long to avoid problems on systems where
	  it's wider than an int (POSIX doesn't guarantee that mode_t is
	  no wider than an int, but real-world systems use int)

builtins/printf.def
	- mklong can never return NULL (it uses xrealloc), so the mainline
	  doesn't need to check for NULL returns
	- new function, getldouble (long double *), to get long doubles
	- mklong now takes a `char *' as its second argument, the modifier(s)
	  to use
	- changed use of `modchar' to handle more than a single modifier
	  character
	- changed to handle `long double' and `L' formats better, rather
	  than discarding long double information
	- since printf now follows the POSIX.2 rules for conversion errors,
	  we can dispense with the status returns from the get* functions
	- make the get* functions as similar in structure as possible,
	  removing type casts, etc.

lib/sh/timeval.c,execute_cmd.c
	- change some instances of `long' to `time_t', for systems where
	  a time_t is bigger than a long

jobs.c
	- include "posixtime.h" instead of <sys/time.h>

config.h.in
	- add defines for HAVE_DECL_CONFSTR, HAVE_DECL_STRTOLD,
	  HAVE_DECL_SBRK, HAVE_DECL_PRINTF
	- remove defines for SBRK_DECLARED and PRINTF_DECLARED
	- add _GNU_SOURCE define

configure.in
	- add AC_CHECK_DECLS for strtold, confstr, sbrk, printf
	- remove call to BASH_FUNC_SBRK_DECLARED
	- remove call to BASH_FUNC_PRINTF

xmalloc.c, lib/malloc/malloc.c
	- change check of SBRK_DECLARED to HAVE_SBRK_DECL

print_cmd.c
	- change PRINTF_DECLARED to HAVE_DECL_PRINTF

builtins/evalstring.c, builtins/common.h
	- parse_and_execute now takes a `const char *' as its second argument

input.h,parse.y
	- with_input_from_* functions now take a `const char *' as their
	  second argument
	- init_yy_io now takes a `const char *' as its fourth argument

parse.y,externs.h
	- parse_string_to_word_list now takes a `const char *' as its second
	  argument

tests/builtins.right
	- change output to account for extra digit in umask output

pcomplib.c
	- free_progcomp now takes a PTR_T argument

builtins/bashgetopt.h
	- include <stdc.h>
	- add prototypes to extern declarations

builtins/shopt.def
	- add prototypes to static function declarations

builtins/{fc,umask,wait}.def, builtins/{bashgetopt,common}.c
	- include <ctype.h> for isdigit macro (referenced by `digit(x)')

lib/readline/complete.c
	- added more static function declarations with prototypes

				   9/12
				   ----
lib/sh/tmpfile.c
	- use `^' instead of `*' in sh_mktmpname to make filenames a bit
	  more random

include/stdc.h,lib/readline/rldstdc.h
	- add __attribute__ definition 

builtins/common.h
	- add printf __attribute__ to declaration of builtin_error

error.h
	- add printf __attribute__ to declaration of programming_error,
	  report_error, parser_error, fatal_error, sys_error, internal_error,
	  internal_warning

lib/readline/readline.h
	- add printf __attribute__ to declaration of rl_message

pcomplete.c
	- add printf __attribute__ to declaration of debug_printf

print_cmd.c
	- add printf __attribute__ to declarations of cprintf, xprintf

include/chartypes.h
	- new file, includes <ctype.h> and defines macros that check for
	  safe (ascii) arguments before calling the regular ctype macros

{alias,bashline,execute_cmd,expr,findcmd,general,locale,mksyntax,stringlib,subst,variables}.c
parse.y
builtins/{bashgetopt,common}.c
builtins/{fc,printf,umask,wait}.def
lib/glob/strmatch.c
lib/sh/{oslib,pathcanon,pathphys,snprintf,strcasecmp,strindex,stringvec,strtod,strtol,strtrans}.c
examples/loadables/{head,sleep}.c
	- include "chartypes.h" or <chartypes.h> instead of <ctype.h>

Makefile.in,{builtins,lib/{glob,sh}}/Makefile.in
	- update dependencies to include chartypes.h

lib/sh/inet_aton.c
	- use `unsigned char' instead of `char' to pass to ctype.h functions

lib/sh/netopen.c
	- check for '0' <= host[0] <= '9' in _getaddr instead of using
	  isdigit

subst.c,lib/sh/shquote.c
	- change array subscripts into sh_syntaxtab from `char' to
	  `unsigned char'

{alias,bashline,execute_cmd,expr,general,subst}.c, parse.y
builtins/{fc,printf,umask,wait}.def builtins/{bashgetopt,common}.c
lib/sh/{pathcanon,pathphys,snprintf,strcasecmp,strindex,strtod,strtol,strtrans}.c
examples/loadables/{head,sleep}.c
	- change to use some of the new macros in chartypes.h
	- remove old local macro definitions now provided by chartypes.h

general.h
	- remove definition of isletter, ISOCTAL, digit, digit_value
	- change legal_variable_starter and legal_variable_char to use
	  chartypes.h macros
	- change ABSPATH to use chartypes.h macros

lib/readline/util.c
	- change to use Paul Eggert's FUNCTION_FOR_MACRO define to define
	  function replacements for macros in chardefs.h

lib/readline/chardefs.h
	- added some of the same macros as in chartypes.h
	- change _rl_lowercase_p, _rl_uppercase_p, _rl_digit_p,
	  _rl_to_upper, _rl_to_lower to use new IS* macros
	- added _rl_isident macro from vi_mode.c:isident

lib/readline/{bind,complete,nls}.c
	- change to use some of the new macros from chardefs.h

lib/readline/vi_mode.c
	- isident -> _rl_isident
	- remove local defines of macros in chardefs.h

lib/sh/strtol.c
	- updated to new version, modified from glibc 2.2.4 and sh-utils-2.0.
	  This one can do strtoll and strtoull, if necessary

				   9/13
				   ----
builtins/ulimit.def
	- changed get_limit so it retrieves both hard and soft limits
	  instead of one or the other
	- changed callers of get_limit
	- changed getmaxvm to take soft limit, hard limit as arguments
	- changed getmaxuprc to just take a single argument, the value
	- changed calls to printone() to pass soft limit or hard limit
	  depending on `mode' instead of using old current_limit variable
	- moved check for out-of-range limits in ulimit_internal into the
	  block that converts a string argument to a value of type rlim_t
	- changed RESOURCE_LIMITS struct to break the description into a
	  description string and separate scale factor string
	- changed print_all_limits to print a single error message if
	  get_limit fails, including limits[i].description now that the
	  scale factor has been removed from the description string
	- removed DESCFMT define, since it's now used only in printone()
	- changed printone to print the option character associated with a
	  particular limit if we're printing multiple limits
	- changed calls to builtin_error to print the description associated
	  with a limit if setting or getting the limit fails
	- added support for new POSIX 1003.1-200x rlim_t values:
	  RLIM_SAVED_CUR and RLIM_SAVED_MAX, which expand to the current
	  soft and hard limits, whatever they are
	- changed printone to print `hard' or `soft' if the current limit is
	  RLIM_SAVED_MAX or RLIM_SAVED_CUR, respectively
	- changed ulimit_internal to handle new `hard' and `soft' arguments
	- changed help text do describe the special limit arguments `hard',
	  `soft', and `unlimited'

doc/{bash.1,bashref.texi}
	- documented new `hard' and `soft' limit arguments to `ulimit'

hashlib.[ch]
	- find_hash_item now takes a `const char *' is its first argument
	- hash_string now takes a `const char *' is its first argument
	- remove_hash_item now takes a `const char *' as its first argument

pcomplib.c
	- removed cast from first argument to find_hash_item in find_compspec

general.[ch]
	- absolute_program now takes a `const char *' as its argument
	- absolute_pathname now takes a `const char *' as its argument

lib/glob/glob.[ch]
	- glob_pattern_p now takes a `const char *' as its argument

bashline.c
	- removed cast from first argument to absolute_program in
	  command_word_completion_function
	- removed cast from first argument to glob_pattern_p in
	  attempt_shell_completion

findcmd.[ch]
	- find_absolute_program, find_user_command, find_path_file,
	  search_for_command, user_command_matches now take a
	  `const char *' as their first argument
	- file_status, executable_file, is_directory, executable_or_directory
	  now take a `const char *' as their argument
	- _find_user_command_internal, find_user_command_internal,
	  find_user_command_in_path 

lib/sh/makepath.c, externs.h
	- changed sh_makepath so it takes `const char *' for its first
	  two arguments

hashcmd.[ch]
	- find_hashed_filename now takes a `const char *' as its first arg
	- remove_hashed_filename now takes a `const char *' as its first arg

variables.[ch]
	- new_shell_variable, var_lookup, shell_var_from_env_string,
	  find_name_in_env_array, bind_function, makunbound,
	  bind_name_in_env_array, bind_tempenv_variable, bind_variable
	  now take a `const char *' as their first arg
	- find_function, make_new_variable, find_tempenv_variable,
	  find_variable_internal, find_variable, set_func_read_only,
	  set_func_auto_export, all_variables_matching_prefix, assign_in_env,
	  assignment, kill_local_variable, make_local_variable, unbind_variable
	  now take a `const char *' as their arg
	- mk_env_string now takes `const char *' arguments

arrayfunc.[ch]
	- skipsubscript now takes a `const char *' as its argument

				   9/17
				   ----
lib/readline/complete.c
	- attempt to preserve case of what the user typed in
	  compute_lcd_of_matches if we're ignoring case in completion

builtins/{let,pushd}.def,{execute_cmd,expr}.c
	- change some 0L constants to 0 and let the compiler sort it out

				   9/18
				   ----
lib/malloc/alloca.c
	- alloca now takes a `size_t' argument

include/memalloc.h
	- if we're providing an extern function declaration for alloca,
	  use `void *' and prototype if __STDC__ is defined
	- if HAVE_ALLOCA_H is defined, but C_ALLOCA is defined, don't
	  define HAVE_ALLOCA

				   9/19
				   ----
subst.c
	- do_assignment_internal, do_assignment, and do_assignment_no_expand
	  now take a `const char *' as their first argument

general.h
	- a `sh_assign_func_t' is now a function taking a `const char *' and
	  returning int

hashcmd.c
	- free_filename_data now takes a `PTR_T' argument to agree with the
	  typedef for `sh_free_func_t'

lib/sh/snprintf.c
	- use TYPE_MAXIMUM define like strtol.c instead of huge constants

				   9/20
				   ----
lib/sh/snprintf.c
	- don't bother to compile the bulk of the body unless HAVE_SNPRINTF
	  or HAVE_ASPRINTF is not defined

				   9/24
				   ----
flags.c
	- ignore `set -n' if the shell was started interactively

lib/readline/readline.c
	- initialize readline_echoing_p to 0; let the terminal-specific code
	  in rltty.c set it appropriately

lib/malloc/malloc.c
	- changed internal_memalign() slightly to avoid compiler warnings about
	  negating an unsigned variable (-alignment -> (~alignment + 1))

				   9/27
				   ----
lib/readline/readline.c
	- changed rl_newline to set _rl_history_saved_point appropriately
	  for the {previous,next}_history code

lib/readline/rlprivate.h
	- extern declaration for _rl_history_preserve_point

lib/readline/bind.c
	- new bindable variable, `history-preserve-point', sets value of
	  _rl_history_preserve_point

				   10/1
				   ----
lib/malloc/table.c
	- new file, with a map of allocated (and freed) memory for debugging
	  multiple frees, etc.  Indexed by hash on values returned by
	  malloc(); holds size, file and line number info for last alloc or
	  free and a couple of statistics pointers

lib/malloc/malloc.c
	- a few cleanups; added calls for registering allocations and frees
	  if MALLOC_REGISTER is defined
	- replaced MALLOC_RETURN with explicit MALLOC_NOTRACE define
	- reordered fields in `struct...minfo' in `union mhead' to restore
	  eight-byte alignment
	- added explicit checks for underflow in free and realloc since
	  checking mh_magic2 is not sufficient to detect everything (it's
	  no longer the last field in the struct, and thus not the bytes
	  immediately preceding what's returned to the user)
	- new function, xbotch, for printing file and line number info for
	  the failed assertion before calling botch() (programming_error())

configure.in
	- replaced call to BASH_C_LONG_LONG with call to
	  AC_CHECK_TYPES([long long])
	- moved the C compiler tests before the tests for various
	  system types, so we can know whether we have `long long'
	  before testing for 64-bit types
	- if we have `long long', check for sizeof(long long) and save value

aclocal.m4
	- changed BASH_TYPE_BITS64_T to check `long long' before `long', but
	  after `double'

				   10/2
				   ----
lib/malloc/malloc.c
	- made malloc and realloc both agree on the rounding for a request of
	  size N (round up to nearest multiple of 8 after adjusting for
	  malloc overhead); uses new ALLOCATED_BYTES macro
	- realloc and free now use new IN_BUCKET macro for underflow checks

execute_cmd.c
	- fixed time_command() to use `time_t' instead of `long' to hold
	  time stamps

lib/sh/clock.c
	- clock_t_to_secs now takes a `time_t *' second argument
	- fixed print_clock_t to call clock_t_to_secs with right arguments

lib/sh/timeval.c
	- fixed print_timeval to make `minutes' a `long' and make its
	  structure identical to print_clock_t

redir.c
	- changed redirection_error to check for EBADF and use the file
	  descriptor being redirected from in the error message if it
	  is >= 0

Makefile.in
	- changed release status to `beta1'

lib/glob/collsyms.h
	- added a few ASCII symbols to the posix_collsyms array

				   10/3
				   ----
aclocal.m4
	- fixed typo in BASH_TYPE_BITS64_T

configure.in
	- added check for unsigned chars with AC_C_CHAR_UNSIGNED

config.h.in
	- added PROTOTYPES and __CHAR_UNSIGNED__ #defines

general.h
	- if CHAR_MAX is not define by <limits.h>, provide a definition

builtins/printf.def
	- change tescape() to mask \0 and \x escape sequences with 0xFF
	- change tescape() to process at most two hex digits after a `\x'

lib/sh/strtrans.c
	- change strtrans() to mask \0 and \x escape sequences with 0xFF
	- change strtrans() to process at most two hex digits after a `\x'.
	  This affects `echo -e' and $'...' processing

lib/readline/bind.c
	- changed rl_translate_keyseq() to process at most two hex digits
	  after a `\x'

lib/readline/doc/{rluser.texinfo,readline.3}, doc/bash.1
	- changed documentation for key binding escape sequences to specify
	  that at most two hex digits after \x are translated
	- changed documentation for key binding to specify that the result
	  of \nnn or \xhh escapes is an eight-bit value, not just ASCII

doc/{bash.1,bashref.texi}
	- changed documentation of $'...' to specify that at most two hex
	  digits after \x are translated
	- changed `echo' documentation to specify that at most two hex
	  digits after \x are translated
	- changed documentation for `echo' and $'...' to specify that the
	  result of \nnn or \xhh escapes is an eight-bit value, not just ASCII

				   10/4
				   ----
lib/malloc/malloc.c
	- changed interface for xbotch to pass memory address and error code
	  as two additional arguments
	- call mregister_describe_mem from xbotch to get the last allocation
	  or free before the botch

configure.in
	- call AC_CHECK_DECLS([strsignal])

config.h.in
	- add HAVE_DECL_STRSIGNAL

siglist.h
	- make declaration of strsignal() dependent on !HAVE_DECL_STRSIGNAL

				   10/5
				   ----
support/texi2html
	- upgraded to version 1.64

				   10/9
				   ----
aclocal.m4
	- added check for `long long' to BASH_TYPE_PTRDIFF_T

configure.in
	- replaced call to BASH_HAVE_TIOCGWINSZ with AC_HEADER_TIOCGWINSZ

aclocal.m4
	- replaced body of BASH_STRUCT_TERMIOS_LDISC with call to
	  AC_CHECK_MEMBER(struct termios.c_line, ...)
	- replaced body of BASH_STRUCT_TERMIO_LDISC with call to
	  AC_CHECK_MEMBER(struct termios.c_line, ...)

[bash-2.05a-beta1 frozen]

				   10/10
				   -----
lib/sh/snprintf.c
	- fixed exponent() to not smash the trailing zeros in the fraction
	  when using %g or %G with an `alternate form'
	- fixed exponent() to handle the optional precision with %g and %G
	  correctly (number of significant digits before the exponent)

				   10/11
				   -----
expr.c
	- fixed strlong() to correct the values of `@' and `_' when
	  translating base-64 constants (64#@ == 62 and 64#_ == 64), for
	  compatibility with ksh

lib/sh/itos.c
	- added a slightly more flexible fmtlong() function that takes a
	  base argument and flags (for future use)
	- rewrote itos and inttostr in terms of fmtlong

lib/sh/fmtulong.c
	- new file, converts unsigned long to string.  hooks for `unsigned
	  long long' in the future.  unused as yet

				   10/15
				   -----
lib/readline/rltty.c
	- change the SET_SPECIAL macro to avoid possible (but highly
	  unlikely) negative array subscripts

error.h
	- add __attribute__ to extern declaration of itrace (even though the
	  function isn't defined in released versions of bash)

bashansi.h
	- include <strings.h> if HAVE_STRINGS_H is defined, to get any extra
	  function declarations provided therein

copy_cmd.c
	- fix typo in forward declaration for copy_arith_for_command

lib/malloc/stats.c
	- make the accumulators in _print_malloc_stats be `unsigned long'
	  instead of `int'

externs.h, sig.h
	- add `__noreturn__' gcc attribute to exit_shell and jump_to_top_level
	  declarations

lib/sh/mailstat.c, support/bashversion.c
	- include <bashansi.h> for some string function declarations

lib/malloc/shmalloc.h
	- added extern declarations of functions that do malloc debugging

lib/readline/{isearch,readline,vi_mode}.c
	- make sure we index into _rl_keymap with a non-negative index

parse.y
	- make sure we index into sh_syntaxtab with a non-negative index

lib/readline/vi_mode.c
	- bound the vi_mark_chars array with the number of characters between
	  'a' and 'z' rather than using a fixed amount
	- don't use _rl_lowercase_p when deciding whether the char read by
	  rl_vi_set_mark is a valid mark; just use 'a' <= char <= 'z'

lib/readline/chardefs.h
	- conditionally include memory.h and strings.h as in general.h
	- replace ISASCII with IN_CTYPE_DOMAIN like other GNU software
	- add defines for ISPRINT(c), ISLOWER(c) and ISUPPER(c)
	- fix defines for _rl_lowercase_p, _rl_uppercase_p, _rl_digit_p,
	  _rl_pure_alphabetic, ALPHABETIC, _rl_to_upper, _rl_to_lower,
	  and _rl_isident to work on systems with signed chars

include/chartypes.h
	- replace ISASCII with IN_CTYPE_DOMAIN like other GNU software

lib/sh/{strcasecmp,strtod,strtol}.c
	- don't pass possibly-negative characters to tolower() or toupper()

lib/glob/strmatch.c
	- don't bother testing for isupper in FOLD; rely on TOLOWER macro
	  from <chartypes.h> to do it
	- don't use local definitions of isblank, et al.; rely on macros
	  from <chartypes.h>

lib/readline/{display,readline}.c, mksyntax.c
	- use new ISPRINT macro instead of isprint()

builtins/{kill.def,mkbuiltins.c},{error,execute_cmd,jobs,nojobs,subst}.c
	- don't assume that a pid_t fits into an int for printing and other
	  uses

variables.[ch]
	- the unused put_gnu_argv_flags_into_env now takes a `long' pid
	  argument

configure.in, config.h.in
	- call AC_STRUCT_ST_BLOCKS, define HAVE_STRUCT_STAT_ST_BLOCKS if found
	- check for strtoull(), define HAVE_STRTOULL if found
	- check for uintmax_t, define to `unsigned long' if not found

lib/sh/mailstat.c
	- don't use st_blocks member of struct stat unless
	  HAVE_STRUCT_STAT_ST_BLOCKS is defined; otherwise use the st_nlink
	  field to return the total number of messages in a maildir-style
	  mail directory

general.h,{alias,expr,general,subst,variables}.c
builtins/{printf,read}.def
lib/readline/{bind,complete,nls}.c
lib/sh/{pathcanon,pathphys,shquote,snprintf,strindex,strtod,strtol,strtrans}.c
	- cast args to ctype macros to unsigned char for systems with signed
	  chars; other fixes for signed chars

lib/sh/{fmtullong,strtoull.c}
	- new files, more support for `long long'

Makefile.in, lib/sh/Makefile.in
	- make fmtullong.o and strtoull.o part of libsh

lib/sh/itos.c
	- remove local copy of fmtlong; use fmtulong instead
	- new functions: uitos, uinttostr work on `unsigned long'

lib/sh/snprintf.c
	- fixes to make `unsigned long long' work (%llu)
	- fixes to make unsigned formats not print the sign when given
	  an unsigned long that is greater than LONG_MAX

externs.h
	- extern declarations for fmtulong, fmtulloing, strtoull
	- extern declarations for uitos, uinttostr

				   10/16
				   -----
configure.in
	- move header checks before function checks
	- move c compiler tests before header checks
	- check for <inttypes.h> with BASH_HEADER_INTTYPES
	- change type checks for intmax_t, uintmax_t to not attempt to
	  include <stdint.h>
	- check for strtoimax, strtoumax, strtoll, strtol, strtoull, strtoul
	  with BASH_CHECK_DECL (for declarations in header files) and
	  AC_REPLACE_FUNCS (for availability and LIBOBJS substitution)
	- remove check for have_long_long around sizeof check for long long
	  (since autoconf will give it a size of 0 if the type isn't found)

config.h.in
	- add a define for HAVE_INTTYPES_H
	- add a define for HAVE_UNSIGNED_LONG_LONG
	- add defines for HAVE_STRTOIMAX, HAVE_STRTOUMAX, HAVE_STRTOLL

aclocal.m4
	- new func, BASH_HEADER_INTTYPES, which just calls AC_CHECK_HEADERS
	  on <inttypes.h>; separate so it can be AC_REQUIREd
	- AC_REQUIRE([BASH_HEADER_INTTYPES]) in BASH_CHECK_TYPE
	- include <inttypes.h> in BASH_CHECK_TYPE if HAVE_INTTYPES_H is
	  defined
	- change AC_DEFINE to AC_DEFINE_UNQUOTED in BASH_CHECK_TYPE
	- new `long long' checking macros:  BASH_TYPE_LONG_LONG and
	  BASH_TYPE_UNSIGNED_LONG_LONG
	- new BASH_CHECK_DECL 

lib/sh/{strto[iu]max,strtoll}.c, lib/sh/Makefile.in, Makefile.in
	- new files

externs.h
	- extern declarations for strtoll, strtoimax, strtoumax

lib/malloc/alloca.c
	- include <bashtypes.h> for size_t

builtins/printf.def
	- new functions: getllong, getullong, getintmax, getuintmax; return
	  long long, unsigned long long, intmax_t, uintmax_t respectively
	- builtin printf now handles `ll' and `j' length modifiers directly

lib/sh/Makefile.in
	- use LIBOBJS to decide whether or not the strto* functions are
	  needed

				   10/17
				   -----
configure.in
	- call AC_REPLACE_FUNCS(rename)
	- move getcwd, strpbrk, strcasecmp, strerror, strtod
	  from AC_CHECK_FUNCS to AC_REPLACE_FUNCS
	- only call BASH_FUNC_GETCWD if $ac_func_getcwd == "yes"
	- call BASH_CHECK_SYS_SIGLIST
	- if we don't have vprintf but have _doprnt, call AC_LIBOBJ(vprint)

lib/sh/Makefile.in
	- remove rename, getcwd, inet_aton, strpbrk, strcasecmp, strerror,
	  strtod, vprint from OBJECTS; picked up from LIBOBJS

aclocal.m4
	- change BASH_FUNC_GETCWD to call AC_LIBOBJ(getcwd) if the libc
	  getcwd(3) calls popen(3)
	- change BASH_FUNC_INET_ATON to call AC_LIBOBJ(inet_aton) if it's
	  not found in libc or as a #define even with the special includes
	- BASH_KERNEL_RLIMIT_CHECK -> BASH_CHECK_KERNEL_RLIMIT
	- BASH_DEFAULT_MAILDIR -> BASH_SYS_DEFAULT_MAILDIR
	- BASH_JOB_CONTROL_MISSING -> BASH_SYS_JOB_CONTROL_MISSING
	- BASH_REINSTALL_SIGHANDLERS -> BASH_SYS_REINSTALL_SIGHANDLERS
	- BASH_SIGNAL_CHECK -> BASH_SYS_SIGNAL_VINTAGE
	- BASH_DUP2_CLOEXEC_CHECK -> BASH_FUNC_DUP2_CLOEXEC_CHECK
	- BASH_PGRP_SYNC -> BASH_SYS_PGRP_SYNC
	- BASH_RLIMIT_TYPE -> BASH_TYPE_RLIMIT
	- BASH_FUNC_PRINTF -> BASH_DECL_PRINTF
	- BASH_FUNC_SBRK_DECLARED -> BASH_DECL_SBRK
	- BASH_MISC_SPEED_T -> BASH_CHECK_SPEED_T
	- BASH_CHECK_SOCKLIB -> BASH_CHECK_LIB_SOCKET
	- new macro, BASH_CHECK_SYS_SIGLIST, encapsulates all the checks for
	  sys_siglist, _sys_siglist, and strsignal(), sets SIGLIST_O to
	  siglist.o if appropriate

Makefile.in
	- use SIGLIST_O variable to decide whether or not we need siglist.o

{execute_cmd,subst}.c
	- change a couple of instances of ISDIGIT to DIGIT, where we really,
	  really only want ascii digits

ansi_stdlib.h
	- don't need a declaration for atol()

				   10/18
				   -----

aclocal.m4
	- new macro, BASH_FUNC_PRINTF_A_FORMAT, checks for printf support
	  for %a, %A conversion specifiers, defines HAVE_PRINTF_A_FORMAT
	  if successful

configure.in
	- call AC_CHECK_FUNCS for isascii
	- call BASH_FUNC_PRINTF_A_FORMAT

config.h.in
	- add a define for HAVE_ISASCII
	- add a define for HAVE_PRINTF_A_FORMAT

lib/sh/snprintf.c
	- for long double output, fall back to sprintf using ldfallback()
	  function for floating point formats
	- support %a, %A using dfallback() or ldfallback() if
	  HAVE_PRINTF_A_FORMAT is defined
	- fix bug in vasprintf that returned wrong value in its first
	  argument if the buffer holding the result string got reallocated
	- fixed PUT_CHAR macro to increment the counter even if we've
	  exceeded the buffer size, for the return value from
	  vsnprintf/snprintf
	- fix vsnprintf_internal to not use counter < length as a loop
	  condition, but always process the entire format string (for
	  the return value from vsnprintf/snprintf)

builtins/printf.def
	- support %a, %A if HAVE_PRINTF_A_FORMAT is defined

include/typemax.h
	- new file, with the TYPE_MAXIMUM stuff that's duplicated in several
	  files in lib/sh

lib/sh/{fmtulong,strtol,snprintf}.c
	- include <typemax.h> instead of having the definitions in each file

lib/sh/Makefile.in
	- updated dependencies for typemax.h

				   10/22
				   -----
configure.in
	- call AC_CHECK_FUNCS on ctype.h functions/macros that bash redefines
	  in chartypes.h

config.h.in
	- defines for HAVE_IS{ASCII,BLANK,GRAPH,PRINT,SPACE,XDIGIT}

include/chartypes.h, lib/glob/strmatch.c, lib/readline/chardefs.h
	- don't redefine some is* ctype macros/functions if HAVE_ISXXX is
	  defined (meaning that an appropriate function, but not a macro,
	  exists)

lib/sh/strtrans.c
	- new function, ansic_shouldquote, returns 1 if argument string
	  contains non-printing chars that should be quoted with $'...'

externs.h
	- new declaration for ansic_shouldquote()

variables.c
	- change print_var_value to ansi C quote the string if we're not in
	  posix mode and the variable's value contains non-printing chars,
	  to use the regular shell single quoting if the value contains
	  shell meta-characters, and to just output the string otherwise

lib/sh/shquote.c
	- add `break' to `case '~':' to avoid fallthrough and extra test

doc/bashref.texi
	- note that in POSIX mode, `set' displays variable values that
	  include nonprinting characters without quoting, unless they
	  contain shell metacharacters

builtins/printf.def, lib/sh/snprintf.c
	- handle `F' conversion specifier as equivalent to 'f'

parse.y, {nojobs,variables}.c
	- a couple of cleanups for when building a minimal configuration

nojobs.c
	- new function: stop_making_children(), just sets
	  already_making_children to 0 (like stop_pipeline)

subst.c
	- call stop_making_children from subst.c:command_substitute if
	  JOB_CONTROL is not defined.  This fixes the bug where the wrong
	  process is waited for (and its status returned) when using
	  command substitution in a null command in a shell function

builtins/printf.def
	- new variable `tw' used to keep track of the total number of
	  characters written by a single call to `printf' -- to be
	  used for the `%n' conversion, which will be added later.  It
	  gets reset each time we reuse the format string, which is what
	  ksh93 seems to do

				   10/23
				   -----
variables.c
	- new function, bind_var_to_int (char *var, long val)

variables.h
	- extern declaration for bind_var_to_int

lib/sh/netopen.c
	- use gai_strerror() for error messages when getaddrinfo() fails
	- use PF_INET if DEBUG is defined, since IPv6 doesn't work for me

Makefile.in
	- pass DEBUG=${DEBUG} down to makes in some subdirectories

{builtins,lib{glob,sh}}/Makefile.in
	- append ${DEBUG} to LOCAL_CFLAGS value, passed by top-level Makefile

builtins/printf.def
	- added support for %n format conversion char (number of chars printed
	  so far from current format string)

				   10/24
				   -----
variables.c
	- if posixly_correct is set, the default value of $MAILCHECK is 600
	- use legal_number instead of atoi in adjust_shell_level
	- treat non-numeric assignments to SECONDS as 0 in assign_seconds
	- new function, init_funcname_var; sets FUNCNAME as a dynamic variable
	  if it's not set in the initial environment
	- new function, init_groups_var; sets GROUPS as a dynamic array
	  variable if it's not set in the initial environment
	- new function, init_dirstack_var; sets DIRSTACK as a dynamic array
	  variable if it's not set in the initial environment
	- new function, init_seconds_var; sets SECONDS as a dynamic
	  variable using any valid integer value in the initial environment
	  as the initial value, as if an assignment had been performed
	- call init_funcname_var, init_groups_var, init_dirstack_var,
	  init_seconds_var from initialize_dynamic_variables
	- non-numeric values assigned to LINENO are treated as 0
	- change initialize_shell_variables to not auto-export PATH or TERM
	- change set_home_var to not auto-export HOME
	- change set_shell_var to not auto-export SHELL
	- broke the code that sets HOSTNAME, HOSTTYPE, MACHTYPE, OSTYPE
	  out into a separate function, set_machine_vars; none of those
	  variables are auto-exported
	- bash no longer un-exports SSH_CLIENT or SSH2_CLIENT

shell.c
	- changed isnetconn() to check SSH_CLIENT and SSH2_CLIENT only if
	  SSH_SOURCE_BASHRC is defined in config-top.h

config-top.h
	- added a commented-out definition for SSH_SOURCE_BASHRC

				   10/25
				   -----

Makefile.in
	- changed RELSTATUS to `rc1' (release candidate 1)

				   10/29
				   -----
locale.c
	- fixed an `=' vs. `==' typo in set_locale_var when parsing
	  LC_NUMERIC

doc/{bash.1,bashref.texi}
	- document what bash does with $POSIXLY_CORRECT

doc/builtins.1
	- some updates

builtins/psize.sh
	- some mktemp(1) changes

lib/readline/readline.c
	- change rl_backward to check for rl_point < 0 and reset to 0 if so

lib/readline/util.c
	- don't compile in _rl_strpbrk if HAVE_STRPBRK is defined

lib/readline/rlprivate.h
	- remove extern declaration of _rl_strpbrk

lib/readline/rldefs.h
	- #define _rl_strpbrk as strpbrk if HAVE_STRPBRK is define, otherwise
	  add extern declaration of _rl_strpbrk from rlprivate.h

{mailcheck,shell,variables}.c
	- make sure to include posixtime.h to get any prototype for time(3)
	  in scope

{array,eval,execute_cmd,mksyntax,subst}.c, parse.y
builtins/common.c
lib/sh/pathcanon.c
	- a few changes as the result of `gcc -Wall' patches from solar
	  designer

builtins/read.def, parse.y
	- change some calls to free() to xfree()

builtins/set.def
	- make sure unset_builtin() resets unset_array to 0 each time through
	  the loop, because it's set (and used) depending on the current
	  argument

shell.h
	- new define, USE_VAR, to force the compiler to not put a particular
	  variable in a register -- helpful if registers are not restored
	  by setjmp/longjmp

builtins/{evalfile.c,{read,wait}.def}, {eval,execute_cmd,shell,test}.c
	- use USE_VAR for some variables

subst.c
	- fixed a case in expand_word_internal where a NULL pointer could
	  have been passed to free() (though free() should ignore it)
	- fixed a case at the end of expand_word_internal where LIST could
	  have been used uninitialized (it makes gcc happy, though it
	  doesn't happen in practice)

test.c
	- give test_syntax_error(), beyond(), and integer_expected_error()
	  the `__noreturn__' attribute for gcc

unwind_prot.c
	- in clear_unwind_protect_list(), convert `flags' to `long' (via
	  assignment to a `long' variable) before casting to `char *', in
	  case pointers and longs are 64 bits and ints are 32 (makes no
	  difference on 32-bit machines)

				   10/30
				   -----
print_cmd.c
	- fixed cprintf to avoid gcc warning about assigning const pointer
	  to non-const (discarding type qualifier)

{make_cmd,pcomplete,test}.c,parse.y
	- some minor changes to shut up gcc warnings

lib/sh/tmpfile.c
	- fixed sh_mktmpfp to avoid file descriptor leaks in the case that
	  sh_mktmpfd succeeds but fdopen fails for some reason
	- change sh_mktmpfd to use the same scheme for computing `filenum'
	  as sh_mktmpname
	- change get_sys_tmpdir to prefer P_tmpdir if P_tmpdir is defined
	- changed sh_mktmpname and sh_mktmpfd to avoid trying to assign to
	  `nameroot' if `nameroot == 0' (duh)
	- add code to sh_mktmpfd to use mkstemp(3) if USE_MKSTEMP is defined
	- add code to sh_mktmpname to use mktemp(3) if USE_MKTEMP is defined

support/{fixlinks,mkclone}
	- use mktemp if it's available for the symlink test
	- use $TMPDIR instead of hardcoding /tmp; default to /tmp
	- use a better filename for the symlink test instead of `z'

support/bashbug.sh
	- more changes inspired by a patch from solar designer

lib/malloc/Makefile.in
	- new target `alloca', which builds libmalloc.a with alloca.o only
	  (for systems without alloca that are configured --without-bash-malloc)

configure.in
	- if we don't have a working alloca and are not configured to build
	  the bash malloc library, make a malloc library containing only
	  alloca.o

aclocal.m4
	- slight change to RL_LIB_READLINE_VERSION to deal with minor version
	  numbers with a letter appended (like 4.2a)

				   10/31
				   -----
doc/{bash.1,bashref.texi}
	- slight change to note that only interactive shells resend a SIGHUP
	  to all jobs before exiting

externs.h
	- declare strto[ui]max only if NEED_STRTOIMAX_DECL is defined.  This
	  keeps picky compilers from choking because intmax_t is not defined
	  (MacOS X 10.1)

builtins/printf.def
	- #define NEED_STRTOIMAX_DECL before including shell.h

				   11/1
				   ----
general.c
	- check in bash_tilde_expand() for an unquoted tilde-prefix; don't
	  bother passing the string to tilde_expand unless the prefix is
	  unquoted

shell.c
	- fix a problem with $LINENO when executing commands supplied with
	  the -c invocation option when ONESHOT is defined

[bash-2.05a-rc1 frozen]

builtins/printf.def
	- fix the %n conversion to require that the variable name supplied
	  be a valid shell identifier

variables.c
	- improve random number generator slightly by using the upper 16
	  bits of the running random number instead of the lower 16, which
	  are incrementally more random

				   11/2
				   ----
configure.in
	- if RL_INCLUDEDIR ends up being /usr/include, don't put
	  -I$(RL_INCLUDEDIR) into CFLAGS

				   11/5
				   ----
doc/{bash.1,bashref.texi}
	- correct description of POSIXLY_CORRECT to note that the shell enters
	  posix mode *before* the startup files are read if POSIXLY_CORRECT
	  is in the initial environment

variables.c
	- fix function prologues for init_dirstack_var and init_groups_var
	  to agree with caller (no arguments)

jobs.c
	- fix forward function declarations for pipe_read and pipe_close

subst.c
	- removed `inline' attribute from skip_double_quoted because it can
	  potentially be called recursively

bashline.c
	- quick fix to bashline.c:attempt_shell_completion programmable
	  completion code to just punt if the end of the command word found
	  by find_cmd_end is <= the start found by find_cmd_start (the bug
	  is probably in find_cmd_start -- fix later)

pcomplete.c
	- fix gen_matches_from_itemlist to return if the stringlist is null
	  after any cleaning or initialization, before trying to use it
	- fix GEN_COMPS to only bother to try to append the STRINGLIST
	  returned by gen_matches_from_itemlist to `glist' if it's non-NULL

lib/sh/stringlist.c
	- make copy_stringlist return NULL if the STRINGLIST * passed as an
	  argument is NULL
	- make append_stringlist call copy_stringlist only if M2 is non-NULL;
	  otherwise just return NULL if m1 is NULL
	- make word_list_to_stringlist return 0 immediately if the passed
	  LIST argument is NULL
	- make realloc_stringlist call alloc_stringlist if the passed
	  STRINGLIST argument (`sl') is 0, just like realloc calls malloc

subst.c
	- in skip_to_delim(), if we have an unclosed ${, and it's at the end
	  of the string (string[i] == '{', string[i+1] == '{' and
	  string[i+2] == 0, return si (i +2) immediately without bothering
	  to call extract_dollar_brace_string or extract_delimited_string
	- in skip_to_delim(), if string[i] is 0 after a call to
	  extract_dollar_brace_string or extract_delimited_string (meaning we
	  have an unclosed ${ or other expansion, return i immediately without
	  doing a `continue' (which will increment i past the end of string)
	- in split_at_delims, don't increment te by 1 if it's pointing to a
	  delimiter.  this has the effect of skipping the first delimiter
	  char in a possibly multi-character delimiter, and ignoring
	  single-char delimiters like `>'

configure.in
	- use AC_CHECK_MEMBERS([struct stat.st_blocks]) instead of a call to
	  AC_STRUCT_ST_BLOCKS to avoid configure changing LIBOBJS if the test
	  fails

general.c
	- introduce two new variables: bash_tilde_{prefixes,suffixes}, set
	  to the additional prefixes and suffixes bash wants to pass to the
	  tilde expansion code (reserved for post-bash-2.05a fix)

aclocal.m4
	- add missing `test' in BASH_CHECK_SYS_SIGLIST

				   11/7
				   ----
lib/readline/vi_mode.c
	- fix rl_vi_goto_mark to explicitly check that the desired mark is
	  between 'a' and 'z', since some locales have lowercase letters
	  outside that range, which could cause a negative subscript

include/chartypes.h
	- remove superfluous `#undef ISASCII'

lib/sh/strto[iu]max.c
	- changes from Paul Eggert to work around buggy compilers and catch
	  configuration errors at compile time

aclocal.m4
	- new macro, BASH_C_LONG_DOUBLE, identical to AC_C_LONG_DOUBLE but
	  with a fix for Irix 5.3 (not called, since I'm not sure it's the
	  right thing to do -- the C standard allows double and long double
	  to be the same size)

lib/sh/snprintf.c
	- only try to write the trailing NUL in vsnprintf_internal if
	  data->length is >= 0, since if it's not, we probably don't have
	  a buffer

Makefile.in
	- changed RELSTATUS to `release'

				   11/8
				   ----
lib/sh/strtol.c
	- make sure chars passed to toupper are cast to unsigned

unwind_prot.c
	- change clear_unwind_protect_list to not require a cast from `int'
	  to `char *'

lib/readline/chardefs.h
	- make _rl_digit_p succeed only for ascii digits, since that's what
	  most callers assume