aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
blob: 0762e4e6b925ed640d06eb6e7b72ded53dda8062 (plain) (blame)
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
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
2022-07-26  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20220726

	* Auto-create objdir for bmake/unit-tests if appropriate

2022-07-24  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20220724
	Merge with NetBSD make, pick up
	o make.1: describe variable assignment and evaluation more precisely
	o parse.c: fix out-of-bounds read when parsing an invalid line
	o var.c: simplify return type of IsShortVarnameValid

2022-06-12  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20220612
	Merge with NetBSD make, pick up
	o allow to randomize build order of targets
	.MAKE.MODE += randomize-targets can help uncover dependency bugs
	within a makefile.
	o compat.c: rename Compat_Run to Compat_MakeAll
	o make.c: inline MakeBuildParent
	inline make_abort, improve error details
	o parse.c: reorganize Parse_Error
	fix memory leak in wildcard targets and sources
	separate cases in HandleDependencyTargetMundane
	extract HandleSingleDependencyTargetMundane
	rename loadfile to LoadFile
	split IncludeFile into separate functions
	condense code for searching a file in the paths
	fix off-by-one error in buffer for .WAIT nodes
	o str.c: condense Str_Match
	make code for string matching syntactically more consistent

2022-04-18  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20220418
	Merge with NetBSD make, pick up
	o ignore '.POSIX:' if not in first non-comment line
	of Makefile as specified by POSIX.
	add unit-tests for above.
	o meta.c: make it easier to find usage of identifiers
	o targ.c: add .USEBEFORE to Targ_PrintType

2022-04-14  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20220414

	* unit-tests/Makefile: simplify checks for shells with
	BROKEN_TESTS, this helps with other Linux distros that
	use dash.

2022-03-30  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20220330
	Merge with NetBSD make, pick up
	o var.c: fix spacing, and a typo in a test

2022-03-26  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20220326
	Merge with NetBSD make, pick up
	o parse.c: try to include 'posix.mk' the first time
	.POSIX: is encountered, to allow for beter POSIX compliance.
	o var.c: make debug logs more readable
	prefer 'long long' over 'long' on 32-bit C99 platforms
	fix crash on .undef of an environment variable

2022-03-03  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20220303
	Merge with NetBSD make, pick up
	o tell meta mode unit tests not to expect filemon
	o cond.c: make debug logging for comparisons less technical
	o lst.c: fix mem leak in Lst_Remove
	o str.c: make code for string matching syntactically more consistent
	o var.c: simplify ParseModifier_Match

2022-02-14  Simon J Gerraty  <sjg@beast.crufty.net>

	* unit-tests/Makefile: control MAKESYSPATH for deptgt-phony

	* VERSION (_MAKE_VERSION): 20220214
	Merge with NetBSD make, pick up
	o cond.c: simplify control flow in CondParser_Comparison
	o job.c: fix echoing of command with '-' in silent target in jobs mode
	o main.c: prefix the warning about read-only .OBJDIR with a colon
	o parse.c: remove redundant conditions
	o var.c: simplify control flow in ModifyWord_SysVSubst

2022-02-08  Simon J Gerraty  <sjg@beast.crufty.net>

	* unit-tests/Makefile: disable opt-debug-x-trace on Linux if there
	is any chance we have dash as .SHELL

	* VERSION (_MAKE_VERSION): 20220208
	Merge with NetBSD make, pick up
	o more unit tests
	o meta.c: use a variable to hold command line to be filtered
	to avoid any side effects from content of command line.

2022-02-04  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20220204
	Merge with NetBSD make, pick up
	o use unsigned consistently for line numbers, avoid the need for %z
	o parse.c: do not step off end of input in Parse_IsVar
	when checking for target local variable assignments

2022-02-02  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20220202
	Merge with NetBSD make, pick up
	o remove redundant declaration of HashIter_Init
	o make DEBUG0 simpler

2022-01-30  Simon J Gerraty  <sjg@beast.crufty.net>

	* cast gn->lineno to avoid %z

	* VERSION (_MAKE_VERSION): 20220130
	Merge with NetBSD make, pick up
	o more unit tests
	o make GNode lineno unsigned to please lint
	o print location of recursive variable references in commands
	o print "stack trace" (makefile includes) on fatal errors
	o make.1: refine documentation for target local assignments

2022-01-28  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20220128
	Merge with NetBSD make, pick up
	o inline functions called only once
	o for.c: clean up AddEscape for building the body of a .for loop
	o hash.c: merge duplicate code for finding an entry in a hash table
	replace HashEntry_KeyEquals with strncmp
	o make.1: document quirks of target local variable assignments.
	o parse.c: cleanup white-space

2022-01-26  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20220126
	Merge with NetBSD make, pick up
	o allow setting target local variables
	o more unit tests
	o add missing newline after "cannot continue" message
	o meta.c: clean up eat_dots
	o parse.c: fix filename in warning about duplicate script
	o var.c: when expanding nested variables, check simple things first

2022-01-16  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20220116
	Merge with NetBSD make, pick up
	o fix for unit-tests/varname-makeflags on non-BSD systems
	o use Var_Exists rather than Var_Value where appropriate
	o remove unnecessary functions for expanding variable names
	o cond.c: inline EvalBare
	o main.c: lint cleanup
	o parse.c: condense code in Parse_IsVar
	use islower for parsing directives (none have upper case)

2022-01-12  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20220112
	Merge with NetBSD make, pick up
	o meta.c: add .MAKE.META.CMP_FILTER for filtering commands before
	comparion, rarely needed but useful when it is.

2022-01-10  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20220110
	Merge with NetBSD make, pick up
	o inline Buf_Clear
	o remove redundant braces
	o rename and inline Targ_Precious
	o cond.c: remove redundant initializer in CondParser_ComparisonOrLeaf
	o for.c: clean up handling of .for loops
	fix reported line numbers of continuation lines
	add details about .for loop variables to stack traces
	o job.c: reduce code for initializing error handling in shell
	o main.c: in Cmd_Exec, return error message instead of format string
	have as few statements as possible between va_start and va_end
	add debug logging for capturing the output of external commands
	o make.c: use consistent variable names for varargs
	o make_malloc.c: remove duplicate code from bmake_strdup
	o parse.c: add missing printflike annotations
	remove redundant lines from stack traces
	fix stack traces in -dp mode
	reduce confusing code in ParseForLoop
	fix line number in debug log after returning from a file
	rename IFile and its fields to match their actual content
	clean up ParseDependencySources
	o var.c: shorten ApplyModifier_Assign
	rename is_shell_metachar, fix character conversion warning
	merge calls to ApplyModifier_Time
	merge duplicate code for modifiers 'gmtime' and 'localtime'

2022-01-04  Simon J Gerraty  <sjg@beast.crufty.net>

	* parse.c: loadfile restore extra byte in buffer.

2022-01-01  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20220101
	Merge with NetBSD make, pick up
	o more unit-tests
	o remove unnecessary words from command line options in CmdOpts
	o rename eunlink to unlink_file
	o cond.c: make ParseWord in condition parser simpler
	internally return false for irrelevant leaves in conditions
	replace table for function lookup in conditions with simple code
	merge duplicate types CondEvalResult and CondResult
	o for.c: clean up handling of .for loops and .include directives
	o main.c: constify cached_realpath
	clean up Cmd_Exec
	o parse.c: sync API documentation
	fix error message when reading more than 1 GB from stdin
	clean up parsing of makefiles
	fix line number in error message about open conditionals
	unexport types VarAssignOp and VarAssign
	clean up function names
	remove redundant parameters in dependency parsing functions
	reduce scope of the list of wildcard target names
	extract OP_NOTARGET into separate function
	clean up variable names for parsing dependency lines
	make debug logging a bit more human-friendly
	o var.c: condense code in ApplyModifier_Assign

2021-12-21  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20211221
	Merge with NetBSD make, pick up
	o more unit-tests
	o style cleanup
	o in CLEANUP mode, free interned strings at the very end
	o fix memory leak for filenames in .for loops
	o buf.c: avoid memory leak
	o cond.c: condense CondParser_ComparisonOp
	o hash.c: change return type of HashTable_Set to void
	o job.c: change return type of Compat_RunCommand from int to bool
	o main.c: remove bmake_free
	o parse.c: condense repetetive code in ParseDirective
	remove dead code for handling traditional include directives
	clean up parsing of variable assignments
	remove unreachable code for parsing the dependency operator
	clean up loading of files
	fix memory leak in IncludeFile
	o var.c: fix memory leak when parsing a variable name
	fix memory leak from ${.SUFFIXES}
	reduce memory allocation in modifier ':?' and ':C'
	condense RegexReplace for the modifier ':C' and avoid strlen
	merge duplicate code for memory handling in Var_Parse
	distinguish between short-lived and environment variables
	rename VarFreeEnv to VarFreeShortLived

2021-12-15  Simon J Gerraty  <sjg@beast.crufty.net>

	* cond.c: fix mem leak in CondParser_Leaf

2021-12-12  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20211212
	Merge with NetBSD make, pick up
	o rename Parse_SetInput to Parse_PushInput
	o remove remove period from end of error messages and warnings
	to be more consistent
	o arch.c: use simpler memory management for parsing archive members
	o cond.c: rework and reduce recursion
	o for.c: rename some functions to better reflect purpose
	o suff.c: add Suff_NamesStr to provide .SUFFIXES as a string.
	o var.c: in parse errors, mark whitespace more clearly
	inline ParseEmptyArg into CondParser_FuncCallEmpty
	minimize calls to LazyBuf_Get in ParseVarnameLong
	treat .SUFFIXES as a read-only variable

2021-12-07  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20211207
	Merge with NetBSD make, pick up
	o inline HashIter_Init
	o parse.c: inline common subexpression in ParseRawLine
	o var.c: merge branches for modifiers ':D' and ':U'
	extract common code into Expr_Words
	extract common code into Expr_Str
	move low-level implementation details out of Var_Parse
	
2021-12-06  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20211206
	Merge with NetBSD make, pick up
	o add unit-tests/varmod-loop-delete
	o for.c: inline Str_Words - reduce memory allocation
	o parse.c: do not try to expand fixed variable names
	only allocate the name of an included file if necessary
	clean up ParseInclude
	o var.c: fix use-after-free in modifier ':@'
	save a memory allocation in each modifier ':O' and ':u'
	save a memory allocation in the modifier ':[...]'
	in UnexportVars, replace Str_Words with Substring_Words to
	reduce allocations and copying.
	
2021-12-04  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20211204
	Merge with NetBSD make, pick up
	o flesh out a number of tests
	o replace enums with bitfields, this simplifies a lot of code.
	o var.c: refactor ParseModifierPartSubst

2021-10-24  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20211024
	Merge with NetBSD make, pick up
	o Punt on write errors - ENOSPC etc.

2021-10-22  Simon J Gerraty  <sjg@beast.crufty.net>

	* configure.in: use_defshell, set both DEFSHELL_INDEX
	and defshell_path if appropriate.
	This makes it easier to use say the KSH specification with
	and alternate path for the shell.
	
	* configure.in compat.c: for SCO we need to force UseShell

	* configure.in: SCO /bin/sh is not usable, provide a list of
	alternatives for use as .SHELL.
	We still have to mark some tests as broken, plus more if we end up
	with ksh as .SHELL.
	Issue a warning about skipped tests.

	* boot-strap: leave TOOL_DIFF to configure

	* configure.in: on SCO native cc is not usable,
	gcc is to be found in /usr/gnu/bin
	and while ancient is at least able to compile bmake.
	Thus we add /usr/gnu/bin to PATH if it exists, and later
	check if $CC would have been found via $PATH.
	If not we set CC to the full path of $CC.
	Also gnu diff is known to support -u, so if it exists use it.

	* configure.in: move getopt to AC_REPLACE_FUNCS
	also add AC_C_INLINE - in an attempt to compile using
	native cc on SCO.

	* configure.in: check for stresep as well as strsep, since we
	define the later to the former if necessary, and if we have to
	provide stresep we also need to provide a prototype.

	* configure.in: we no longer need to worry about
	sys/cdefs.h providing __RCSID which simplifies things quite a bit.

	* make.h: make sure we have __RCSID

	* unit-tests/Makefile.config.in: add TOOL_DIFF so configure
	can control it.

2021-10-20  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION: 20211020
	Merge with NetBSD make, pick up
	o confirm sync of unit-tests

2021-10-18  Simon J Gerraty  <sjg@beast.crufty.net>

	* configure.in: check if timezone Europe/Berlin is supported
	if not try UTC-1
	* configure.in: if .OBJDIR is $srcdir/obj we need to create a
	symlink unit-tests -> ../unit-tests/obj so that
	unit-tests/Makefile.config is put in the right place.
	* refine filtering of .OBJDIR in unit-tests
	
2021-10-16  Simon J Gerraty  <sjg@beast.crufty.net>

	* Fix unit-tests on Minix 3.2.0
	o job.c: do not punt if read of token pipe fails for EAGAIN.
	On Minix at least, we are not ready to read the childExitJob pipe
	when poll says we are.
	There should actually be no reason for this pipe to be
	non-blocking, but while that works fine on {Net,Free}BSD it
	breaks another test case on Minix.
	o unit-tests/Makefile: deal with variants of error messages
	  and use of obj as .OBJDIR

2021-10-14  Simon J Gerraty  <sjg@beast.crufty.net>

	* configure.in: add sigaction to AC_REPLACE_FUNCS
	we also need to check for sigaddset etc just for the benefit of
	sigact.c

	* Add sigact.c as sigaction.c so this "just works".
	This should have been done back when bmake_signal started using
	sigaction (I only just noticed that sigact.c wasn't here ;-)
	Note: I no longer have access to any system where this would matter.

2021-10-13  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20211011

	* Makefile: cleanup a little

	* configure.in: check for sigsetmask

2021-10-01  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20211001
	Merge with NetBSD make, pick up
	o reduce locations reducing text size
	o remove unnecessary const
	o cond.c: fix lint warning on i386
	do not allow unquoted 'left == right' after modifier ':?'
	o hash.c: fix build for DEBUG_HASH_LOOKUP
	o var.c: fix memory leak in error case of the ':?' modifier
	
2021-09-11  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210911
	Merge with NetBSD make, pick up
	o var.c: replace remaining ModChain_ShouldEval with Expr_ShouldEval

2021-09-08  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210906
	Merge with NetBSD make, pick up
	o more unit tests
	o lint cleanup
	o rename some functions to better fit purpose
	o for.c: cleanup - remove unnecessary optimization
	  fix embedded newlines
	o parse.c: correct case for CVS/RCS
	
2021-08-11  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210808
	Merge with NetBSD make, pick up
	o var.c: remove redundant initialization in ApplyModifier_Order

	* mk/options.mk: issue warning for incorrect usage

2021-08-03  Simon J Gerraty  <sjg@beast.crufty.net>

	* var.c: use long for :On if we don't have a 64bit int type 

	* VERSION (_MAKE_VERSION): 20210803
	Merge with NetBSD make, pick up
	o rework varmod-order tests to avoid qsort instability
	o make.1: clarify :On entry

2021-07-31  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210731
	Merge with NetBSD make, pick up
	o fix some lint issues
	o more unit tests
	o var.c: rework of ApplyModifier_Order

2021-07-30  Simon J Gerraty  <sjg@beast.crufty.net>

	* util.c: add strto*l if HAVE_STRTO*L not defined

	* VERSION (_MAKE_VERSION): 20210730
	Merge with NetBSD make, pick up
	o var.c: add :On and :Orn for numeric sort
	  disabled if no 64bit type available.
	o _strtol.h: to implement strto*l functions

2021-07-04  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210704
	Merge with NetBSD make, pick up
	o unit-tests: fix some tests to be more portable
	- job-output-null not all shells do the same number of write calls
	- objdir-writable if TMPDIR is set; /tmp may not be usable

2021-07-01  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210701
	Merge with NetBSD make, pick up
	o unit-tests: allow for BROKEN_TESTS to list TESTS to be skipped;
	some tests just cannot work in some environments.
	o buf.c: simpler upper bound for length in Buf_AddInt
	o cond.c: fix grammar in error message for malformed conditional
	o for.c: prevent newline injection (from ${.newline}) in .for loops
	o var.c: use more practical data type in RegexReplace
	(avoid need for %zu)
	extract RegexReplace from ModifyWord_SubstRegex
	
2021-06-21  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210621
	Merge with NetBSD make, pick up
	o var.c: only report error for unmatched regex subexpression
	when linting (-dL) since we cannot tell when an unmatched
	subexpression is an expected result.
	o move unmatched regex subexpression tests to
	varmod-subst-regex.mk and enable strict (lint) mode

2021-06-16  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210616
	Merge with NetBSD make, pick up
	o more unit tests
	o cond.c: rename If_Eval to EvalBare
	improve function names for parsing conditions
	o job.c: fix error handling of targets that cannot be made
	o var.c: uncompress code in ApplyModifier_Unique

2021-05-18  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210518
	Merge with NetBSD make, pick up
	o fix unit-tests/opt-chdir to cope with /nonexistent existing.
	o job.c: Print -de error information when running multiple jobs

2021-04-20  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210420
	Merge with NetBSD make, pick up
	o use C99 bool type
	o convert VarEvalFlags back into an enum
	o cond.c: do not complain when skipping the condition 'no >= 10'
	o hash.c: avoid allocating memory for simple variable names
	o job.c: use distinct wording for writing to the shell commands file
	remove type name for the abort status in job handling
	rename PrintOutput to PrintFilteredOutput to avoid confusion
	o main.c: avoid double slash in name of temporary directory
	o var.c: use straight quotes for error 'Bad conditional expression'
	reduce memory allocations in the modifiers ':D' and ':U'
	rename members of ModifyWord_LoopArgs
	clean up pattern flags for the modifiers ':S' and ':C'
	reduce memory allocation and strlen calls in modifier ':from=to'
	in the ':Q' modifier, only allocate memory if necessary
	improve performance for LazyBuf
	remove redundant parameter from ParseVarnameLong
	migrate ParseModifierPart to use Substring
	avoid unnecessary calls to strlen when evaluating modifiers
	migrate ModifyWord functions to use Substring
	migrate handling of the modifier ':S,from,to,' to Substring
	reduce debug logging and memory allocation for ${:U...}
	reduce verbosity of the -dv debug logging for standard cases
	clean up debug logging for ':M' and ':N'
	disallow '$' in the variable name of the modifier ':@'
	simplify access to the name of an expression during evaluation

2021-03-30  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210330
	Merge with NetBSD make, pick up
	o replace enum bit-field with struct bit-field for VarEvalFlags
	o rename VARE_NONE to VARE_PARSE_ONLY
	o var.c: rename ApplyModifiersState to ModChain
	fix double varname expansion in the variable modifier '::='
	change debug log for variable evaluation flags to lowercase

2021-03-14  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210314
	Merge with NetBSD make, pick up
	o var.c: avoid evaluating many modifiers in parse only mode
	in strict mode (-dL) many variable references are parsed twice,
	the first time just to report parse errors early, so we want to
	avoid side effects and wasted effort to the extent possible.

2021-02-26  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210226
	Merge with NetBSD make, pick up
	o remove freestanding freeIt variables
	link via FStr
	o var.c: restructure code in ParseVarname to target human readers
	improve error message for;
	  bad modifier in variable expression
	  unclosed modifier
	  unknown modifier
	remove redundant parameter of ApplySingleModifier
	explain non-obvious code around indirect variable modifiers
	quote ':S' in error message about missing delimiter
	extract ParseModifier_Match into separate function
	add context information to error message about ':range' modifier
	add quotes around variable name in an error message
	reorder code in ModifyWords
	use more common parameter order for VarSelectWords
	make ModifyWord_Subst a little easier to understand
	do not expand variable name from the command line twice
	extract ExistsInCmdline from Var_SetWithFlags
	save a hash map lookup when defining a cmdline variable
	clean up VarAdd, Var_Delete, Var_ReexportVars
	use bit-shift expressions for VarFlags constants
	rename constants for VarFlags
	rename ExprDefined constants for debug logging
	rename ExprStatus to ExprDefined
	split parameters for evaluating variable expressions
	reduce redundant code around ModifyWords
	print error about failed shell command before overwriting variable
	clean up ValidShortVarname, ParseVarnameShort
	rename VarExprStatus to ExprStatus
	add functions for assigning the value of an expression
	rename ApplyModifiersState_Define to Expr_Define
	condense the code for parsing :S and :C modifiers

2021-02-06  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210206
	Merge with NetBSD make, pick up
	o unit-tests: use private TMPDIR to avoid errors from other users

2021-02-05  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210205
	Merge with NetBSD make, pick up
	o avoid strdup in mkTempFile
	o always use vfork
	o rename context and ctxt to scope
	o rename some VAR constants to SCOPE
	o Var_ functions, move the scope to the front
	o use shortcut functions Global_Set and Global_Append
	o add shortcut Global_Delete for deleting a global variable
	o rename Var_Delete to Var_DeleteExpand, Var_DeleteVar to Var_Delete
	o compat.c: when exiting due to an error, print graph information
	o enum.c: remove overengineered Enum_ValueToString
	o make.c: remove unused INTERNAL flag
	remove unused return type of MakeBuildParent
	o parse.c: replace parse error "Need an operator" with better message
	o var.c: improve documentation about variable scopes
	rename Var_ValueDirect to GNode_ValueDirect
	rename old Var_SetWithFlags to Var_SetExpandWithFlags
	merge SetVar into Var_SetWithFlags
	split Var_Exists into plain Var_Exists and Var_ExistsExpand
	split Var_Append into Var_Append and Var_AppendExpand
	replace enum bit-set with bit-field
	o unit-tests/var-op-shell: use kill rather than kill -14
	which broke on darwin with recent update.

2021-02-01  Simon J Gerraty  <sjg@beast.crufty.net>

	* configure.in: check for sig_atomic_t and define it as 'int'
	if missing.

	* VERSION (_MAKE_VERSION): 20210201
	Merge with NetBSD make, pick up
	o use sig_atomic_t for caught_sigchld

2021-01-30  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210130
	Merge with NetBSD make, pick up
	o more unit tests
	o convert SearchPath to struct
	o split Buf_Destroy into Buf_Done and Buf_DoneData
	o for.c: split For_Eval into separate functions
	rename struct For to struct ForLoop
	o job.c: do not create empty shell files in jobs mode
	rename JobOpenTmpFile to JobWriteShellCommands
	reduce unnecessary calls to waitpid
	o parse.c: in -dp mode, print stack trace with each diagnostic

2021-01-23  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210123
	Merge with NetBSD make, pick up
	o rename Dir_Expand to SearchPath_Expand
	o rename Dir_AddDir, reorder parameters of SearchPath_ToFlags
	o cond.c: fix debug output for comparison operators in conditionals
	o dir.c: split Dir_FindFile into separate functions

2021-01-20  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210120
	Merge with NetBSD make, pick up
	o fix some more lint nits
	o refine some unit tests for portability
	o cond.c: rework parsing

2021-01-10  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210110
	Merge with NetBSD make, pick up
	o fix lint warnings
	o consistently use boolean expressions in conditions

2021-01-08  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210108
	Merge with NetBSD make, pick up
	o job.c: back to polling token pipe if we want a token
	o main.c: always print 'stopped in' on first call
	The execption is if we bail because of an abort token
	in which case just exit 6.

2021-01-01  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20210101
	Merge with NetBSD make, pick up
	o Happy New Year!
	o rename CmdOpts.lint to strict
	o exit 2 on technical errors
	o replace pointers in controlling conditions with booleans
	o replace global preserveUndefined with VARE_KEEP_UNDEF
	o compat.c: re-export variables from the actual make process
	if using vfork this is the effect anyway
	o cond.c: clean up VarParseResult constants
	o for.c: fix undefined behavior in SubstVarLong
	make control flow in SubstVarLong of .for loops more obvious
	clean up SubstVarShort in .for loops
	extract ForSubstBody from ForReadMore
	clean up ForReadMore
	simplify termination condition for .for loop
	add error handling for .for loop items
	job.c: re-export variables from the actual make process
	parse.c: remove mmap for loading files, only allow files < 1 GiB
	fix edge case in := with undefined in variable name
	skip variable expansion in ParseDependencyTargetWord
	var.c: split ExportVar into separate functions
	clean up code in extracted ExportVar functions
	remove dead code from ApplyModifiersIndirect
	split Var_Subst into easily understandable functions
	clean up VarParseResult constants

2020-12-25  Simon J Gerraty  <sjg@beast.crufty.net>

	* main.c: use .MAKE.DEPENDFILE as set by makefiles

2020-12-22  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201222
	Merge with NetBSD make, pick up
	o make DEBUG macro return boolean
	o parse.c: fix assertion failure for files without trailing newline
	o var.c: allow .undef to undefine multiple variables at once
	remove excess newline from parse errors

2020-12-21  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201221
	Merge with NetBSD make, pick up
	o some unit-test updates

2020-12-20  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201220
	Merge with NetBSD make, pick up
	o more unit tests
	o return FStr from Var_Parse and Var_Value
	o spell nonexistent consistently
	o add str_basename to reduce duplicate code
	o compat.c: fix .ERROR_TARGET in compat -k mode
	extract InitSignals from Compat_Run
	extract UseShell from Compat_RunCommand
	o cond.c: error out if an '.endif' or '.else' contain extraneous text
	o for.c: rename ForIterate to ForReadMore
	o hash.c: clean up hash function for HashTable
	o lst.c: rename Vector.priv_cap to cap
	o main.c: remove constant parameter from MakeMode
	o make.c: use symbolic time for 0 in Make_Recheck
	extract MakeChildren from MakeStartJobs
	o parse.c: clean up memory handling in VarAssign_EvalShell, Parse_DoVar
	fix error message for .info/.warning/.error without argument
	extract Var_Undef from ParseDirective
	extract ParseSkippedBranches, ParseForLoop from ParseReadLine
	rename mode constants for ParseGetLine to be more expressive
	reduce debugging details in Parse_SetInput
	fix line numbers in .for loops
	split ParseGetLine into separate functions
	fix garbled output for failed shell command
	var.c: remove redundant assignment in ApplyModifier_SysV
	error out on unknown variable modifiers at parse time
	remove wrong error message for indirect modifier in lint mode
	extract ApplySingleModifier from ApplyModifiers
	use FStr for memory management in Var_SetWithFlags
	extract SetVar from Var_SetWithFlags
	use FStr in VarNew
	extract string functions from ApplyModifier_To
	error out if .undef has not exactly 1 argument
	extract Var_DeleteVar from Var_Delete
	extract Var_Undef from ParseDirective
	clean up memory management for expanding variable expressions

2020-12-12  Simon J Gerraty  <sjg@beast.crufty.net>

	* avoid %zu

	* lst.c: avoid anonymous union

	* VERSION (_MAKE_VERSION): 20201212
	Merge with NetBSD make, pick up
	o more unit tests
	o inline Targ_Ignore and Targ_Silent
	o split JobFlags into separate fields
	o remove const from function parameters (left overs from refactoring)
	o eliminate boolean argument of Var_Export
	o make API of Buf_Init simpler
	o rename ParseRunOptions to ParseCommandFlags
	o replace *line with line[0]
	o compat.c: fix wrong exit status for multiple failed main targets
	refactor Compat_Run to show the error condition more clearly
	don't make .END if the main targets already failed (-k mode)
	fix exit status in -k mode if a dependency fails
	o for.c: clean up Buf_AddEscaped in .for loops
	o job.c: extract ShellWriter_ErrOn from JobPrintCommand
	make Job_Touch simpler
	refactor JobFinish
	rename Shell.exitFlag to errFlag
	move Job.xtraced to ShellWriter
	make printing of shell commands independent from the job
	rename shell flags in struct Shell
	extract JobOpenTmpFile from JobStart
	rename RunFlags to CommandFlags
	split various Job.* into separate fields
	rename commandShell to shell
	extract InitShellNameAndPath from Shell_Init
	replace signal handling macros with local functions
	replace macro MESSAGE with local function
	parse.c: error out on null bytes in makefiles
	error out on misspelled directives
	rename IFile.nextbuf to readMore
	fix undefined behavior in ParseEOF
	str.c: remove redundant call to strlen in Str_Words
	var.c: error out on misspelled .unexport-env
	error out on misspelled .export directives
	extract ExportVars from Var_Export
	extract ExportVarsExpand from Var_Export
	eliminate boolean argument of Var_Export
	fix undefined behavior when exporting ${:U }
	rename Var_ExportVars to Var_ReexportVars
	rename Var_Export1 to ExportVar

2020-12-06  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201206
	Merge with NetBSD make, pick up
	o more unit tests
	o inline macros for debug logging
	o use consistent variable names for list nodes
	o define constants for enum zero-values
	o dir.c: use fixed format for debug output of the directory cache
	remove Dir_InitDir
	o lst.c: inline Lst_Enqueue, Vector_Done
	o meta.c: remove unused parameter from meta_needed
	o parse.c: rename parse functions
	o suff.c: extract ExpandChildrenRegular from ExpandChildren
	o targ.c: don't concatenate identifiers in Targ_PrintType
	o var.c: remove comment decoration
	extract UnexportVars from Var_UnExport
	extract GetVarnamesToUnexport from Var_UnExport
	extract UnexportEnv from Var_UnExport
	extract UnexportVar from Var_UnExport
	move CleanEnv to UnexportVars
	replace pointer comparisons with enum
	add FStr to var.c to make memory handling simpler
	use FStr in Var_UnExport
	move type definitions in var.c to the top
	extract FreeEnvVar from Var_Parse
	extract ShuffleStrings from ApplyModifier_Order

2020-11-30  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201130
	Merge with NetBSD make, pick up
	o add unit tests for META MODE
	o reduce memory allocation for dirSearchPath, GNode.parents,
	GNode.children, OpenDirs
	o reduce pointer indirection for GNode.cohorts and
	GNode.implicitParents
	o remove pointer indirection from GNode.commands
	o inline Lst_ForEachUntil in meta mode
	o dir.c: fix memory leak for lstat cache in -DCLEANUP mode
	clean up memory management for CachedDirs
	fix the reference count of dotLast going negative
	add debug logging for OpenDirs_Done
	extract CacheNewDir from Dir_AddDir
	add debug logging for reference counting of CachedDir
	rename some Dir functions to SearchPath
	o job.c: rename some global variables
	o main.c: reduce memory allocation in ReadBuiltinRules
	reduce memory allocation in CmdOpts.create, CmdOpts.variables,
	CmdOpts.makefiles
	Add .MAKE.UID and .MAKE.GID
	o make.c: reduce memory allocation for/in toBeMade,
	Make_ProcessWait, Make_ExpandUse
	o meta.c: reduce memory allocation in meta_oodate
	o parse.c: reduce memory allocations for parsing dependencies and
	targets
	o suff.c: reduce memory allocation in suffix handling

2020-11-24  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201124
	Merge with NetBSD make, pick up
	o .MAKE.{UID,GID} represent uid and gid running make.
	o fix error handling for .BEGIN and .END dependency in -k mode
	o fix missing "Stop." after failed .END node in -k mode
	o use properly typed comparisons in boolean contexts
	o replace a few HashTable_CreateEntry with HashTable_Set
	o add HashSet type
	o compat.c: split Compat_Make into smaller functions
	extract DebugFailedTarget from Compat_RunCommand
	o dir.c: refactor Dir_UpdateMTime
	migrate CachedDir.files from HashTable to HashSet
	o make.c: add high-level API for GNode.made

2020-11-22  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201122
	Merge with NetBSD make, pick up
	o rename GNode.context to vars
	o suff.c: cleanup and refactor
	rename some functions and vars to better reflect usage
	add high-level API for CandidateSearcher
	o targ.c: add more debug logging for suffix handling
	o more unit tests
	o add debug logging for setting and resetting the main target

2020-11-17  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201117
	Merge with NetBSD make, pick up
	o fix some unit-tests when .SHELL is dash
	o rename Targ_NewGN to GNode_New
	o make some GNode functions const
	o main.c: call Targ_Init before Var_Init
	cleanup PrintOnError, getTmpdir and ParseBoolean
	o var.c: fix error message of failed :!cmd! modifier

2020-11-14  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201114
	Merge with NetBSD make, pick up
	o replace a few HashTable_CreateEntry with HashTable_Set
	o clean up cached_stats
	o rename DEFAULT to defaultNode
	o remove redundant struct make_stat
	o cond.c: in lint mode, check for ".else <cond>"
	use bitset for IfState
	replace large switch with if-else in Cond_EvalLine
	o job.c: clean up JobExec, JobStart, JobDoOutput
	use stderr for error message about failed touch
	clean up Job_Touch
	replace macro DBPRINTF with JobPrintln
	rename JobState to JobStatus
	main.c: switch cache for realpath from GNode to HashTable
	clean up Fatal
	clean up InitDefSysIncPath
	use progname instead of hard-coded 'make' in warning
	rename Main_SetVarObjdir to SetVarObjdir
	make.1: document the -S option
	make.c: fix debug output for GNode details
	use symbolic names in debug output of GNodes

2020-11-12  Simon J Gerraty  <sjg@beast.crufty.net>

	* configure.in: fix --with-force-machine-arch

	* VERSION (_MAKE_VERSION): 20201112
	Merge with NetBSD make, pick up
	o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
	checks in InitObjdir.  Explicit .OBJDIR target always allows
	read-only directory.
	o cond.c: clean up Cond_EvalLine

2020-11-11  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201111
	Merge with NetBSD make, pick up
	o more unit-tests
	o style cleanup
	remove redundant parentheses from sizeof operator
	replace character literal 0 with '\0'.
	replace pointer literal 0 with NULL.
	remove redundant parentheses.
	replace (expr & mask) == 0 with !(expr & mask).
	use strict typing in conditions of the form !var
	o rename Make_OODate to GNode_IsOODate
	o rename Make_TimeStamp to GNode_UpdateYoungestChild
	o rename Var_Set_with_flags to Var_SetWithFlags
	o rename dieQuietly to shouldDieQuietly
	o buf.c: make API of Buf_Init simpler
	o compat.c: clean up Compat_Make, Compat_RunCommand,
	CompatDeleteTarget and CompatInterrupt
	o cond.c: in lint mode, only allow '&&' and '||', not '&' and '|'
	clean up CondParser_Comparison
	o main.c: rename getBoolean and s2Boolean
	rename MAKEFILE_PREFERENCE for consistency
	o parse.c: replace strstr in ParseMaybeSubMake with optimized code
	o var.c: rename VARE_ASSIGN to VARE_KEEP_DOLLAR
	replace emptyString with allocated empty string
	error out on unclosed expressions after the colon

2020-11-01  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201101
	Merge with NetBSD make, pick up
	o negate NoExecute to GNode_ShouldExecute
	o job.c: rename JobMatchShell to FindShellByName
	extract EscapeShellDblQuot from JobPrintCommand
	extract ParseRunOptions from JobPrintCommand
	o var.c: extract ApplyModifiersIndirect from ApplyModifiers
	treat malformed :range, :ts and :[...] as errors
	add tests for the variable modifiers :[words] and :range

2020-10-31  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201031
	Merge with NetBSD make, pick up
	o format #include directives consistently
	o do not look up local variables like .TARGET anywhere else
	o main.c: Main_SetObjdir is first called for curdir which may be
	readonly
	reduce the scope where recursive expressions are detected
	remove redundant :tl from getBoolean
	clean up mkTempFile
	o meta.c: simplify memory allocation in meta_create and meta_oodate
	o parse.c: extract loadedfile_mmap from loadfile
	o trace.c: document possible undefined behavior with .CURDIR
	o var.c: make parsing of the :gmtime and :localtime modifiers stricter
	rename ismeta to is_shell_metachar
	remove debug logging for the :Q variable modifier
	rename VarIsDynamic to VarnameIsDynamic
	use consistent parameter order in varname parsing functions
	extract ParseVarnameLong from Var_Parse
	extract ParseVarnameShort from Var_Parse
	fix type of ParseModifierPart parameter delim
	extract IsEscapedModifierPart from ParseModifierPart
	clean up ModifyWords
	add test for combining the :@ and :? variable modifiers
	
2020-10-30  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201030
	Merge with NetBSD make, pick up
	o change char * to void * in Var_Value
	o make iterating over HashTable simpler
	o rename VAR_CMD to VAR_CMDLINE
	o cond.c: clean up is_separator
	fix parse error in string literal in conditional
	o main.c: do not use objdir that is not writable
	in lint mode, exit with error status on errors
	o  parse.c: clean up StrContainsWord
	fix out-of-bounds pointer in ParseTrackInput
	o var.c: rename Str_SYSVMatch and its parameters
	remove unsatisfiable conditions in Var_Set_with_flags
	document where the variable name is expanded
	fix documentation for VARP_SUB_ONE
	rename VAR_EXPORTED_YES to VAR_EXPORTED_SOME
	document VAR_READONLY
	prevent appending to read-only variables
	extract MayExport from Var_Export1
	remove redundant evaluations in VarFind
	replace VarFindFlags with a simple Boolean
	rename FIND_CMD to FIND_CMDLINE, to match VAR_CMDLINE

2020-10-28  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201028
	Merge with NetBSD make, pick up
	o rename defIncPath to defSysIncPath
	o initialize all CmdOpts fields
	o lst.c: inline Vector_Get
	o main.c: refactor main extract
	InitMaxJobs,InitObjdir,InitVarMake,InitRandom,
	ReadMakefiles,CleanUp,InitVpath,ReadBuiltinRules,
	InitDefIncPath,CmdOpts_Init,UnlimitFiles
	o parse.c: merge curFile into includes
	rename predecessor to order_pred
	sort ParseSpecial alphabetically
	remove unused, undocumented .NOEXPORT
	rename ParseSpecial enum values consistently
	rename some fields of struct IFile

2020-10-26  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201026
	Merge with NetBSD make, pick up
	o group the command line options and arguments into a struct
	o rename GNode.cmgn to youngestChild
	o rename hash functions to identify the type name
	o negate OP_NOP and rename it to GNode_IsTarget
	o add GNode_Path to access the path of a GNode
	o remove macros MIN and MAX
	o remove unused Lst_Find and Lst_FindFrom
	o arch.c: and make Arch_FindLib simpler
	clean up code layout
	make Arch_ParseArchive simpler
	o cond.c: inline CondFindStrMatch into FuncMake
	o dir.c: replace Dir_CopyDir with Dir_CopyDirSearchPath
	omit trailing space in debug output for expanding file patterns
	refactor DirMatchFiles
	document that the SearchPath of Dir_FindFile may be NULL
	remove UNCONST from Dir_Expand
	inline DirFindName
	o for.c: clean up code for handling .for loops
	o hash.c: print hash in debug log with fixed width
	clean up hash table functions
	reduce amount of string hashing
	o job.c: refactor JobDeleteTarget
	use proper enum constants for aborting
	convert result of JobStart from macros to enum
	convert abort reason macros to enum
	rework Job_CheckCommands to reduce indentation
	rename Shell fields
	add field names in declaration of DEFSHELL_CUSTOM
	convert JobState and JobFlags to enum types
	move handling of the "..." command to JobPrintCommands
	o lst.c: clean up
	refactor LstNodeNew
	remove Lst_Open, Lst_Next, Lst_Close
	remove code for circular lists from Lst_Next
	o main.c: do not attempt to read .MAKE.DEPENFILE if set to
	/dev/null or anything starting with "no"
	convert macros for debug flags into enum
	o make.c: inline Lst_Copy in Make_ExpandUse
	o meta.c: inline Lst_Find in meta_oodate
	make Lst_RemoveIf simpler in meta_oodate
	o parse.c: convert error level for Parse_Error to an enum
	o suff.c: properly terminate debug output with newline
	add more details to DEBUG_SRC log
	replace Dir_CopyDir with Dir_CopyDirSearchPath
	don't modify GNode name while rebuilding the suffix graph
	o var.c: reduce duplicate code in VarFind
	
2020-10-22  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201022
	Merge with NetBSD make, pick up
	o more refactoring and simplification to reduce code size
	o var.c: extract CanonicalVarname from VarFind
	o make.c: extract UpdateImplicitParentsVars from Make_Update
	o main.c: extract PrintVar from doPrintVars
	extract HandlePWD from main
	o lst.c: inline simple Lst getters
	remove unused Lst_ForEach
	o job.c: move struct Shell from job.h to job.c
	o more unit tests

2020-10-19  Simon J Gerraty  <sjg@beast.crufty.net>

	* configure.in: remove inappropriate use of AC_INCLUDES_DEFAULT

2020-10-18  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201018
	Merge with NetBSD make, pick up
	o remove USE_IOVEC
	o rename some Hash_* apis to Hash*
	o replace execError with execDie
	o rename Lst_Init to Lst_New
	o add tags to enum types
	o rename Stack to Vector
	o parse.c: more refactoring
	o unit-tests: make some tests use line buffered stdout
	o unit-tests/Makefile: in meta mode do not make all tests depend on
	Makefile, it isn't necessary.

2020-10-10  Simon J Gerraty  <sjg@beast.crufty.net>

	* main.c: check for CTL_HW being defined.
	* unit-tests/Makefile: ensure export tests output are POSIX compliant
	disable opt-debug-jobs test until it works on ubuntu

	* VERSION (_MAKE_VERSION): 20201010
	Merge with NetBSD make, pick up
	o dir.c: remove pathname limit for Dir_FindHereOrAbove
	o hash.c: replace strcpy with memcpy in Hash_CreateEntry
	o main.c: extract init_machine and init_machine_arch from main
	allow to disable debug logging options
	o parse.c: enable format string truncation warnings
	extract parsing of sources from ParseDoDependency
	split ParseDoSrc into smaller functions
	hide implementation details from Parse_DoVar
	clean up parsing of variable assignments
	split Parse_DoVar into manageable pieces
	don't modify the given line during Parse_DoVar
	fix out-of-bounds memory access in Parse_DoVar
	fix parsing of the :sh assignment modifier
	o var.c: rework memory allocation for the name of variables
	extract ApplyModifier_Literal into separate function
	in lint mode, reject modifiers without delimiter
	do not export variable names starting with '-'
	o fix double-free bug in -DCLEANUP mode
	o more cleanup to enable higher warnings level
	o more unit tests

2020-10-02  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201002
	Merge with NetBSD make, pick up
	o dir.c: use hash table for looking up open directories by name
	o main.c: clean up option handling
	o parse.c: add missing const for Parse_AddIncludeDir
	o var.c: ApplyModifier_To, update pp in each branch
	o remove redundant function prototypes
	o more unit tests

2020-10-01  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20201001
	Merge with NetBSD make, pick up
	o compat.c: comment about "..."

2020-09-30  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200930
	Merge with NetBSD make, pick up
	o job.c: split Job.jobPipe into 2 separate fields
	replace Lst_Open with direct iteration
	o lst.c: remove redundant assertions
	o targ.c: replace Lst_Open with direct iteration
	o var.c: fix bug in evaluation of indirect variable modifiers
	extract ApplyModifier_Quote into separate function
	o make debug logging simpler

2020-09-27  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200927
	Merge with NetBSD make, pick up
	o parse.c: ensure parse errors result in 'stopped in' message.
	o compat.c: make parameter of Compat_RunCommand const
	o main.c: extract InitVarTarget from main
	o parse.c: rename ParseFinishLine to FinishDependencyGroup
	refactor ParseDoDependency
	o var.c: Var_Subst no longer returns string result
	rename Var_ParsePP back to Var_Parse
	in lint mode, improve error handling for undefined variables
	extract ParseVarname from Var_Parse
	o rename Lst_ForEach to Lst_ForEachUntil
	o inline Lst_ForEachUntil in several cases
	o clean up API for finding and creating GNodes
	o fix assertion failure in -j mode with .END node
	o inline and remove LstNode_Prev and LstNode_Next
	o use fine-grained type names for lists and their nodes
	o more unit tests

2020-09-11  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200911
	Merge with NetBSD make, pick up
	o cond.c: split EvalComparison into smaller functions
	reorder parameters of condition parsing functions
	reduce code size in CondParser_Eval
	rename CondGetString to CondParser_String
	add CondLexer_SkipWhitespace
	group the condition parsing state into a struct
	in CondGetString, replace repeated Buf_Add with Buf_AddStr
	o migrate Var_Parse to Var_ParsePP
	o add wrappers around ctype.h functions
	o lst.c: use a stack instead of a list for the nested include path
	o more unit tests

2020-09-04  Simon J Gerraty  <sjg@beast.crufty.net>

	* make-bootstrap.sh.in: adjust object list

2020-09-02  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200902
	Merge with NetBSD make, pick up
	o use make_stat to ensure no confusion over valid fields
	returned by cached_stat
	o var.c: make VarQuote const-correct
	o add unit tests for .for

2020-09-01  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200901
	Merge with NetBSD make, pick up
	o rename Hash_Table fields
	o make data types in Dir_HasWildcards more precise

2020-08-31  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200831
	Merge with NetBSD make, pick up
	o suff.c: fix unbalanced Lst_Open/Lst_Close in SuffFindCmds
	o lst.c: Lst_Open renable assert that list isn't open
	o unit test for .TARGET dependent flags
	o var.c: fix aliasing bug in VarUniq
	o more unit tests for :u

2020-08-30  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200830
	Merge with NetBSD make, pick up
	o allow for strict type checking for Boolean
	o Var_Parse never returns NULL
	o Var_Subst never returns NULL
	o Lst_Find now takes boolean match function
	o rename Lst_Memeber to Lst_FindDatum
	o rename LstNode functions to match their type
	o rename GNode.iParents to implicitParents
	o fix assertion failure for .SUFFIXES in archives
	o compat.c: clean up documentation for CompatInterrupt and Compat_Run
	remove unreachable code from CompatRunCommand
	o main.c: simplify getBoolean
	o stc.c: replace brk_string with simpler Str_Words
	o suff.c: add debug macros

2020-08-28  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200828
	Merge with NetBSD make, pick up
	o lst.c: inline LstIsValid and LstNodeIsValid
	o remove trailing S from Lst function names after migration complete
	o more comment cleanup/clarification
	o suff.c: clean up suffix handling
	o more unit tests

2020-08-26  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200826
	Merge with NetBSD make, pick up
	o enum.c: distinguish between bitsets containing flags and
	ordinary enums
	o var.c: fix error message for ::!= modifier with shell error
	o fix bugs in -DCLEANUP mode

2020-08-24  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200824
	Merge with NetBSD make, pick up
	o in debug mode, print GNode details in symbols

2020-08-23  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200823
	Merge with NetBSD make, pick up
	o lst.c: more asserts,
	make args to Lst_Find match others.
	o var.c: pass flags to VarAdd
	o arch.c: use Buffer
	o str.c: brk_string return size_t for nwords
	o more unit tests

2020-08-22  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION):
	Merge with NetBSD make, pick up
	o var.c: support for read-only variables eg .SHELL
	being the shell used to run scripts.
	o lst.c: more simplification
	o more documentation and style cleanup
	o more unit tests
	o ensure unit-test/Makefile is run by TEST_MAKE
	o reduce duplication of header inclusion

2020-08-21  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200821
	Merge with NetBSD make, pick up
	o lst.c: revert invalid assertion - but document it
	o dir.c: split Dir_Init into two functions

2020-08-20  Simon J Gerraty  <sjg@beast.crufty.net>

	* lst.c: needs inttypes.h on Linux

	* VERSION (_MAKE_VERSION): 20200820
	Merge with NetBSD make, pick up
	o make.1: clarify some passages
	o var.c: more cleanup, clarify comments
	o make_malloc.c: remove unreachable code
	o cond.c: make CondGetString easier to debug
	o simplify list usage
	o unit-tests: more

2020-08-16  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200816
	Merge with NetBSD make, pick up
	o refactor unit-tests to be more fine grained
	  not all tests moved yet

2020-08-14  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200814
	Merge with NetBSD make, pick up
	o more str_concat variants
	o more enums for flags
	o var.c: cleanup for higher warnings level

2020-08-10  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200810
	Merge with NetBSD make, pick up
	o more unit tests
	o general comment and style cleanup

2020-08-08  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200808
	Merge with NetBSD make, pick up
	o enum.[ch]: streamline, enums for use in flags and debug output
	o cond.c: cleanup
	o var.c: reduce duplicate code for modifiers
	debug logging for Var_Parse
	more detailed debug output
	o more unit tests

2020-08-06  Simon J Gerraty  <sjg@beast.crufty.net>

	* unit-tests/Makefile: -r for recursive and include Makefile.inc
	so I can run tests in meta mode
	supress extra noise if in meta mode

	* VERSION (_MAKE_VERSION): 20200806
	Merge with NetBSD make, pick up
	o parse.c: remove VARE_WANTRES for LINT
	we just want to check parsing (for now).

2020-08-05  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200805
	Merge with NetBSD make, pick up
	o make.1: Rework the description of dependence operators

2020-08-03  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200803
	Merge with NetBSD make, pick up
	o revert some C99 usage, for max portability
	o unit-tests/lint

2020-08-02  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200802
	Merge with NetBSD make, pick up
	o more unit tests

2020-08-01  Simon J Gerraty  <sjg@beast.crufty.net>

	* Remove NetBSD specific plumbing from unit-tests/Makefile

	* VERSION (_MAKE_VERSION): 20200801
	Merge with NetBSD make, pick up
	o make Var_Value return const
	o size_t for buf sizes
	o optimize some buffer operations - avoid strlen

2020-07-31  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200731
	Merge with NetBSD make, pick up
	o var.c: fix undefinded behavior for incomplete :t modifier
	  fixes unit-test/moderrs on Ubuntu
	o parse.c: When parsing variable assignments other than :=
	  if DEBUG(LINT) test substition of value, so we get a file and
	  line number in the resulting error.
	o dir.c: fix parsing of nested braces in dependency lines
	  add unit-tests

2020-07-30  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200730
	Merge with NetBSD make, pick up
	o var.c: minor cleanup
	o unit-tests: more tests to improve code coverage

2020-07-28  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200728
	Merge with NetBSD make, pick up
	o var.c: more optimizations

2020-07-26  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200726
	Merge with NetBSD make, pick up
	o collapse lsd.lib into lst.c - reduce code size and allow inlining
	o lots of function comment updates
	o var.c: more optimizations
	o make return of Var_Parse const

2020-07-20  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200720
	Merge with NetBSD make, pick up
	o DEBUG_HASH report stats at end and tone down the noise
	o var.c: each flag type gets its own prefix.
	move SysV string matching to var.c
	make ampersand in ${VAR:from=to&} an ordinary character
	cleanup and simplify implementation of modifiers
	o make.1: move documentation for assignment modifiers

2020-07-18  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200718
	Merge with NetBSD make, pick up
	o DEBUG_HASH to see how well the hash tables are working

2020-07-11  Simon J Gerraty  <sjg@beast.crufty.net>

	* bsd.after-import.mk: make sure we update unit-tests/Makefile

2020-07-10  Simon J Gerraty  <sjg@beast.crufty.net>

	* configure.in: use AC_INCLUDES_DEFAULT rather than AC_HEADER_STDC

	* VERSION (_MAKE_VERSION): 20200710
	Merge with NetBSD make, pick up
	o filemon/filemon_dev.c: use O_CLOEXEC rather than extra syscall
	o meta.c: target flagged .META is out-of-date if meta file missing

2020-07-09  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200709
	Merge with NetBSD make, pick up
	o cond.c: fix for compare_expression when doEval=0
	o unit-tests/Makefile: rework
	o filemon/filemon_dev.c: ensure filemon fd is closed on exec.

2020-07-04  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200704
	Merge with NetBSD make, pick up
	(most of this by rillig@)
	o lots of style and white-space cleanup
	o lots more unit tests for variable modifiers
	o simplified description of some functions
	o str.c: refactor Str_Match
	o var.c: debugging output for :@
	  constify VarModify parameter
	  fix :hash modifier on 16-bit platforms
	  remove unnecessary forward declarations
	  refactor ApplyModifier_SysV to have less indentation
	  simplify code for :E and :R
	  clean up code for :H and :T
	  refactor ApplyModifiers

	* var.c: we need stdint.h on some platforms to get uint32_t
	* unit-test/Makefile: we need to supress the specific error
	for RE substitution error in modmisc, since it varies accross
	different OS.

2020-07-02  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200702
	Merge with NetBSD make, pick up
	o var.c: more improvements to avoiding unnecessary evaluation
	use enums for flags
	o remove flags arg to Var_Set which outside of var.c is always 0

2020-07-01  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200701
	Merge with NetBSD make, pick up
	o var.c: with change to cond.c; ensure that nested variables
	within a variable name are expanded.
	o unit-tests/varmisc.mk: test for nested varname

2020-06-29  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200629
	Merge with NetBSD make, pick up
	o cond.c: do not eval unnecessary terms of conditionals.

2020-06-25  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200625
	Merge with NetBSD make, pick up
	o meta.c: report error if lseek in filemon_read fails

2020-06-22  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200622
	Merge with NetBSD make, pick up
	o dieQuietly: ignore OP_SUBMAKE as too aggressive

2020-06-19  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200619
	Merge with NetBSD make, pick up
	o str.c: performance improvement for Str_Match for multiple '*'
	o dieQuietly: supress the failure output from make
	when failing node is a sub-make or a sibling failed.
	This cuts down greatly on unhelpful noise at the end of
	build log.  Disabled by -dj or .MAKE.DIE_QUIETLY=no

2020-06-10  Simon J Gerraty  <sjg@beast.crufty.net>

	* FILES: add LICENSE to appease some packagers.
	This is an attempt to fairly represent the license on almost
	200 files, which are almost all BSD-3-Clause
	The few exceptions being more liberal.

	* VERSION (_MAKE_VERSION): 20200610
	Merge with NetBSD make, pick up
	o unit test for :Or

2020-06-06  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200606
	Merge with NetBSD make, pick up
	o make.1: cleanup

	* Makefile: fix depends for main.o which broke MAKE_VERSION

2020-06-05  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200605
	Merge with NetBSD make, pick up
	o dir.c: cached_stats - don't confuse stat and lstat results.
	o var.c: add :Or for reverse sort.

2020-05-24  Simon J Gerraty  <sjg@beast.crufty.net>

	* configure.in: add AC_PROG_CC_C99 for mipspro compiler
	also if --with-filemon= specifies path to filemon.h
	set use_filemon=dev
	* dirname.c: remove include of namespace.h

2020-05-17  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200517
	Merge with NetBSD make, pick up
	o modified dollar tests to avoid shell dependencies
	o new tests for .INCLUDEFROM

2020-05-16  Simon J Gerraty  <sjg@beast.crufty.net>

	* unit-tests/dollar.mk: tweak  '1 dollar literal' test
	to not depend so much on shell behavior

2020-05-10  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200510
	Merge with NetBSD make, pick up
	o unit test for dollar handling

2020-05-06  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200506
	Merge with NetBSD make, pick up
	o str.c: empty string does not match % pattern
	  plus unit-test changes

2020-05-04  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200504
	May the 4th be with you
	Merge with NetBSD make, pick up
	o var.c: import handling of old sysV style modifier using '%'
	o str.c: refactor brk_string
	o unit-tests: add test case for lazy conditions

2020-04-18  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200418

	* configure.in: use_makefile=no for cygwin et al.
	case insensitive filesystems just don't work if both
	makefile and Makefile exist.
	NOTE: bmake does not support cygwin and likely never will,
	but if brave souls want to try it - help them out.

2020-04-02  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200402
	Merge with NetBSD make, pick up
	o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
	  a blank command is perfectly valid.

2020-03-30  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200330
	Merge with NetBSD make, pick up
	o make.h: extern debug_file

2020-03-18  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200318
	Merge with NetBSD make, pick up
	o meta.c: meta_oodate, check for corrupted meta file
	  earlier and more often.

2020-02-20  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200220

2020-02-19  Simon J Gerraty  <sjg@beast.crufty.net>

	* boot-strap: unset MAKEFLAGS

2020-02-12  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION (_MAKE_VERSION): 20200212
	* meta.c: meta_compat_parent check for USE_FILEMON
	  patch from Soeren Tempel

2020-02-05  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION: 20200205
	Merge with NetBSD make, pick up
	o meta.c: fix compat mode, need to call meta_job_output()
	o job.c: extra fds for meta mode not needed if using filemon_dev

2020-01-22  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION: 20200122
	Merge with NetBSD make, pick up
	o meta.c: avoid passing NULL to filemon_*() when meta_needed()
	  returns FALSE.

2020-01-21  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION: 20200121
	Merge with NetBSD make, pick up
	o filemon/filemon_{dev,ktrace}.c: allow selection of
	  filemon implementation.  filemon_dev.c uses the kernel module
	  while filemon_ktrace.c leverages the fktrace api available in
	  NetBSD.  filemon_ktrace.c can hopefully form the basis for
	  adding support for other tracing mechanisms such as strace on
	  Linux.
	o meta.c: when target is out-of-date per normal make rules
	  record value of .OODATE in meta file.

2019-09-26  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION: 20190926
	  Merge with NetBSD make, pick up
	  o parse.c: don't pass NULL to realpath(3)
	    some versions cannot handle it.

2019-04-09  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION: 20190409
	  Merge with NetBSD make, pick up
	  o parse.c: ParseDoDependency: free paths rather than assert

2018-12-22  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION: 20181222

	* configure.in: add --without-makefile to avoid generating
	  makefile and make-bootstrap.sh

	* include Makefile.inc if it exists

	* Use Makefile and Makefile.config.in in unit-tests
	  so we can use just: make obj && make && make test
	  when bmake is already available.
	  We add --without-makefile to CONFIGURE_ARGS in this case.

	* tweak bsd.after-import.mk (captures Makefile.config etc
	  after import to FreeBSD for example) to cope with all the above. 

2018-12-21  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION: 20181221
	  Merge with NetBSD make, pick up
	  o parse.c: ParseVErrorInternal use .PARSEDIR
	    and apply if relative, and then use .PARSEFILE
	    for consistent result.

2018-12-20  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION: 20181220
	  Merge with NetBSD make, pick up
	  o parse.c: ParseVErrorInternal use .CURDIR if .PARSEDIR
	    is relative
	  o var.c: avoid SEGFAULT in .unexport-env
	    when MAKELEVEL is not set

2018-12-16  Simon J Gerraty  <sjg@beast.crufty.net>

	* VERSION: 20181216
	  Merge with NetBSD make, pick up
	  o fix for unit-tests/varquote.mk on Debian

2018-09-21  Simon J. Gerraty  <sjg@bad.crufty.net>

	* VERSION: 20180919
	  Merge with NetBSD make, pick up
	  o var.c: add :q
	  o dir.c: cleanup caching of stats

2018-09-21  Simon J Gerraty  <sjg@beast.crufty.net>

	* Makefile.config.in: use += where it makes sense.

2018-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* VERSION: 20180512
	  Merge with NetBSD make, pick up
	  o job.c: skip polling job token pipe

2018-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* VERSION: 20180405
	  Merge with NetBSD make, pick up
	  o parse.c: be more cautious about detecting depenency line
	    rather than sysV style include.

2018-02-22  Simon J. Gerraty  <sjg@bad.crufty.net>

	* VERSION: 20180222
	  Merge with NetBSD make, pick up
	  o parse.c: avoid calling sysconf for every call to loadfile

2018-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* VERSION: 20180218
	  Merge with NetBSD make, pick up
	  o var.c: Var_Set handle NULL value anytime.

2018-02-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* VERSION: 20180212
	  Merge with NetBSD make, pick up
	  o parse.c: do not treat .info as warning with -W

2017-12-07  Simon J. Gerraty  <sjg@bad.crufty.net>

	* VERSION: 20171207
	  Merge with NetBSD make, pick up
	  o var.c: Var_Append use Var_Set if var not previously set
	    so that VAR_CMD is handled correctly.
	    Add a suitable unit-test.

2017-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>

	* VERSION (_MAKE_VERSION): 20171126

	* aclocal.m4: use AC_LINK_IFELSE for AC_C___ATTRIBUTE__
	  since AC_TRY_COMPILE puts input inside main()
	  which upsets modern compilers.

2017-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* VERSION: 20171118
	  Merge with NetBSD make, pick up
	  o var.c: do not append to variable set on command line
	    add unit-test to catch this.

2017-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>

	* VERSION: 20171028
	  Merge with NetBSD make, pick up
	  o main.c: ignore empty MAKEOBJDIR

	* Makefile.config.in:
	  make @prefix@ @machine*@ and @default_sys_path@ defaults.

2017-10-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* VERSION: 20171005

	* unit-tests/dotwait.mk: redirect stderr through pipe for more
	  consistent result on some platforms.

2017-08-13  Simon J. Gerraty  <sjg@bad.crufty.net>

	* machine.sh: entry for AIX

2017-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* VERSION (_MAKE_VERSION): Move the setting of _MAKE_VERSION
	  to a file that can be included by configure as well as make.
	  This allows configure to set set _MAKE_VERSION in make-bootstrap.sh

2017-08-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170810
	  Merge with NetBSD make, pick up
	  o meta.c: if target is in subdir we only need subdir name in
	    meta_name.

2017-07-20  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170720
	  Merge with NetBSD make, pick up
	  o compat.c: pass SIGINT etc onto child and wait for it to exit
	    before we self-terminate.

2017-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170711
	  forgot to update after merge on 20170708 ;-)
	  o main.c: refactor to reduce size of main function.
	    add -v option to always fully expand values.
	  o meta.c: ensure command output in meta file has ending newline
	    even when filemon not being used.
	    When matching ${.MAKE.META.IGNORE_PATTERNS} do not use
	    pathname via ':L' since any ':' in pathname breaks that.
	    Instead set a '${.p.}' to pathname in the target context and
	    use that.

2017-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170510
	  Merge with NetBSD make, pick up
	  o main.c: Main_SetObjdir: ensure buf2 is in scope

2017-05-08  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170505
	  see mk/ChangeLog

2017-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* parse.c: not everyone has stdint.h

2017-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170501
	  see mk/ChangeLog

2017-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170421
	  Merge with NetBSD make, pick up
	  o str.c: Str_Match: fix closure tests for [^] and add unit-test.

2017-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170420
	  Merge with NetBSD make, pick up
	  o main.c: only use -C arg "as is" if it contains no 
	    relative component.

2017-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170418
	  Merge with NetBSD make, pick up
	  o main.c: fix Main_SetObjdir() for relative paths (eg obj).

2017-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170417
	  Merge with NetBSD make, pick up
	  o fixes a number of coverity complaints
	    - check return value of fseek, fcntl
	    - plug memory leak in Dir_FindFile, Var_LoopExpand,
	      JobPrintCommand, ParseTraditionalInclude
	    - use bmake_malloc() where NULL is not tollerated
	    - use MAKE_ATTR_UNUSED rather that kludges like 
	      return(unused ? 0 : 0)
	    - use purge_cached_realpaths() rather than abuse cached_realpath()

2017-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170413
	  Merge with NetBSD make, pick up
	  o main.c: when setting .OBJDIR ignore '$' in paths.

	* job.c: use MALLOC_OPTIONS to set malloc_options.

2017-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170411
	  Merge with NetBSD make, pick up
	  o str.c: Str_Match: allow [^a-z] to behave as expected.

2017-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170326
	  Merge with NetBSD make, pick up
	  o main.c: purge relative paths from realpath cache when .OBJDIR
	    is changed.

2017-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170311
	  Merge with NetBSD make, pick up
          o main.c: only use -C arg "as is" if it starts with '/'.

2017-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170301
	  Merge with NetBSD make, pick up
	  o main.c: use -C arg "as is" rather than getcwd()
	    if they identify the same directory.
	  o parse.c: ensure loadfile buffer is \n terminated in non-mmap case

2017-02-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170201
	  Merge with NetBSD make, pick up
	  o var.c: allow :_=var and avoid use of special context.

2017-01-30  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170130
	  Merge with NetBSD make, pick up
	  o var.c: add :range and :_
	  o main.c: partially initialize Dir_* before MainParseArgs()
	    can be called.
	    If -V, skip Main_ExportMAKEFLAGS()

2017-01-14  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20170114
	  Merge with NetBSD make, pick up
	  o var.c: allow specifying the utc value used by :{gm,local}time

2016-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20161212
	  Merge with NetBSD make, pick up
          o main.c: look for obj.${MACHINE}-${MACHINE_ARCH} too.

2016-12-09  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20161209
	  Merge with NetBSD make, pick up
	  o main.c: cleanup setting of .OBJDIR
	  o parse.c: avoid coredump from (var)=val

2016-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20161126
	  Merge with NetBSD make, pick up
	  o make.c: Make_OODate: report src node name if path not set

2016-09-26  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20160926
	  Merge with NetBSD make, pick up
	  o support for .DELETE_ON_ERROR: (remove targets that fail)
	
2016-09-26  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile MAN: tweak .Dt to match ${PROG}

2016-08-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20160818
	  its a neater number; pick up whitespace fixes to man page.

2016-08-17  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20160817
	  Merge with NetBSD make, pick up
	  o meta.c: move handling of .MAKE.META.IGNORE_* to meta_ignore()
	    so we can call it before adding entries to missingFiles.
	    Thus we do not track files we have been told to ignore.

2016-08-15  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20160815
	  Merge with NetBSD make, pick up
	  o meta_oodate: apply .MAKE.META.IGNORE_FILTER (if defined) to
	    pathnames, and skip if the expansion is empty.
	    Useful for dirdeps.mk when checking DIRDEPS_CACHE.

2016-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20160812
	  Merge with NetBSD make, pick up
	  o meta.c: remove all missingFiles entries that match a deleted
	    dir.
	  o main.c: set .ERROR_CMD if possible.
	  
2016-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20160606
	  Merge with NetBSD make, pick up
	  o dir.c: extend mtimes cache to others via cached_stat()

2016-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20160604
	  Merge with NetBSD make, pick up
	  o meta.c: missing filemon data is only relevant if we read a
	    meta file.
	    Also do not return oodate for a missing metafile if gn->path
	    points to .CURDIR
	
2016-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20160602
	  Merge with NetBSD make, pick up
	  o cached_realpath(): avoid hitting filesystem more than necessary.
	  o meta.c: refactor need_meta decision, add knobs for 
	    missing meta file and filemon data wrt out-of-datedness.

2016-05-28  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20160528

	* boot-strap, make-bootstrap.sh.in: Makefile now uses _MAKE_VERSION 

2016-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20160512
	  Merge with NetBSD make, pick up
	  o meta.c: ignore paths that match .MAKE.META.IGNORE_PATTERNS
	    this is useful for gcov builds.
	  o propagate errors from filemon(4).
	
2016-05-09  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20160509
	  Merge with NetBSD make, pick up
	  o remove use of non-standard types u_int etc.
	  o meta.c: apply realpath() before matching against metaIgnorePaths

2016-04-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20160404
	  Merge with NetBSD make, pick up
	  o allow makefile to set .MAKE.JOBS

	* Makefile (PROG_NAME): use ${_MAKE_VERSION}

2016-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): 20160315
	  Merge with NetBSD make, pick up
	  o fix handling of archive members

2016-03-13  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (_MAKE_VERSION): rename variable to avoid interference
	  with checks for ${MAKE_VERSION}

2016-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20160310
	  Merge with NetBSD make, pick up
	  o meta.c: treat missing Read file same as Write, incase we Delete it.

2016-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20160307
	  Merge with NetBSD make, pick up
	  o var.c: fix :ts\nnn to be octal by default.
	  o meta.c: meta_finish() to cleanup memory.

2016-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20160226
	  Merge with NetBSD make, pick up
	  o meta.c: allow meta file for makeDepend if makefiles want it.

2016-02-19  Simon J. Gerraty  <sjg@bad.crufty.net>

	* var.c: default .MAKE.SAVE_DOLLARS to FALSE
	  for backwards compatability.

	* Makefile (MAKE_VERSION): 20160220
	  Merge with NetBSD make, pick up
	  o var.c: add knob to control handling of '$$' in :=

2016-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20160218
	  Merge with NetBSD make, pick up
	  o var.c: add .export-literal allows us to fix sys.clean-env.mk
	    post the changes to Var_Subst.
	    Var_Subst now takes flags, and does not consume '$$' in :=

2016-02-17  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20160217
	  Merge with NetBSD make, pick up
	  o var.c: preserve '$$' in :=
	  o parse.c: add .dinclude for handling included 
	    makefile like .depend

2015-12-20  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20151220
	  Merge with NetBSD make, pick up
	  o suff.c: re-initialize suffNull when clearing suffixes.

2015-12-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20151201
	  Merge with NetBSD make, pick up
	  o cond.c: CondCvtArg: avoid access beyond end of empty buffer.
	  o meta.c: meta_oodate: use lstat(2) for checking link target
	    in case it is a symlink.
	  o var.c: avoid calling brk_string and Var_Export1 with empty
	    strings.
	
2015-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20151126
	  Merge with NetBSD make, pick up
	  o parse.c: ParseTrackInput don't access beyond 
	    end of old value.
	
2015-10-22  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20151022

	* Add support for BSD/OS which lacks inttypes.h
	  and really needs sys/param.h for sys/sysctl.h
	  also 'type' is not a shell builtin.

	* var.c: eliminate uint32_t and need for inttypes.h
	
	* main.c: PrintOnError flush stdout before run .ERROR

	* parse.c: cope with _SC_PAGESIZE not being defined.

	
2015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20151020
	  Merge with NetBSD make, pick up
	  o var.c: fix uninitialized var 

2015-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* var.c: the conditional expressions used with ':?' can be
	expensive, if already discarding do not evaluate or expand
	anything. 

2015-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20151010
	  Merge with NetBSD make, pick up
	  o Add Boolean wantit flag to Var_Subst and Var_Parse
	    when FALSE we know we are discarding the result and can
	    skip operations like Cmd_Exec.

2015-10-09  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20151009
	  Merge with NetBSD make, pick up
	  o var.c: don't check for NULL before free()
	  o meta.c: meta_oodate, do not hard code ignore of makeDependfile

2015-09-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20150910
	  Merge with NetBSD make, pick up
	  o main.c: with -w print Enter/Leaving messages for objdir too
	    if necessary.
	  o centralize shell metachar handling
	
	* FILES: add metachar.[ch]

2015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20150606
	  Merge with NetBSD make, pick up
	  o make.1: document .OBJDIR target

2015-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20150505
	  Merge with NetBSD make, pick up
	  o cond.c: be strict about lhs of comparison when evaluating .if
	    but less so when called from variable expansion.
	  o unit-tests/cond2.mk: test various error conditions

2015-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* machine.sh (MACHINE): Add Bitrig 
	  patch from joerg@netbsd.org

2015-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20150418
	  Merge with NetBSD make, pick up
	  o job.c: use memmove() rather than memcpy()

	* unit-tests/varshell.mk: SunOS cannot handle the TERMINATED_BY_SIGNAL
	  case, so skip it.

2015-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20150411
	  bump version - only mk/ changes.
	
2015-04-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20150410
	  Merge with NetBSD make, pick up
	  o document different handling of '-' in jobs mode vs compat
	  o fix jobs mode so that '-' only applies to whole job
	    when shell lacks hasErrCtl
	  o meta.c: use separate vars to track lcwd and latestdir (read)
	    per process
	
2015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20150401
	  Merge with NetBSD make, pick up
	  o meta.c: close meta file in child
	
	* Makefile: use BINDIR.bmake if set.
	  Same for MANDIR and SHAREDIR
	  Handy for testing release candidates
	  in various environments.
	
2015-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>

	* move initialization of savederr to block where it is used
	  to avoid spurious warning from gcc5

2014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20141111
	  just a cooler number

2014-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20141105
	  Merge with NetBSD make, pick up
	  o revert major overhaul of suffix handling
	    and POSIX compliance - too much breakage
	    and impossible to make backwards compatible.
	  o we still have the new unit test structure which is ok.
	  o meta.c ensure "-- filemon" is at start of line.

2014-09-17  Simon J. Gerraty  <sjg@bad.crufty.net>

	* configure.in: test that result of getconf PATH_MAX is numeric
	  and discard if not.  Apparently needed for Hurd.

2014-08-30  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20140830
	  Merge with NetBSD make, pick up
	  o major overhaul of suffix handling
	  o improved POSIX compliance
	  o overhauled unit-tests

2014-06-20  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20140620
	  Merge with NetBSD make, pick up
	  o var.c return varNoError rather than var_Error for ::= modifiers.

2014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20140522
	  Merge with NetBSD make, pick up
	  o var.c detect some parse errors.

2014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Fix spelling errors - patch from Pedro Giffuni

2014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20140214
	  Merge with NetBSD make, pick up
	  o .INCLUDEFROM*
	  o use Var_Value to get MAKEOBJDIR[PREFIX]
	  o reduced realloc'ign in brk_string.
	* configure.in: add a check for compiler supporting __func__

2014-01-03  Simon J. Gerraty  <sjg@bad.crufty.net>

	* boot-strap: ignore mksrc=none

2014-01-02  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (DEFAULT_SYS_PATH?): use just ${prefix}/share/mk

2014-01-01  Simon J. Gerraty  <sjg@bad.crufty.net>
	
	* Makefile (MAKE_VERSION): 20140101
	* configure.in: set bmake_path_max to min(_SC_PATH_MAX,1024)
	* Makefile.config: defined BMAKE_PATH_MAX to bmake_path_max
	* make.h: use BMAKE_PATH_MAX if MAXPATHLEN not defined (needed for
	  Hurd) 
	* configure.in: Add AC_PREREQ and check for
	  sysctl; patch from Andrew Shadura andrewsh at debian.org

2013-10-16  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20131010
	* lose the const from arg to systcl to avoid problems on older BSDs.

2013-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20131001
	  Merge with NetBSD make, pick up
	  o main.c: for NATIVE build sysctl to get MACHINE_ARCH from
	    hw.machine_arch if necessary.
	  o meta.c: meta_oodate - need to look at src of Link and target
	    of Move as well.
	* main.c: check that CTL_HW and HW_MACHINE_ARCH exist.
	  provide __arraycount() if needed.

2013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20130904
	  Merge with NetBSD make, pick up
	  o Add VAR_INTERNAL context, so that internal setting of
	    MAKEFILE does not override value set by makefiles.

2013-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20130902
	  Merge with NetBSD make, pick up
	  o CompatRunCommand: only apply shellErrFlag when errCheck is true

2013-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20130828
	  Merge with NetBSD make, pick up
	  o Fix VAR :sh = syntax from Will Andrews at freebsd.org
	  o Call Job_SetPrefix() from Job_Init() so makefiles have
	    opportunity to set .MAKE.JOB.PREFIX

2013-07-30  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20130730
	  Merge with NetBSD make, pick up
	  o Allow suppression of --- job -- tokens by setting
	    .MAKE.JOB.PREFIX empty.

2013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20130716
	  Merge with NetBSD make, pick up
	  o number of gmake compatibility tweaks
	    -w for gmake style entering/leaving messages
	    if .MAKE.LEVEL > 0 indicate it in progname "make[1]" etc.
	    handle MAKEFLAGS containing only letters.
	  o when overriding a GLOBAL variable on the command line,
	    delete it from GLOBAL context so -V doesn't show the wrong
	    value.
	
2013-07-06  Simon J. Gerraty  <sjg@bad.crufty.net>

	* configure.in: We don't need MAKE_LEVEL_SAFE anymore.

	* Makefile (MAKE_VERSION): 20130706
	  Merge with NetBSD make, pick up
	  o Shell_Init(): export shellErrFlag if commandShell hasErrCtl is
	    true so that CompatRunCommand() can use it, to ensure
	    consistent behavior with jobs mode.
	  o use MAKE_LEVEL_ENV to define the variable to propagate
	    .MAKE.LEVEL - currently set to MAKELEVEL (same as gmake).
	  o meta.c: use .MAKE.META.IGNORE_PATHS to allow customization of
	    paths to ignore.

2013-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20130604
	  Merge with NetBSD make, pick up
	  o job.c: JobCreatePipe: do fcntl() after any tweaking of fd's
	    to avoid leaking descriptors.

2013-05-28  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20130528
	  Merge with NetBSD make, pick up
	  o var.c: cleanup some left-overs in VarHash()

2013-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20130520
	  generate manifest from component FILES rather than have to
	  update FILES when mk/FILES changes.

2013-05-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20130518
	  Merge with NetBSD make, pick up
	  o suff.c: don't skip all processsing for .PHONY targets
	    else wildcard srcs do not get expanded.
	  o var.c: expand name of variable to delete if necessary.

2013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20130330
	  Merge with NetBSD make, pick up
	  o meta.c: refine the handling of .OODATE in commands.
	    Rather than suppress command comparison for the entire script
	    as though .NOMETA_CMP had been used, only suppress it for the
	    one command line.
	    This allows something like ${.OODATE:M.NOMETA_CMP} to be used to 
	    suppress comparison of a command without otherwise affecting it.
	  o make.1: document that

2013-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20130321
	  yes, not quite right but its a cooler number.
	  Merge with NetBSD make, pick up
	  o parse.c: fix ParseGmakeExport to be portable 
	    and add a unit-test.
	* meta.c: call meta_init() before makefiles are read and if built
	  with filemon support set .MAKE.PATH_FILEMON to _PATH_FILEMON
	  this let's makefiles test for support.
	  Call meta_mode_init() to process .MAKE.MODE.

2013-03-13  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20130305
	  Merge with NetBSD make, pick up
	  o run .STALE: target when a dependency from .depend is missing.
	  o job.c: add Job_RunTarget() for the above and .BEGIN

2013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20130303
	  Merge with NetBSD make, pick up
	  o main.c: set .MAKE.OS to utsname.sysname
	  o job.c: more checks for read and poll errors
	  o var.c: lose VarChangeCase() saves 4% time

2013-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>

	* boot-strap: remove MAKEOBJDIRPREFIX from environment since we
	  want to use MAKEOBJDIR

2013-01-27  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Merge with NetBSD make, pick up
	  o make.1: more info on how shell commands are handled.
	  o job.c,main.c: detect write errors to job pipes.

2013-01-25  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile (MAKE_VERSION): 20130123
	  Merge with NetBSD make, pick up
	  o meta.c: if script uses .OODATE and meta_oodate() decides
	    rebuild is needed, .OODATE will be empty - set it to .ALLSRC.
	  o var.c: in debug output indicate which variabale modifiers
	    apply to.
	  o remove Check_Cwd logic the makefiles have been fixed.
	
2012-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* makefile.in: add a simple makefile for folk who insist on
	  ./configure; make; make install
	  it just runs boot-strap
	* include mk/* to accommodate the above
	* boot-strap:  re-work to accommodate the above
	  mksrc defaults to $Mydir/mk
	  allow op={configure,build,install,clean,all}
	  add options to facilitate install
	* Makefile.config.in: just the bits set by configure
	* Makefile: bump version to 20121212
	  abandon Makefile.in (NetBSD Makefile)
	  leverage mk/* instead
	* configure.in: ensure srcdir is absolute

2012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): 20121111
	  fix generation of bmake.cat1

2012-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): 20121109
	  Merge with NetBSD make, pick up
	  o make.c: MakeBuildChild: return 0 so search continues if a
	    .ORDER dependency is detected.
	  o unit-tests/order: test the above
	
2012-11-02  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): 20121102
	  Merge with NetBSD make, pick up
	  o cond.c: allow cond_state[] to grow.
	    In meta mode with a very large tree, we can hit the limit
	    while processing dirdeps.
	
2012-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in: we need to use ${srcdir} not ${.CURDIR}

2012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): 20121010
	  o protect syntax that only bmake parses correctly.
	  o remove auto setting of FORCE_MACHINE, use configure's
	    --with-force-machine=whatever if that is desired.
	
2012-10-08  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in: do not lose history from make.1 when generating bmake.1

2012-10-07  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): 20121007
	  Merge with NetBSD make, pick up
	  o compat.c: ignore empty commands - same as jobs mode.
	  o make.1: document meta chars that cause use of shell

2012-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20120911
	* bsd.after-import.mk: include Makefile.inc early and allow it to
	  override PROG

2012-08-31  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20120831
	  Merge with NetBSD make, pick up
	  o cast sizeof() to int for comparison
	  o minor make.1 tweak

2012-08-30  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20120830
	  Merge with NetBSD make, pick up
	  o .MAKE.EXPAND_VARIABLES knob can control default behavior of -V
	  o debug flag -dV causes -V to show raw value regardless.
	
2012-07-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* bsd.after-import.mk (after-import): ensure unit-tests/Makefile
	  gets SRCTOP set.

2012-07-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20120704
	  Merge with NetBSD make, pick up
	  o Job_ParseShell should call Shell_Init if it has been
	    previously called.
	* Makefile.in: set USE_META based on configure result.
	  also .PARSEDIR is safer indicator of bmake.

2012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in: bump version to 20120626
	  ensure CPPFLAGS is in CFLAGS
	* meta.c: avoid nested externs
	* bsd.after-import.mk: avoid ${.CURDIR}/Makefile as target
	
2012-06-20  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20120620
	  Merge with NetBSD make, pick up
	  o make_malloc.c: avoid including make_malloc.h again

	* Makefile.in: avoid bmake only syntax or protect with
	  .if defined(.MAKE.LEVEL)
	* bsd.after-import.mk: replace .-include with .sinclude
	  ensure? SRCTOP gets a value
	* configure.in: look for filemon.h in /usr/include/dev/filemon first.

2012-06-19  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20120612
	  Merge with NetBSD make, pick up
	  o use MAKE_ATTR_* rather than those defined by cdefs.h or compiler
	    for greater portability.
	  o unit-tests/forloop: check that .for works as expected wrt
	    number of times and with "quoted strings".
	
2012-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20120606
	  Merge with NetBSD make, pick up
	  o compat.c: use kill(2) rather than raise(3).
	* configure.in: look for sys/dev/filemon
	* bsd.after-import.mk: add a .-include "Makefile.inc" to Makefile
	  and pass BOOTSTRAP_XTRAS to boot-strap.

2012-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20120604
	  Merge with NetBSD make, pick up
	  o util.c and var.c share same var for tracking if environ
	    has been reallocated.
	  o util.c provide getenv with setenv.
	* Add MAKE_LEVEL_SAFE as an alternate means of passing MAKE_LEVEL
	  when the shell actively strips .MAKE.* from the environment.
	  We still refer to the variable always as .MAKE.LEVEL
	* util.c fix bug in findenv() was finding prefix of name.
	* compat.c: re-raising SIGINT etc after running .INTERRUPT
	  results in more reliable termination of all activity on many
	  platforms.

2012-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20120602
	  Merge with NetBSD make, pick up
	  o for.c: handle quoted items in .for list

2012-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20120530
	  Merge with NetBSD make, pick up
	  o compat.c: ignore empty command.

2012-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20120524
	* FILES: add bsd.after-import.mk:
	  A simple means of integrating bmake into a BSD build system.

2012-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20120520
	  Merge with NetBSD make, pick up
	  o increased limit for nested conditionals.
	
2012-05-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20120518
	  Merge with NetBSD make, pick up
	  o use _exit(2) in signal hanlder
	  o Don't use the [dir] cache when building nodes that might have
	    changed since the last exec.
	  o Avoid nested extern declaration warnings.

2012-04-27  Simon J. Gerraty  <sjg@bad.crufty.net>

	* meta.c (fgetLine): avoid %z - not portable.
	* parse.c: Since we moved include of sys/mman.h
	  and def's of MAP_COPY etc. we got dups from a merge.

2012-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20120420
	  Merge with NetBSD make, pick up
	  o restore duplicate supression in .MAKE.MAKEFILES
	    runtime saving can be significant.
	  o Var_Subst() uses Buf_DestroyCompact() to reduce memory
	    consumption up to 20%. 

2012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20120420
          Merge with NetBSD make, pick up
	  o remove duplicate supression in .MAKE.MAKEFILES
	  o improved dir cache behavior
	  o gmake'ish export command
	
2012-03-25  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20120325
	  Merge with NetBSD make, pick up
	  o fix parsing of :[#] in conditionals.

2012-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in: replace use of .Nx in bmake.1 with NetBSD
	  since some systems cannot cope with .Nx <version>

2011-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20111111
	  Merge with NetBSD make, pick up
	  o debug output for .PARSEDIR and .PARSEFILE

2011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION):  bump version to 20111010

2011-10-09  Simon J. Gerraty  <sjg@bad.crufty.net>

	* boot-strap: check for an expected file in the dirs we look for.
	* make-bootstrap.sh: pass on LDSTATIC

2011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20111001
	  Merge with NetBSD make, pick up
	  o ensure .PREFIX is set for .PHONY
	    and .TARGET set for .PHONY run via .END
	  o __dead used consistently
	
2011-09-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): 20110909 is a better number ;-)

2011-09-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20110905
	  Merge with NetBSD make, pick up
	  o meta_oodate: ignore makeDependfile
	
2011-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20110828
	  Merge with NetBSD make, pick up
	  o silent=yes in .MAKE.MODE causes meta mode to mark targets 
	    as SILENT if a .meta file is created

2011-08-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20110818
	  Merge with NetBSD make, pick up
	  o in meta mode, if target flagged .META a missing .meta file
	    means target is out-of-date
	  o fixes for gcc 4.5 warnings
	  o simplify job printing code
	
2011-08-09  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20110808
	  Merge with NetBSD make, pick up
	  o do not touch OP_SPECIAL targets when doing make -t
	
2011-06-22  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20110622
	  Merge with NetBSD make, pick up
	  o meta_oodate detect corrupted .meta file and declare oodate.
	* configure.in: add check for setsid
	
2011-06-07  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Merge with NetBSD make, pick up
	  o unit-tests/modts now works on MirBSD

2011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20110606
	  Merge with NetBSD make, pick up
	  o ApplyModifiers: when we parse a variable which is not
	    the entire modifier string, or not followed by ':', do not
	    consider it as containing modifiers.
	  o loadfile: ensure newline at end of mapped file.

2011-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20110505
	  Merge with NetBSD make, pick up
	  o .MAKE.META.BAILIWICK - list of prefixes which define the scope
	    of make's control.  In meta mode, any generated file within
	    said bailiwick, which  is found to be missing, causes current
	    target to be out-of-date. 
	
2011-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20110411
	  Merge with NetBSD make, pick up
	  o when long modifiers fail to match, check sysV style.
	    - add a test case
	
2011-04-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20110410
	  Merge with NetBSD make, pick up
	  o :hash - cheap 32bit hash of value
	  o :localtime, :gmtime - use value as format string for strftime.
	
2011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20110330
	  mostly because its a cooler version.
	  Merge with NetBSD make, pick up
	  o NetBSD tags for meta.[ch]
	  o job.c call meta_job_finish() after meta_job_error().
	  o meta_job_error() should call meta_job_finish() to ensure
	    .meta file is closed, and safe to copy - if .ERROR target wants.
	   meta_job_finish() is safe to call repeatedly.
	
2011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>

	* unit-tests/modts: use printf if it is a builtin, 
	  to save us from MirBSD

	* Makefile.in (MAKE_VERSION): bump version to 20110329
	  Merge with NetBSD make, pick up
	  o fix for use after free() in CondDoExists().
	  o meta_oodate() report extra commands and return earlier.
	
2011-03-27  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20110327
	  Merge with NetBSD make, pick up
	  o meta.c, if .MAKE.MODE contains curdirOk=yes
	    allow creating .meta files in .CURDIR
	* boot-strap (TOOL_DIFF): aparently at least on linux distro
	  formats the output of 'type' differently - so eat any "()"

2011-03-06  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20110306
	  Merge with NetBSD make, pick up
	  o meta.c, only do getcwd() once
	
2011-03-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20110305
	  Merge with NetBSD make, pick up
	  o correct sysV substitution handling of empty lhs and variable
	  o correct exists() check for dir with trailing /
	  o correct handling of modifiers for non-existant variables
	    during evaluation of conditionals.
	  o ensure MAP_FILE is defined.
	  o meta.c use curdir[] now exported by main.c
	
2011-02-25  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20110225
	  Merge with NetBSD make, pick up
	  o fix for incorrect .PARSEDIR when .OBJDIR is re-computed after
	    makefiles have been read.
	  o fix example of :? modifier in man page.
	
2011-02-13  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20110214
	  Merge with NetBSD make, pick up
	  o meta.c handle realpath() failing when generating meta file
	    name.

	* sigcompat.c: convert to ansi so we can use higher warning levels.


2011-02-07  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20110207
	  Merge with NetBSD make, pick up
	  o fix for bug in meta mode.
	
2011-01-03  Simon J. Gerraty  <sjg@bad.crufty.net>

	* parse.c: SunOS 5.8 at least does not have MAP_FILE

2011-01-01  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20110101
	  Merge with NetBSD make, pick up
	  o use mmap(2) if available, for reading makefiles

2010-12-15  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20101215
	  Merge with NetBSD make, pick up
	  o ensure meta_job_error() does not report a previous .meta file
	    as being culprit.

2010-12-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20101210
	  Merge with NetBSD make, pick up
	  o meta_oodate: track cwd per process, and only consider target
	    out-of-date if missing file is outside make's CWD.
	    Ignore files in /tmp/ etc.
	  o to ensure unit-tests results match, need to control LC_ALL
	    as well as LANG.
	  o fix for parsing bug in var.c

2010-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20101126
	  Merge with NetBSD make, pick up
	  o if stale dependency is an IMPSRC, search via .PATH
	  o meta_oodate: if a referenced file is missing, target is
	    out-of-date.
	  o meta_oodate: if a target uses .OODATE in its commands,
	    it (.OODATE) needs to be recomputed.
	  o keep a pointer to youngest child node, rather than just its
	    mtime.
	
2010-11-02  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20101101

2010-10-16  Simon J. Gerraty  <sjg@bad.crufty.net>

	* machine.sh: like os.sh, 
	allow for uname -p producing useless drivel

2010-09-13  Simon J. Gerraty  <sjg@bad.crufty.net>

	* boot-strap: document configure knobs for meta and filemon.

	* Makefile.in (MAKE_VERSION): bump version to 20100911
	  Merge with NetBSD make, pick up
	  o meta.c - meta mode

	* make-bootstrap.sh.in: handle meta.c
	* configure.in: add knobs for use_meta and filemon_h
	  also, look for dirname, str[e]sep and strlcpy
	* util.c: add simple err[x] and warn[x]

2010-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>

	* boot-strap (TOOL_DIFF): set this to ensure tests use
	  the same version of diff that configure tested

	* Makefile.in (MAKE_VERSION): bump version to 20100808
	  Merge with NetBSD make, pick up
	  o in jobs mode, when we discover we cannot make something,
	    call PrintOnError before exit.
	
2010-08-06  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20100806
	  Merge with NetBSD make, pick up
	  o formatting fixes for ignored errors
	  o ensure jobs are cleaned up regardless of where wait() was called.

2010-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20100618
	* os.sh (MACHINE_ARCH): watch out for drivel from uname -p

2010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20100616
	  Merge with NetBSD make, pick up
	  o man page update
	  o call PrintOnError from JobFinish when we detect an error we
	    are not ignoring. 
	
2010-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20100606
	  Merge with NetBSD make, pick up
	  o man page update

2010-06-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20100605
	  Merge with NetBSD make, pick up
	  o use bmake_signal() which is a wrapper around sigaction() 
	    in place of signal()
	  o add .export-env to allow exporting variables to environment
	    without tracking (so no re-export when the internal value is
	    changed).
	
2010-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20100524
	  Merge with NetBSD make, pick up
	  o fix for .info et al being greedy.

2010-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20100520
	  Merge with NetBSD make, pick up
	  o back to using realpath on argv[0] 
	    but only if contains '/' and does not start with '/'.

2010-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* boot-strap: use absolute path for bmake when running tests.

	* Makefile.in (MAKE_VERSION):  bump version to 20100510
	  Merge with NetBSD make, pick up
	  o revert use of realpath on argv[0]
	    too many corner cases.
	  o print MAKE_PRINT_VAR_ON_ERROR before running .ERROR target.

2010-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20100505
	  Merge with NetBSD make, pick up
	  o fix for missed SIGCHLD when compiled with SunPRO
	    actually for bmake, defining FORCE_POSIX_SIGNALS would have
	    done the job.

2010-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20100430
	  Merge with NetBSD make, pick up
	  o fflush stdout before writing to stdout
	
2010-04-23  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20100423
	  Merge with NetBSD make, pick up
	  o updated unit tests for Haiku (this time for sure).
	* boot-strap: based on patch from joerg 
	  honor --with-default-sys-path better.
	* boot-strap: remove mention of --with-prefix-sys-path
	
2010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20100422
	* Merge with NetBSD make, pick up
	  o fix for vfork() on Darwin.
	  o fix for bogus $TMPDIR.
	  o set .MAKE.MODE=compat for -B
	  o set .MAKE.JOBS=max_jobs for -j max_jobs
	  o allow unit-tests to run without any *.mk
	  o unit-tests/modmisc be more conservative in dirs presumed to exist.
	* boot-strap: ignore /usr/share/mk except on NetBSD.
	* unit-tests/Makefile.in: set LANG=C when running unit-tests to
	  ensure sort(1) behaves as expected. 
	
2010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>

	* boot-strap: add FindHereOrAbove so we can use -m .../mk

2010-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20100420
	* Merge with NetBSD make, pick up
	  o fix for variable realpath() behavior.
	    we have to stat(2) the result to be sure.
	  o fix for .export (all) when nested vars use :sh
	
2010-04-14  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20100414
	* Merge with NetBSD make, pick up
	  o use realpath to resolve argv[0] (for .MAKE) if needed.
	  o add realpath from libc.
	  o add :tA to resolve variable via realpath(3) if possible.

2010-04-08  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20100408
	* Merge with NetBSD make, pick up
	  o unit tests for .ERROR, .error
	  o fix for .ERROR to ensure it cannot be default target.

2010-04-06  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20100406
	* Merge with NetBSD make, pick up
	  o fix for compat mode "Error code" going to debug_file.
	  o fix for .ALLSRC being populated twice.
	  o support for .info, .warning and .error directives
	  o .MAKE.MODE to control make's operational mode
	  o .MAKE.MAKEFILE_PREFERENCE to control the preferred makefile
	    name(s).
	  o .MAKE.DEPENDFILE to control the name of the depend file
	  o .ERROR target - run on failure.
	
2010-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>

	* make-bootstrap.sh.in: extract MAKE_VERSION from Makefile

	* os.sh,arch.c: patch for Haiku from joerg at netbsd

2010-03-17  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20100222
	* Merge with NetBSD make, pick up
	  o better error msg for .for with mutiple inter vars
	
	* boot-strap: 
	  o use make-bootstrap.sh from joerg at netbsd
	    to avoid the need for a native make when bootstrapping.
	  o add "" everywhere ;-)
	  o if /usr/share/tmac/andoc.tmac exists install nroff bmake.1
	    otherwise the pre-formated version.

2010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20100102
	* Merge with NetBSD make, pick up:
	  o fix for -m .../

2009-11-18  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20091118
	* Merge with NetBSD make, pick up:
	  o .unexport
	  o report lines that start with '.' and should have ':'
	    (catch typo's of .el*if).
	
2009-10-30  Simon J. Gerraty  <sjg@void.crufty.net>

	* configure.in: Ensure that srcdir and mksrc are absolute paths.

2009-10-09  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (MAKE_VERSION): fix version to 20091007

2009-10-07  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 200910007
	* Merge with NetBSD make, pick up:
	  o fix for parsing of :S;...;...; applied to .for loop iterator
	    appearing in a dependency line. 
	
2009-09-09  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20090909
	* Merge with NetBSD make, pick up:
	  o fix for -C, .CURDIR and .OBJDIR
	* boot-strap: 
	  o allow share_dir to be set independent of prefix.
	  o select default share_dir better when prefix ends in $HOST_TARGET
	  o if FORCE_BSD_MK etc were set, include them in the suggested
	    install-mk command.

2009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20090908
	* Merge with NetBSD make, pick up:
	  o .MAKE.LEVEL for recursion tracking
	  o fix for :M scanning \:

2009-09-03  Simon J. Gerraty  <sjg@void.crufty.net>

	* configure.in: Don't -D__EXTENSIONS__ if
	AC_USE_SYSTEM_EXTENSIONS says "no".

2009-08-26  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (MAKE_VERSION): bump version to 20090826
	Simplify MAKE_VERSION to just the bare date.
	* Merge with NetBSD make, pick up:
	  o -C directory support.
	  o support for SIGINFO
	  o use $TMPDIR for temp files.
	  o child of vfork should be careful about modifying parent's state.
	

2009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>

	* Appy some patches for MiNT from David Brownlee

2009-02-26  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20090222
	* Merge with NetBSD make, pick up:
	  o Possible null pointer de-ref in Var_Set.

2009-02-08  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20090204
	* Merge with NetBSD make, pick up:
	  o bmake_malloc et al moved to their own .c
	  o Count both () and {} when looking for the end of a :M pattern
	  o Change 'Buffer' so that it is the actual struct, not a pointer to it.
	  o strlist.c - functions for processing extendable arrays of pointers to strings.
	  o ClientData replaced with void *, so const void * can be used.
	  o New debug flag C for DEBUG_CWD

2008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20081111
	  Apply patch from Joerg Sonnenberge to
	  configure.in:
	  o remove some redundant checks
	  o check for emlloc etc only in libutil and require the whole family.
	  util.c:
	  o remove [v]asprintf which is no longer used.
	
2008-11-04  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20081101
	* Merge with NetBSD make, pick up:
	  o util.c: avoid use of putenv() - christos

2008-10-30  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20081030
	  pick up man page tweaks.

2008-10-29  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in: move processing of LIBOBJS to after is definition!
	  thus we'll have getenv.c in SRCS only if needed.

	* make.1: add examples of how to use :?

	* Makefile.in (BMAKE_VERSION): bump version to 20081029
	* Merge with NetBSD make, pick up:
	  o fix for .END processing with -j
	  o segfault from Parse_Error when no makefile is open
	  o handle numeric expressions in any variable expansion
	  o debug output now defaults to stderr, -dF to change it - apb
	  o make now uses bmake_malloc etc so that it can build natively 
	    on A/UX - wasn't an issue for bmake, but we want to keep in sync.

2008-09-27  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20080808
	* Merge with NetBSD make, pick up:
	  o fix for PR/38840: Pierre Pronchery: make crashes while parsing
	    long lines in Makefiles 
	  o optimizations for VarQuote by joerg
	  o fix for PR/38756: dominik: make dumps core on invalid makefile
	
2008-05-15  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20080515
	* Merge with NetBSD make, pick up:
	  o fix skip setting vars in VAR_GLOBAL context, to handle
	    cases where VAR_CMD is used for other than command line vars.

2008-05-14  Simon J. Gerraty  <sjg@void.crufty.net>

	* boot-strap (make_version): we may need to look in
	$prefix/share/mk for sys.mk 

	* Makefile.in (BMAKE_VERSION): bump version to 20080514
	* Merge with NetBSD make, pick up:
	  o skip setting vars in VAR_GLOBAL context, when already set in
	  VAR_CMD which takes precedence.

2008-03-30  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION):  bump version to 20080330
	* Merge with NetBSD make, pick up:
	  o fix for ?= when LHS contains variable reference.

2008-02-15  Simon J. Gerraty  <sjg@void.crufty.net>

	* merge some patches from NetBSD pkgsrc.
	
	* makefile.boot.in (BOOTSTRAP_SYS_PATH): Allow better control of
	the MAKSYSPATH used during bootstrap. 

	* Makefile.in (BMAKE_VERSION): bump version to 20080215
	* Merge with NetBSD make, pick up:
	  o warn if non-space chars follow 'empty' in a conditional.

2008-01-18  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20080118
	* Merge with NetBSD make, pick up:
	  o consider dependencies read from .depend as optional - dsl
	  o remember when buffer for reading makefile grows - dsl
	  o add -dl (aka LOUD) - David O'Brien

2007-10-22  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20071022
	* Merge with NetBSD make, pick up:
	  o Allow .PATH<suffix> to be used for .include ""

	* boot-strap: source default settings from .bmake-boot-strap.rc

2007-10-16  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in: fix maninstall on various systems 
	  provided that our man.mk is used.
	  For non-BSD systems we install the preformatted page
	  into $MANDIR/cat1

2007-10-15  Simon J. Gerraty  <sjg@void.crufty.net>

	* boot-strap: make bmake.1 too, so maninstall works.

2007-10-14  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20071014
	* Merge with NetBSD make, pick up:
	  o revamped handling of defshell - configure no longer needs to
	    know the content of the shells array - apb
	  o stop Var_Subst modifying its input - apb
	  o avoid calling ParseTrackInput too often - dsl

2007-10-11  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20071011
	* Merge with NetBSD make, pick up:
	  o fix Shell_Init for case that _BASENAME_DEFSHELL is absolute path.

	* sigcompat.c: some tweaks for HP-UX 11.x based on 
	  patch from Tobias Nygren

	* configure.in: update handling of --with-defshell to match
	  new make behavior.  --with-defshell=/usr/xpg4/bin/sh
	  will now do what one might hope - provided the chosen shell
	  behaves enough like sh.

2007-10-08  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20071008
	* Merge with NetBSD make, pick up:
	  o .MAKE.JOB.PREFIX - control the token output before jobs - sjg
	  o .export/.MAKE.EXPORTED - export of variables - sjg
	  o .MAKE.MAKEFILES - track all makefiles read - sjg
	  o performance improvements - dsl
	  o revamp parallel job scheduling - dsl
	
2006-07-28  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20060728
	* Merge with NetBSD make, pick up:
	  o extra debug info during variable and cond processing - sjg
	  o shell definition now covers newline - rillig
	  o minor mem leak in PrintOnError - sjg

2006-05-11  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION):  bump to 20060511
	* Merge with NetBSD make, pick up:
	  o more memory leaks - coverity
	  o possible overflow in ArchFindMember - coverity
	  o extract variable modifier code out of Var_Parse()
	    so it can be called recursively - sjg
	  o unit-tests/moderrs - sjg

2006-04-12  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20060412
	* Merge with NetBSD make, pick up:
	  o fixes for some memory leaks - coverity
	  o only read first sys.mk etc when searching sysIncPath - sjg

	* main.c (ReadMakefile): remove hack for __INTERIX that prevented
	setting ${MAKEFILE} - OBATA Akio

2006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20060318
	* Merge with NetBSD make, pick up:
	  o cleanup of job.c to remove remote handling, distcc is more
	    useful and this code was likely bit-rotting - dsl
	  o fix for :P modifier - sjg
	* boot-strap: set default prefix to something reasonable 
	  (for me anyway). 

2006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20060301
	* Merge with NetBSD make, pick up:
	  o make .WAIT apply recursively, document and test case - apb
	  o allow variable modifiers in a variable appear anywhere in
	    modifier list, document and test case - sjg

2006-02-22  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20060222
	* Merge with NetBSD make, pick up:
	  o improved job token handling - dsl
	  o SIG_DFL the correct signal before exec - dsl
	  o more debug info during parsing - dsl
	  o allow variable modifiers to be specified via variable - sjg
	* boot-strap: explain why we died if no mksrc

2005-11-05  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20051105
	* configure.in: always set default_sys_path 
	  default is ${prefix}/share/mk
	  - remove prefix_sys_path, anyone wanting more than above
	    needs to set it manually.

2005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>

	* boot-strap: make this a bit easier for pkgsrc folk.
	  bootstrap still fails on IRIX64 since MACHINE_ARCH gets set to
	  'mips' while pkgsrc wants 'mipseb' or 'mipsel'

2005-11-02  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20051102
	* job.c (JobFinish): fix likely ancient merge lossage
	fix from Todd Vierling.
	* boot-strap (srcdir): allow setting mksrc=none

2005-10-31  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20051031
	* ranlib.h: skip on OSF too.
	  (NetBSD PR 31864)

2005-10-10  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20051002
	  fix a silly typo

2005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20051001
	  support for UnixWare and some other systems,
	  based on patches from pkgsrc/bootstrap

2005-09-03  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20050901
	* Merge with NetBSD make, pick up:
	  o possible parse error causing us to wander off.

2005-06-06  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20050606
	* Merge with NetBSD make, pick up:
	  o :0x modifier for randomizing a list
	  o fixes for a number of -Wuninitialized issues.

2005-05-30  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20050530
	* Merge with NetBSD make, pick up:
	  o Handle dependencies for .BEGIN, .END and .INTERRUPT

	* README: was seriously out of date.
	
2005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>

	* Important to use .MAKE rather than MAKE.

2005-03-15  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20050315
	* Merge with NetBSD make, pick up:
	  o don't mistake .elsefoo for .else
	  o use suffix-specific search path correctly
	  o bunch of style nits

2004-05-11  Simon J. Gerraty  <sjg@void.crufty.net>

	* boot-strap: 
	o ensure that args to --src and --with-mksrc
	  are resolved before giving them to configure.
	o add -o "objdir" so that builder can control it,
	  default is $OS as determined by os.sh
	o add -q to suppress all the install instructions.

2004-05-08  Simon J. Gerraty  <sjg@void.crufty.net>

	* Remove __IDSTRING()

	* Makefile.in (BMAKE_VERSION): bump to 20040508
	* Merge with NetBSD make, pick up:
	  o posix fixes
	    - remove '-e' from compat mode
	    - add support for '+' command-line prefix.
	  o fix for handling '--' on command-line.
	  o fix include in lst.lib/lstInt.h to simplify '-I's
	  o we also picked up replacement of MAKE_BOOTSTRAP 
	    with !MAKE_NATIVE which is a noop, but possibly confusing.

2004-04-14  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20040414
	* Merge with NetBSD make, pick up:
	  o allow quoted strings on lhs of conditionals
	  o issue warning when extra .else is seen
	  o print line numer when errors encountered during parsing from
	  string.

2004-02-20  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION):  bump to 20040220
	* Merge with NetBSD make, pick up:
	  o fix for old :M parsing bug.
	  o re-jigged unit-tests

2004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (accept test): use ${.MAKE:S,^./,${.CURDIR}/,}
	so that './bmake -f Makefile test' works.
	
2004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in: (BMAKE_VERSION): bump to 20040214
	* Merge with NetBSD make, pick up:
	  o search upwards for *.mk
	  o fix for double free of var substitution buffers
	  o use of getopt replaced with custom code, since the usage
	  (re-scanning) isn't posix compatible.

2004-02-12  Simon J. Gerraty  <sjg@void.crufty.net>

	* arch.c: don't include ranlib.h on ELF systems
	(thanks to Chuck Cranor <chuck@ece.cmu.edu>).

2004-01-18  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20040118

	* boot-strap (while): export vars we assign to on cmdline
	* unit-test/Makefile.in: ternary is .PHONY

2004-01-08  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20040108
	* Merge with NetBSD make, pick up:
	  o fix for ternary modifier

2004-01-06  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20040105
	* Merge with NetBSD make, pick up:
	  o fix for cond.c to handle compound expressions better
	  o variable expansion within sysV style replacements
	  
2003-12-22  Simon J. Gerraty  <sjg@void.crufty.net>

	* Make portable snprintf safer - output to /dev/null first to
	check space needed.

	* Makefile.in (BMAKE_VERSION): bump version to 20031222
	* Merge with NetBSD make, pick up:
	  o -dg3 to show input graph when things go wrong.
	  o explicitly look for makefiles in objdir if not found in curdir so
	    that errors in .depend etc will be reported accurarely. 
	  o avoid use of -e in shell scripts in jobs mode, use '|| exit $?'
	    instead as it more accurately reflects the expected behavior and
	    is more consistently implemented.
	  o avoid use of asprintf.

2003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>

	* util.c: Add asprintf and vasprintf.

	* Makefile.in (BMAKE_VERSION): bump version to 20030928
	* Merge with NetBSD make, pick up:
	:[] modifier - allows picking words from a variable.
	:tW modifier - allows treating value as one big word.
	W flag for :C and :S - allows treating value as one big word.
	
2003-09-12  Simon J. Gerraty  <sjg@void.crufty.net>

	* Merge with NetBSD make
	pick up -de flag to enable printing failed command.
	don't skip 1st two dir entries (normally . and ..) since
	coda does not have them.

2003-09-09  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20030909
	* Merge with NetBSD make, pick up:
	- changes for -V '${VAR}' to print fully expanded value
	  cf. -V VAR
	- CompatRunCommand now prints the command that failed.
	- several files got updated 3 clause Berkeley license.
	
2003-08-02  Simon J. Gerraty  <sjg@void.crufty.net>

	* boot-strap: Allow setting configure args on command line.

2003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>

	* configure.in: add --with-defshell to allow sh or ksh
	to be selected as default shell.

	* Makefile.in: bump version to 20030731

	* Merge with NetBSD make 
	Pick up .SHELL spec for ksh and associate man page changes.
	Also compat mode now uses the same shell specs.

2003-07-29  Simon J. Gerraty  <sjg@void.crufty.net>

	* var.c (Var_Parse): ensure delim is initialized.

	* unit-tests/Makefile.in: use single quotes to avoid problems from
	some shells.

	* makefile.boot.in:
	Run the unit-tests as part of the bootstrap procedure.

2003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>

	* unit-tests/Makefile.in: always force complaints from
	${TEST_MAKE} to be from 'make'.

	* configure.in: add check for 'diff -u'
	also fix some old autoconf'isms
	
	* Makefile.in (BMAKE_VERSION): bump version to 20030728.
	if using GCC add -Wno-cast-qual to CFLAGS for var.o

	* Merge with NetBSD make
	Pick up fix for :ts parsing error in some cases.
	Pick unit-tests.

2003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20030723.

	* var.c (Var_Parse): fix bug in :ts modifier, after const
	correctness fixes, must pass nstr to VarModify.

2003-07-14  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in: BMAKE_VERSION switch to a date based version.
	We'll generally use the date of last import from NetBSD.

	* Merge with NetBSD make
	Pick up fixes for const-correctness, now passes WARNS=3 on
	NetBSD.
	Pick up :ts modifier, allows controlling the separator used
	between words in variable expansion.

2003-07-11  Simon J. Gerraty  <sjg@void.crufty.net>

	* FILES: include boot-strap and os.sh

	* Makefile.in: only set WARNS if we are NetBSD, the effect on
	FreeBSD is known to be bad.

	* makefile.boot.in (bootstrap): make this the default target.

	* Makefile.in: bump version to 3.1.19

	* machine.sh: avoid A-Z with tr as it is bound to lose.

2003-07-10  Simon J. Gerraty  <sjg@void.crufty.net>

	* Merge with NetBSD make
	Pick up fix for PR/19781 - unhelpful error msg on unclosed ${var:foo
	Plus some doc fixes.
	
2003-04-27  Simon J. Gerraty  <sjg@void.crufty.net>

	* Merge with NetBSD make
	Pick up fix for PR/1523 - don't count a library as built, if there
	is no way to build it 

	* Bump version to 3.1.18

2003-03-23  Simon J. Gerraty  <sjg@void.crufty.net>

	* Merge with NetBSD make
	Pick up fix for ParseDoSpecialSrc - we only use it if .WAIT
	appears in src list.

2003-03-21  Simon J. Gerraty  <sjg@void.crufty.net>

	* Merge with NetBSD make (mmm 10th anniversary!)
	pick up fix for .WAIT in srcs that refer to $@ or $* (PR#20828)
	pick up -X which tells us to not export VAR=val via setenv if
	we are already doing so via MAKEFLAGS.  This saves valuable env
	space on systems like Darwin.
	set MAKE_VERSION to 3.1.17

	* parse.c: pix up fix for suffix rules

2003-03-06  Simon J. Gerraty  <sjg@void.crufty.net>

	* Merge with NetBSD make.
	pick up fix for propagating -B via MAKEFLAGS.
	set MAKE_VERSION to 3.1.16

	* Apply some patches from pkgsrc-bootstrap/bmake
	Originally by Grant Beattie <grant@netbsd.org>
	I may have missed some - since they are based on bmake-3.1.12
	
2002-12-03  Simon J. Gerraty  <sjg@void.crufty.net>

	* makefile.boot.in (bmake): update install targets for those that
	use them, also clear MAKEFLAGS when invoking bmake.boot to avoid
	havoc from gmake -w.  Thanks to Harlan Stenn <hstenn@cisco.com>.

	* bmake.cat1: update the pre-formatted man page!

2002-11-30  Simon J. Gerraty  <sjg@void.crufty.net>

	* Merge with NetBSD make.
	pick up fix for premature free of pointer used in call
	to Dir_InitCur().
	set MAKE_VERSION to 3.1.15

2002-11-26  Simon J. Gerraty  <sjg@void.crufty.net>

	* configure.in: determine suitable value for MKSRC.
	override using --with-mksrc=PATH.

	* machine.sh: use `uname -p` for MACHINE_ARCH on modern SunOS systems.
	configs(8) will use 'sun4' as an alias for 'sparc'.

2002-11-25  Simon J. Gerraty  <sjg@void.crufty.net>

	* Merge with NetBSD make.
	pick up ${.PATH}
	pick up fix for finding ../cat.c via .PATH when .CURDIR=..
	set MAKE_VERSION to 3.1.14
	add configure checks for killpg and sys/socket.h

2002-09-16  Simon J. Gerraty  <sjg@void.crufty.net>

	* tag bmake-3-1-13
	
	* makefile.boot.in (bmake): use install-mk
	Also setup ./mk before trying to invoke bmake.boot incase we
	needed install-mk to create a sys.mk for us. 

	* configure.in: If we need to add -I${srcdir}/missing, make it an
	absolute path so that it works for lst.lib too.

	* make.h: always include sys/cdefs.h since we provide one if the
	host does not.
	
	* Makefile.in (install-mk): 
	use MKSRC/install-mk which will do the right thing.
	use uname -p for ARCH if possible.
	since install-mk will setup links bsd.prog.mk -> prog.mk if
	needed, just .include bsd.prog.mk

	* Merge with NetBSD make (NetBSD-1.6)
	Code is ansi-C only now.
	Bug in handling of dotLast is fixed.
	Can now assign .OBJDIR and make will reset its notions of life.
	New modifiers :tu :tl for toUpper and toLower.

Tue Oct 16 12:18:42 2001  Simon J. Gerraty  <sjg@zen.crufty.net>

	* Merge with NetBSD make
	pick up fix for .END failure in compat mode.
	pick up fix for extra va_end() in ParseVErrorInternal.

Thu Oct 11 13:20:06 2001  Simon J. Gerraty  <sjg@zen.crufty.net>

	* configure.in: for systems that have sys/cdefs.h check if it is
	compatible.  If not, include the one under missing, but tell it to
	include the native one too - necessary on Linux.

	* missing/sys/cdefs.h: if NEED_HOST_CDEFS_H is defined, use
	include_next (for gcc) to get the native sys/cdefs.h

Tue Aug 21 02:29:34 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* job.c (JobFinish): Fix an earlier merge bug that resulted in
	leaking descriptors when using -jN.
	
	* job.c (JobPrintCommand): See if "curdir" exists before
	attempting to chdir().  Doing the chdir directly in make (when in
	compat mode) fails silently, so let the -jN version do the same.
	This can happen when building kernels in an object tree and
	playing clever games to reset .CURDIR.

	* Merged with NetBSD make
	pick up .USEBEFORE

Tue Jun 26 23:45:11 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* makefile.boot.in: Give bmake.boot a MAKESYSPATH that might work.

Tue Jun 12 16:48:57 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* var.c (Var_Set): Add 4th (flags) arg so VarLoopExpand can tell
	us not to export the iterator variable when using VAR_CMD context.

Sun Jun 10 21:55:21 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* job.c (Job_CatchChildren): don't call Job_CatchOutput() here,
	its the wrong "fix".

Sat Jun  9 00:11:24 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Redesigned export of VAR_CMD's via MAKEFLAGS.
	We now simply append the variable names to .MAKEOVERRIDES, and
	handle duplicate suppression and quoting in ExportMAKEFLAGS using:
	${.MAKEOVERRIDES:O:u:@v@$v=${$v:Q}@}
	Apart from fixing quoting bugs in previous version, this allows us
	to export vars to the environment by simply doing:
	.MAKEOVERRIDES+= PATH 
	Merged again with NetBSD make, but the above is the only change.

	* configure.in: added
	--disable-pwd-override		disable $PWD overriding getcwd()
	--disable-check-make-chdir	disable make trying to guess 
		when it should automatically cd ${.CURDIR}

	* Merge with NetBSD make, changes include:
	parse.c (ParseDoDependency): Spot that the syntax error is
	caused by an unresolved cvs/rcs conflict and say so.
	var.c: most of Var* functions now take a ctxt as 1st arg.
	now does variable substituion on rhs of sysv style modifiers.
	
	* var.c (Var_Set): exporting of command line variables (VAR_CMD)
	is now done here.  We append the name='value' to .MAKEOVERRIDES
	rather than directly into MAKEFLAGS as this allows a Makefile to
	use .MAKEOVERRIDES= to disable this behaviour.  GNU make uses a
	very similar mechanism.  Note that in adding name='value' to
	.MAKEOVERRIDES we do the moral equivalent of:
	.MAKEOVERRIDES:= ${.MAKEOVERRIDES:Nname=*} name='val'

Fri Jun  1 14:08:02 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* make-conf.h (USE_IOVEC): make it conditional on HAVE_SYS_UIO_H

	* Merged with NetBSD make
	make -dx can now be used to run commands via sh -x
	better error messages on exec failures.

Thu May 31 01:44:54 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Makefile.in (main.o): depends on ${SRCS} ${MAKEFILE} so that
	MAKE_VERSION gets updated.  Also don't use ?= for MAKE_VERSION,
	MACHINE etc otherwise they propagate from the previous bmake.

	* configure.in (machine): allow --with-machine=generic to make
	configure use machine.sh to set MACHINE. 

	* job.c (JobInterrupt): convert to using WAIT_T and friends.

	* Makefile.in: mention in bmake.1 that we use autoconf.

	* make.1: mention MAKE_PRINT_VAR_ON_ERROR.

Wed May 30 23:17:18 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* main.c (ReadMakefile): don't set MAKEFILE if reading ".depend"
	as that rather defeats the usefulness of ${MAKEFILE}.

	* main.c (MainParseArgs): append command line variable assignments
	to MAKEFLAGS so that they get propagated to child make's.
	Apparently this is required POSIX behaviour?  Its useful anyway.

Tue May 29 02:20:07 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* compat.c (CompatRunCommand): don't use perror() since stdio may
	cause problems in child of vfork().

	* compat.c, main.c: Call PrintOnError() when we are going to bail.
	This routine prints out the .curdir where we stopped and will also
	display any vars listed in ${MAKE_PRINT_VAR_ON_ERROR}.

	* main.c: add ${.newline} to hold a "\n" - sometimes handy in
	:@ expansion.

	* var.c: VarLoopExpand: ignore addSpace if a \n is present.

	* Added RCSid's for the files we've touched.
	
Thu May 24 15:41:37 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* configure.in:	Thanks to some clues from mdb@juniper.net,
	added autoconf magic to control setting of MACHINE, MACHINE_ARCH
	as well as what ends up in _PATH_DEFSYSPATH.  We now have:

  --with-machine=MACHINE  explicitly set MACHINE
  --with-force-machine=MACHINE  set FORCE_MACHINE
  --with-machine_arch=MACHINE_ARCH  explicitly set MACHINE_ARCH
  --with-default-sys-path=PATH:DIR:LIST  use an explicit _PATH_DEFSYSPATH
  --with-prefix-sys-path=PATH:DIR:LIST  prefix _PATH_PREFIX_SYSPATH
  --with-path-objdirprefix=PATH  override _PATH_OBJDIRPREFIX
 	
	If _PATH_OBJDIRPREFIX is set to "no" we won't define it.

	* makefile: added a pathetically simple makefile to drive
	bootstrapping.  Running configure by hand is more useful.

	* Makefile.in: added MAKE_VERSION, and reworked things to be less
	dependent on NetBSD bsd.*.mk
	
	* pathnames.h: allow NO_PATH_OBJDIRPREFIX to stop us defining
	_PATH_OBJDIRPREFIX for those that don't want a default.
	construct _PATH_DEFSYSPATH from the info we get from configure.

	* main.c: allow for no _PATH_OBJDIRPREFIX, set ${MAKE_VERSION}
	if MAKE_VERSION is defined.
	
	* compat.c: when we bail, print out the .CURDIR we were in.
	
Sat May 12 00:34:12 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Merged with NetBSD make

	* var.c: fixed a bug in the handling of the modifier :P
	if the node as found but the path was null, we segfault trying to
	duplicate it.

Mon Mar  5 16:20:33 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Merged with NetBSD make
	
	* make.c: Make_OODate's test for a library out of date was using
	cmtime where it should have used mtime (my bug).

	* compat.c: Use perror() to tell us what really went wrong when we
	cannot exec a command.
	
Fri Dec 15 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Merged with NetBSD make
	
Sat Jun 10 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Merged with NetBSD make
	
Thu Jun  1 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Merged with NetBSD make
	
Tue May 30 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Merged with NetBSD make
	
Thu Apr 27 00:07:47 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* util.c: don't provide signal() since we use sigcompat.c

	* Makefile.in: added a build target.

	* var.c (Var_Parse): added ODE modifiers :U, :D, :L, :P, :@ and :!
	These allow some quite clever magic.

	* main.c (main): added support for getenv(MAKESYSPATH).

Mon Apr  2 16:25:13 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Disable $PWD overriding getcwd() if MAKEOBJDIRPREFIX is set.
	This avoids objdir having a different value depending on how a
	directory was reached (via command line, or subdir.mk).

	* If FORCE_MACHINE is defined, ignore getenv("MACHINE").
	
Mon Apr  2 23:15:31 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Do a chdir(${.CURDIR}) before invoking ${.MAKE} or ${.MAKE:T} if
	MAKEOBJDIRPREFIX is set and NOCHECKMAKECHDIR is not.
	I've been testing this in NetBSD's make for some weeks.

	* Turn Makefile into Makefile.in and make it useful.
	
Tue Feb 29 22:08:00 2000 Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Imported NetBSD's -current make(1) and resolve conflicts.
	
	* Applied autoconf patches from bmake v2

	* Imported clean code base from NetBSD-1.0