summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/ChangeLog
blob: f1d65b75d87c9b19dbbb93817b797ab26040e94f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
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
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
2022-03-21  Karl Berry  <karl@tug.org>

	* TL'22 release.

2022-03-05  Karl Berry  <karl@freefriends.org>

	* texmf.cnf (TEXINPUTS.hi*tex): new entries.

2022-02-27  Karl Berry  <karl@tug.org>

	* texmf.cnf (nest_size): 500 -> 1000.
	(param_size): 10000 -> 20000.
	(stack_size): 5000 -> 10000.
	For stex (ctan.org/pkg/stex), although they also double main_memory
	to 12M (despite the supposed limit of 8M)?

2022-01-18  Karl Berry  <karl@freefriends.org>

	* version.ac (kpse_dev): no more /dev.
	* NEWS,
	* doc/kpathsea.texi,
	* kpsewhich.c,
	* texmf.cnf: copyright 2022.

2021-11-01  Marcel Fabian Krueger  <tex@2krueger.de>

	* str-list.c (str_list_uniqify): compare each input element
	against the elements to be returned, to keep the ordering of the
	result the same as the input.  Then the first result in a list
	from kpsewhich -a will be the same as the result of just kpsewhich.

2021-05-14  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXINPUTS.optex): new definition for new format.
	Move some other definitions around for consistency, but no changes.

2021-05-07  Karl Berry  <karl@freefriends.org>

	* texmf.cnf (save_size): re-increase to 200000
	with parallel change to tex.ch.

2021-04-22  Karl Berry  <karl@freefriends.org>

	* doc/kpathsea.texi (TeX directory structure): link to
	ctan.org/pkg/tds instead of http://mirror.ctan.org.

2021-04-17  Karl Berry  <karl@tug.org>

	* version.ac: now 6.3.4/dev since TL'21 is released.

2021-04-07  Akira Kakuto  <kakuto@w32tex.org>

	* knj.c, readable.c: Fix a bug that the "nul" device given in
	a full-path form, such as c:/usr/work/nul was not readable.

2021-03-23  Karl Berry  <karl@tug.org>

	* TL'21.

2021-03-18  Karl Berry  <karl@tug.org>

	* texmf.cnf (save_size): reset to 80000 since that is what
	sup_save_size is set to in tex.ch. Found by Christian Schenk,
	tex-live 18 Mar 2021 18:39:04.

2021-03-08  Karl Berry  <karl@freefriends.org>

	* tests/cnfline/texmf.cnf (maxpr.lt-kpsewhich): set this,
	for --enable-shared builds.
	https://tug.org/pipermail/tex-k/2021-March/003490.html
	* tests/cnfline.test: unset maxpr othervar, just in case
	they are set in the environment. Maybe unset on an unset variable
	is portable enough nowadays?

2021-02-17  Karl Berry  <karl@freefriends.org>

	* doc/kpathsea.texi,
	* version.ac (kpse_dev): no /dev for 6.3.3.
	* NEWS,
	* doc/kpathsea.texi,
	* kpsewhich.c,
	* texmf.cnf: copyright 2021.

2020-12-05  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* knj.[ch]: Add new functions win32_fprintf(), win32_perror().
	(Windows only)

2020-10-24  Akira Kakuto  <kakuto@w32tex.org>

	* readable.c, knj.c: More than one adjacent directory
	separators in filename+2 should not exist in \\?\ form of
	absolute path.

2020-08-26  Karl Berry  <karl@tug.org>

	* texmf.cnf (save_size): double to 200,000. Needed with
	long documents, tex4ht, and l3regex. Hopefully no harm in increasing.
	https://tug.org/pipermail/tex4ht/2020q3/002710.html

2020-07-05  Karl Berry  <karl@freefriends.org>

	* configure.ac (snprintf): two more test programs
	also need <stdarg.h> and <stdio.h>.

2020-07-04  Karl Berry  <karl@freefriends.org>

	* configure.ac (snprintf): #include <stdio.h> to placate
	new arm64 Mac compiler, since apparently that's the standard
	place for the [v]snprintf declaration. We'll see. Report from Dick.

2020-06-22  Karl Berry  <karl@freefriends.org>

	* Makefile.am (EXTRA_DIST): add COPYING.LESSERv2.
	* texmf.cnf (expand_depth, pk_dpi, strings_free): write a few
	words about these parameters; see web2c/doc for more.

2020-06-12  Karl Berry  <karl@freefriends.org>

	* tex-make.c (kpathsea_make_tex): do not emit any warnings for
	filenames that we don't like, e.g., [Some Fnt]. Leave it up to
	the caller. Suggestion from David Carlisle,
	https://tug.org/pipermail/tex-k/2020-June/003214.html

2020-06-06  Akira Kakuto  <kakuto@w32tex.org>

	* readable.c, knj.c: /../, /./, \..\, \.\ should not exist
	in \\?\ form of absolute path.

2020-04-28  Akira Kakuto  <kakuto@w32tex.org>

	* readable.c, knj.c: Support very long input path name,
	longer than _MAX_PATH for Windows, if it really exists and
	input name is given in full-absolute path in a command line.
	(Windows only).

2020-04-10  Karl Berry  <karl@tug.org>

	* version.ac: now 6.3.3/dev since TL'20 is released.

2020-03-27  Karl Berry  <karl@tug.org>

	* TeX Live 2020.

2020-02-29  Karl Berry  <karl@freefriends.org>

	* pathsearch.c: doc fix.
	
	* doc/unixtex.texi: update urls, typos, etc.

2020-01-19  Karl Berry  <karl@freefriends.org>

	* kpsewhich.c (ENSURE_NONEMPTY_STRING): new macro.
	(read_command_line): ensure nonempty arguments to --format,
	--safe-{in,out}-name, --var-brace-value, --var-value.
	Empty args to the other options seem possible.

	* line.c (read_line): silently drop nul (zero) bytes.
	* tests/cnfnull.test: test for nul bytes in texmf.cnf.
	* Makefile.am (TESTS),
	(tests/cnfnull.test): add it.

2020-01-16  Karl Berry  <karl@freefriends.org>

	* doc/kpathsea.texi,
	* version.ac (kpse_dev): no /dev.

2019-12-31  Akira Kakuto  <kakuto@w32tex.org>

	* access.c: not test x bit on Windows, because access() crashes.

2019-12-29  Karl Berry  <karl@tug.org>

	* mktexlsr,
	* mktexmf,
	* mktexpk,
	* mktextfm: remove; these will now be maintained only in
	Master/texmf-dist/scripts/texlive, with slave copies in
	Build/source/texk/texlive/linked_scripts as usual.
	* Makefile.am (dist_noinst_SCRIPTS): remove, nothing left.
	(install-exec-local): likewise remove.
	(uninstall-local): don't uninstall the dist_noinst_SCRIPTS.
	(bin_links): remove, now also handled in linked_scripts.
	
	* man/Makefile.am (man_sources): remove mktex{lsr,mf,pk,tfm}.man;
	(man1_links): remove; these man pages will now be maintained in
	Build/source/texk/texlive/tl_scripts.

2019-12-26  Karl Berry  <karl@tug.org>

	* Makefile.am (install-data-local): must mkdir web2cdir here.

	* mktexdir,
	* mktexnam,
	* mktexupd,
	* mktex.opt,
	* mktexdir.opt,
	* mktexnam.opt: remove; these will now be maintained
	 (if changes are needed) only in Master/texmf-dist/web2c.
	* Makefile.am (dist_web2c_DATA, dist_web2c_SCRIPTS): remove.
	(All this is primarily so that $Id$ expansions will not be lost;
	the user-level mktex* scripts will happen in a few days.)
	
	* mktex.cnf: remove this unused file.
	* Makefile.am (EXTRA_DIST): remove it here.

2019-12-22  Karl Berry  <karl@freefriends.org>

	* doc/kpathsea.texi (Path searching): mention translations for TL.
	(Config files): distinguish special characters at different levels.
	(Filename database): don't mention talking about 8.3 filenames.
	
2019-12-16  Karl Berry  <karl@freefriends.org>

	* texmf.cnf (glob_str_size): increase from 20,000 to 200,000
	for web2c/tests/bibtex-bigauth.test (q.v.).
	(ent_str_size, max_strings.bibtex*): increase these while we're here.

2019-11-03  Karl Berry  <karl@tug.org>

	* progname.c: remove nowadays-useless register declarations.
	Mentioned by Doug McKenna.

2019-10-10  Karl Berry  <karl@tug.org>

	* texmf.cnf (LUAINPUTS.luahblatex{,-dev}): define a la other
	LUAINPUTS.*. Report from Marcel Fabian Krueger, 10 Oct 2019 23:08:37.

2019-09-04  Akira Kakuto  <kakuto@w32tex.org>

	* hash.c: Typo in a comment.

2019-08-13  Karl Berry  <karl@freefriends.org>

	* cnf.c (do_line): warn about a program name qualifier which is
	empty or contains one of our usual special characters: .{}$;:
	since it is probably a misparsing, especially if the = is omitted.
	Report from Johannes Kunde, 1 Aug 2019 20:57:14.
	* Makefile.am (TESTS): new tests/cnfprog.test
	(cnfprog.log): another target for kpsewhich.
	(EXTRA_DIST): add tests/cnfprog/texmf.cnf.
	* doc/kpathsea.texi (Config files): mention example of above.

2019-08-09  Karl Berry  <karl@freefriends.org>

	* texmf.cnf (log_openout): new configuration variable, true
	by default for all but tex and initex, to remove one technical
	trip incompatibility. Report from David Fuchs.

	* cnf.c,
	* progname.h,
	* tex-file.c,
	* types.h: doc/formatting fixes.

2019-08-06  Karl Berry  <karl@freefriends.org>

	* kpsewhich.c (USAGE, read_command_line): new option --cnf-line.
	(user_cnf_lines, user_cnf_nlines): new variables to store the args.
	(init_more): call kpathsea_cnf_line_env_progname on each line.

	* cnf.h (kpathsea_cnf_line_env_progname): declare new fn.
	* cnf.c (do_line): new argument ENV_PROGNAME,
	to insert settings in the environment instead of the hash table.
	(kpathsea_cnf_line_env_progname): entry point to call do_line
	with env_progname=true.
	(read_all_cnf): change do_line call to have env_progname=false.
	Also, don't create cnf_hash here, instead ...
	(kpathsea_cnf_get): ... here (if needed).

	* tests/cnfline.test: new test for --cnf-line.
	* tests/cnfline/texmf.cnf: new directory/file for cnfline.test.
	* Makefile.am (tests),
	(tests/cnfline.log),
	(EXTRA_DIST): add new test.
	* doc/kpathsea.texi (Path sources, Path searching options): doc.

2019-07-26  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXINPUTS, etc.): include explicit latex,
	element at end so that files under latex/ are preferred to those
	under latex-dev/. From Ulrike Fischer.

	* texmf.cnf (TEXINPUTS.latex-dev, *-dev): new -dev format
	names for LaTeX pre-release testing.

2019-07-24  Akira Kakuto  <kakuto@w32tex.org>

	* texmf.cnf: Define command_line_encoding = utf-8 for
	Windows only.

2019-07-11  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXINPUTS.lua{,jit}hb{,la}tex): four new engines,
	luahbtex with/without jit, with/without latex. Same path as non-hb.

2019-06-02  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXINPUTS.harf{,la}tex): new engine.
	Turns out we want harf{,la}tex/ directories.

2019-05-05  Karl Berry  <karl@tug.org>

	* texmf.cnf: missed top 2018's.

2019-05-03  Karl Berry  <karl@tug.org>

	* version.ac: 6.3.2/dev since TL'19 is released.

2019-04-07  Karl Berry  <karl@freefriends.org>

	* TeX Live 2019.

2019-03-25  Karl Berry  <karl@freefriends.org>

	* texmf.cnf (TEXMFDBS),
	* doc/kpathsea.texi (ls-R): attempt to describe the lack of
	disk searching when ls-R is present, regardless of !!, more clearly.
	Report from Yann Salmon, tex-k thread of 27 Feb 2019 21:00:46.
	* kpsewhich.c: doc fix.

2019-02-11  Karl Berry  <karl@tug.org>

	* version.ac,
	* texmf.cnf,
	* kpsewhich.c,
	* doc/kpathsea.texi: 6.3.1 for TL'19.

2019-01-19  Karl Berry  <karl@freefriends.org>

	* variable.h (kpathsea_var_expand): returns string "$FOO" if FOO
	is not defined, not the empty string; whereas ${FOO} does return
	the empty string. Maybe not the ideal interface, but seems
	undesirable to change now.
	* doc/kpathsea.texi (Programming with config files),
	(Auxiliary tasks): document this.
	Noted by Andreas Scherer, r49726.

2019-01-19  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXMFLOCALEDIR): define as $TEXMFMAIN/locale,
	for cweb translations now, and hopefully more later.

2018-12-30  Karl Berry  <karl@tug.org>

	* texmf.cnf (shell_escape_commands): make that r-mpost.

2018-12-24  Andreas Scherer <https://ascherer.github.io>

	* kpsewhich.c: Add missing format placeholder.

2018-12-21  Karl Berry  <karl@freefriends.org>

	* texmf.cnf (shell_escape_commands): add rmpost.

2018-12-17  Karl Berry  <karl@freefriends.org>

	* kpsewhich.c (--var-brace-value, var_to_brace_value): new option
	and corresponding option.
	(main): new case for it. For --var-value, go back to just variable
	(kpathsea_var_value) expansion.
	* doc/kpathsea.texi (Auxiliary tasks): document the new option,
	try to explain the difference.
	Follow-up report from jbglaw,
	https://github.com/TeX-Live/texlive-source/issues/3.

2018-12-14  Karl Berry  <karl@tug.org>

	* c-pathch.h (IS_KPSE_SEP): check for both : and ; only on Unix.
	On Windows, : is the c: drive separator and must not ever be
	a path separator.

	* texmf.cnf (TEXMFDOTDIR): new variable, used instead of
	literal "." in all search paths, so that it can be redefined as
	".//". Suggestion from Linas Stonys, tex-k 4 Dec 2018 10:09:35.

2018-12-13  Karl Berry  <karl@freefriends.org>

	* c-pathch.h (IS_KPSE_SEP): new macro to check for either : or ;
	regardless of the current system.
	* path-elt.c (element): use it when extracting the path elements,
	so that we'll get ~ expansion on Unix in, e.g.,
	    env FOO='/;~' ./kpsewhich --expand-braces='$FOO'
	* kpsewhich.c (main): call kpathsea_brace_expand on the result
	from kpathsea_var_value, so that we'll get ~ expansion in, e.g.,
	    env FOO='/:~' ./kpsewhich --var-value=FOO
	Original report from e-kwsm (E Kawashima),
	https://github.com/TeX-Live/texlive-source/issues/3
	
	* NEWS,
	* doc/kpathsea.texi (Auxiliary tasks): document that -var-value
	now does brace expansion.

2018-12-12  Karl Berry  <karl@freefriends.org>

	* expand.h,
	* pathsearch.h,
	* cnf.c: doc fixes.
	
	* kpsewhich.c (main): show path when --show-path can't run.

2018-12-11  Karl Berry  <karl@freefriends.org>

	* kpsewhich.c (main): formatting.

2018-12-04  Karl Berry  <karl@freefriends.org>

	* kpsewhich.c (main) [WIN32]: #define puts kpathsea_win32_puts
	once, instead of many #ifdefs throughout function.

2018-11-23  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* elt-dirs.c, knj.c, progname.c: Support non-ascii values
	for variables in the case of
	command_line_encoding = utf-8 (w32 only).

2018-11-12  Andreas Scherer  <https://ascherer.github.io>

	* tex-make.c (maketex): check return value from dup(2).

2018-07-02  Karl Berry  <karl@freefriends.org>

	* kpsewhich.c (lookup): warn that --all is ignored with bitmap fonts.
	(USAGE): likewise.
	* doc/kpathsea.texi (Path searching options) <--all>: likewise.
	Report from Werner Lember, 07 Apr 2018 12:39:34.

2018-06-10  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* progname.c, types.h, knj.h: Add a variable W32_codepage.
	* kpsewhich.c: Allow Unicode file name for pdftex in kpsewhich.
	(Windows only)

2018-05-29  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* kpsewhich.c: Revert. Since "command_line_encoding=utf8" is
	not so natural for pdfTeX.

2018-05-12  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* kpsewhich.c: Allow Unicode file name for pdftex in kpsewhich.
	(Windows only)

2018-04-14  Karl Berry  <karl@tug.org>

	* TeX Live 2018 release, kpathsea 6.3.0.

2018-03-16  Karl Berry  <karl@freefriends.org>

	* tex-glyph.h (kpse_glyph_source_fallback_res): new enum value
	in kpse_glyph_source_type.
	* tex-glyph.c (kpathsea_find_glyph): use it for `source'.
	Private report from Doug McKenna, 14 Mar 2018 19:26:12.

2018-03-14  Karl Berry  <karl@tug.org>

	* tex-glyph.c (kpathsea_find_glyph, try_size): disentangle
	successful searches and filling in return information.
	Private report from Doug McKenna, 14 Mar 2018 11:51:29.

2018-02-26  Karl Berry  <karl@freefriends.org>

	* texmf.cnf (TEXMFVAR, TEXMFCONFIG, doc): 2018.

2018-02-24  Hironobu Yamashita  <h.y.acetaminophen@gmail.com>

	* tex-make.c (kpathsea_make_tex): Change an error message
	"Invalid fontname" to "Invalid filename", since
	  $ tex -fmt=-a x
	causes
	  kpathsea:make_tex: Invalid fontname `-a.fmt', starts with '-'
	but it is a format file.

2018-02-23  Karl Berry  <karl@freefriends.org>

	* lib.h (LIB_START_FATAL): mention that the identifier `kpse'
	has to be defined for this to work.  (In practice, it's a local
	variable.) Private report from Douglas McKenna, 2018/02/21.

2018-02-21  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* xgetcwd.c: Replace LIB_FATAL2 by FATAL2.
	Private report from Douglas McKenna, 2018/02/21.

2018-02-20  Karl Berry  <karl@freefriends.org>

	* progname.c (expand_symlinks): make error message on unresolvable
	symlinks less verbose.
	(kpathsea_selfdir): exit(1) if name cannot be resolved,
	instead of failing an assertion. Report from Enrico Gregorio,
	http://tug.org/pipermail/tex-live/2018-February/041052.html

2018-02-17  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* texmf.cnf ({TEXINPUTS,BIBINPUTS,max_strings}.upbibtex):
	add defns for upbibtex.

2018-02-10  Karl Berry  <karl@freefriends.org>

	* doc/kpathsea.texi (Path searching options): clarify that
	--no-casefold-search doesn't mean the underlying (file)system
	magically becomes case-sensitive.

2018-02-07  Karl Berry  <karl@freefriends.org>

	* tests/kpsewhich.test: don't run --no-casefold-search with
	"Plain.TeX", since it succeeds on case-insensitive systems
	and fails on case-sensitive ones.

2018-02-04  Karl Berry  <karl@freefriends.org>

	* texmf.cnf (texmf_casefold_search): new configuration value
	for Unix, default 1. Latest thread about this longstanding issue:
	http://tug.org/pipermail/tex-live/2017-September/040619.html

	* version.ac: move to 6.3.0 since I guess this is a new
	(compatible [enough]) interface.
	* NEWS: mention it.
	* doc/kpathsea.texi: document it.
	(Casefolding search),
	(Casefolding rationale),
	(Casefolding examples): new nodes.
	(Path searching options): new option [-no]-casefold-search
	for kpsewhich.

	* pathsearch.c (KPSE_CASEFOLDING_SEARCH): new compile-time macro
	to support case-insensitive searches on case-sensitive operating
	systems, that is, not Windows. Most other changes here are
	conditional on it.

	(print_space_list): helper fn for debugging output.
	(readable_file_fn_type): new typedef for casefold_readable_file
	and kpathsea_readable_file.
	(casefold_readable_file): new fn to check for a file ignoring case.
	(dir_list_search),
	(dir_list_search_list): take an additional function pointer argument
	and call it, instead of only kpathsea_readable_file. Return
	the matched name instead of the original name. (This would have
	caused failure before with the ENAMETOOLONG kludge; guess that
	never actually happens.)
	(absolute_search),
	(path_search): also do casefolded search if enabled and requested.
	Also free passed name in callers.
	(kpathsea_path_search_list_generic): call absolute_search
	instead of kpathsea_readable_file; merge returned lists;
	also do casefolded search if enabled and requested.
	
        (print_tab_list) [TEST]: another helper fn to print test results.
        (test_path_search_list_generic) [TEST]: new test fn for some
	minimal casefolding tests.
	(main): call it, and rearrange tests.
	(standalone-compile-command): current to current (TeX Live) reality.

	* kpsewhich.c (long_options): new options [-no]-casefold-search
	to override the default for casefolded searches.
	(read_command_line): handle them with xputenv on texmf_casefold_search.
	
	* tests/kpsewhich.test: do a few casefolding tests.
	
2018-02-01  Karl Berry  <karl@freefriends.org>

	* lib.h (KPSE_CNF_P): new macro.
	* tex-file.c (kpathsea_find_file_generic): use it,
	for try_std_extension_first.

2018-01-27  Karl Berry  <karl@freefriends.org>

	* readable.h: doc fixes.
	* readable.c (READABLE): take (ignored) kpse arg in macro, so:
	(kpathsea_readable_file): we can avoid #ifdefs in body.

	* str-list.c (str_list_concat_elements): reformat for consistency.

	* str-list.h (STR_LIST_EMPTY, STR_LIST_FIRST_ELT): new macros.
	* kpsewhich.c,
	* pathsearch.c,
	* str-list.c (str_list_concat_elements): use them.

2018-01-26  Karl Berry  <karl@freefriends.org>

	* tex-file.c (kpathsea_init_format_return_varlist): log a newline
	before kpse_cnf_format, since this happens mid-search.

2018-01-25  Karl Berry  <karl@freefriends.org>

	* pathsearch.c: more consistent code formatting, doc fixes.
	No functional code changes.

2018-01-17  Norbert Preining  <norbert@preining.info>

	* mktexlsr (treefile): use mktemp with fallback option for
	temporary file.

2018-01-16  Karl Berry  <karl@freefriends.org>

	* kpathsea.pc.in (Cflags): remove -I${libdir} per Debian.

2018-01-14  Karl Berry  <karl@tug.org>

	* texmf.cnf: doc fixes.

2018-01-14  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* progname.c: Use a macro instead of a function strlen() to
	check if a string is empty or not. Report from Douglas McKenna,
	private mail 14 Jan 2018.

2018-01-05  Karl Berry  <karl@freefriends.org>

	* pathsearch.c (dir_list_search, dir_list_search_list): save the
	next element to continue the loop, in case the
	current element floats. Report from Douglas McKenna,
	tex-k mail 4 Jan 2018 10:16:18.

2017-12-27  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* xbasename.c, xdirname.c: Remove IS_KANJI test for UNC names,
	and fix a W32 bug in xdirname.c.
	Report by Douglas McKenna:
	http://tug.org/pipermail/tex-k/2017-December/002840.html

2017-12-09  Jiang Jiang  <gzjjgod@gmail.com>

	* tex-glyph.c (try_fallback_resolutions):
	Avoid warning: taking the absolute value of unsigned type
	'unsigned int' has no effect [-Wabsolute-value]
	ref. https://github.com/jjgod/texlive/commit/4cbec4c

2017-12-08  Karl Berry  <karl@freefriends.org>

	* tex-file.c (kpathsea_init_format_return_varlist)
	<kpse_program_text_format>, <kpse_program_binary_format>:
	use DIR_SEP_STRING instead of hardwired /
	Report from Douglas McKenna, tex-k 5 Dec 2017 22:27:10.

2017-12-05  Karl Berry  <karl@freefriends.org>

	* c-minmax.h (SCHAR_MAX): decrement to the correct 127.
	Report from Douglas McKenna, tex-k 4 Dec 2017 18:26:35.

2017-11-28  Karl Berry  <karl@tug.org>

	* doc/unixtex.texi: no longer in ~ftp, etc.
	
	* doc/kpathsea.texi (Fontmap): clarify that it's the last %
	on a line that starts a comment. From Doug McKenna, personal
	email, 21nov17.

2017-11-18  Karl Berry  <karl@tug.org>

	* db.c (elt_in_db): protect against either argument being NULL or
	empty.  From Doug McKenna, personal mail, 17nov17.

2017-11-11  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* tex-file.c: Again use a custom kpathsea_getlongpath()
	instead of a standard API function GetLongPathName(), since
	the latter sometimes does not work as desired (W32 only).

2017-11-09  Karl Berry  <karl@freefriends.org>

	* db.c (kpathsea_db_search_list): remove redundant test of `found'.
        From Doug McKenna, personal mail, 7nov17.

2017-11-03  Karl Berry  <karl@freefriends.org>

	* default.h: document that NULL or empty input path returns the
	default string.
	* kdefault.c (kpathsea_expand_default): check for empty input path.
        From Doug McKenna, personal mail, 2nov17.	

	* cnf.c (do_line): do not move past a nul byte on erroneous input
	(with a . but no program name).
	* hash.c: doc fix.
        From Doug McKenna, personal mail, 31oct17.	

2017-10-29  Karl Berry  <karl@freefriends.org>

	* several files: missed copyright 2017 updates.

	* elt-dirs.c (do_subdir): assert must include elt_length>0
	to guarantee the assert of elt[elt_length-1] is valid.
        From Doug McKenna, personal mail, 29oct17.

2017-10-25  Karl Berry  <karl@tug.org>

	* expand.c (brace_expand): do not look past the terminating
	null with bad input like "a{\0whatever".
	From Doug McKenna, personal mail, 23oct17.

2017-09-22  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* tex-file.c: Use a standard API function GetLongPathName()
	instead of the custom kpathsea_getlongpath() (W32 only).

2017-09-20  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* tex-file.c: Fix to return actual file names (W32 only).

2017-09-19  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* db.c: Fix for DOSISH systems in which _WIN32 is not defined.

2017-05-03  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXMFAUXTREES): new variable (default value empty
	string via empty braces), for tlmgr conf auxtrees.
	(TEXMF): include $TEXMFAUXTREES, but don't assume it is nonempty.

2017-04-22  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.c, mingw32.c: Update texlive_gs_init() (w32 only). 

2017-04-21  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.c, mingw32.c: Update texlive_gs_init() (w32 only). 

2017-04-14  Karl Berry  <karl@tug.org>

	* texmf.cnf (shell_escape_commands): add texosquery-jre8.

2017-04-13  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXMF, TEXMFDBS): move TEXMFLOCAL to before TEXMFSYS*,
	so, e.g., config.ps in TEXMFLOCAL overrides TEXMFSYSCONFIG.
	Report from Michael Shell:
	http://tug.org/pipermail/tex-live/2016-July/039062.html

2017-04-05  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* texmf.cnf: mendex requires the variable INDEXDICTIONARY.

2017-03-27  Karl Berry  <karl@freefriends.org>

	* Makefile.am (AM_TESTS_ENVIRONMENT): use instead of TESTS_ENVIRONMENT.

2017-03-18  Karl Berry  <karl@tug.org>

	* version.ac,
	* NEWS,
	* kpsewhich.c,
	* texmf.cnf,
	* doc/kpathsea.texi: version 6.2.3 for TL17.

	* Makefile.am (nodist_kpseinclude_HEADERS): include c-auto.h here.
	(kpseinclude_HEADERS): not here.
	(nodist_kpselib_HEADERS): and not here; variable no longer needed.
	Ken Brown on tldistro, 18 Mar 2017 16:50:41.

2017-03-14  Karl Berry  <karl@tug.org>

	* Makefile.am (kpseinclude_HEADERS): add c-auto.h. Report from
	Ken Brown on tldistro, 14 Mar 2017 12:16:56.

2017-03-02  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXINPUTS.luajitlatex): add, same as lualatex.
	Report from Ulrike Fischer, 2 Mar 2017 17:46:50.

2016-12-28  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* xgetcwd.c: Typo. Thanks Luigi.

2016-12-15  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* kpsestat.c: Change tex-k@mail.tug.org to tex-k@tug.org.

2016-11-30  Karl Berry  <karl@ks.tug.org>

	* texmf.cnf (shell_escape_commands): remove mpost, due to
	the -tex option. Oops! Report from Bruno Le Floch.

2016-11-08  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* tex-file.c: Add ".OTF" as a suffix of OpenType fonts.

2016-11-02  Karl Berry  <karl@tug.org>

	* mktexdir: try a silent mkdir before a non-silent mkdir,
	to try to work around the inevitable race condition.
	https://bugs.debian.org/794228.

2016-08-04  Karl Berry  <karl@tug.org>

	* texmf.cnf (max_strings.bibtex, et al.): increase to 100,000
	per report from Michael Perryman,
	http://tug.org/pipermail/tex-live/2016-July/039109.html.

2016-07-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* knj.c, knj.h: Avoid compiler warnings.

2016-06-30  Karl Berry  <karl@tug.org>

	* version.ac (kpse_version): 6.2.2 => 6.2.3dev.

2016-06-29  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* kpsewhich.c: Remove unnecessary w32 changes,

2016-06-28  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* config.h, db.c, elt-dirs.c, expand.c, find-suffix.c, hash.c, knj.c,
	knj.h, kpsewhich.c, make-suffix.c, path-elt.c, progname.c, readable.c,
	tilde.c, types.h, variable.c, win32lib.c, win32lib.h, xbasename.c,
	xdirname.c, xdirtest.c, xgetcwd.c: Eliminate global and static
	variables (w32 only).

2016-05-28  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* tex-file.c: Fix a bug that TEXMFOUTPUT does not work (w32 only).
	See http://tug.org/pipermail/tex-k/2016-May/002719.html.

2016-05-20  Karl Berry  <karl@tug.org>

	* Version 6.2.2 for TeX Live 2016.

2016-05-13  Karl Berry  <karl@tug.org>

	* texmf.cnf (RISINPUTS, BLTXMLINPUTS): $TEXMF/biber
	rather than $TEXMF/bibtex.

2016-02-03  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	*knj.c: Disable unnecessary warning (w32 only).

2016-04-06  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXMFVAR, TEXMFCONFIG): 2016.
	(shell_escape_commands): add gregorio, fingers crossed.

	* cnf.c (do_line): do not keep checking ISSPACE beyond
	end of string.  (Can crash on lines without spaces.)
	Return error string if problems.
	* kpathsea_cnf_get: give warning, with line number,
        if do_line returns a message.

2016-02-03  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* texmf.cnf: Typo.

2016-04-06  Karl Berry  <karl@tug.org>

	* kpsewhich.c, et al.: copyright 2016.

2016-03-06  Karl Berry  <karl@tug.org>

	* version.ac: remove /dev for start of 2016 builds.

2016-02-27  TANAKA Takuji  <ttk@t-lab.opal.ne.jp>

	* kpsewhich.c: Allow Unicode file name for upmendex in kpsewhich.
	(Windows only)

2016-02-03  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.[ch], mingw32.[ch]: Define a function
	double win32_floor (double x), since floor is defined in cpascal.h.

2015-12-29  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.h: Update (w32 only).

2015-10-01  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* kpsewhich.c (USAGE): Say "list shown by -help-formats".

2015-07-07  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am: Better dependencies for 'make check'.

2015-06-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac: Define WEB2CVERSION for WIN32 programs.

2015-06-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* version.ac: Update version number 6.2.1 => 6.2.2dev.
	* configure.ac: Drop test for isascii (now in KPSE_COMMON).

2015-05-21  Karl Berry  <karl@tug.org>

	* TL'15.

2015-05-03  Karl Berry  <karl@tug.org>

	* kpsewhich.c: copyright 2015.
	* doc/kpathsea.texi (version, month-year): now 6.2.1, May 2015.
	(Auxiliary tasks): add --help-formats, sort.
	(Supported file formats): add bltxml, clua, ris.
	* NEWS: mention --help-formats.

2015-05-03  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* file-p.c: Implement same_file_p () for windows.

2015-04-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac: Test if isascii is declared.
	* c-ctype.h: Correctly define isascii, if not declared.

2015-04-14  Norbert Preining  <norbert@preining.info>

	* mktexlsr (treefile): switch back to hard-coded path, as
	indeed it seems there are several systems without support for
	mktemp --tmpdir, just mktemp. TL2015 pretest emails.

2015-04-12  Karl Berry  <karl@tug.org>

	* texmf.cnf: update for TL'15.
	(shell_escape_commands): include extractbb, fingers crossed.

2015-04-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* version.ac: 6.2.1 (without the dev) for 2015 pretest.

2015-03-25  Karl Berry  <karl@tug.org>

	* mktexlsr (treefile): use shell mktemp; patch from Debian
	via tlbuild mail from Norbert, 6 Mar 2015 09:13:06.
	Per Nelson Beebe, the program is available on a wide variety of
	systems nowadays, excluding only SGI IRIX MIPS, which we have
	not built binaries for in several years.
	(tlbuild reply, 6 Mar 2015 06:22:21)

2015-03-14  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am, kpathsea.pc.in: Install <kpathsea/c-auto.h> under
	${libdir}.

2015-03-10  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac: Drop checks for strcasecmp, strtol, and strstr.
	* lib.h: Drop the strstr() prototype.
	* Makefile.am: No need to distribute the replacement functions.

2014-12-13  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* texmf.cnf: Sync with master which is changed by Norbert.

2014-12-06  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am [kpathsea.h]: Improved output for silent rules.

2014-12-05  Karl Berry  <karl@tug.org>

	* kpsewhich.c (help_formats): new fn for new option --help-formats.
	(help_message): split off code from here.
	(USAGE): document it.
	(read_command_line): recognize it.
	Suggestion from Julian Gilbey, tex-k 4 Dec 2014 13:34:23.

2014-10-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* db.c (db_names): Use initialized non-const strings to avoid warning.

2014-10-19  Karl Berry  <karl@tug.org>

	* db.c (db_names): list DB_NAME_LC first, and list both always,
	dropping WIN32 conditional.
	(init_db): check at runtime if ls-R and ls-R are same_file_p,
	and only read one on any system, not just hardwiring Windows.
	Output debugging lines.  Basic patch from Adam Maxwell
	(since MacOSX now uses a case-preserving filesystem).
	
	* db.c (DB_HASH_SIZE): increase per current texmf-dist/ls-R.
	
2014-10-17  Karl Berry  <karl@tug.org>

	* line.c (getc, FLOCKFILE, FUNLOCKFILE): #define to getc_unlocked, etc.
	(get_line): call them, so we lock once per call instead of
	once per character read.  Change from Adam Maxwell <amaxwell@mac.com>.
	https://email.esm.psu.edu/pipermail/macosx-tex/2014-October/053026.html

2014-09-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* texmf.cnf (TEX.upmpost): Added.

2014-08-23  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* knj.c (win32_fputs): Drop unused variables.

2014-08-22  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* knj.c: Update fsyscp_popen().

2014-08-22  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* knj.[ch], c-std.h, config.h: Add a new function win32_vfprintf()
	(Windows only)

2014-07-22  Karl Berry  <karl@tug.org>

	* tex-file.h,
	* tex-file.c (kpathsea_init_format_return_varlist): new fn
	to expose list of environment/config variable names considered.
	* kpsewhich.c (help_message): use it.

2014-07-18  Karl Berry  <karl@tug.org>

	* mktex.opt: don't basename-ify the program name, that's
	potentially useful information.
	
	* mktexdir,
	* mktexlsr, 
	* mktexmf,
	* mktexnam,
	* mktexpk,
	* mktextfm,
	* mktexupd: prepend to PATH via a simple method for Unix
	(but leave the complicated DOS version in mktexlsr).

2014-07-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tex-make.c, win32lib.c: Replace the deprecated spawnvp() by
	_spawnvp(), they differ for 64-bit MinGW.

2014-07-13  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* debug.c, hash.c, knj.c, tex-make.c: [WIN64] Avoid cast from
	pointer to integer of different size.

2014-06-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mingw32.h: Require WINVER >= 0x0500.

2014-06-20  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.c: Fix a potential bug (w32 only).

2014-06-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* c-ctype.h: Avoid useless char subscript warnings.

2014-06-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (kpathsea.h): Drop c-auto.h, c-ctype.h, c-errno.h,
	and more from the list of files; they are included via others.
	* version.ac: Update version number 6.2.0 => 6.2.1dev.

2014-05-07  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.c: Update win32_popen() (w32 only).

2014-05-05  Karl Berry  <karl@tug.org>

	* doc/kpathsea.texi,
	* doc/unixtex.texi,
	* README,
	* PROJECTS: omit old information about building and installing;
	general updates (though plenty more could be done).
	
	* BUGS,
	* doc/bugs.texi,
	* doc/hier.texi,
	* doc/install.texi: remove.
	* Makefile.am,
	* doc/Makefile.am: update accordingly.

2014-04-30  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (normal_headers): Add simpletypes.h.
	* simpletypes.h: Don't '#include <kpathsea/simpletypes.h>'.

2014-04-29  Karl Berry  <karl@tug.org>

	* simpletypes.h: new file, defining just boolean, string, address, etc.
	* pathsearch.h: restore #include of str-llist.h before types.h,
	as it should be.
	* str-llist.h: #include simpletypes.h instead of types.h.
	* types.h: #include simpletypes.h.

2014-04-22  Karl Berry  <karl@tug.org>

	* texmf.cnf (guess_input_kanji_encoding): set to 1,
	per Akira and Norbert.

2014-04-17  Karl Berry  <karl@tug.org>

	* version.ac: 6.2.0 (without the dev) for 2014 pretest.
	* NEWS,
	* texmf.cnf,
	* kpsewhich.c: 2014.

	* texmf.cnf (TEXINPUTS.pdfx{latex,mex,tex}): this engine has
	not existed for a long time.  Remove.
	(TEXINPUTS.luajittex): same as .luatex.

2014-04-09  Karl Berry  <karl@tug.org>

	* pathsearch.h: with deep regret, #include types.h before
	str-llist.h, since otherwise str_llist_type is not defined
	in its use within types.h and a simple #include
	<kpathsea/pathsearch.h> fails.  Reported by Norman Gray,
	tex-k 14 Apr 2013 12:23:50,
	http://tug.org/pipermail/tex-k/2013-April/002496.html

2014-04-09  Luigi Scarso  <luigi.scarso@gmail.com>

	* mingw32.h [MinGW64]: Avoid warning due to redefining popen.

2014-03-21  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am, configure.ac, getopt.h: Revert previous change.
	Cygwin system getopt() is incompatible with the GNU version.

2014-03-06  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am, configure.ac: Use Cygwin system getopt().
	* getopt.h: Avoid to redeclare the getopt API.

2014-02-08  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* knj.[ch]: Add a new function win32_putc().
	(Windows only)

2014-01-25  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* kpsewhich.c : [WIN32 only] progname should be kpse->program_name
	since progname can be NULL.

2014-01-25  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* knj.c: Drop unused variable (avoid warning).

2014-01-25  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* knj.[ch]: Add a new function win32_getc(), win32_ungetc(),
	win32_fputs(), and win32_puts(). (Windows only)
	* kpsewhich.c, pathsearch.c, line.c:
	Allow Unicode file name in kpsewhich. (Windows only)
	* knj.c: Fix typo in error message. (Windows only)

2014-01-14  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* knj.c: Add #include <wchar.h> as required for MinGW32.
	Cast arg3 of fsyscp_spawnvp() to avoid warning.

2014-01-14  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* knj.[ch]: Add new functions fsyscp_spawnvp(), and fsyscp_system().
	(Windows only)

2014-01-13  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* knj.[ch]: Add a new function fsyscp_popen(). (Windows only)

2014-01-08  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* knj.c: Allow encoding name "" for non-utf8 command line.
	Warn if unknown encoding. (Windows only)

2014-01-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* knj.c: Keep non-utf8 command line.  Avoid compiler warnings.

2014-01-01  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* knj.c, knj.h: Use cast for ASCII string conversion
	from char to wchar_t. (Windows only)

2013-12-31  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* knj.h: Remove #include <kpathsea/types.h> because Visual Studio 2010
	cannot compile Kpathsea.

2013-12-31  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* knj.c, knj.h: Add new functions fsyscp_fopen() and
	get_command_line_args_utf8() (Windows only)
	* progname.c: Refine initialization for KANJI (Windows only)

2013-12-03  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* elt-dirs.c, knj.c, knj.h, progname.c, readable.c: Support KANJI
	file name in (e)upTeX and XeTeX on Windows.

2013-09-22  Karl Berry  <karl@tug.org>

	* mktexlsr: output normal msgs to stdout, not stderr.
	Suggestion from Scott Kostyshak, tex-live mail 29 Jun 2013 04:42:10.

2013-08-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac (AH_TOP): Simplify the generation of c-auto.h.

2013-08-14  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.c, mingw32.c (texlive_gs_init()): Fix a bug. 'n' and 'f' can
	be drive letters.

2013-08-12  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.c, mingw32.c (texlive_gs_init()): Do nothing if
	TEXLIVE_WINDOWS_EXTERNAL_GS is defined and its value is not
	'0', 'n', or 'f'.

2013-08-07  Karl Berry  <karl@tug.org>

	* line.c (read_line): only at EOF if loc==0, i.e., do not ignore a
	non-terminated last "line" of a file; distressingly common on Windows.
	* Makefile.am (TESTS): add cnfnewline.test;
	move all *.test to tests/ subdir.
	(EXTRA_DIST): add tests/cnfnewline/texmf.cnf, a file without a
	final newline.

	* kpsewhich.test: also check that we can read the environment
	variable that we set.

2013-07-07  TANAKA Takuji  <KXD02663@nifty.ne.jp>

	* knj.c and progname.c: Generalize the method to avoid the 0x5c problem
	in path names to the cases CP936 (simplified Chinese) and CP950
	(traditional Chinese) on Windows system.

2013-07-06  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am: Use ../../am/rebuild.am.

2013-07-05  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am, man/Makefile.am:
	Moved Makefile fragments to ../../am/.

2013-07-01  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* c-memstr.h: Drop mapping of BSD => SYSV/ANSI string functions.

2013-06-25  Karl Berry  <karl@tug.org>

	* texmf.cnf (guess_input_kanji_encoding): config variable,
	off by default.  Per Akira.

2013-06-25  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* config.h: Remove definition of EXEEXT, comes from c-auto.h.

2013-06-25  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* config.h: define EXEEXT if DOSISH is defined.

	* win32lib.c: Unify two win32lib.c's in w32 sources.

	* progname.c, texmf.cnf: Define SELFAUTOGRANDPARENT to give a
	robust TEXMFLOCAL.

2013-06-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac: New conditional have_EXEEXT.
	* Makefile.am (libkpathsea_la_CPPFLAGS): Define EXEEXT for
	systems with a non-vanishing executable extension.
	* progname.[ch]: New function kpse_program_basename().
	* version.ac: Update version number 6.1.1 => 6.2.0dev.

	Adapt kpathsea headers to C++.
	* absolute.h, cnf.h, concatn.h, config.h, debug.h, expand.h,
	hash.h, knj.h, lib.h, line.h, magstep.h, mingw32.h,
	pathsearch.h, proginit.h, progname.h, readable.h, str-list.h,
	str-llist.h, tex-file.h, tex-glyph.h, tex-hush.h, tex-make.h,
	types.h, variable.h, version.h, win32lib.h: When compiling C++
	surround all declarations by 'extern "C" {' ... '}'.

2013-06-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* cnf.c, kpsewhich.c: Drop redundant <kpathsea/progname.h>
	(in <kpathsea/config.h>).

2013-06-11  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* xrealloc.c: Drop redundant extern (in <kpathsea/config.h>).

2013-06-05  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (*_la_LDFLAGS): Add -bindir for MinGW DLL.

	* win32lib.h.mugica (removed): Unused and unmaintained.
	* Makefile.am: Adapt.

2013-05-30  Karl Berry  <karl@tug.org>
	
	* Version 6.1.1 for TeX Live 2013.

2013-04-15  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXINPUTS.lamed): there is no lamed directory and
	never has been, as far as I can tell, so don't look in it.

	* texmf.cnf (TEXMFCACHE): new variable for lualatex font cache;
	same value as ConTeXt MkIV's variable of the same name in
	texmfcnf.lua.

2013-04-10  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXMFCNF): still look in texmf/ subdirs after all;
	needed for non-TL ConTeXt and likely others.  Report from
	Mojca/Hans.

2013-04-05  Karl Berry  <karl@tug.org>

	* other files: 2013 in copyright year list.

	* kpsewhich.c,
	* NEWS,
	* version.ac: 6.1.1 and 2013 to prepare for TL'13 pretest.

	* texmf.cnf (TEXMFCNF): likewise prepare to use texmf-dist instead
	of texmf.  From Akira.

2013-04-03  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXMFMAIN): make it the same as $TEXMFDIST,
	and do not use it.  That is, as of TL 2013, everything will be in
	texmf-dist, not split between texmf and texmf-dist.  See the
	thread including
	http://tug.org/mailman/htdig/tex-live/2013-January/032888.html.
	
	Also change 2012 to 2013.

2013-03-26  Karl Berry  <karl@tug.org>

	* tex-make.c (kpathsea_make_tex): specify fn name in warnings
	about invalid fontnames.

2013-03-14  Karl Berry  <karl@tug.org>

	* texmf.cnf (save_size): increase to 100000 (from 50000),
	for perldoc-all.texi (http://www.gnu.org/software/perl/manual).

2013-02-08  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (web2cdir): Change texmf => texmf-dist.

2013-01-30  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac: Use KPSE_COND_MINGW32.

2013-01-29  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* progname.c, types.h, win32lib.c, win32lib.h: Simplify win32_popen.

2012-12-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (kpathsea.h): Enable silent rules.

2012-12-13  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Resolve remaining const related problems.
	* db.[ch] (kpathsea_db_search_list): Make arg3 non-const.
	* pathsearch.[ch] (kpathsea_path_search_list_generic,
	dir_list_search_list): Make arg3 non-const.
	* tex-file.c: Remove casts 'string*' => 'const_string*'.
	* readable.[ch] (kpathsea_readable_file): Make arg non-const.
	Include code to truncate too-long filename components.

	* truncate.[ch] (kpathsea_truncate_filename): Files removed.
	* Makefile.am: Drop truncate.c and truncate.h.

2012-12-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Somewhat disentangle path search functions.
	* db.c (kpathsea_init_db):
	Directly call kpathsea_path_search_list_generic()
	instead of the kpathsea_all_path_search_list() wrapper.
	* pathsearch.c: Rename the static function search_list() into
	the non-static kpathsea_path_search_list_generic() and drop
	the former kpathsea_path_search_list_generic() wrapper.
	* pathsearch.[ch]: Drop the now unused *_path_search_list().

2012-12-11  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Resolve some const related problems.
	* str-list.[ch]: Add cstr_list_type and cstr_list_add() for
	const strings.  Define [c]str_list_init() as static inline.
	* kpathsea.c: Move definition of KPATHSEA_CAN_FREE from here ...
	* hash.h: ... to here.
	* hash.[ch]: Define hash_free() only if KPATHSEA_CAN_FREE!=0.
	(hash_lookup): Change return type 'string*' => 'const_string*'.
	* cnf.[ch] (kpathsea_cnf_get, kpse_cnf_get):
	Change return type 'string*' => 'const_string*'.
	* dir.c (kpathsea_dir_links): Adapt.
	* rm-suffix.c (remove_suffix): Adapt.
	* db.c, fontmap.c: Remove casts 'string*' => 'const_string*'.	

2012-12-10  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mingw32.c: Remove look_for_cmd().

2012-12-10  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.c: remove look_for_cmd().

2012-12-08  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mingw32.c (look_for_cmd): Do not compute unused value.
	* win32lib.c (look_for_cmd, kpathsea_win32_popen): Same.

2012-11-28  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* texmf.cnf: Increase main_memory, font_mem_size, hash_extra,
	and pool_size.

2012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am: Avoid use of deprecated INCLUDES.

2012-10-03  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mingw32.c: use stat in static int is_dir ().

2012-10-02  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.c: use stat in static int is_dir ().

2012-10-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.c: remove _osver since it is obsolete.

2012-09-28  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.h: remove definition of mkdir.
	* c-proto.h: introduce NO_KPSE_DLL as in getopt.h.

2012-08-11  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* c-std.h: Define M_PI if not defined by <math.h> (old MSVC).

2012-08-08  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am: Use ../am/bin_links.am.

2012-08-02  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.h: remove definition of pipe.

2012-08-01  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac: Bail out for a badly broken snprintf()
        (hopefully this will not happen).
	Check if we need (v)snprintf wrapper functions.
	* config.h: If needed, declare (v)snprintf wrapper functions.
	* progname.c (kpathsea_set_program_name): Check snprintf sanity.

2012-07-25  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac: Add AC_CHECK_SIZEOF([long]).
	* types.h: #include <inttypes.h> and <stdint.h> if they exist.
	If necessary #define PRId64 & Co.

2012-07-25  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* getopt.c [WIN32 && ! __CYGWIN__]: Use __CYGWIN__ instead of
	__CYGWIN32__ which is deprecated and may be removed.
	Mail from Ken Brown <kbrow1i@gmail.com>, Tue, 24 Jul 2012.

2012-07-23  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mingw32.h (win32_popen): Static inline wrapper for _popen()
	to use always binary mode.

2012-07-23  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.c: rewrite kpathsea_win32_popen to use always binary
	mode.

2012-07-13  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (libkpathsea_la_SOURCES): Skip compilation of
	xfseeko.c and xftello.c for MSVC.
	* win32lib.h: Drop xfseeko() and xftello() prototypes, they will
	subsequently be defined in lib.h.

2012-07-09  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* version.ac: Update version number 6.1.0 => 6.1.1dev.

2012-05-29  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.c: rewrite win32_system.

2012-05-22  Karl Berry  <karl@tug.org>

	* mktexmf: test $name for csso12*, not $rootname.
	From Debian via Norbert, 21 May 2012 10:11:08.

2012-05-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* cnf.[ch]: Add KPSEDLL to kpathsea_cnf_get(), and reintroduce
	kpse_cnf_get().
	* Makefile.am: Do install cnf.h.

2012-05-06  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (rebuild): Depend on 'all-am' instead of 'all' to
	avoid an infinite loop.

2012-05-05  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* win32lib.[ch]: Copyright 2012.

2012-05-05  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.c: rewrite xftell64 for W32.

2012-05-04  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.c: rewrite xftell64 and xfseek64 for W32.

2012-04-30  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.c: further rewrite win32_system().

2012-04-23  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (rebuild): Touch libkpathsea.la to avoid an
	infinite loop when only mingw32.h or win32lib.h is changed.

2012-04-23  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.h, win32lib.c: rewrite win32_system().

2012-04-17  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* texmf.cnf: erase "ptexgeneric".

2012-04-16  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXMFCNF): spell out every directory explicitly,
	so we can include $SELFAUTOPARENT/../texmf-local/web2c.

2012-04-09  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* cnf.[ch]: Drop KPSEDLL from kpathsea_cnf_get(), and remove
	kpse_cnf_get().
	* db.h: Drop KPSEDLL from kpathsea_db_insert().
	* Makefile.am: Do not install cnf.h.
	* mingw32.h: Add a copyright statement.

	* configure.ac: Subst tex_live_version from ../../version.ac
	as WEB2CVERSION for WIN32 programs.

2012-04-09  Karl Berry  <karl@tug.org>

	* getopt.h (getopt) [!__cplusplus]: do not declare when compiling
	with C++, since g++ 4.7.0 introduced an incompatible declaration.
	http://bugs.debian.org/667392

	* c-std.h (popen, pclose) [!VMS]: remove these decls to avoid
	conflicts, hoping they are now always in the system libraries.
	http://bugs.debian.org/64524

2012-04-07  Karl Berry  <karl@tug.org>

	* texmf.cnf (glob_str_size): increase from 5000 to 20000 per Akira,
	06 Apr 2012 10:25:18.

2012-04-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* c-unistd.h: Declare getopt() (via  <kpathsea/getopt.h>) only
	for Mingw and Cygwin; for other systems using the GNU C library
	g++-4.7 might choke on incompatible exception specifications.

2012-03-11  Karl Berry  <karl@tug.org>

	* *.c: prepend kpathsea: to warnings.

2012-03-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Avoid 'the address of X will always evaluate as true' warnings.
	* lib.h (STREQ): Test '(s) != NULL' instead of '(s)'.
	Gcc >=4.3 produces identical code but -Wall yields no warning.

2012-03-01  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* c-unistd.h: Declare getopt() (via  <kpathsea/getopt.h>) but
	not getopt_long().

	* getopt.h: With __need_getopt declare only getopt() but not
	getopt_long() (with 'struct option').

	* getopt.[ch]: Drop pre-ANSI C non-prototype declarations.

2012-02-27  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* c-unistd.h [CYGWIN]: Explicitly #include <kpathsea/getopt.h>
	such that <getopt.h> from Cygwin will be skipped.

2012-02-27  Ken Brown  <kbrow1i@gmail.com>

	* getopt.h: Cygwin requires getopt() prototype.

2011-12-22  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEX.pmpost, TEXINPUTS.(e)up(la)tex): new definitions,
	from Norbert.

2011-12-06  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am: Replace ${prefix}/texmf => $(datarootdir)/texmf.

2011-10-27  Karl Berry  <karl@tug.org>

	* texmf.cnf (FONTCONFIG_*): doc+formatting fix.

2011-10-06  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.c, win32lib.h: use const char * in system() and popen().

2011-09-30  Karl Berry  <karl@tug.org>

	* types.h (kpse_{ris,bltxml}_format): new types.
	* tex-file.c ({RIS,BLTXML}_ENVS): new defines.
	(kpse_init_format): initialize them.
	* texmf.cnf ({RIS,BLTXML}INPUTS): new definitions.
	Request from Phil Kime, tex-k 25 Sep 2011 16:46:07.

2011-08-28  Karl Berry  <karl@tug.org>

	* texmf.cnf (LUAINPUTS.lualatex, LUAINPUTS.dvilualatex): new defns.
	(LUAINPUTS): duplicate value of TEXINPUTS.luatex, instead
	of using $TEXINPUTS.
	Report from Herbert Voss, 15 Aug 2011 23:53:45,
	among others.

2011-08-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* version.ac: Update version number 6.0.2dev => 6.1.0dev.

2011-08-09  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (SUBDIRS): Add win32 to build C programs from
	Akira's W32TeX as WIN32 replacements for the shell scripts.

2011-08-08  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* progname.c (fix_selfdir): Simplified to not modify arg.
	(remove_dots): Somewhat clarify the code (suggested by Karl).
	* progname.h [WIN32]: Don't declare {kpathsea,kpse)_selfdir().

	* progname.c [TEST]: Update and extend the test program.
	* Makefile.am (progname-test): Add rules to build the standalone
	test program.

2011-08-08  Karl Berry  <karl@tug.org>

	* cnf-to-paths.awk: preserve values starting with /,
	so distro maintainers can edit texmf.cnf with absolute
	paths and not have them replaced with /nonesuch.
	Suggestion from Norbert.

2011-08-05  Karl Berry  <karl@tug.org>

	* dir.c,
	* getopt.c,
	* hash.h,
	* pathsearch.h,
	* progname.h,
	* truncate.h: copyright 2011.

2011-08-05  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* cnf.c, fontmap.c: Do not #include <kpathsea/recorder.h>.
	* Makefile.am (kpseinclude_HEADERS): Remove recorder.h.
	* recorder.h (removed): Empty file.

	* Makefile.am: Do not install kpathsea internal headers.

	* xdirtest.c: Additional test data.

2011-08-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	More diffs between TeX Live and W32TeX.
	* xbasename.c: Test for 2-Byte Kanji (CP 932, SJIS) codes and
	for Unc names.
	* xdirname.c: Test for 2-Byte Kanji (CP 932, SJIS) codes and
	slashify the result.

	* xdirtest.c (new): Standalone program to test xdirname() and
	xbasename(), based on code moved to here ...
	* xdirname.c [TEST]: ... from here.

2011-08-03  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* db.c (db_build): No need to slashify lines from db_file.

2011-08-03  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mingw32.[ch] (dostounix_filename): Remove unused function.
	(texlive_gs_init): New function copied from win32lib.[ch].

2011-08-03  Peter Breitenlohner  <peb@mppmu.mpg.de>

	More diffs between TeX Live and W32TeX.
	* db.c (ignore_dir_p, db_build, match),
	kpsewhich.c (subdir_match): Slashify and test for 2-Byte Kanji
	(CP 932, SJIS) codes.

2011-08-03  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.h: #include <direct.h> for _getcwd.

2011-08-02  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Unexport kpathsea internal functions, remove unused ones.
	* db.[ch] (kpse_db_insert, kpse_init_db, kpse_db_search,
	kpse_db_search_list): All removed.
	* default.h (kpathsea_expand_default): Internal	use only.
	* default.h, kdefault.c (kpse_expand_default): Removed.
	* elt-dirs.c (kpse_normalize_path, kpse_element_dirs): Removed.
	* expand.[ch] (kpathsea_expand): Internal use only.
	(kpse_expand): Removed.
	* fn.h (fn_init, fn_copy0, fn_free, fn_1grow, fn_grow,
	fn_str_grow, fn_shrink_to): ALL internal use only.
	* hash.h (hash_insert_normalized): Internal use only.
	* path-elt.c (kpse_path_element): Removed.
	* pathsearch.[ch] (kpathsea_path_element, kpathsea_element_dirs,
	kpathsea_path_search_list, kpathsea_path_search_list_generic,
	kpathsea_all_path_search_list): Internal use only.
	(kpse_path_element, kpse_filename_component,
	kpse_normalize_path, kpse_element_dirs, kpse_path_search_list,
	kpse_path_search_list_generic, kpse_all_path_search_list):
	Removed.
	* fontmap.h, tilde.h, truncate.h, xstat.h: Whole files internal
	use only.

2011-08-02  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* win32lib.h: follow mingw32.h for boolean and move definitions
	for win32 functions from lib.h.
	* win32lib.c: change definitions of xfseek64 and xftell64 to match
	with xfseeko and xftello.

2011-08-02  Peter Breitenlohner  <peb@mppmu.mpg.de>

	More diffs between TeX Live and W32TeX.
	* elt-dirs.c (dir_list_add, do_subdir, expand_elt): Replace
	IS_DIR_SEP by IS_DIR_SEP_CH.

	* getopt.h: Add (non-ANSI) declaration for getopt().
	* mingw32.h: #define off_t as off64_t for ftello64 and fseeko64.

2011-08-01  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* win32lib.h.mugica: Renamed from win32lib.h.
	* win32lib.[ch]: New files, yet to be filled in.

	* knj.c (is_cp932_system): No KPSEDLL in knj.c, only in knj.h.

2011-07-31  Peter Breitenlohner  <peb@mppmu.mpg.de>

	More diffs between TeX Live and W32TeX.
	* c-pathch.h: IS_DIR_SEP_CH macro to be used with `slashified'
	filenames without need to test for 2-Byte Kanji codes.

	* elt-dirs.c (kpathsea_normalize_path): Slashify, reformulate,
	and test for 2-Byte Kanji (CP 932, SJIS) codes.
	(kpathsea_element_dirs): First call kpathsea_normalize_path()
	which might modify `elt' and then test for cached answer.

	* progname.c: Make sure SELFAUTO* is not just / only for WIN32.

2011-07-30  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* dir.c (kpathsea_dir_p, dir_p), lib.h: Unconstify string parms.
	* elt-dirs.c (dir_list_add, checked_dir_list_add, do_subdir,
	expand_elt): Unconstify string parms and local vars.
	* progname.c (kpathsea_selfdir): Don't uselessly initialize ret.

	* mingw32.c: #include <kpathsea/c-pathch.h>.
	* mingw32.h [IS_DIR_SEP, IS_DEVICE_SEP, IS_UNC_NAME]: Do not
	duplicate them here, use definitions from c-pathch.h.

2011-07-29  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* tilde.c [WIN32]: Use kpathsea_getpwnam().

2011-07-28  Peter Breitenlohner  <peb@mppmu.mpg.de>

	More diffs between TeX Live and W32TeX.
	* db.c, find-suffix.c, xbasename.c:
	Reformulate and test for 2-Byte Kanji (CP 932, SJIS) codes.

	* expand.c, make-suffix.c, tilde.c: Slashify, reformulate,
	and test for 2-Byte Kanji (CP 932, SJIS) codes.

	* progname.c: Make sure SELFAUTO{LOC,DIR,PARENT} is not just /.

	* types.h (kpathsea_instance): Merge TL and W32TeX.

2011-07-27  Peter Breitenlohner  <peb@mppmu.mpg.de>

	More diffs between TeX Live and W32TeX.
	* progname.c (kpathsea_set_program_name): Merge TL and W32TeX.

2011-07-26  Peter Breitenlohner  <peb@mppmu.mpg.de>

	More diffs between TeX Live and W32TeX.
	* knj.[ch]: New files from Akira's W32TeX.
	* progname.c (kpathsea_set_program_name): Set is_cp932_system.
	* Makefile.am, config.h: Adapt.

	* db.c, expand.c, hash, path-elt.c, tilde.c, truncate.c,
	variable.c, xdirname.c, xgetcwd.c:
	Test for 2-Byte Kanji (CP 932, SJIS) codes.

	* db.c (kpathsea_db_search, kpathsea_db_search_list),
	tex-file.c (kpathsea_set_suffixes_va_list, init_maketex):
	Cast arg to `void *' because MSVC warns for a `const_string *'
	arg when expecting `void *'.

	* config.h, db.c, hash.c: #define and use TRANSFORM.

2011-07-25  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Minor changes to reduce diffs between TeX Live and W32TeX.
	* c-ctype.h [WIN32]: Never #define isascii.
	* c-fopen.h: Always write text files with Unix line endings.
	* tex-glyph.c (bitmap_specs) [WIN32]: Add DOS_BITMAP_SPEC.
	* win32lib.h: #define strncasecmp as _strnicmp.
	* readable.c: Replace #elif WIN32 => #elif defined (WIN32).
	* magstep.c, pathsearch.h, xftell.c: Adjust whitespace.

2011-07-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* kpathsea.c, progname.c, tex-file.c, types.h:
	Drop #if defined(__MINGW32__) already implied by defined(WIN32).

	* kpathsea.c (kpathsea_finish): Free suffixlist.

2011-07-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* version.ac: New file defining the kpathsea version.
	Update version number 6.0.1 => 6.0.2dev.
	* configure.ac: Adapt. Use KPSE_LT_VERSION.

2011-07-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* ac/web2c.ac renamed into ac/mktex.ac.
	* ac/withenable.ac, configure.ac: web2c.ac => mktex.ac.
	* configure.ac: KPSE_WEB2C_PREPARE => KPSE_MKTEX_PREPARE.

2011-06-29  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tex-make.c [WIN32]: Do not #include <kpathsea/win32lib.h>
	from here (already done from config.h).

2011-06-28  Karl Berry  <karl@tug.org>

	* mktexlsr: need to shift when arg is not a directory.
	Found by Luigi Scarso, tex-k mail 28 Jun 2011 00:21:14.

2011-06-19  Karl Berry  <karl@tug.org>

	* texmf.cnf (OPENTYPEFONTS): a duplicate entry was created :(.

2011-06-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* progname.c (remove_dots): Correctly handle dir="/foo/../bar".

2011-06-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Reduce memory leaks.

	* types.h (kpse_format_info_type): Declare path as non-const.
	* tex-file.c (init_path): Free old value of path when assigning
	a new value.

	* progname.c (kpathsea_selfdir): Free strings no longer used.

	* kpsewhich.c (lookup): Free string no longer used.

2011-06-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* fontmap.c (kpathsea_fontmap_lookup), kpsewhich.c (find_dpi),
	progname.c (kpathsea_set_program_name): Allow find_suffix() to
	return a const string.

	* find-suffix.c, lib.h: Declare find_suffix() as const.
	* find-suffix.c: Explain that NAME+(find_suffix(NAME)-NAME) is
	equivalent to find_suffix(NAME) but not necessarily const.

	* progname.c (remove_dots): Somewhat reorganize (initialize
	ret as `NULL' instead of `(string)""').

2011-06-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tex-glyph.c (try_size, try_fontmap, kpathsea_find_glyph),
	tex-glyph.h (kpse_glyph_file_type): Declare font name as const.

2011-06-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* xgetcwd.c: Fix #include directives (depend on GETCWD_FORKS).
	(xgetcwd): The returned string may be long lived, so malloc()
	only as needed.
	Do not print path when getcwd(path, size) or getwd(path) fail,
	the contents is undefined.

2011-06-13  Manuel P\'egour\'e-Gonnard <mpg@elzevir.fr>

	* db.c (match): ensure that we are at a dir separator in
	the filename before checking for being at the final component.
	(We were erroneously matching "foobar" to "foo" in some cases.)
	Report from Manuel, tex-k mail 12 Jun 2011 21:29:55.

2011-06-10  Karl Berry  <karl@tug.org>

	* configure.ac (AC_PROG_AWK): new test.
	* Makefile.am (stamp-paths): use $(AWK).
	This is to avoid broken Solaris /usr/bin/awk, which does
	not have sub().
	Report from Ettore Aldrovandi, 8 Jun 2011 23:36:44.

2011-06-09  Karl Berry  <karl@tug.org>

	* mktexlsr: write directory args to a file and read them back,
	so we can support spaces (though not newlines) in the directory names.
	Reword some error messages.

2011-06-08  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* hash.c: leave original letter cases also on win32.

2011-06-06  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXINPUTS.context): No trailing comma, per Taco.

2011-06-03  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mingw32.c (normalize_filename): Use memmove() instead of
	memcpy() for overlapping objects.

2011-05-29  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* texmf.cnf: add "shell_escape.initex = f" and
	"parse_first_line.initex = f", since we have initex in TL 2011.
	Otherwise the banner of initex is "This is TeXk, ..."

2011-05-27  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* extend-fname.c: Remove the `generic const warning'.
	* readable.c, rm-suffix.c: Adjust the `generic const warning'.

2011-05-26  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* db.c (kpathsea_db_search): Add `free (dir_part)'.
	(kpathsea_db_search{,_list}): Declare a few strings as const.
	(kpathsea_db_insert): Use pointer arith to avoid const warning.

2011-05-24  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (EXTRA_DIST): Add the new cnf-to-paths.awk script.

2011-05-24  Karl Berry  <karl@tug.org>

	* tex-file.c (TRUETYPE_SUFFIXES): add .dfont.
	Request from Dohyun Kim, 23 May 2011 16:09:03.
	* doc/kpathsea.texi (Supported file formats): mention it.

2011-05-23  Karl Berry  <karl@tug.org>

	* cnf-to-paths.awk: new awk script.
	* Makefile.am (stamp-paths): use it instead of the inline sed.
	Also, change the generated paths.h so that all non-SELFAUTO paths
	become a constant string "/nonesuch".  That way, if the definitions
	change, the binaries don't all uselessly change with them.

2011-05-22  Karl Berry  <karl@tug.org>

	* texmf.cnf: doc fixes.

2011-05-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* absolute.c: Partially revert the minor rewrite.

2011-05-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* absolute.c: Minor rewrite.

	* NEWS, progname.[ch]: Finally remove kpse_set_progname
	(deprecated since 1998).

2011-05-06  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXINPUTS.eplatex): no longer needed per Akira.
	(platex will always use eptex.)

2011-05-03  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* kpsewhich.c (find_format): Drop unused variable 'try_len'.

2011-04-28  Karl Berry  <karl@tug.org>

	* kpsewhich.c (try_suffix): new fn, checking entire string for
	format names.
	(TRY_SUFFIX): change macro to just call the fn.
	Report from Philipp Stephani, tex-live mail 25 Apr 2011 16:38:47.
	
	* NEWS,
	* kpsewhich.c (read_command_line),
	* doc/kpathsea.texi,
	* texmf.cnf: 2011.

2011-04-14  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac: Update version number 6.0.1dev => 6.0.1.

2011-04-11  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* texmf.cnf (TEXEDIT): Document Unix and Windows defaults.

	* tex-file.c (executable_filep): Avoid using strcpy() for
	overlapping strings.

2011-03-22  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXINPUTS.eptex, TEXINPUTS.eplatex): define,
	same as .p(la)tex.  From Akira.

2011-03-07  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* types.h: Rename the variables program_invocation_name and
	program_invocation_short_name into kpse_invocation_name and
	kpse_invocation_short_name repectively, (1) in order to avoid
	conflicts with /usr/include/sys/errno.h from Cygwin, and (2)
	because they are not the same as those from the GNU C library.

	Problem reported by Ken Brown <kbrow1i@gmail.com>.

2011-03-03  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lib.h, xftell.c (xftell): Change return type from unsigned to
	signed and use ftell() instead of ftello().

2011-03-01  Karl Berry  <karl@tug.org>

	* texmf.cnf: be more explicit that all trees, including TEXMFHOME,
	must follow the TDS.

2011-03-01  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mingw32.[ch]: Drop win32_system(); this was a workaround for a
	bug in system() under Win9x.

2011-03-01  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* man/{kpsewhich,mktexlsr,mktexmf,mktexpk,mktextfm}.man: Drop
	useless '.rb' macros.
	* man/{kpseaccess,kpsereadlink,kpsestat}.man: The same.
	Also remove `additional' from `following additional options'.

2011-02-28  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.in.orig, common.ac.orig, withenable.ac: Remove
	ancient files.
	* Makefile.am (EXTRA_DIST): Adapt.

2011-02-08  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* man/Makefile.am: Use ../am/man1_links.am for manpage links.

2011-02-02  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXMFROOT): new variable, $SELFAUTOPARENT by default,
	to minimize redistributors' patches with a new Perl updmap.

2011-01-06  Karl Berry  <karl@tug.org>

	* tex-file.c (LUA_SUFFIXES): add .tlu,
	luatex mail from t34www, 6 Jan 2011 22:04:45.

2011-01-01  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXLIVE_WINDOWS_TRY_EXTERNAL_PERL): doc fixes.

2010-12-27  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (install-exec-hook): Check symlink creation.
	* man/Makefile.am (install-data-hook): The same.

2010-12-24  Karl Berry  <karl@tug.org>

	* Makefile.am (stamp-paths): ensure that grep is not completely
	broken, e.g., from GREP_OPTIONS, in which case we'd generate a
	useless paths.h.

2010-12-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am [WIN32]: Skip mktex{lsr,mf,pk,tfm} shell scripts
	and texhash->mktexlsr symlink.

2010-12-01  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tex-make.c (maketex): Factor out common WIN32 & Unix code.
	[WIN32]: Avoid compiler warnings.

2010-12-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* tex-make.c (maketex): [WIN32] spawnvp(_P_NOWAIT, ...) and pipe.

2010-11-29  Karl Berry  <karl@tug.org>

	* doc/kpathsea.texi (Brace expansion): no longer derived from Bash.

2010-11-27  Taco Hoekwater  <taco@elvenkind.com>

	* db.c (kpathsea_db_search_list): one return list for everything,
	else kpsewhich --all plain returns nothing, even though
	kpsewhich plain works.  Report from Paul Isambert,
	25 Nov 2010 19:09:21.

2010-11-27  Karl Berry  <karl@tug.org>

	* kpsewhich.test: test this.

2010-11-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tex-glyph.c (try_format): Drop unused params fontname and dpi;
	mention the use of $KPATHSEA_{NAME,DPI} from environment.

2010-11-10  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* configure.ac: Update version number to 6.0.1dev.

2010-11-10  Mathias Kende  <mathias@kende.fr>

	* tex-file.c (kpathsea_set_suffixes_va_list): new fn.
	(kpse_set_suffixes, kpathsea_set_suffixes): call it.
	Avoids passing variable argument list, which is not portable.
	http://bugs.debian.org/602566.

2010-11-07  Karl Berry  <karl@tug.org>

	* cnf.c (do_line): remove trailing comment and preceding
	whitespace, so they do not appear as part of the value.
	From Akira.
	* doc/kpathsea.texi (Config files): document this.
	* texmf.cnf: doc fixes.

2010-10-02  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (libkpathsea_la_LDFLAGS): Add -no-undefined.

2010-09-24  Karl Berry  <karl@tug.org>

	* texmf.cnf (TTFONTS): also read opentype//.
	(OPENTYPEFONTS): also read truetype//.
	Because common practice is to use .ttf/.ttc for TrueType-flavored
	OpenType fonts (and .otf only for PostScript-flavored OpenType).

2010-09-18  Karl Berry  <karl@tug.org>

	* texmf.cnf (DVIPDFMXINPUTS): do not include ., so attackers
	cannot create a dvipdfmx.cfg with, e.g., xetex.
	Report from Heiko, 16 Sep 2010 22:32:25.

2010-09-09  Karl Berry  <karl@tug.org>

	* mktexlsr (vc_dirs): remove CVS and RCS from the list,
	for compatibility with the corresponding change on Windows,
	made so that rcs/rcs.sty is not ignored.

2010-06-13  Karl Berry  <karl@tug.org>

	* doc/unixtex.texi: reduce to current reality.

2010-06-10  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* getopt.h [NO_KPSE_DLL]: Allow use of this file for chktex.
	From Karl Berry, 9 Jun 2010 15:36:44.

2010-06-06  Karl Berry  <karl@tug.org>

	* getopt.h (getopt) [! __STDC__]: remove decl since AIX/Solaris
	compilers complain (vvv, tlbuild 07 Jun 2010 01:30:47).

2010-06-04  Karl Berry  <karl@tug.org>

	* configure.ac (kpse_lib_devel): empty for TeX Live 2010
	 (pretest 2, maybe final).

2010-05-30  Karl Berry  <karl@tug.org>

	* texmf.cnf (shell_escape_commands): turns out fc-list is not
	needed after all.

2010-05-30  Manuel P\'egouri\'e-Gonnard <mpg@elzevir.fr>

	* texmf.cnf: relax LUAINPUTS not to require and extra "lua"
	subdirectory for modules in texmfscripts.
	* texmf.cnf: enlarge trie_size to fit with latest hyph-utf8 release.

2010-05-27  Karl Berry  <karl@tug.org>

	* getopt.h (getopt) [!__GNU_LIBRARY__]: do not declare at all.
	Previous conditional on __cplusplus did not work with Sun CC.
	Maybe all systems we compile on have getopt now?  We'll see.

2010-05-25  Karl Berry  <karl@tug.org>

	* texmf.cnf (shell_escape_commands): include fc-list for
	the luaotfload font cache.

2010-05-24  Karl Berry  <karl@tug.org>

	* texmf.cnf (font_mem_size): doc fix.

2010-05-21  Karl Berry  <karl@tug.org>

	* mktexpk: help msg, mention map files in error.

2010-05-20  Karl Berry  <karl@tug.org>

	* mktexdir,
	* mktexupd,
	* mktex.opt,
	* mktexnam.opt: systematize header comments.

2010-05-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* kpseaccess.test: Allow for unexpected test results.

2010-05-18  Karl Berry  <karl@tug.org>

	* texmf.cnf (shell_escape): set to p. Trying restricted shells again.
	(shell_escape_commands): bibtex, bibtex8,
	kpsewhich, makeindex, repstopdf.  Don't plan to add anything
	else for TL'10.

	* NEWS,
	* kpsewhich.c (read_command_line),
	* texmf.cnf (TEXMFCONFIG, TEXMFVAR): 2010.

2010-05-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* access.c: Adapt comment to facts.
	* man/kpseaccess.man: Adapt to facts.

2010-05-16  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	*absolute.c, c-fopen.h, c-stat.h, config.h, debug.h, dir.c,
	elt-dirs.c, expand.c, getopt.c, getopt.h, getopt1.c, hash.c,
	kpsewhich.c, lib.h, mingw32.c, path-elt.c, pathsearch.c,
	progname.c, putenv.c, readable.c, strcasecmp.c, strstr.c,
	strtol.c, tex-file.c, tex-glyph.h,
	types.h, win32lib.h: untabify.

2010-05-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* kpseaccess.test, kpsereadlink.test, kpsestat.test,
	kpsewhich.test: New shell scripts to test the programs.
	* configure.ac (LT_OBJDIR): AC_SUBST for kpsereadlink.test.
	* Makefile.am (TESTS, TESTS_ENVIRONMENT): Add the tests.

2010-05-15  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	*absolute.c: avoid late declaration. add support of UNC names (WIN32).
	*db.c: try ls-R only on WIN32.
	*debug.c: avoid late declaration.
	*elt-dirs.c: remove trailing whitespace.
	*lib.h: add variables in prototype.
	*pathsearch.c, tex-file.c: remove some spaces.
	*tex-glyph.c: add some spaces.

2010-05-15  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	*absolute.c, access.c, atou.c, c-ctype.h, c-pathch.h, c-std.h, cnf.c,
	concatn.c, config.h, db.c, db.h, debug.h, default.h, dir.c,
	elt-dirs.c, expand.c, extend-fname.c, find-suffix.c, fn.c,
	fontmap.c, getopt.c, kpathsea.c, kpsestat.c, kpsewhich.c, lib.h,
	line.c, magstep.c, magstep.h, make-suffix.c, mingw32.c, mingw32.h,
	path-elt.c, pathsearch.c, pathsearch.h, proginit.c, proginit.h,
	progname.c, readable.c, readable.h, readlink.c, rm-suffix.c,
	str-list.c, str-llist.c, strstr.c, tex-file.c, tex-glyph.c,
	tex-glyph.h, tex-hush.c, tex-make.c, tex-make.h, truncate.c,
	uppercasify.c, variable.h, version.c, win32lib.h, xbasename.c,
	xcalloc.c, xdirname.c, xfopen.c, xftell.c, xftello.c, xgetcwd.c,
	xopendir.c, xrealloc.c, xstat.c: remove trailing spaces.

2010-05-10  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* c-fopen.h [SET_BINARY]: Add cast to void.

2010-05-09  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* progname.c (kpathsea_set_program_name): Drop superfluous cast.

	* extend-fname.c, lib.h: Change return type of extend_filename()
	from 'string' to 'const_string'.
	* fontmap.[ch]: Change return type of kpathsea_fontmap_lookup()
	from 'string *' to 'const_string *', drop kpse_fontmap_lookup.
	* tex-file.c (target_fontmaps), tex-glyph.c (try_fontmap): Adjust.

2010-04-27  Manuel P\'egouri\'e-Gonnard <mpg@elzevir.fr>

	* texmf.cnf: - s/pdf(lua(la)?tex)/dvi\1/
	- add luatex before generic (for generic package specific to luatex) and
	similarly for xetex.

2010-04-22  Karl Berry  <karl@tug.org>

	* doc/kpathsea.texi,
	* doc/bugs.texi: Avoid over/underfull boxes.

2010-04-19  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* texmf.cnf (max_strings.pbibtex): New defn.

2010-04-15  Karl Berry  <karl@tug.org>

	* kpsewhich.c (format_abbr_type): new type.
	(format_abbrs): new array.
	(format_abbr): new fn to use them.
	(find_format): call it.

	(help_message): new fn, including the abbreviations.

2010-04-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (EXTRA_DIST): Add bsnl.awk.

2010-04-11  Karl Berry  <karl@tug.org>

	* texmf.cnf ({TEXINPUTS,BIBINPUTS}.{ptex,platex,pbibtex}): new defns.

2010-04-11  Javier Mugica  <javier@digi21.eu>

	* getopt.c, getopt1.c: ANSIfy all fns.

2010-04-10  Karl Berry  <karl@tug.org>

	* progname.c (c-pathmx.h): #include unconditionally.
	* c-pathmx.h (PATH_MAX) [MAX_PATH]: #define PATH_MAX as MAX_PATH
	for Windows.
	* win32lib.h: include io.h, fcntl.h, direct.h.
	From Javier Mugica, 9 Apr 2010 22:04:46.

2010-04-09  Karl Berry  <karl@tug.org>

	* types.h: doc fixes.

2010-04-07  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* man/kpseaccess.man, man/kpsestat.man, man/mktexpk.man,
	man/mktextfm.man: Uniform manpage formatting: bold for literals,
	italic for variable items, roman for meta items.

2010-04-05  Karl Berry  <karl@tug.org>

	* progname.h: doc fix.

2010-04-04  Karl Berry  <karl@tug.org>

	* bsnl.awk: tiny awk program to eliminate \-newline sequences.
	* Makefile.am (stamp-paths): call it.
	* texmf.cnf (TEXMF_RESTRICTED_SCRIPTS): use \-newline again.

2010-03-29  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lib.h, xcalloc.c, xmalloc.c, xrealloc.c: Change type of size
	arguments of xcalloc(), xmalloc, and xrealloc() from unsigned
	to size_t (incompatible change of ABI).

	Update version numbers to 6.0.0.

2010-03-24  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* texmf.cnf (TEXMF_RESTRICTED_SCRIPTS): The make rules used to
	create paths.h can't handle backslash-newline (FIXME?).

2010-03-24  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXMFSCRIPTS): progname before engine, for consistency,
	and because the former is more specific.
	(TEXMF_RESTRICTED_SCRIPTS): new definition, for the w32 wrapper.

	(TEXMFDBS): reorder in file to be next to TEXMF, to make the
	relationship more apparent.  No change in definition.

2010-03-23  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* texmf.cnf (ent_str_size, glob_str_size): New for size of
	BibTeX (entry and global) strings.

2010-03-19  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* texmf.cnf (BIBTEX_CSFILE): Default codepage and sort order
	file for BibTeX8.
	(max_strings): Also for BibTeX8 and BibTeXU.

2010-03-18  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXDOCS): remove .; better for texdoc not
	to be confused by files randomly in the current directory.

2010-03-11  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* texmf.cnf: Append '.mf' to Metafont specific parameters.
	Add 'max_strings.bibtex', also for hash_size and hash_prime.

2010-03-09  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* texmf.cnf: Append '.gftype' to GFtype specific parameters.
	* progname.h: Remove kpse_set_progname from exported API.
	Deprecated since 1998.  Kept in library for Versions 5.x.y.

2010-03-08  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* xrealloc.c (xrealloc): Allocate 1 byte if passed size 0.
	* xcalloc.c (xcalloc): Use 1 if passed nelem 0 or elsize 0.

2010-03-05  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* texmf.cnf (line_length, max_rows, max_cols): GFtype parameters
	settable at runtime (used to be fixed values in gftype.ch).

2010-03-03  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* texmf.cnf (screen_width, screen_depth): Increase Metafont
	screen size (used to be fixed values in mf.ch).

2010-03-01  Karl Berry  <karl@tug.org>

	* texmf.cnf (TW_LIBPATH, TW_INIPATH): TeXworks config/settings.

2010-02-26  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mingw32.c (dostounix_filename): Reactivate as extern KPSEDLL,
	used for gsftopk.

2010-02-23  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* dir.c (kpathsea_dir_p), tex-make.c (maketex): [WIN32]: Cast
	the result of GetLastError() to int (may be or is DWORD).
	* tex-make.c (kpathsea_make_tex) [WIN32]: Avoid initialized ret.
	* mingw32.c (look_for_cmd): Declare suffixes and s as const.

	* config.h [WIN32]: Ensure that __STDC__ is #defined.
	#include <kpathsea/win32lib.h>, not <win32lib.h>.
	Diffs from Akira, 11 Feb 2010 11:03:39.

	* strstr.c (str): Add empty statement after label at the end of
	a block.  From Javier Mugica, 23 Feb 2010 12:25:55.

	* mingw32.c (win32_get_long_filename): Declare extern KPSEDLL.

2010-02-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mingw32.c (win32_system): Declare as non-static, for web2c.
	* mingw32.h (win32_system): Declare as extern KPSEDLL.

	* c-proto.h, getopt.h (KPSE_DLL): Automatically #define for
	native WIN32 but not for MinGW32.

2010-02-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* absolute.c (kpathsea_absolute_p): Unused param.
	* truncate.[ch] (kpse_truncate_filename): Removed.

2010-02-15  Karl Berry  <karl@tug.org>

	* tex-make.c [DJGPP]: change conditionals to __DJGPP__ for
	consistency.

	* progname.c (<kpathsea/mingw32.h>) [__MINGW32__]: remove
	#include, it's redundant with kpathsea/config.h.
	(<kpathsea/c-pathmx.h>) [__DJGPP__]: change conditional from DJGPP.
	Suggestion from Javier Mugica, 13 Feb 2010 20:46:12.	

2010-02-14  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* variable.c (kpathsea_var_value, expand): Treat strings
	returned by getenv() and kpathsea_cnf_get() as const.
	Replace kpathsea_var_expand() plus kpathsea_tilde_expand() by
	kpathsea_expand() and include expand.h instead of tilde.h.

	* tilde.[ch] (kpathsea_tilde_expand): Now used only in expand.c
	by kpathsea_expand().  Declare string param as non-const.
	(kpse_tilde_expand): Removed.

	* hash.[ch]: Adjust comments and remove trailing whitespace.

2010-02-13  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* xopendir.c [WIN32]: Define neither xopendir nor xclosedir.
	* mingw32.[ch], progname.c: Remove set_home_warning().
	From Akira.

	* xopendir.[ch] (xopendir): Declare string param as const.
	Declare prototypes if and only if functions are defined.

	* kdefault.c, tex-file.h, xputenv.c:
	Formatting, trailing whitespace.

2010-02-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* dir.c (kpathsea_dir_p), elt-dirs.c (kpathsea_normalize_path),
	pathsearch.c (log_search, search, search_list),
	tex-file.c (kpathsea_find_file_generic):
	Add '#ifdef KPSE_DEBUG' to allow compilation with '-DNO_DEBUG'.

	* dir.c (kpathsea_dir_p): Replace kpse_normalize_path() by
	kpathsea_normalize_path().

2010-02-11  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* db.h (kpathsea_init_db, kpse_init_db, kpathsea_db_search,
	kpse_db_search, kpathsea_db_search_list, kpse_db_search_list),
	* fontmap.h (kpathsea_fontmap_lookup, kpse_fontmap_lookup),
	* getopt.h (_getopt_internal),
	* hash.h (hash_print, hash_free),
	* mingw32.h (init_user_info, set_home_warning,
	win32_get_long_filename, look_for_cmd, quote_args),
	* pathsearch.h (kpathsea_filename_component,
	kpse_filename_component, kpathsea_normalize_path,
	kpse_normalize_path),
	* str-list.h (str_list_init, str_list_concat, str_list_free,
	* str_list_concat_elements, str_list_uniqify),
	* str-llist.h (str_llist_add, str_llist_float),
	* tex-file.h (kpathsea_init_fallback_resolutions,
	kpse_init_fallback_resolutions),
	* tilde.h (kpathsea_tilde_expand, kpse_tilde_expand),
	* truncate.h (kpathsea_truncate_filename,
	kpse_truncate_filename),
	* xopendir.h (xopendir, xclosedir),
	* xstat.h (xstat, xlstat): Declare prototypes only within
	libkpathsea.

2010-02-10  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mingw32.c (get_home_directory, _parse_root,
	normalize_filename, dostounix_filename, unixtodos_filename,
	crlf_to_lf, parse_cmdline, build_cmdline, win32_system):
	Declare as static.
	(dostounix_filename, crlf_to_lf): Drop unused functions.
	(win32_system): Drop unused code for look_for_cmd() with 3 args.
	* mingw32.h: Remove decl of get_home_directory(), add
	quote_args(), use explicit 'extern'.
	* tex-make.c (maketex): Drop nested extern decl of quote_args().	

	* tex-make.h ({kpathsea,kpse}_make_tex),
	str-list.h (str_list_add): need KPSEDLL (from Akira).

2010-02-08  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mingw32.c (look_for_cmd): remove unused variable new_cmd,
	declare p and q as const and remove cast.

2010-02-07  Taco Hoekwater  <taco@elvenkind.com>

	* mingw32.c (look_for_cmd): remove unused variable new,
	clean up preprocessor conditionals.
	Report by Hib Eris, tex-k 3 Feb 2010 12:11:42.

2010-02-01  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (kpseinclude_HEADERS): Add win32lib.h.

2010-02-01  Karl Berry  <karl@tug.org>

	* strstr.c,
	* strcasecmp.c,
	* getopt.c,
	* getopt.h,
	* getopt1.c: remove all redefinitions of const.

2010-01-31  Javier Mugica  <javier@digi21.eu>

	Support compilation with MSVC 7.1:
	* config.h (win32lib.h) [_WIN32 && !__MINGW32__]: include.
	(__STDC__) [WIN32]: do not define ourselves.
	* getopt.h (__STDC__): do not define ourselves.  Instead, define
	const.
	* c-stat.h (oldnames.h) [WIN32]: is gone.	
	* c-ctype.h (isascii): no oldnames.h here either.
	* win32lib.h: reinstate.

2010-01-25  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* xputenv.c (kpathsea_xputenv): Don't use value of XRETALLOC(),
	XRETALLOC(addr, n, t) already assigns the new pointer to addr.

2010-01-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tex-make.c (maketex): Replace kpse_readable_file(fn) by
	kpathsea_readable_file(kpse,fn) also for WIN32.

2010-01-11  Taco Hoekwater <taco@metapost.org>

	* types.h (kpse_clua_format): new type.
	(kpse_def, kpse_def_inst): need KPSEDLL (from Akira).
	* tex-file.c (CLUA_ENVS): new define.
	(kpse_init_format): initialize it.
	* texmf.cnf (CLUAINPUTS): new definition.
	This implies using, e.g., bin/i386-linux/lib/luatex/lua/*.so
	in TL.

2010-01-05  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tex-file.c: Add alt_suffix ".pl" for kpse_opl_format and
	".vpl" for kpse_ovp_format (for C version of opl2ofm/ovp2ovf).

2009-12-24  Karl Berry  <karl@tug.org>

	* HIER, INSTALL, README.CONFIGURE: remove, stale.
	* Makefile.am (EXTRA_DIST): change accordingly.
	* README, PROJECTS,
	access.c, readlink.c,
	mktex.opt, mktexdir, mktexdir.opt, mktexmf, mktexnam,
	mktexnam.opt, mktextfm, mktexupd: doc/email updates.

2009-12-21  Karl Berry  <karl@tug.org>

	* kpsewhich.c (find_format): had forgotten to increment the loop
	variable, hence the hang.  From Akira.

2009-12-20  Karl Berry  <karl@tug.org>

	* kpsewhich.c (find_format): restore checking of kpse_fmt_format
	last, since a hang was reported by Angelo Graziosi,
	http://tug.org/pipermail/tlbuild/2009q4/001222.html.

2009-12-17  Karl Berry  <karl@tug.org>

	* c-proto.h (KPSE_DLL) [WIN32]: #define in this case, per Akira.

2009-12-15  Karl Berry  <karl@tug.org>

	* kpsewhich.c (-safe-in-name, -safe-out-name): new options.
	* doc/kpathsea.texi: document them.
	* tex-file.c (kpathsea_name_ok): introduce silent argument;
	change callers.
	* tex-file.h (kpathsea_{in,out}_name_ok_silent): declare these,
	now used in kpsewhich.

2009-12-14  Karl Berry  <karl@tug.org>

	* kpsewhich.c (separator): remove never-used variable/option.

	* kpsewhich.c (find_format): remove rearrangement of checking
	kpse_fmt_format last, since it doesn't have any special extensions
	now (what were they?).

2009-12-11  Alexander Cherepanov  <cherepan@mccme.ru>

	* tex-file.c (kpathsea_name_ok): correct check for /../ so that
	"file..txt" is still allowed.
	tlsec mail, 05 Dec 2009 12:33:35.

2009-12-05  Karl Berry  <karl@tug.org>

	Suggested/reported by Daniel Luecking, 16 Nov 2009 11:58:00:

	* kpsewhich.c (init_more): split out lengthier initializations
	to own fn.  Initialize all mktex programs to false, so that
	cnf/env settings such as MKTEXPK=1 don't apply to kpsewhich.
	(read_command_line) <--[no-]mktex>: set must_exist, since
	otherwise the mktex program is never called.
	* doc/kpathsea.texi (Path searching options): minimally describe this.

2009-12-04  Karl Berry  <karl@tug.org>

	* tex-file.c (kpathsea_name_ok): not_ok if /..foobar.
	Report/patches from Alexander and Akira.

2009-12-03  Karl Berry  <karl@tug.org>

	* absolute.c, * absolute.h, * cnf.c, * db.c, * dir.c, * elt-dirs.c,
	* expand.c, * kdefault.c, * kpsewhich.c, * lib.h, * magstep.h,
	* pathsearch.c, * pathsearch.h, * proginit.c, * progname.c,
	* readable.h, * tex-file.c, * tex-file.h, * tex-glyph.c, * tex-glyph.h,
	* tex-make.c, * types.h, * xputenv.c: formatting/doc fixes.

2009-12-01  Karl Berry  <karl@tug.org>

	* tex-file.c (kpathsea_name_ok): formatting, doc fixes, start
	error message on a new line.

2009-12-01  Alexander Cherepanov  <cherepan@mccme.ru>

	* BUGS,
	* doc/bugs.texi: typo fix.

2009-11-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tex-file.c (target_fontmaps, target_asis_name,
	target_suffixed_names, kpathsea_find_file_generic):
	Revised handling of const to avoid warnings.

2009-11-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tex-file.c (kpathsea_out_name_ok): Also disallow writing files
	in dotted directories.
	From  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>.

2009-11-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* types.h (kpathsea_instance): For W32/Mingw/Cygwin declare
	suffixlist, listing the executable file suffixes.
	* progname.c (kpathsea_set_program_name): Build suffixlist.
	* tex-file.c (kpathsea_out_name_ok): Use suffixlist.
	From  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>.

	* kpathsea.c: Remove obsolete initializer.
	(kpathsea_finish): Destroy suffixlist (not yet used).

2009-11-14  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tex-file.c (kpathsea_out_name_ok): Allow writing of .pl files.
	From  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>.

2009-11-13  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tex-file.c (kpathsea_out_name_ok): On Windows disallow writing
	to executable files (.com, .exe, .bat, etc).
	From  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>.

2009-11-07  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* doc/kpathsea.texi (Calling sequence): Document the new
	functions kpathsea_out_name_ok and kpathsea_in_name_ok.
	Recommend Automake in addition to Autoconf; update URL for both.

2009-10-24  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tex-file[ch] ({kpathsea,kpse}_{in,out}_name_ok): New fuctions
	renamed and moved from ../web2c/lib/texmfmp.c to here.

	Update version numbers to 5.1.0.

2009-10-24  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (bin_links, install-exec-hook, uninstall-hook),
	man/Makefile.am (man1_links, install-data-hook, uninstall-hook):
	Moved handling of texhash symlinks from ../tetex/ to here.

2009-10-20  Karl Berry  <karl@tug.org>

	* texmf.cnf (shell_escape): doc fixes to discourage shell_escape=p.

2009-10-19  Manuel P\'egouri\'e-Gonnard <mpg@elzevir.fr>

	* texmf.cnf: set shell_escape back to 'f': 'p' is broken on Unix.

2009-10-15  Manuel P\'egouri\'e-Gonnard <mpg@elzevir.fr>

	* texmf.cnf (shell_escape_commands): add repstopdf, a version of
	epstopdf with restrictions intended to make it safer.
	Remove bibtex & makeindex for now, they don't respect openout_any.

2009-10-13  Karl Berry  <karl@tug.org>

	* texmf.cnf (shell_escape_commands): remove the ps-to-pdf programs
	for now, they don't respect openout_any.

2009-10-09  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXDOC): omit now-unneeded man for texdoc (from mpg).

2009-09-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tex-file.c: Add .vf to regcognized suffixes for kpse_ovf_format.

2009-09-21  Karl Berry  <karl@tug.org>

	* texmf.cnf (shell_escape_commands): remove pygmentize, as intended.

2009-09-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lib.h (xfseek, xfseeko, xftell, xftello), xfseek.c, xfseeko.c,
	xftell.c, xftello.c: Constify string param filename.

2009-09-03  Karl Berry  <karl@tug.org>

	* kpsewhich.c (find_format): remove dvipdfmx.cfg, since there is
	no special path for it, and add texglyphlist.txt.

2009-08-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* version.[ch] (kpathsea_version_string, kpathsea_bug_address):
	Constify these strings.

2009-08-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* tex-file.c (TRY_ENV): remove unused macro.

2009-08-15  Karl Berry  <karl@tug.org>

	* texmf.cnf (shell_escape_commands): remove many more,
	mail from Heiko, 14 Aug 2009 07:58:02 et al.

2009-07-23  Karl Berry  <karl@tug.org>

	* mktexlsr: update help msg.

	* texmf.cnf (shell_escape_commands): remove tex programs (too
	dangerous?), add other indexing programs, change pdfcrop to
	rpdfcrop, convert to imgconvert.

2009-07-22  Taco Hoekwater <taco@metapost.org>

	* texmf.cnf (sizes): fix some documentation strings for MetaPost,
	which nowadays uses and needs just a handful of the array size
	variables.
	
2009-07-07  Karl Berry  <karl@tug.org>

	* texmf.cnf (MAKEMPX): remove, this causes btex..etex to fail
	in current mpost.

2009-07-02  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (kpathsea.h): simplify, no more grep.

2009-06-30  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am (kpathsea.h): avoid GNU grep specific code.

2009-06-30  Karl Berry  <karl@tug.org>

	* variable.c (expand): make boolean, to return whether there
	actually was a variable that got expanded.
	(kpathsea_var_expand): if no variable was expanded, insert the
	unexpanded $foo in the result, so we can read variable names with
	dollar signs.  Bug report from Gerben Wierda.

2009-06-25  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* version.h (new): header file for definitions in version.c.
	* version.c: #include <kpathsea/version.h>.
	* Makefile.am: add version.h.

	* kpsewhich.c: #include <kpathsea/version.h>.

2009-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* concatn.[ch], tex-file.[ch]: use ANSI C function declarations
	and prototypes instead of PVAR?[CH] macros.
	#include <stdarg.h>, not #include <kpathsea/c-vararg.h>.

	* c-vararg.h (removed): no longer used.
	* kpathsea.h (removed): no longer distributed.
	* Makefile.am: remove c-vararg.h, rebuild kpathsea.h.

	* c-proto.h: assume HAVE_PROTOTYPES, remove AA, P?[CH] macros.

2009-06-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* getopt.c (_getopt_internal):
	explicit braces to avoid ambiguous 'else'.

2009-06-19  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* Makefile.am: enable compiler warnings.
	* kpathsea.c (KPATHSEA_CAN_FREE): disable not yet used code.
	(str_llist_free, cache_free): declare as static, not yet used.
	(kpathsea_finish): avoid warning about not yet used variables.
	* tex-glyph.c (try_size): avoid uninitialized warning.
	* mingw32.c: avoid unused static variable.

2009-06-15  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXINPUTS.jadetex,pdfjadetex): search latex, not plain.
	Thus we find the latex fonttext.cfg before cslatex's, and thus
	we can build the format using latex.ltx, and thus
	we can avoid & in fmtutil.cnf, and thus
	we can avoid painful infinite loops on failure, or something.
	http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427562

2009-06-10  Karl Berry  <karl@tug.org>

	* ac/web2c.ac (mktexfmt): default to yes.

2009-06-02  Karl Berry  <karl@tug.org>

	* types.h (kpse_file_format_type): add kpse_mlbib_format,
	kpse_mlbst_format for Jean-Michel Hufflen and MlBibTeX.
	* texmf.cnf (MLBIBINPUTS, MLBSTINPUTS): define default paths.
	* tex-file.c (kpathsea_init_format): initialize them.
	* doc/kpathsea.texi: document this.

2009-06-01  Karl Berry  <karl@tug.org>

	* Update version numbers to 5.0.0.

	* kpsewhich.c (lookup): translate ; to : in user_path,
	for consistency.  Also do path expansions as promised in the
	documentation.  Report from Tomek T.

2009-05-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* absolute.c, hash.c: Avoid C99isms (variable declaration not at
	the beginning of a block).
	From Vladimir Volovich.

2009-05-12  Karl Berry  <karl@tug.org>

	* tex-file.c (kpathsea_init_format): set suffix_search_only
	for sfd, otf, and lig.  Output binmode value for debugging.

2009-05-11  Karl Berry  <karl@tug.org>

	* Makefile.am (paths.h): depend on stamp-paths, instead of
	recursively invoking it.  Else it does not get invoked once it is
	created.

2009-05-11  Karl Berry  <karl@tug.org>

	* types.h (kpse_file_format_type): add kpse_fea_format,
	kpse_cid_format for Hans/Taco.
	* texmf.cnf: define default paths (fonts/fea// and fonts/cid//).
	* tex-file.c (kpathsea_init_format): initialize them.
	Also, for kpse_enc_format, set suffix_search_only=true.
	* doc/kpathsea.texi: document this.

2009-04-18  Karl Berry  <karl@tug.org>

	* texmf.cnf (shell_escape_commands): add fc-match, request
	from Elie Roux, 17 Apr 2009 17:22:55.

2009-04-05  Taco Hoekwater  <taco@elvenkind.com>

	* doc/kpathsea.texi,
	* doc/bugs.texi: updates for new reentrant API, mostly for
	kpse->debug replacing the global kpathsea_debug.

2009-04-02  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* config.h: For __MINGW32__ temporarily define eof as macro
	while including <unistd.h>.

	From Taco Hoekwater <taco@elvenkind.com>.

2009-03-19  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* kpathsea.c: Do not use initializer for kpse_def_inst (FIXME:
	to be completely removed).

2009-03-17  Taco Hoekwater  <taco@luatex.org>

	* types.h: Define kpse_debug_hash_lookup_int.

2009-03-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* c-std.h, getopt.h: Avoid non-prototype declarations for C++.

2009-03-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* db.c, debug.c, debug.h, dir.c, elt-dirs.c, hash.c, pathsearch.c,
	progname.c, tex-file.c, variable.c:
	Rename KPSE_DEBUG_P into KPATHSEA_DEBUG_P (using kpse->debug)
	Define KPSE_DEBUG_SET and KPSE_DEBUG_P (using kpathsea_debug)
	compatible with old API.

2009-03-12  Taco Hoekwater  <taco@luatex.org>

	New Kpathsea API: Make libkpathsea reenterable.

	* extend-fname.c, file-p.c, xftello.c, make-suffix.c, xcalloc.c,
	line.c, readlink.c, concat3.c, line.h, str-llist.c, kpsestat.c,
	xmalloc.c, str-llist.h, xbasename.c, xfseeko.c, xgetcwd.c,
	concat.c, xstat.h, atou.c, rm-suffix.c, str-list.c,
	find-suffix.c, hash.c, xfseek.c, debug.c, str-list.h, hash.h,
	xopendir.c, uppercasify.c, debug.h, xopendir.h, xftell.c,
	xfopen.c, access.c, fn.c, xdirname.c, fn.h, xstrdup.c,
	xrealloc.c, xstat.c:
	All of these files have stopped using the PxC and PxH macros.

	Besides this change, there are a few extra changes to specific
	files.

	* debug.c: add a guard that disables debug reporting if
	the oldinterface is not compiled in the library, and uses the
	kpse_def_inst structure otherwise.

	* hash.c (hash_free): new function.

	* concat3.c: now allows the second and third argument to be NULL

	* tex-hush.h, tex-make.c, progname.h, dir.c,
	absolute.c, expand.c, tex-make.h, tex-glyph.c, tex-file.h,
	absolute.h, expand.h, truncate.c, variable.c, tex-glyph.h,
	default.h, variable.h, truncate.h, kdefault.c, readable.c,
	tilde.c, fontmap.c, readable.h, tilde.h, cnf.c, fontmap.h,
	cnf.h, path-elt.c, pathsearch.c, elt-dirs.c, db.c, pathsearch.h,
	db.h, proginit.c, magstep.c, proginit.h, magstep.h, tex-hush.c:
	All of these files have stopped using the PxC and PxH macros.

	In all of these files, the exported functions whose names
	started with 'kpse_' have been renamed to use the prefix
	'kpathsea_' instead, and they now required an extra argument
	that is a kpathsea instance structure. New one-line functions
	with the old exported names have been added that use a default
	kpathsea instance. The functions are build and exported only if
	the preprocessor macro KPSE_COMPAT_API is defined (which it
	usually is, though).

	Besides these changes, there are a few extra changes to speficic
	files.

	* progname.c: Removed the variables program_invocation_name and
	program_invocation_short_name, these are now part of the
	kpathsea instance (in renamed form)

	* progname.c, xputenv.c, lib.h: Some extra preprocessor macros
	(LIB_FATALx) are added and a few others  are changed so that
	the library functions can give the proper invocation_name
	in fatal error messages

	* tex-file.c: The default instance variable is moved to the new
	file kpathsea.c

	* kpathsea.c: New file containing the default
	instance variables and the new functions kpathsea_new() and
	kpathsea_finish()

	* version.c: Variable kpse_bug_address renamed
	to kpathsea_bug_address.

	* types.h:
	Added a preprocessor define KPSE_COMPAT_API, used throughout the
	library.  If it is undefined then the old-style functions and
	definitions are not compiled.
	Removed the w32-specific 'cached_home_directory' and 'volumes'
	variables from the instance structure.
	Added 'invocation_name' and 'invocation_short_name' variables to
	the instance structure.
	Removed the 'kpse_' prefix from the instance variables fallback_font,
	fallback_resolutions_string, fallback_resolutions, and format_info.
	Added prototypes for kpathsea_new() and kpathsea_finish().
	Added #defines for  kpse_bug_address, kpse_fallback_font,
	kpse_fallback_resolutions_string, kpse_fallback_resolutions,
	kpse_format_info, program_invocation_name, and
	program_invocation_short_name

	* mingw32.c:
	Disabled home directory caching: removed the function
	uncache_home_directory() and the cached_home_directory
	structure item.
	Disabled volume queries: removed win32_volumes typedef,
	the static functions lookup_volume_info(), add_volume_info(),
	and  GetCachedVolumeInformation(), as well as the functions
	get_volume_info() and is_fat_volume().

	* mingw32.h: Removed volume_user_date typedef
	and added declaration for get_home_directory()

	* kpsewhich.c: stop using PxC macros and
	switch to new API interface

	* configure.ac: Bump the version numbers to 5.0.0  (provisionally)

	* Makefile.am: Add kpathsea.c

2009-03-05  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Part 2 of patches from Taco Hoekwater for __MINGW32__
	* mingw32.c: new file.
	* mingw32.h (look_for_cmd): use only two arguments.
	* tex-make.c (maketex): arg4 of ReadFile is DOWRD, not int.

2009-03-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Part 1 of patches from Taco Hoekwater for __MINGW32__
	* mingw32.h: new.
	* c-ctype.h, c-stat.h: do not #include <oldnames.h>.
	* config.h: #include <kpathsea/mingw32.h>, not <win32lib.h>
	* progname.c: do #include <kpathsea/mingw32.h>.
	* xopendir.c: do build xopendir for __MINGW32__.

	* progname.c, progname.h: changed static function selfdir()
	into exported function kpse_selfdir() for use in luatex.

2009-02-28  Karl Berry  <karl@tug.org>

	* texmf.cnf (shell_escape_commands): add pstopdf and convert per
	Dick Koch.

2009-02-26  Karl Berry  <karl@tug.org>

	* texmf.cnf (shell_escape): set to new possibility p.
	(shell_escape_commands): first cut at allow list.

2009-02-21  Karl Berry  <karl@tug.org>

	* tex-file.c: doc fixes.

2009-02-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* xputenv.c: prototype for putenv() if !HAVE_DECL_PUTENV.

2009-02-06  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXINPUTS.lua*): add definitions for
	luatex, lualatex, pdfluatex, pdflualatex.

2008-12-31  Karl Berry  <karl@tug.org>

	* kpsewhich.c (find_format): special-case XDvi to
	kpse_program_text_file ("other text files").

2008-12-15  Karl Berry  <karl@tug.org>

	* kpsewhich.c (main): warn if the explicit --user-format string
	is not recognized.

2008-12-13  Karl Berry  <karl@tug.org>

	* elt-dirs.c (do_subdir): only do the st_nlink trick if st_nlink
	is exactly 2; Cygwin sets st_nlink to 1 now.  Remove special case
	for the Amiga.
	* kpathsea.texi (Subdirectory expansion): correct preprocessor
	name to ST_NLINK_TRIC.
	Report from Ken Brown, tlbuild mail 12 Dec 2008 13:42:19.

2008-11-10  Karl Berry  <karl@tug.org>

	* kpsewhich.c (USAGE): mention need for -engine when looking up
	format files.  Some reformatting.

2008-09-20  Karl Berry  <karl@tug.org>

	* texmf.cnf: strongly warn that customizations in this file will
	be lost by later updates.

2008-08-05  Karl Berry  <karl@tug.org>

	* mktextfm (MAG): set back to 1.  mag=0 fails with larm1000.mf,
	and we're not going to fix the fonts.

2008-07-08  Karl Berry  <karl@tug.org>

	* configure.in: version 3.5.7.

2008-07-06  Karl Berry  <karl@tug.org>

	* withenable.ac (texmfmain): do not bother with long verbose
	complaint when the tree can't be found, since this is normal in TL.

2008-07-05  Karl Berry  <karl@tug.org>

	* mktextfm (MAG): set to 0; why were we using MAG=1?  Left
	over from when we included pregenerated pk's in the distribution?

2008-07-04  Karl Berry  <karl@tug.org>

	* texmf.cnf (max_strings): increase to 500000.
	ctt posting from Benno Puetz, http://groups.google.com/group/comp.text.tex/browse_thread/thread/2c3aa2d09b4625e3

	* progname.c [HAVE_PROGRAM_INVOCATION_NAME]: remove all #ifdef's
	except around the declaration, so that we always use our own code
	to compute them.  This avoids painful system dependencies.

2008-07-02  Karl Berry  <karl@tug.org>

	* mktexlsr: doc fix.

	* kpathsea.texi (Path searching options): mention --engine=/ trick.

2008-06-16  Karl Berry  <karl@tug.org>

	* texmf.cnf (TEXMFDOC): new var.
	(TEXMFDBS): use it, so ls-R gets created there.
	(TEXMFDOCDIR): use it.
	[Reminder: the texmf.cnf here in Build/ is slaved to the one in
	 Master/.]

2008-06-15  Karl Berry  <karl@tug.org>

	* mktexlsr: once again respect dir names given on cmd line.

2008-06-12  Karl Berry  <karl@tug.org>

	* tex-file.c () <kpse_cmap_format>: cmap files (texmf/fonts/cmap)
	do not have the .cmap suffix.  (t1.cmap, et al., are TeX files,
	not cmap files.) So remove the SUFFIXES definition.

2008-05-31  Karl Berry  <karl@tug.org>

	* elt-dirs.c (kpse_normalize_path): only output debug line if
	value is not 1.  Reformat.

	* tex-file.c (INIT_FORMAT): construct human-formatted list of
	envvars that are considered for each format, as requested by
	Nelson Beebe and others over the years.
	(init_format) [KPSE_DEBUG]: include it in the debugging output.
	(concatn_with_spaces): the function to make the list.

	* tex-make.c: concatn.h unused, removed.

	* db.c (DB_HASH_SIZE): 32003 seems a better compromise between the
	tiny texmf (~1300 entries) and huge texmf-dist (~62000 entries).

2008-05-29  Karl Berry  <karl@tug.org>

	* db.c (DB_HASH_SIZE): increase to 75000+, the actual size of
	current ls-R.

	* cnf.c: doc fixes.

	* Makefile.in (stamp-paths): change var substitutions to use /nonesuch.
	(texmf.sed, texmf.cnf): remove targets, we will juse use texmf.cnf.
	(install-data): texmf.cnf is in srcdir now.

	* texmf.in: remove.
	* texmf.cnf: new file, slave to Master/texmf/web2c/texmf.cnf.

2008-05-28  Karl Berry  <karl@tug.org>

	* mktexlsr: support --quiet/--silent.

2008-05-24  Karl Berry  <karl@tug.org>

	* kpathsea.texi (Specially-recognized files): new node to
	document the special filenames kpsewhich now knows about.

2008-05-23  Karl Berry  <karl@tug.org>

	* tex-file.c (init_path): do not free the translated env_value,
	else raw_path ends up pointing to that freed memory.

	* default.h: mention that result is always in new memory.
	* kpsewhich.c: recognize texmf.cnf as kpse_cnf_format.

	* kpsewhich.c (find_format): use the right formats for texmf.cnf,
	dvipdfmx.cfg, fmtutil.cnf, mktex.cnf, and updmap.cfg (as well as
	config.ps, earlier).  Same values as texmf/texconfig/tcfmgr.map.

2008-05-18  Karl Berry  <karl@tug.org>

	* mktexlsr (vc_dirs): ignore more than just .svn.
	Original suggestion from Michael Schutte, Debian bug 481371,
	16 May 2008 11:31:20.

2008-05-05  Karl Berry  <karl@tug.org>

	* recorder.h: declare our fn variables extern as they should be.
	* cnf.c: make the definitions here.

2008-05-04  Karl Berry  <karl@tug.org>

	* finish changing license notices to use FSF url instead of
	physical address, other minor consistency changes.

2008-05-01  Karl Berry  <karl@tug.org>

	* tex-file.c (ALT_SOURCES_SUFFIXES): new macro (.dtx, .ins).
	(kpse_init_format) <kpse_texsource_format>: use it.

2008-04-30  Karl Berry  <karl@tug.org>

	* kpsewhich.c (read_command_line): leave two spaces before alt
	suffixes, just so they can be distinguished.

	* tex-file.c (ALT_TEX_SUFFIXES): define this (rather belatedly)
	to check for .sty, .cls, etc.
	Rename other *_SUFFIXES to ALT_*_SUFFIXES.
	
	* kpathsea.texi (File lookup): Document this.
	* tex-file.c: (target_fontmaps, target_asis_name,
	target_suffixed_names): new fns.
	(kpse_find_file_generic): call them, respecting new cnf value
	try_std_extension_first.

2008-04-29  Karl Berry  <karl@tug.org>

	* Makefile.in (install-data): do not cd $(srcdir) in any rule,
	that fails when the install program is specified by a relative path.

2008-03-27  Karl Berry  <karl@tug.org>

	* tex-make.c: start "running" on a new line, tweak other msgs.

2008-03-07  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* kpsewhich.c (main): change type of value from string to
	const_string, to avoid warning.
	* progname.c (selfdir): change type of elt from string to
	const_string, to avoid warning.
	* xputenv.c: change type of saved_env from const_string to
	string, to avoid warning.

2008-03-06  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* access.c, readlink.c: removed `#include <stdio.h>' preceeding
	`#include <kpathsea/config.h>' (which in turn includes stdio.h).

	* xfseek.c, xftell.c: reverted to state before 2008-02-21.
	* xfseeko.c, xftello.c (both new): new functions using off_t
	instead of long, and fseeko instead of fseek.
	* lib.h: prototypes for xfseek, xfseeko, xftell, and xftello.
	* Makefile.in (objects): added xfseeko.lo and xftello.lo.

	* configure.in: construct package and (shared) library version
	from m4_define'd parts, subtitute KPSE_LT_VERS ...
	* Makefile.in ($(kpathsea)): ... here.

2008-03-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* common.ac: add AC_SYS_LARGEFILE and AC_FUNC_FSEEKO.

2008-03-02  Karl Berry  <karl@tug.org>

	* cnf.c (read_all_cnf): change warning text when texmf.cnf is not
	found to make it clear we are giving it, and keep it on one line.

2008-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* common.ac: replace the private macro KPSE_STRUCT_ST_MTIM
	by AC_CHECK_MEMBERS([struct stat.st_mtim]).

	* common.ac: use AC_CHECK_DECLS([strstr]) and ...
	* lib.h: ... replace `#ifndef HAVE_STRSTR' by
	`#if !HAVE_DECL_STRSTR'.

	* common.ac: Move AC_CONFIG_HEADERS from here ...
	* configure.in: ... to here and replace PACKAGE_... by
	KPSE_PACKAGE_... in c-auto.h, to avoid conflicts with other
	packages.

	* configure.in: use AH_TOP, AH_BOTTOM, and AC_DEFINE's third
	argument to provide autoheader templates ...
	* common.ac: m4 code to generate AC_DEFINE with a third argument
	for MAKE_..._BY_DEFAULT and set them to 0 or 1 ...
	* withenable.ac: use AC_DEFINE's third argument to provide
	autoheader templates ...
	* acconfig.h: ... removed.

2008-02-24  Martin Schr\"oder <martin@pdftex.org>

	* lib.h: systypes.h instead of c-std.h

2008-02-23  Martin Schr\"der <martin@pdftex.org>

	* lib.h: include c-std.h to get off_t from stdio.h

2008-02-21  Martin Schr\"oder <martin@pdftex.org>

	* lib.h, xfseek.c, xftell.c: LFS support: use off_t instead of long
	and fseeko instead of fseek

2008-02-14  Karl Berry  <karl@tug.org>

	* texmf.in (font_mem_size): increase to 3000000.
	(font_max): increase to 5000 (max_font_max increased in tex.ch).

2008-02-11  Karl Berry  <karl@tug.org>

	* install.texi: mention mktexfmt, other mktex updates.
	(Bug report from Ken Brooks, 03 Aug 2006 15:15:03.)

2008-02-08  Karl Berry  <karl@tug.org>

	* texmf.in: texlive2008 to match texmf/web2c/texmf.cnf.

2008-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Convert from autoconf-2.13 to autoconf-2.59+:
	* Makefile.in: Add @configure_input@ line.
	* aclocal.m4 (new): Generated (aclocal -I ../m4).
	* configure: Regenerated (autoconf).

2008-01-25  Karl Berry  <karl@tug.org>

	* variable.c (expand): do ~ expansion here too, for --expand-var,
	or mktexnam fails.
	Report from Werner Lemberg, 24 Jan 2008 02:19:49.
	* kpathsea.texi (Auxiliary tasks): document this.

2008-01-21  Karl Berry  <karl@tug.org>

	* kpsewhich.c, kpathsea.texi: document --all and --subdir.

	* db.c through tex-file.c: replace FSF physical address with url.

2008-01-18  Karl Berry  <karl@tug.org>

	* kpsewhich.c (subdir_match): XRETALLOC is a statement not a function.
	* pathsearch.c (search_list): remove unused variable uniq_list.

2008-01-16  Karl Berry  <karl@tug.org>

	* absolute.c through config.h: replace FSF physical address with url.

2008-01-15  Karl Berry  <karl@tug.org>

	* variable.c (kpse_var_value): only free if new memory.
	
	* tex-file.c (kpse_find_file_generic): call kpse_make_tex if the
	first element of the list is NULL, not the list itself.

2008-01-14  Karl Berry  <karl@tug.org>

	* variable.c (kpse_var_value): also do ~ expansion.
	* variable.h: adjust comments.
	* kpathsea.texi (Auxiliary tasks): document this.

	* tilde.c (HOMEVAR): new #define; "USERPROFILE" on Windows,
	"HOME" else.
	* tilde.h: adjust comments.
	* kpathsea.texi (Tilde expansion): document this.

2008-01-13  Karl Berry  <karl@tug.org>

	* remote.c-no: remove this stub.  Suggestion from Martin.

	* mktexpk: use $MT_MKTEXDIR in the error message if making
	PKDESTDIR fails, instead of hardwiring mktexdir.
	From Javier, 7 Jan 2008 11:33:18.

	* kpsewhich.c (subdir_match): protect again loc going infinitely
	negative.  Found by dak, 8 Jan 2008 14:51:08.

2008-01-05  Karl Berry  <karl@tug.org>

	* texmf.in (progname, engine): distinguish the unset values.
	(main_memory): increase to 3M.
	(font_mem_size): increase to 2.5M.
	(trie_size): increase to 400K.
	(save_size): increase to 50K.
	These size changes per gwtex (except a bit more).

2008-01-02  Karl Berry  <karl@tug.org>

	* c-std.h (ALLOC_RETURN_TYPE) [!STDC_HEADERS]: just use void in
	the unlikely event we're declaring *alloc ourselves.  No modern
	system uses char * for them.

2007-12-23  Karl Berry  <karl@tug.org>

	* kpsewhich.c (subdir_match): new fn.
	(lookup): call it if requested.
	(subdir_paths): new global.
	(read_command_line): new option --subdir.

2007-12-22  Karl Berry  <karl@tug.org>

	* kpsewhich.c (lookup): handle --all for regular lookups as well
		as user-specific paths.
	* pathsearch.c (search_list): uniqify list before returning.
	(kpse_path_search_list_generic): new fn.
	(kpse_all_path_search_list, kpse_path_search_list): rewrite to
		call ..._generic.
	* pathsearch.h (kpse_path_search_list_generic): declare it.
	* str-list.c (str_list_uniqify): new fn.
	* str-list.h (str_list_uniqify): declare it.
	* tex-file.c (kpse_find_file_generic): new name for kpse_find_file
		code, with addition of argument to find all.
	(kpse_find_file): rewrite to call ..._generic.
	* tex-file.h (kpse_find_file_generic): declare it.

2007-12-17  Karl Berry  <karl@tug.org>

	* kpathsea.texi (Path searching options): clarify --expand-path doc.

2007-12-15  Karl Berry  <karl@tug.org>

	* kpsewhich.c (read_command_line, USAGE): improve --version and
	--help messages.

2007-12-01  Karl Berry  <karl@tug.org>

	* texmf.in (MPMEMS, MFBASES, TEXFORMATS): switch to /$engine,
	to try to avoid finding a format for the wrong engine.
	From Akira.

2007-11-05  Karl Berry  <karl@tug.org>

	* texmf.in (allow_multiple_suffixes): unimplemented.
	Reported by Akira, 17 Feb 2007 15:44:39.

2007-10-24  Karl Berry  <karl@tug.org>

	* mktexpk (MODE) <720>: epscszz.  From Akira.
	(PKDESTDIR): Quote.  From Paul Vojta,
	tex-k 22 Oct 2007 17:38:56.

2007-09-11  Karl Berry  <karl@tug.org>

	* texmf.in (TRFONTS): don't recurse through /usr.
	Report from Michail Vidiassov, mp-i 10 Sep 2007 12:55:10.

2007-08-27  Karl Berry  <karl@tug.org>

	* fontmap.c (map_file_parse): free the original pointer, not the
	potentially moved one (after whitespace skipping).
	From: "George N. White III", 25 Jul 2007 11:27:12.

2007-07-29  Karl Berry  <karl@tug.org>

	* depend.mk: regenerate again.

2007-07-24  Karl Berry  <karl@tug.org>

	* recorder.h (kpse_input, kpse_output): use const_string as
	argument, not just char *, to avoid warning.

	* fontmap.c (map_file_parse): kpse_record_input if requested.
	From Akira, 23 Jul 2007 10:20:58 (original report from George
	White).

2007-07-15  Karl Berry  <karl@tug.org>

	* depend.mak: update.

2007-07-06  Karl Berry  <karl@tug.org>

	* tex-file.c (init_path) <kpse_lua_format>: let's make the format
	name be lua rather than luatex; otherwise kpsewhich -format=luatex
	finds kpse_tex_format sometimes, and it seems unnecessary to debug
	that just now.
	Also, set suffix_search_only=true.
	(LUA_SUFFIXES): put compiled suffixes first.

2007-07-05  Karl Berry  <karl@tug.org>

	* tex-file.h (kpse_file_format_type): define kpse_lua_format.
	* tex-file.c (LUA_ENVS, LUA_SUFFIXES): new macros
	(init_path): initialize kpse_lua_format.

	* texmf.in (LUAINPUTS): add $TEXINPUTS per Hans and Taco.

2007-06-14  Karl Berry  <karl@tug.org>

	* texmf.in: doc fix ({a,b} is not deprecated).

2007-05-19  Karl Berry  <karl@tug.org>

	* texmf.in (SYSTEXMF): add TEXMFSYSVAR (thread around 7mar07).

2007-05-05  Karl Berry  <karl@tug.org>

	* kpsewhich.c (find_format): hardware kpse_dvips_config_format for
	config.ps.

	* texmf.in (TEXMFMAIN, TEXMFDIST, TEXMFLOCAL, TEXMFSYSVAR,
	TEXMFSYSCONFIG, VARTEXFONTS, MIMELIBDIR, MAILCAPLIBDIR, TEXMFNCF):
	use @texmf@ etc. expansions so that (hopefully)
	--disable-multiplatform works again.  For TEXMFCNF, restore
	inclusion of $TEXMF/web2c, too.  Reported by Peter M.

2007-03-21  Karl Berry  <karl@tug.org>

	* install.texi (Shared library): remove mention of klibtool.

2007-03-09  Akira Kakuto  <kakuto@fsci.fuk.kindai.ac.jp>

	* tex-file.c (kpse_init_format): reduce to just .fmt;
	and allow both .t42 and .T42.

2007-02-26  Karl Berry  <karl@tug.org>

	* bugs.texi (Logging): mention pdftex -recorder and strace et al.
	(Bug checklist): Remove my old physical address.

2007-02-02  Karl Berry  <karl@tug.org>

	* texmf.in (OVFFONTS): search for vf.
	(OFMFONTS): explicitly adding TFMFONTS seems unnecessary.
	From Hans and Taco, 25 Jan 2007.

2006-12-30  Karl Berry  <karl@tug.org>

	* configure.in (KPSEVERSION): 3.5.6.

2006-12-29  Karl Berry  <karl@tug.org>

	* tex-make.c (set_maketex_mag): deleted wrong extra arg;
	do not generate args with spaces for mf.  From Akira.

2006-12-26  Karl Berry  <karl@tug.org>

	* tex-make.c: (set_maketex_mag): remove spurious extra argument
	  `r' to sprintf.
	(maketex): remove unused variable status.

2006-12-25  Karl Berry  <karl@tug.org>

	* mktexlsr: support --verbose.

2006-12-14  Karl Berry  <karl@tug.org>

	* texmf.in: unify with TL texmf.cnf to make only real differences
	show up.

2006-12-09  Karl Berry  <karl@tug.org>

	* c-memstr.h (strings.h): don't include if HAVE_STRING_H (as all
	systems should, these days).  Reported by vvv.

2006-07-15  Karl Berry  <karl@tug.org>

	* expand.c (kpse_expand_kpse_dot): omit empty path elements from
	TEXMFCNF, per http://bugs.debian.org/358330.  Patch from Julian
	Gilbey, tex-k/tex-live mail 27 Mar 2006 19:32:43 +0100.

2006-02-03  Karl Berry  <karl@tug.org>

	* mktexlsr: ignore .svn directories.

2005-08-13  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpsewhich.c: Update copyright message.

2005-08-03  Olaf Weber  <olaf@infovore.xs4all.nl>

	* README: Change references to COPYING and COPYING.LIB to GPL and
	LGPL.

	* kpathsea.texi: Change references to COPYING and COPYING.LIB to
	GPL and LGPL.

	* readlink.c: Correct license banner.

2005-07-27  Olaf Weber  <olaf@infovore.xs4all.nl>

	* Makefile.in: Add comment to start of kpathsea.h.

	* absolute.h, acconfig.h, c-ctype.h, c-dir.h, c-errno.h,
	c-fopen.h, c-limits.h, c-memstr.h, c-minmax.h, c-namemx.h,
	c-pathch.h, c-pathmx.h, c-proto.h, c-stat.h, c-std.h, c-unistd.h,
	c-vararg.h, cnf.h, concatn.h, config.h, db.h, debug.h, default.h,
	expand.h, fn.h, fontmap.h, getopt.h, hash.h, lib.h, line.h,
	magstep.h, pathsearch.h, proginit.h, progname.h, readable.h,
	str-list.h, str-llist.h, systypes.h, tex-file.h, tex-glyph.h,
	tex-hush.h, tex-make.h, tilde.h, truncate.h, types.h, variable.h,
	xopendir.h, xstat.h: Update copyright, license to LGPL 2.1.

2005-07-26  Olaf Weber  <olaf@infovore.xs4all.nl>

	* access.c, readlink.c: Update copyright, license text.

	* atou.c, absolute.c, cnf.c, concat.c, concat3.c, concatn.c, db.c,
	debug.c, dir.c, elt-dirs.c, expand.c, extend-fname.c, file-p.c,
	find-suffix.c, fn.c, fontmap.c, getopt.c, getopt1.c, hash.c,
	kdefault.c, kpsestat.c, kpsewhich.c, line.c, magstep.c,
	make-suffix.c, path-elt.c, pathsearch.c, proginit.c, progname.c,
	readable.c, rm-suffix.c, str-list.c, str-llist.c, strcasecmp.c,
	strstr.c, strtol.c, tex-file.c, tex-glyph.c, tex-hush.c,
	tex-make.c, tilde.c, truncate.c, uppercasify.c, variable.c,
	version.c, xbasename.c, xcalloc.c, xdirname.c, xfopen.c, xfseek.c,
	xftell.c, xgetcwd.c, xopendir.c, xrealloc.c, xstat.c, xstrdup.c:
	Update copyright, license to LGLP 2.1.

	* xmalloc.c, xrealloc.c: Update copyright, license to LGPL 2.1.
	Don't include stdio.h directly, it comes via config.h.

2005-07-25  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Increase trie_size.  Remove inaccurate comment about
	its limits.

	* common.ac: Remove the check for SMART_PUTENV, the xputenv code
	has been rewritten not to need this.

	* tex-file.c (kpse_init_format): Add uppercase versions of the
	.ttf and .ttc suffixes for truetype fonts.  Don't require a
	recognized suffix.

	* types.h: Don't #define true if it is already defined.  From Karl
	Berry.

	* mktexmf: Additional change for generating cbgreek from Thomas.

2005-07-12  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexmf: Patterns for cbgreek weren't inclusive enough.  From
	Thomas.

2005-07-10  Olaf Weber  <olaf@infovore.xs4all.nl>

	* tex-file.c (kpse_init_format): Revive .otf extension for
	kpse_opentype_format, requested by Akira Kakuto
	<kakuto@fsci.fuk.kindai.ac.jp>.

	* tex-make.c (maketex): Print the name of the failing command
	instead of always mktexpk.  From Karl berry
	<karl@freefriends.org>.

	* acconfig.h: Remove SMART_PUTENV code.

	* xputenv.c (xputenv): Replace with code that doesn't depend on
	the SMART_PUTENV check.
	(common.ac): Remove SMART_PUTENV check code.

2005-06-29  Olaf Weber  <olaf@infovore.xs4all.nl>

	* tex-make.c: Metafont doesn't like literals larger than anout
	4000, so try to avoid them when specifying magnifications.  From
	Werner Fink <werner@suse.de>.

	* hash.h [KPSE_DEBUG]: Add KPSEDLL to declaration of
	kpse_debug_hash_lookup_int.  From Jan Nieuwenhuizen
	<janneke@gnu.org>.

2005-06-26  Olaf Weber  <olaf@infovore.xs4all.nl>

	* xt.ac: Fully quote the arguments of AC_ARG_WITH.  From Peter
	Breitenlohner.

	* withenable.ac: Fully quote arguments of AC_ARG_WITH.  From Peter
	Breitenlohner.

	* configure.in: Syntax changes to match autoconf2.5x.  From Peter
	Breitenlohner.  Version to 3.5.5.

	* common.ac: Fully quote AC_CONFIG_HEADERS.  From Peter
	Breitenlohner.

	* Makefile.in: Replace ac_include with kpse_include.  From Peter
	Breitenlohner.

2005-06-22  Olaf Weber  <olaf@infovore.xs4all.nl>

	* common.ac: Add KPSE_STRUCT_ST_MTIM check.

	* expand.c: Update some comments.

	* pathsearch.c: Update some comments.

	* tex-file.c (init_path): Translate ';' to ':' in values we get
	from the environment if the latter is our env_sep.

	* cnf.c (do_line): Always translate ';' to ':' in config values if
	the latter is the env_sep.

	* kpathsea.texi: Remove ALLOW_SEMICOLON_IN_FILENAMES comment.

2005-06-21  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexlsr: Re-export PATH after changing it.  Some shells require
	this.  Reported by Albert Chin <china@thewrittenword.com>.

	* tex-file.c (kpse_find_file): Call kpse_expand() to do tilde and
	variable expansion, which kpse_path_search_list() doesn't do, but
	kpse_path_search() did.  Re-enabling this was requested by several
	people, including Oliver Grewe <olligrewe@nexgo.de>.

	* mktexpk, bugs.texi: From Karl Berry: "Try to be more informative
	when mktexpk can't guess the mode; reported by Knuth in tex-k
	mail, 26 Apr 2005 18:07:20 -0400."

2005-04-10  Olaf Weber  <olaf@infovore.xs4all.nl>

	* tilde.c (kpse_tilde_expand): Slightly simplify code.

	* tilde.c (kpse_tilde_expand): Account for the possibility that
	we're fed an argument starting with "!!~".  Problem reported by
	DEK.

2005-03-07  Olaf Weber  <olaf@infovore.xs4all.nl>

	* install.texi: Document texmfvar and USE_TEXMFVAR.  From Thomas.

	* mktexdir: Break out of loop on failure of mkdir.  Last-minute
	change for teTeX 3.0 from Thomas.

2005-02-06  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpsereadlink.man: Correct banner: READLINK -> KPSEREADLINK.

2005-02-05  Olaf Weber  <olaf@infovore.xs4all.nl>

	* Makefile.in (texmf.sed): With TEXMFSYSVAR and TEXMFSYSCONFIG
	added, there's even more potential damage to clean up.
	(uninstall-data): Try to cleanly uninstall the info document.

	* texmf.in: Add TEXMFSYSVAR, TEXMFSYSCONFIG for teTeX 3.0.  From
	Thomas.

2005-01-25  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexmf: Don't redirect output of cd, Ultrix doesn't like that.

2005-01-21  Olaf Weber  <olaf@infovore.xs4all.nl>

	* Makefile.in: Change POSTINSTALL to POST_INSTALL.

	* mktex.opt: Add texmfvar to list of allowed feature options.

	* mktexlsr: Make getting the list of directories from $TEXMFDBS
	more robust.  From Thomas.

	* kpsereadlink.man, kpsestat.man, kpsewhich.man, mktexlsr.man,
	mktexmf.man, mktextfm.man, mktexpk.man, kpseaccess.man: Man page
	corrections from Eric S. Raymond <esr@thyrsus.com>.

2005-01-07  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexpk: Add guess ultre for 1200 dpi.  This is a fairly neutral
	mode, also useful for pdftex.  From Karl Berry.

	* mktexlsr: Make sorting the texmf trees more robust.  From
	Thomas.

2004-12-29  Olaf Weber  <olaf@infovore.xs4all.nl>

	* configure.in: Version 3.5.4.

	* mktexlsr: Remove duplicate trees.  From Thomas.

	* mktexdir: Remove superfluous cd.  From Thomas.

	* withenable.ac: Sync with Thomas' version, removes
	--enabled-multiplatform code.

2004-12-28  Olaf Weber  <olaf@infovore.xs4all.nl>

	* Makefile.in (texmf.sed): New variables were added named TEXMF*.
	The cleanup code needed additional fixes for this.  From Thomas
	Esser.

	* mktexnam.opt: Improve comment.

	* mktexnam: Handle texmfvar option, which directs all writes into
	the system trees to the TEXMFVAR tree, with the usual caveats.

	* mktexnam.opt: Add texmfvar option.

	* texmf.in: Changes to bring it close to teTeX 3.0.

2004-12-20  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: For XeTeX: TEXINPUTS.xetex, TEXINPUTS.xelatex,
	OTFFONTS.

2004-12-19  Olaf Weber  <olaf@infovore.xs4all.nl>

	* xt.ac: Mark --with-x-toolkit as obsolete.

	* Makefile.in [KPATHSEA_CC]: Don't quote $(CC), as it prevents
	libtool from functioning properly if $(CC) contains options in
	addition to the compiler name.  From Harald Koenig
	<koenig@science-computing.de>.

	* mktexpk: Add guesses for dpi 360 and 720.  From Frank K\"uster
	<frank@kuesterei.ch> (Debian maintainer).

	* mktexlsr: Write all regular progress messages to stderr, instead
	of some to stdout.

	* mktexdir: Handle directories with spaces in the names.

	* mktexupd: If we've called mktexlsr, there is no need to do
	anything else, so exit immediately.  From Thomas.

2004-11-28  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Add default entries for $progname and $engine, so we
	don't expand these to empty if the file is used by pre 3.5.3
	implementations.

	* mktexmf: Extend the pattern for the cbgreek fonts.  From Hartmut
	Henkel <hartmut_henkel@gmx.de>.

2004-10-05  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Add TEXINPUTS.lamed (Aleph's version of lambda) and
	TEXINPUTS.uft8mex (utf8 variation of mex).

2004-08-24  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktex.opt: Correct syntax error.  Reported by Staszek
	Wawrykiewicz <staw@gust.org.pl>.

2004-08-23  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: The TEXINPUTS.pdftexinfo entry in obsolete, and will
	be removed in the future.  Alert by Vladimir Volovich
	<vvv@vsu.ru>.

	* tex-file.c (kpse_find_file): Make debug message conditional
	KPSE_DEBUG_SEARCH being set.

	* kpsewhich.c: Remove spurious space in usage message.

	* tex-file.c (kpse_find_file): Add debug message to clarify what
	the library is doing when.  From Karl Berry <karl@tug.org>.
	
	* tex-file.c: Add TEXFONTS to the environment variables for all
	kinds of font-related stuff.  This means you can, if you want to,
	just dump all font-related files in a single directory and set a
	single variable to point to it.  It doesn't have a default.
	Suggested by Karl Berry, Hans Hagen, Akira Kakuto.
	
2004-08-17  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexlsr, mktex.opt: Use "test ... || test ..." instead of
	"test ... -o ...".

2004-08-06  Olaf Weber  <olaf@infovore.xs4all.nl>

	* xdirname.c: Cygwin also understands UNC names.  From Jan
	Nieuwenhuizen <janneke@gnu.org>.

	* config.h: Do not define DOSISH for Cygwin.  After Jan
	Nieuwenhuizen <janneke@gnu.org>.

	* mktex.opt: Refine the test of $COMPSEC a bit, to accomodate
	Cygwin.  After Jan Nieuwenhuizen <janneke@gnu.org>.

	* mktexlsr: Refine the test for $COMSPEC a bit, to accomodate
	Cygwin.  After Jan Nieuwenhuizen <janneke@gnu.org>.

	* Makefile.in: Define MAKE_KPSE_DLL when compiling the library to
	support ugly windows declspec stuff.  From Jan Nieuwenhuizen
	<janneke@gnu.org>.

	* c-proto.h: Clean up the defines for KPSEDLL a bit.  From Jan
	Nieuwenhuizen <janneke@gnu.org>.

	* getopt.h: Clean up defines for KPSEDLL a bit.  From Jan
	Nieuwenhuizen <janneke@gnu.org>.

2004-08-01  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Undoing some simplifications of the search paths, in
	particular the texmf/{engine1,engine2,...} style paths are back to
	accomodate older texmf trees.

2004-07-23  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Adapt TRFONTS to Linux groff path, which is the most
	useful variant these days.

2004-07-21  Olaf Weber  <olaf@infovore.xs4all.nl>

	* Makefile.in (uninstall-exec): Add removal rules for libkpathsea
	and the programs other than kpsewhich.

	* kpathsea.texi: Push copyright to bottom of page.

	* texmf.in: Add paths for pdfxtex, pdfxlatex.  After Peter
	Breitenlohner <peb@mppmu.mpg.de>.

	* texmf.in: Updates/simplifications to paths, from Thomas.

2004-07-19  Olaf Weber  <olaf@infovore.xs4all.nl>

	* db.c (kpse_db_search_list): Add cast to suppress warning about
	discarding "const".

2004-07-03  Olaf Weber  <olaf@infovore.xs4all.nl>

	* common.ac: No m4 quoting needed in the KPSE_CROSS_BUILD_VAR
	calls.

	* common.ac: Add some invocations of KPSE_CROSS_BUILD_VAR matching
	usage in ../make/cross.mk.

	* mktextfm: Use the same code as mktexpk for ignoring metafont
	errors, to ensure that mktextfm and mktexpk ignore identical sets
	of metafont errors.

2004-06-28  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpathsea.texi: Use @copying, so the license ends up in the HTML
	output.  Use @ifnottex instead of @ifinfo, so that makeinfo --html
	works without further effort.  From Karl Berry.

	* install.texi: Name of bash manual is now "bash".  From Karl
	Berry.

2004-06-22  Olaf Weber  <olaf@infovore.xs4all.nl>

	* c-memstr.h [HAVE_STRINGS_H]: Include strings.h if it is
	available, as opposed to just doing if HAVE_STRING_H is not
	defined.  Otherwise we give conflicting information whether
	certain old-style functions like index, rindex are defined.
	* common.ac: Also check for strings.h.

	* c-memstr.h: Add definitions for index and rindex in terms of
	strchr and strrchr, as we've got some old code in TeX-live that
	needs this on some platforms.

2004-06-15  Olaf Weber  <olaf@infovore.xs4all.nl>

	* install.texi: Karl Berry pointed out that GNU fileutils is now
	GNU coreutils.

2004-06-14  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpathsea.texi: Make it more obvious that applications will often
	just want to use <kpathsea/kpathsea.h> rather than pick and choose
	headers.

2004-06-11  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpsewhich.c: Update copyright dates.

2004-05-28  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexlsr: Rename readlink to kpsereadlink to avoid name clash.

	* Makefile.in: Rename readlink to kpsereadlink to avoid name
	clash.

2004-05-26  Olaf Weber  <olaf@infovore.xs4all.nl>

	* tex-file.c: Make .fmt the only "true" suffix for format files,
	and add all other suffixes to the list of alternates.  In the next
	version, these alternates will be dropped entirely.

2004-05-11  Olaf Weber  <olaf@infovore.xs4all.nl>

	* Makefile.in (mostlyclean): access -> kpseaccess.  From Thomas.

2004-05-08  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexlsr: Widen the matches for the lsR-pattern, so we omit the
	temporary directory we used.

2004-05-07  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Use $engine in some paths.

	* kpathsea.texi: Date is May 2004.

	* kpathsea.texi: Document --engine.

	* kpsewhich.man: Document -engine.

	* kpsewhich.c: Implement -engine option.

2004-04-24  Olaf Weber  <olaf@infovore.xs4all.nl>

	* cnf.c (read_all_cnf): Fix memory leak.

	* mktexupd: Fix logic error.  Found by Thomas Esser.

	* tex-file.c (kpse_init_fallback_resolutions): Fix memory leak.

2004-04-23  Olaf Weber  <olaf@infovore.xs4all.nl>

	* db.c (kpse_db_search_list): Allow matches like base/plain.tex
	when a db is used.  This was a regression introduced by the switch
	to kpse_db_search_list.  Like the original code, this only works
	with '/' used for dirsep.  Reported by Wlodzimierz Bzyl
	<matwb@univ.gda.pl>.

2004-04-17  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpsewhich.c (lookup): Partial implementation of -all option.
	Works only in combination with the -path option.
	* tex-file.c: Add to list of suffixes that may be used for format
	files.

	* kpathsea.texi: Document -var-value option kpsewhich.

	* kpsewhich.man: Document -var-value.

	* kpsewhich.c: Add -var-value option.  Change loop that checks for
	a kpse_file_format_type to check kpse_format_fmt last.

	* texmf.in: Add TEXINPUTS.aleph, TEXINPUTS.alambda.

2004-04-01  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexpk: Use dpdfezzz if given 8000 for BDPI.  Apparently this
	is what -Ppdf ends up giving the script.

2004-03-26  Olaf Weber  <olaf@infovore.xs4all.nl>

	* Makefile.in (install): access -> kpseaccess

2004-03-23  Olaf Weber  <olaf@infovore.xs4all.nl>

	* db.c (kpse_init_db): Look for both "ls-R" and "ls-r" files.
	Same contents, but when working cross-platform the all-lowercase
	name is easier to work with.

	* tex-file.c: Add .afmt as recognized suffix to kpse_fmt_format
	(for Aleph).  Add ls-r as recognized suffix to kpse_db_format.

	* mktexlsr: Allow both ls-R and ls-r as names for an existing
	directory tree index file.  Always create ls-R.

	* mktexupd: Check for both ls-R and ls-r.

	* pathsearch.h (kpse_all_path_search_list): New function.  Like
	kpse_path_search_list, with must_exist true, but returns a list of
	filenames instead of the first hit.

	* pathsearch.c (kpse_all_path_search_list): New function.  Like
	kpse_path_search_list, with must_exist true, but returns a list of
	filenames instead of the first hit.

	* tex-make.c [WIN32] (maketex): Code to print error message for
	ERROR_BROKEN_PIPE didn't match the format.

	* mktexpk: Allow 'angle(0,0)' errors without aborting.  From
	Andreas Degert <ad@papyrus-gmbh.de>.

	* unixtex.texi: Update from Karl Berry.

2004-03-21  Olaf Weber  <olaf@infovore.xs4all.nl>

	* withenable.ac: Make the warnings more obvious if the search for
	the texmf tree fails.  Also try to fall back on kpsewhich if we
	fail to find anything.  A simplified version of code proposed by
	Stefan Ulrich <stefan.ulrich@zen.co.uk> for xdvik.

2004-03-16  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Add file_line_error_style variable, default to false.

2004-02-26  Olaf Weber  <olaf@infovore.xs4all.nl>

	* tex-make.c (maketex): Clean up unused variables.

	* texmf.in: Update link in comment for TEXFONTMAPS.

2004-02-25  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexnam: Use kpseaccess instead of access.

	* mktexlsr: Use kpseaccess instead of access.

	* Makefile.in: Rename the access executable to kpseaccess, as the
	old name tended to interfere.

	* kpseaccess.man: Formerly known as access.man.

	* mktexlsr: Only check for magic string in ls-R file if the file
	size is larger than 0.  Assume that a 0-length ls-R can be
	overwritten without penalty.

	* mktexlsr: Use a more accurate method to ensure that directory
	names, and only directory names, start with ./ in the ls-R file.

2004-02-16  Olaf Weber  <olaf@infovore.xs4all.nl>

	* tex-file.c: Rename kpse_script_format to
	kpse_texmfscripts_format.

	* tex-file.h: Rename kpse_script_format to
	kpse_texmfscripts_format.

2004-02-15  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexpk: psfonts.map and ps2pk.map now found through the map
	format.

	* kpsewhich.c (find_format): psfonts.map and pdftex.map are no
	longer special case, pdftex.cfg is a special case now.

	* kpathsea.texi: Update for new formats (misc fonts, web, cweb,
	enc, cmap, sfd, opentype fonts, pdftex config, lig files,
	texmfscripts).

	* tex-file.c: Add kpse_lig_format and kpse_script_format.

	* tex-file.h: Add kpse_lig_format and kpse_script_format.

	* texmf.in: Add LIGFONTS and TEXMFSCRIPTS.

2004-02-10  Olaf Weber  <olaf@infovore.xs4all.nl>

	* db.c (kpse_db_search_list): An absolute or explicit relative
	name that makes it here would not be found anyway, so test for it
	and skip.

	* pathsearch.c (search_list): If we're given only absolute or
	relative filenames, then there is no need to dig into the database
	or filesystem.
	(dir_list_search_list): Skip any absolute filenames that make it here.

2004-02-08  Olaf Weber  <olaf@infovore.xs4all.nl>

	* Makefile.in (stamp-paths): Add TEXMFDIST.  Suggested by Thomas.

	* texmf.in: Add TEXMFDIST, suggested by Thomas.

2004-01-09  Olaf Weber  <olaf@infovore.xs4all.nl>

	* tex-file.c: Add kpse_pdftex_config_format.  From Thomas.

	* tex-file.h: Add kpse_pdftex_config_format.  From Thomas.

2004-01-04  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Modifications to several paths suggested by Thomas.

2003-12-17  Olaf Weber  <olaf@infovore.xs4all.nl>

	* tex-make.c (kpse_make_tex): Allow '+' is font names as well.
	Reported by Hartmut Henkel <hartmut_henkel@gmx.de>.

2003-12-14  Olaf Weber  <olaf@infovore.xs4all.nl>

	* progname.c: Set "progname" in the environment.

	* tex-file.h: Add new formats: kpse_enc_format, kpse_cmap_format,
	kpse_sfd_format, kpse_opentype_format.  Requested by Thomas.

	* tex-file.c: Add new formats: kpse_enc_format, kpse_cmap_format,
	kpse_sfd_format, kpse_opentype_format.  Requested by Thomas.

2003-02-27  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexmf: csso12[0-5][0-9] are from CJK package; unsupported by
	mktexmf.  Fix by Werner Lemberg <wl@gnu.org>.

2003-02-19  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpathsea.texi: Version 3.5.2.

	* configure.in: Version 3.5.2.

	* cnf.c (do_line): KISS: Use IS_ENV_SEP(':') to check whether we
	might want to replace ';' with ':' in paths instead of trying to
	figure whether 'unix' should have been defined.

	* db.c (kpse_db_search_list): Change fix to prevent "re-use" of
	aliases for the sake of clearer code.

	* db.c: Set aliases to NULL after freeing it, so we don't try to
	realloc the same value as well.  Reported by Thomas Esser
	<te@dbs.uni-hannover.de>.

2003-02-17  Olaf Weber  <olaf@infovore.xs4all.nl>

	* configure.in: Version 3.5.1.

	* kpathsea.texi: Version 3.5.1.

2003-02-15  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpathsea.texi: Version 3.5.0.

	* configure.in: Version 3.5.0.

	* kpathsea.version: removed.

	* Makefile.in (dist): Remove kpathsea.version.

	* common.ac: From klibtool to libtool.  Based on patches from
	Albert Chin-A-Young <china@thewrittenword.com>.

	* Makefile.in: From klibtool to libtool.  Based on patches from
	Albert Chin-A-Young <china@thewrittenword.com>.

	* texmf.in: Add TEXINPUTS.olatex path.

	* tex-file.c: Add additional suffixes for formats.

	* withenable.ac: When texmfmain is derived from ${prefix}, don't
	expand ${prefix}.

2003-02-11  Olaf Weber  <olaf@infovore.xs4all.nl>

	* pathsearch.c (search_list): Add some grotty code for the
	searches of absolute pathnames.  (Grotty: if _any_ of the given
	pathnames is absolute or explicit relative, _and_ it is found, we
	stop searching then and there.)  Found by Peter Breitenlohner
	<peb@mppmu.mpg.de>.

2003-02-07  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpathsea.version: Version 3.4.6

	* kpathsea.texi: Version 3.4.6.

	* configure.in: Version 3.4.6.

	* texmf.in: Additions for e-Omega.

	* tex-file.c (kpse_find_file): Use kpse_path_search_list for
	search.

	* pathsearch.h (kpse_path_search_list): New function.

	* pathsearch.c (dir_list_search_list): New function.
	(search_list): New function.
	(kpse_path_search_list): New function: search for a list of names,
	look for all names in the list in each directory before moving to
	the next directory.

	* db.h (kpse_db_search_list): New function.

	* db.c (kpse_db_search_list): New function.

2003-01-31  Olaf Weber  <olaf@infovore.xs4all.nl>

	* lib.h: Add include of c-proto.h.  Suggested by Peter
	Breitenlohner.

2003-01-29  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpathsea.version: Version 3.4.5.

	* kpathsea.texi: Version 3.4.5.

	* configure.in: Version 3.4.5.

2003-01-24  Olaf Weber  <olaf@infovore.xs4all.nl>

	* config.h [KPATHSEA]: 33 -> 34.
	[DEV_NULL]: Added, "/dev/null" on unix, "NUL" on DOSISH.

	* texmf.in [TEXCONFIG]: Remove "." from path for security reasons.

2003-01-16  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpathsea.texi: Version 3.4.4.

	* configure.in: Version 3.4.4.

	* kpathsea.version: Version 3.4.4.

	* unixtex.texi: Updates.

2003-01-14  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Uncomment definitions for VARTEXMF, HOMETEXMF.  Change
	TEXMF itself to be same as teTeX.  Move '//' outside braces in
	XDVIINPUTS and DVIPDFMINPUTS -- not strictly needed, but
	consistent with how we do it everywhere else.  Comment out (but
	otherwise retain) KPSE_DOT.

2003-01-11  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpathsea.version: Version 3.4.3.

	* kpathsea.texi: Version 3.4.3.

	* configure.in: Version 3.4.3.

2003-01-08  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Add TEXPSHEADERS.dvipdfm, from Thomas.

2002-12-25  Olaf Weber  <olaf@infovore.xs4all.nl>

	* tex-file.c (kpse_init_format): Add ".web" to the suffixes
	recognized for cweb.

2002-12-23  Olaf Weber  <olaf@infovore.xs4all.nl>

	* dir.c (dir_links): Argh.  Error while merging stuff from
	Fabrice.

	* kpathsea.version: Version 3.4.2.

	* configure.in: Version 3.4.2.

	* kpathsea.texi: Version 3.4.2.

	* tex-make.c (maketex) [WIN32]: Add program calling
	implementation.  From Fabrice Popineau
	<Fabrice.Popineau@supelec.fr>.

	* Makefile.in: Test for kpathsea.info explicitly in current
	directory. Some makes prepend the source dir path otherwise, which
	would cause installation of the info files to fail.  From Thomas
	Esser <te@dbs.uni-hannover.de>.

2002-12-20  Olaf Weber  <olaf@infovore.xs4all.nl>

	* configure.in: Version 3.4.1.

	* kpathsea.texi: Version 3.4.1.

	* kpathsea.version: Version 3.4.1.

	* tex-file.c (add_suffixes): Removed function.
	(SUFFIXES, ALT_SUFFIXES): Use kpse_set_suffixes instead of
	add_suffixes.

	* tex-make.c (kpse_make_tex): On second thought, we should not get
	dirseps in these names, ever.

2002-12-17  Olaf Weber  <olaf@infovore.xs4all.nl>

	* tex-make.c (maketex): Be sure to set ret to NULL if there's
	nothing to return.  From Akira Kakuto
	<kakuto@fsci.fuk.kindai.ac.jp>.

2002-12-15  Olaf Weber  <olaf@infovore.xs4all.nl>

	* tex-file.c: Properly terminate MKTEXPK_ARGS with a NULL.
	Spotted by Akira Kakuto <kakuto@fsci.fuk.kindai.ac.jp>.

2002-12-14  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpathsea.texi: Version 3.4.0.

	* kpathsea.version: Version 3.4.0.

	* configure.in: Version 3.4.0.

	* texmf.in: Typo in TEXINPUTS.pdfemex-pl.

	* xbasename.c (xbasename): Remove redundant call to strlen.  From
	Fabrice.

	* tex-make.c (misstex): Update to print command line correctly.
	(maketex): Handle argv style array for command.  For unix case, call
	fork and exec directly instead of using popen.
	(kpse_make_tex): Handle argv style array for defining a command.  Be
	very restrictive about what a name passed may contain -- this may
	well break somethings.

	* tex-file.h (kpse_format_info): Instead of having programs args
	be a single string, use an argv style array.

	* tex-file.c (init_maketex): Change to store command line as an
	array of arguments.
	[MKTEXPK_ARGS]: Define list of strings instead of single string.
	(kpse_init_format): Update debugging code to match new
	kpse_format_info structure.

	* progname.c [WIN32]: Updates from Fabrice.

	* pathsearch.h: Typo in comment.

	* pathsearch.c: Typo in comment.

	* kpsewhich.c: Correct copyright notice.

	* hash.c (hash_normalized): New function.
	(hash_insert_normalized): New function.
	[MONOCASE_FILENAMES]: Normalize to lower case, not upper case, because
	that's what in the ls-R files we distribute.

	* fontmap.c (map_file_parse): Use hash_insert_normalized.  Again,
	we assume the contents of font maps are already normalized.

	* expand.c (kpse_expand_kpse_dot): Typo in comment.
	(brace_expand): Clarify the comment.

	* dir.c (dir_p) [WIN32]: safe_beg_of_path -> kpse_normalize_path.
	From Fabrice.
	(dir_links) [WIN32]: Changes to code that stores and retrieves
	integers from pointers.

	* db.c (db_build): Call hash_insert_normalized -- names from the
	ls-R file should be normalized already.
	(alias_build): Call hash_insert_normalized -- names from the alias
	file should be normalized already.
	(kpse_db_insert): Note that we call hash_insert here deliberately.

	* hash.h (hash_insert_normalized): New function.

	* concat.c (concat): Start strcat at the end of the previous
	strcpy.

	* absolute.c (kpse_absolute_p) [WIN32]: Remove explicit test for
	UNC names, they're already covered by the test for names starting
	with IS_DIR_SEP.
	[TEST] (main): Added, from Fabrice.

2002-11-13  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpathsea.version: To 3.3.11.

	* kpathsea.texi: To 3.3.11.

	* configure.in: To 3.3.11.

2002-11-12  Olaf Weber  <olaf@infovore.xs4all.nl>

	* cnf.c (do_line): First check whether len-1 exists, then access
	it, rather than the other way round.  Spotted by Joern Clausen
	<joern@techfak.uni-bielefeld.de>.

	* texmf.in: obj_tab_size.context is now redundant.  From Thomas.

	* mktextfm: Use the same detection mechanism for mf-nowin as
	mktexpk.  From Thomas.

2002-11-11  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpathsea.version: Version 3.3.10.

	* kpathsea.texi: Version 3.3.10.

	* configure.in: Version 3.3.10.

	* texmf.in: Disable parse_first_line by default (sorry).  Enlarge
	a number of constants in general, as opposed to defining lots of
	context-specific versions.

	* progname.c (remove_dots): We did not correctly handle paths with
	../.. in them.  There is still one corner case left, if the path
	would try to go to the "parent" of the root directory.

	* mktextfm: Test for mf-nowin in a shubshell.  Otherwise error
	messages could end up being printed if mf-nowin does not exist.

	* mktexpk: Test for mf-nowin in a subshell.

2002-10-25  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kdefault.c (kpse_expand_default): Simplify the life of the
	callers by always returning allocated memory, so the returned
	string can be freed.  John W. Eaton <jwe@bevo.che.wisc.edu>
	requested this.

2002-10-22  Olaf Weber  <olaf@infovore.xs4all.nl>

	* withenable.ac: Correct handling of mktexfmt option.

	* tex-file.c: Add .oft to regcognized suffixes for tex_format.

	* mktexupd: Correct Thomas' email address.

	* mktextfm: Correct Thomas' email address.

	* mktexpk: Correct Thomas' email address.

	* mktexnam.opt: Correct Thomas' email address.

	* mktexnam: Correct Thomas' email address.

	* mktexmf: Correct Thomas' email address.

	* mktexlsr: Correct Thomas' email address.

	* mktexdir.opt: Correct Thomas' email address.

	* mktexdir: Correct Thomas' email address.

	* mktex.opt: Correct Thomas' email address.

	* kpathsea.version: Update to 3.3.9.

	* kpathsea.texi: Update to 3.3.9.

	* configure.in: Update to 3.3.9.

	* common.ac: Correct handling of mktexmft option.

2002-10-16  Olaf Weber  <olaf@infovore.xs4all.nl>

	* tex-make.c (kpse_make_tex): Move the test for problematic
	filenames so we only do this when we're actually willing to make a
	new file.

2002-10-11  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpathsea.texi: Update date/version to 3.3.8.

	* NEWS: Update for 3.3.8.

	* configure.in: Version 3.3.8.

	* kpathsea.version: Version 3.3.8.

	* Makefile.in: Remove install rules for mktexfmt, as it is not a
	separate file.

2002-10-06  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Expand main_memory (again).

	* xstat.c: Remove lstat() declaration.

	* variable.c (kpse_var_value): Check for NAME.progname in the
	environment before checking for NAME_progname.  Both can occur,
	even on UNIX systems.

	* tex-file.c (init_path): We need to check PATH.progname,
	PATH_programe, and PATH in the environment.  PATH.progname is the
	"logical" way to set the name on Windows systems, and can even
	occur on UNIX systems if env(1) is used to set the environment
	variables.

	* withenable.ac: Add --with-mktexfmt-default option.  After
	Fabrice Popineau.  He used --with-mkfmt-default, but this was
	changed to match the other options.

	* texmf.in: Add XDVIINPUTS, TEXINPUTS.pdfamstex.  Modiy definition
	of TEXMFLOCAL to match Thomas', add MKTEXFMT.  All part of the
	TeXlive merge.

	* tex-make.c (kpse_make_tex): Complain if a number of problematic
	characters are found in the requested font name -- this works in
	combination with a check in maketex() to prevent misuse of the
	system() call that starts the mktex* scripts.

	* tex-file.c (kpse_init_format): Support for mktexfmt, from
	Fabrice Popineau.

	* mktexupd: Delete CR characters at the end-of-line before doing
	the compare.  Yet another hack for windows/unix cross-platform
	support.

	* mktextfm: TeXlive merge: support for mf-nowin.

	* mktexpk: TeXlive merge: considerably reorganized to support use
	of mf-nowin.

	* mktexnam: Additional definitions for the LH fonts.  TeXlive
	merge.

	* mktexmf: Additional definitions for the LH fonts.  TeXlive
	merge.

	* common.ac: Add support for MAKE_TEX_FMT.  From Fabrice Popineau.

	* acconfig.h [MAKE_TEX_FMT_BY_DEFAULT] Added. After Fabrice
	Popineau.

2002-07-16  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpsewhich.c (find_format): Remove special case for pdftex.cfg.
	Not needed.

	* kpsewhich.c (find_format): Hard-code format types for pdftex.cnf
	and pdftex.map.

2002-07-08  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktex.opt: Limit permissions on $TEMPDIR.

	* mktexlsr: Limit permissions on tmp directory.

2002-06-04  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Remove setting of src_specials: it will be ignored
	anyway as we'll only allow it to be set from the command line.

2002-05-28  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexdir: Guard $KPSE_DOT with quotes.  From Emmanuel_Thom\'e
	<thome@lix.polytechnique.fr>.

2002-04-01  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexlsr: Strip a trailing CR before testing the first line of
	an ls-R file.  Needed for interoperability with Windows (sigh).

	* tex-make.c (maketex): Use a literal "r" in the popen command, as
	(under UNIX) it tends not to understand "rb", and we're generating
	text anyway.

2001-11-27  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpathsea.texi: Version 3.3.7.

	* configure.in: Version 3.3.7.

2001-11-25  Olaf Weber  <olaf@infovore.xs4all.nl>

	* types.h: Define boolean as int whenever we can.  This makes the
	option-handling code correct (where pointer to int and pointer to
	boolean need to be the same type).

	* install.texi: Update totals to (hopefully) more accurate values.

2001-11-19  Olaf Weber  <olaf@infovore.xs4all.nl>

	* line.c (read_line): Add prototype.

2001-11-18  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpathsea.version: Version 3.3.6.

	* kpathsea.texi: Version 3.3.6.

	* configure.in: Version 3.3.6.

	* xgetcwd.c: Changes to keep C++ compilers from choking.

	* xdirname.c: Changes to keep C++ compilers from choking.

	* variable.c: Changes to keep C++ compilers from choking.

	* str-list.c: Changes to keep C++ compilers from choking.

	* readable.c: Add pathsearch.h to included headers, for
	kpse_normalize_path.

	* pathsearch.c: Changes to keep C++ compilers from choking.

	* path-elt.c: Changes to keep C++ compilers from choking.

	* make-suffix.c: Changes to keep C++ compilers from choking.

	* line.c: Changes to keep C++ compilers from choking.

	* kpsewhich.c: Changes to keep C++ compilers from choking.

	* kdefault.c: Changes to keep C++ compilers from choking.

	* fontmap.c: Changes to keep C++ compilers from choking.

	* fn.h (fn_grow): Second argument is a const_string, not a generic
	address.

	* fn.c (fn_grow): Second argument is a const_string, not generic
	address.

	* expand.c: Add a few casts to ensure a C++ compiler wouldn't
	choke.

	* dir.c (dir_links): Replace a conditional expression with an
	if-then version.

	* db.c: Add a few casts, rename 'try', all to ensure a C++
	compiler wouldn't choke.

	* cnf.c: Add a few casts, rename 'try', all to ensure a C++
	compiler wouldn't choke.

	* c-proto.h: Addtional P*H and P*C macros for functions with up to
	17 arguments.

2001-11-14  Olaf Weber  <olaf@infovore.xs4all.nl>

	* readlink.c (main): Add prototype.

	* kpsewhich.c (main): Add prototype.

	* kpsestat.c (main): Add protype.

	* c-pathch.h [WIN32] (IS_UNC_NAME): An unc name can be //<digit>
	as well as //<letter>.

	* access.c (main): Prototype.

2001-11-10  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpathsea.version: Version 3.3.5.

	* kpathsea.texi: Version, date.

	* configure.in: Version 3.3.5.

	* texmf.in: Additional entries for mex-pl, platex-pl, pdfplatex,
	pdfmex-pl, pdfemex, pdfemex-pl.  As usual, ConTeXt wants more
	space.

	* mktexnam: First set defaults, then modify for explicit
	destination, not the reverse.  From Thomas.

	* mktex.opt: Preserve return code over trap.  From Thomas.

	* kpsewhich.man: Typo.

2001-10-30  Olaf Weber  <olaf@infovore.xs4all.nl>

	* configure.in: To 3.3.4.

	* kpathsea.version: To 3.3.4.

	* mktexnam.opt: Robustness fix for handling of NAME.  Minor
	changes in the handling of the defaults when a name isn't found in
	the supplier or typeface maps.

	* tex-file.c: Add ".ch" as alternate suffix for kpse_web_format
	and kpse_cweb_format.

	* readable.c [main]: Call kpse_normalize_path.

	* progname.c [WIN32]: Update from Fabrice.

	* pathsearch.h [WIN32]: Remove prototype for safe_beg_of_path.
	Add prototype for kpse_normalize_path.

	* pathsearch.c (path_search) [WIN32]: Remove call to
	safe_beg_of_path.
	(path_search): Add call to kpse_normalize_path.

	* expand.c (kpse_path_expand): Don't strip devices and such here,
	as we're doing that in kpse_element_dirs anyway.

	* elt-dirs.c [WIN32]: Remove safe_beg_of_path.
	(kpse_normalize_path): Replaces safe_beg_of_path, but is defined on
	all architectures.

	* dir.c [WIN32]: Remove safe_beg_of_path prototype here.

	* common.ac: Test whether libm exists.  If it does, we
	unconditionally link with it, which is probably wrong.

	* cnf.c [__NetBSD__]: Define unix.

	* c-pathch.h [IS_UNC_NAME]: Define on all architectures.

	* Makefile.in (distdir): Add *.ftp to destination directory.

2001-09-26  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Add support for Web and Cweb files (kpse_web_format,
	kpse_cweb_format).  Requested by Wlodek Bzyl.

	* tex-file.h, tex-file.c: Add support for Web and Cweb files
	(kpse_web_format, kpse_cweb_format).  Requested by Wlodek Bzyl.

2001-07-23  Olaf Weber  <olaf@infovore.xs4all.nl>

	* common.ac [kb_cv_func_putenv_malloc]: Add declaration for
	malloc, which testing on IA64 revealed to be missing.

2000-08-25  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexlsr: Changed the fix for NeXT.

2000-08-05  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpathsea.texi: Bump version, date.

	* kpathsea.version: Bump version.

	* configure.in: Update for 3.3.3.

	* NEWS: Update for 3.3.3.

	* mktexlsr: On NeXT, 'rm -rf ' will recursively remove the current
	directory.  This is bad if you're in / and are root.

2000-05-25  Olaf Weber  <olaf@infovore.xs4all.nl>

	* lib.h [MONOCASE_FILENAMES]: Parenthesis was omitted in
	FILESTRNCASEEQ.  Found by Fabrice.

2000-04-26  Olaf Weber  <olaf@infovore.xs4all.nl>

	* unixtex.texi: Added notes that web2c is bare-bones, and that the
	texk/texklib packages may contain older components.

2000-04-21  Olaf Weber  <olaf@infovore.xs4all.nl>

	* progname.c: Add P?C macros to functions that lacked them.

	* lib.h [STREQ,STRNEQ,FILESTRCASEEQ,FILESTRNCASEEQ]: If any
	argument is NULL, compare unequal.

2000-04-13  Olaf Weber  <olaf@infovore.xs4all.nl>

	* tex-hush.c (kpse_tex_hush): Check for "all" and "none" first,
	then look for more specific switches.  This fixes the most common
	case of problems due to non-reentrancy of kpse_path_element.

	* kpathsea.texi: Correct example of brace expansion.  Document
	TEX_HUSH = none.  Found by Tijs Michels <M.H.M.Michels@kub.nl>.

	* texmf.in: Document the use of TEX_HUSH = none.

2000-04-03  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Add variable for src_specials.  Increase arrays for
	context (again).

	* xopendir.c [WIN32]: Only define xclosedir.

	* kpsewhich.man: Spelling correction.

	* getopt.h [WIN32]: For definition of __STDC__ to 1.

2000-04-02  Olaf Weber  <olaf@infovore.xs4all.nl>

	* xopendir.c [WIN32]: Define neither xopendir nor xclosedir.  From
	Han The Thanh <thanh@informatics.muni.cz>.

	* xputenv.c (xputenv): The WIN32 conditional code is also valid
	for DJGPP.  From Fabrice.

	* xmalloc.c (xmalloc): Allocate 1 byte if passed size 0.

	* xdirname.c (xdirname): Changes for Win32 from Fabrice.

	* tex-file.h: Prototype for kpse_set_suffixes.  From Fabrice.

	* tex-file.c (kpse_set_suffixes): New function, added by Fabrice.

	* readable.c: Win32-related changes from Fabrice.

	* progname.c [WIN32]: Various changes from Fabrice.

	* pathsearch.h [WIN32]: Declare safe_beg_of_path.  From Fabrice.

	* pathsearch.c (path_search [WIN32]): Use safe_beg_of_path.  From
	Fabrice.

	* kpsestat.c: Remove WIN32 define.  From Fabrice.

	* hash.c [MONOCASE_FILENAMES]: Change for the WIN32 case from
	Fabrice.

	* getopt.h [WIN32]: Changes from Fabrice.

	* getopt.c [WIN32 && ! __CYGWIN32__]: Ensure getpid is not defined
	before defining it.  From Fabrice.

	* lib.h: Update dir_links prototype, from Fabrice.

	* elt-dirs.c: Win32 related changes from Fabrice.

	* dir.c: Various Win32-related changes from Fabrice.

	* config.h: Various changes for the DOS famility of systems.  From
	Fabrice.

	* c-stat.h [WIN32]: Use oldnames.h instead of kpathsea/win32lib.h.
	From Fabrice.

	* c-proto.h [WIN32]: _DLL -> KPSE_DLL, from Fabrice Popineau.

	* c-memstr.h: Move closer to just the ANSI string functions, if
	necessary defined in terms of the BSD functions.  After Thomas
	Esser <te@informatik.uni-hannover.de>.

	[FOPEN_RBIN_MODE, FOPEN_WBIN_MODE, FOPEN_ABIN_MODE]: Specify
	binary I/O mode on all systems, not just those where it makes a
	difference.
	[VMCMS]: Remove as it isn't used.
	[SET_BINARY]: Change defines which select it.  From Fabrice
	Popineau. <popineau@esemetz.ese-metz.fr>

	* c-ctype.h [WIN32]: On Windows, get isascii from oldnames.h.
	After Fabrice Popineau <popineau@esemetz.ese-metz.fr>.

	* access.c: Replace WIN32 code with generic code.

2000-01-31  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexlsr: Fix possible symlink exploit.  By Thomas Esser
	<te@informatik.uni-hannover.de>.

1999-06-28  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktextfm: Get rid of error message if hbf2gf cannot be found.
	From Thomas.

	* tex-glyph.c: Test whether glyph_file is NULL before
	dereferencing it.  Suggested by Julian Gilbey
	<J.D.Gilbey@qmw.ac.uk>.

	* texmf.in: Improved comments about VARTEXMF, along lines
	suggested by Thomas Esser.
	Increased font_mem_size, as requested by Thomas.

	* pathsearch.c (path_search): Print a message if we're debugging
	the search and we're not pounding the disk because an ls-R file
	exists but must_exist=0.  This to highlight the most confusing
	case where disk searches do not happen.

	* mktextfm.man: Cleanup of synopsis.

	* mktex.opt: More robust handling of TEMPDIR, after Luc Van Eycken
	<Luc.VanEycken@esat.kuleuven.ac.be>.

	* kpsestat.man: Remove comment about unclear message.

	* kpsestat.c (main): Print a more understandable message when the
	stat call fails.

1999-06-20  Olaf Weber  <olaf@infovore.xs4all.nl>

	* pathsearch.c (log_search): If TEXMFLOG is defined, then the
	kpathsea library would write a space to stderr for every file
	logged.  Fix from Charles Karney <karney@pppl.gov>.

1999-05-29  Olaf Weber  <olaf@infovore.xs4all.nl>

	* configure.in: Update version number to 3.3.1.

	* kpathsea.version: Update version number to 3.3.1.

	* kpathsea.texi: Update version info.

	* mktexnam, mktexmf: Fix the LH patterns to be more specific.
	From Thomas.

	* unixtex.texi: Remove node on tape distributions.

	* texmf.in: Add platex, add comment about TEXMFDBS.

	* tex-file.c (kpse_find_file): Fix off-by-one in tests for suffix
	length.

	* pathsearch.c (log_search): Fix problem with debugging output.

	* mktextfm: Order of options to hbf2gf turns out to matter.

	* mktexpk: Updates from Thomas: don't remove generated fonts
	because of bad pos errors; better handling of type1 fonts.

	* mktexnam: Updates from Thomas for Czech fonts.  Consult fontmaps
	if a fonts fell into unknown/unknown.

	* mktexmf: Updates from Thomas for Czech fonts.

	* mktexdir: Small fix from Julian Gilbey.

	* cnf.c: Apple's MacOsX is also unix-like.

	* access.c: Parametrise the help string as in readlink.c.

	* Makefile.in: Use INSTALL_DATA, not INSTALL_SCRIPT, for the *.opt
	files.

	* AUTHORS: Update accounts for MakeTeX scripts and expand.c.

	* c-memstr.h: Don't declare strstr if strstr is already a define.
	Suggested by Paul Vojta <vojta@math.berkeley.edu>.

	* readlink.c: Corrected a bug in the help string (wrong program
	name), reported by several people.

1999-03-26  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpathsea.version: Set MINOR to 3.

	* configure.in: Bumped KPSEVERSION to 3.3.

1999-03-23  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: More changes from Thomas, add MISCFONTS for
	kpse_miscfonts_format.

	* tex-file.c: Implement kpse_miscfonts_format.

	* tex-file.h: New format: kpse_miscfonts_format, to be used for
	small sets of fonts for which no real type has been defined.

	* mktextfm: Add support for hbf fonts.  (From Werner Lemberg.)

	* withenable.ac: Remove implementation of some --with-* options.

	* common.ac: Move implementation of some --with-* options here
	from withenable.ac, so the latter can be included elsewhere with
	kpathsea's acconfig.h or derivatives being seen.

1999-03-17  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Size increases for context, requested by Hans Hagen.

	* texmf.in: Update from Thomas.

	* Makefile.in: TEXMF_CNF -> VARTEXMF

	* mktexmf: Small fix to a case statement from Berthold H\"ollmann
	<bhoel@starship.python.net>.

1999-03-15  Olaf Weber  <olaf@infovore.xs4all.nl>

	* win32lib.h: Patch from Fabrice.

	* variable.c (kpse_var_value, expand): Handle the VAR_progname
	construct.  After Julian Gilbey <jdg@maths.qmw.ac.uk>.

	* tex-file.c: Fixes to the code that forces an update of the
	paths.  After Julian Gilbey <jdg@maths.qmw.ac.uk>.

	* mktexmf: Changes to support CB font family.  From Kimon
	Kontovasilis <kimon@cyclades.nrcps.ariadne-t.gr>.

	* kpathsea.texi: Update address info of TUG.

	* config.h: Remove outdated comment, explicitly include
	kpathsea/c-auto.h.

	* cnf.c (do_line): Correct comment, remove unused code.
	(read_all_cnf): Strip trailing whitespace.
	(kpse_cnf_get): Fix memory leak.
	After Julian Gilbey <jdg@maths.qmw.ac.uk>.

	* acconfig.h: We no longer use this for all kpathsea using
	programs, just kpathsea itself.  Thus the WEB2CVERSION macro goes,
	as does other stuff that belongs to web2c or xdvik.

	* Makefile.in: Allow the c-auto.h file to be installed.

1999-02-18  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktex.opt: Document nomfdrivers option.

	* mktextfm: Implement nomfdrivers option.

	* mktexpk: Implement nomfdrivers option.

	* install.texi: Document new option: nomfdrivers.

	* kpsewhich.man: Document how search parts are determined.

	* mktexlsr: Really skip empty components.  From Thomas.

	* tex-file.c (kpse_reset_program_name): Don't free the old paths,
	they may not have been allocated on the heap.

1999-02-16  Olaf Weber  <olaf@infovore.xs4all.nl>

	* tex-file.c (kpse_reset_program_name): Ensure that when the
	program name changes, the various paths will indeed be updated.

1999-02-14  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexupd: Fix test whether argument is a directory name.  From
	Thomas.

	* mktexlsr: Skip empty components.

	* mktexnam.opt: This file is supposed to be sourced, not executed,
	so remove the #!.  From Thomas.

	* mktexdir.opt: This file is supposed to be sourced, not executed,
	so remove the #!.  From Thomas.

	* mktex.opt: This file is supposed to be sourced, not executed, so
	remove the #!.  From Thomas.

	* config.h: Make sure c-auto.h is included before win32lib.h,
	which needs definitions from the former.

1999-02-06  Olaf Weber  <olaf@infovore.xs4all.nl>

	* win32lib.h: Add pragma warning, for the S_* defines, only define
	them if they are not defined already.

	* pathsearch.h (kpse_all_path_search): Add KPSEDLL, from Fabrice.

	* debug.h (fclose): Add KPSEDLL, from Fabrice.

	* config.h [WIN32]: Remove pragma warning.  From Fabrice.

1999-02-04  Olaf Weber  <olaf@infovore.xs4all.nl>

	* withenable.ac: Rename AR_OPTS to ARFLAGS.

	* texmf.in: Cleanup of semicolon/comma.  Remove the double slash
	between 'fonts' and its subdirs.  Sites using pseudo-TDS will have
	to add these by hand from now on.

	* tex-file.c (init_path, add_suffixes): Remove __cdecl, from
	Fabrice.

	* mktexmf: Special cases for 30 and 36 points, as requested by the
	sauter mainainer Jeroen Nijhof <J.H.B.Nijhof@aston.ac.uk>.

	* kpsewhich.c (main): Remove __cdecl, from Fabrice.

	* kpsestat.c (main): Remove __cdecl, from Fabrice.

	* install.texi: The +u flag is no longer recommended for HP-UX.

	* getopt.h [!WIN32]: Remove define of __cdecl, from Fabrice.

	* elt-dirs.c (safe_beg_of_path): Change return type to unsigned
	int, because other functions expect this.

	* concatn.c (concatn): Remove __cdecl, from Fabrice.

	* common.ac: sinclude from ../texk now, from Thomas.

	* c-proto.h [!WIN32]: Removed define of __cdecl, from Fabrice.

	* access.c (main): Removed __cdecl, from Fabrice.

1999-01-27  Olaf Weber  <olaf@infovore.xs4all.nl>

	* xputenv.c (xputenv) [WIN32]: Don't free old value, ever.

	* win32lib.h: Fixes by Fabrice.

	* win32lib.c: Fixes by Fabrice.

	* version.c (kpathsea_version_string, kpse_bug_address): Add
	KPSEDLL, by Fabrice.

	* variable.h (kpse_var_value, kpse_var_expand): Add KPSEDLL, by
	Fabrice.

	* texmf.in: Change path separators back to commas, use semicolon
	instead of colon, correct TEXINPUTS for the pdfeTeX family,
	TEXPSHEADERS for the pdfTeX family.  By Thomas Esser.

	* tex-make.h (kpse_make_tex_discard_errors): Add KPSEDLL, by
	Fabrice.

	* tex-make.c (maketex): Add cast to shup up a compiler.  From
	Fabrice.

	* tex-hush.h (kpse_tex_hush): Add KPSEDLL, by Fabrice.

	* tex-glyph.h (kpse_find_glyph, kpse_bitmap_tolerance): Add
	KPSEDLL, by Fabrice.

	* tex-glyph.c (try_resolution): Add casts to quiet a compiler.
	From Fabrice.

	* tex-file.h (kpse_fallback_resolutions_string, kpse_format_info,
	kpse_set_program_enabled, kpse_maketex_option, kpse_init_format,
	kpse_find_file, kpse_open_file, kpse_reset_program_name): Add
	KPSEDLL, by Fabrice.

	* tex-file.c (init_path, add_suffixes): Add __cdecl, by Fabrice.
	(kpse_init_format): Correct definition of "other ... files" to take
	different path separators into account.  After Fabrice.

	* str-list.c (str_list_concat_elements): Make loop indices
	unsigned to quiet compilers.  By Fabrice.

	* readable.h (kpse_readable_file): Add KPSEDLL, by Fabrice.

	* readable.c [WIN32] (kpse_readable_file): Many changes by
	Fabrice.

	* progname.h (program_invocation_name,
	program_invocation_short_name, kpse_program_name,
	kpse_set_program_name, kpse_set_progname): Add KPSEDLL, by
	Fabrice.

	* progname.c: Remove my_dirname function, which returns in its own
	file renamed to xdirname.  From Fabrice.
	(kpse_set_program_name) [WIN32]: Close handle.  By Fabrice.

	* proginit.h (kpse_init_prog): Add KPSEDLL, by Fabrice.

	* pathsearch.h (kpse_path_element, kpse_element_dirs,
	kpse_path_search): Add KPSEDLL, by Fabrice.

	* pathsearch.c (path_search): We now strip devices in the caller.
	From Fabrice.

	* magstep.h (kpse_magstep_fix): Add KPSEDLL, by Fabrice.

	* magstep.c (magstep, kpse_magstep_fix): Casts to quiet an unruly
	compiler.  Added by Fabrice.

	* line.h (read_line): Add KPSEDLL, by Fabrice.

	* lib.h (concat, concat3, xstrdup, uppercasify, atou, same_file_p,
	xbasename, find_suffix, remove_suffix, make_suffix, make_prefix,
	extend_filename, xputenv, xputenv_int, xgetcwd,dir_p, dir_links,
	xfopen, xfclose, xfseek, xftell, xmalloc, xrealloc, xcalloc): Add
	KPSEDLL, by Fabrice.
	(xdirname): New function, by Fabrice.

	* kpsewhich.c (read_command_line): Add KPSEDLL to external
	functions, by Fabrice.
	(main): Add __cdecl, by Fabrice.

	* kpsestat.c (main): Add __cdecl, by Fabrice.

	* hash.h (hash_table_type, hash_insert, hash_remove, hash_lookup):
	Add KPSEDLL, by Fabrice.

	* hash.c [WIN32]: Different implementation of TRANSFORM, for speed
	reasons.  From Fabrice.

	* getopt.h: Changes for KPSEDLL, by Fabrice.

	* fn.h (fn_init, fn_copy0, fn_free, fn_1grow, fn_grow,
	fn_str_grow, fn_shrink_to): Add KPSEDLL, by Fabrice.

	* expand.h (kpse_expand, kpse_brace_expand, kpse_path_expand): Add
	KPSEDLL, by Fabrice.

	* elt-dirs.c (safe_beg_of_path): New function by Fabrice.  Used to
	strip device from a path before feeding it to expand_elt.
	(kpse_element_dirs): Call safe_beg_of_path.

	* debug.h (kpathsea_debug, fopen): Add KPSEDLL, by Fabrice.

	* db.h (kpse_db_insert): Add KPSEDLL, by Fabrice.

	* config.h [WIN32]: Add pragma to quiet some warnings.  From
	Fabrice.

	* concatn.h (concatn): Add KPSEDLL.  From Fabrice.

	* concatn.c (concatn): Add __cdecl.  From Fabrice.

	* cnf.h (kpse_cnf_get): Add KPSEDLL.  From Fabrice.

	* c-std.h: Don't include math.h if we're seen be a C++ compiler.
	From Fabrice.

	* c-proto.h [WIN32]: Instead of defining DllImport, define
	KPSEDLL.  This change makes building shared libraries on windows
	systems work better.  From Fabrice.

	* c-pathch.h [WIN32]: IS_UNC_NAME macro added by Fabrice.

	* access.c (main): Add __cdecl, from Fabrice.

	* absolute.h (kpse_absolute_p): Add KPSEDLL, from Fabrice.

	* Makefile.in: Account for the addition of xdirname.c.

1999-01-24  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Add support for pdfeTeX.

	* mktexpk: Correct typo: ps_topk -> ps_to_pk.

	* mktexnam: New version from Thomas.

	* mktexmf: Update for cs* fonts from Thomas.

	* kpathsea.texi: Update section on brace expansion.  Decided to
	keep the comma.

	* db.c (kpse_db_insert): Replace basename with xbasename.

1999-01-19  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpsestat.c (main): Replace use of S_IFMT with an octal literal.

1999-01-14  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Remove open_any, add openout_any, openin_any.

	* str-list.h: Add prototype for str_list_concat_elements.

1999-01-10  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktextfm: Implement --foo=bar style options.  From Thomas.

	* mktexpk: Implement --foo=bar options, by Thomas.  Changes for
	new version of gsftopk.  Changes to handle ttf2pk.  From Thomas.

	* xt.ac: Remove AC_PATH_XTRA here.

	* withenable.ac: Changes to aid cross-compiling.  Minor fixes.

	* unixtex.texi: Correct tug email address.  Minor corrections.

	* texmf.in: Minor changes, additions for context.  From Thomas.

	* tex-file.h: Use size in declaration of kpse_format_info.  From
	Fabrice.

	* tex-file.c (kpse_maketex_option): Initialise fmt on entry.  Test
	whether a fmt had been specified.
	(kpse_init_format): Put $TEXMF into the 'other files' formats, from
	Thomas.

	* str-list.c (str_list_concat_elements): New function, part of
	replacement for bash-derived code.

	* progname.c (my_subdir): New implementation from Fabrice.

	* mktexnam: Account for new release of lh fonts.  Don't do subdirs
	if we're using $KPSE_DOT as the destination directory.

	* mktexupd: Handle empty elements gracefully.

	* mktexmf: Account for new release of lh fonts.

	* mktexlsr: Minor fixes from Thomas.

	* mktexdir: Allow for creating more directories, fixes from
	Thomas.

	* mktex.opt: Add defaults for DPI and MAG.

	* kpsewhich.man: Various minor corrections.

	* kpsewhich.c: Begin implementing -all option.  (incomplete)

	* kpathsea.texi: Correct copyright, tug email address.

	* install.texi: Account for new texklib.tar.gz file.  Several
	minor corrections.

	* expand.c: Remove bash-derived code.

	* elt-dirs.c (do_subdir): Correct code to test whether we descend
	into subdirectories.

	* db.c: Add kpathsea/c-stat.h to includes.
	(db_build): Correct test of '0' to 0.

	* common.ac: Check for more functions in AC_CHECK_FUNCS, from
	Thomas.

	* cnf.c: do_line: Remove premature optimization.

	* c-proto.h: Add P8H, P8C, P9H, P9C.

	* c-memstr.h: Revision by Thomas Esser.

	* c-ctype.h: Add ISBLANK macro.

	* acconfig.h: Add define guard for c-auto.h.

	* Makefile.in: Change ../make/*.make to ../make/*.mk.
	Correct texmf.sed.
	Prevent substitution of $(texmf) in texmf.cnf in some
	cases.
	Replace semicolons with colons in paths.h.

1998-09-15  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexlsr: Trap more signals, make script hold up better under
	'sh -e', from Werner Fink <werner@suse.de>.

	* mktex.opt: Trap more signals, suggested by several people,
	particularly Thomas Gellekum.

1998-08-03  Olaf Weber  <olaf@infovore.xs4all.nl>

	* progname.c (selfdir): Interpret empty PATH element as "."

1998-07-26  Olaf Weber  <olaf@infovore.xs4all.nl>

	* tex-glyph.c (kpse_find_glyph): Memory management problem: we
	were deallocating a string prematurely.
	(try_fontmap): Test !ret before, not after, bumping the loop variable.
	Both reported by Werner Lemberg <a7971428@unet.univie.ac.at>.

Sun Jun 21 14:43:44 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexlsr: Test for the presence of the magic string in ls-R, to
	prevent accidentally overwriting ls-R files that are not ours.
	Change the code to ensure ./ in front of directory names in the
	presence of different output from different versions of ls.

Mon May  4 19:42:44 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* Makefile.in (objects): Add xbasename.lo.

	* Rename basename.c to xbasename.c.

	* tilde.c (kpse_tilde_epxand): Handle a bare ~ gracefully.

	* basename.c: Rename basename to xbasename and make its
	compilation unconditional.

	* common.ac: Remove check for basename.

	* acconfig.h: Remove HAVE_BASENAME.

	* lib.h: Remove conditional declaration of basename, add
	unconditional declaration of xbasename.

	* progname.c (kpse_set_program_name): Replace call of basename
	with xbasename.

Fri Apr 24 21:15:15 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* install.texi: Doc fix; mention the library files for etex,
	pdftex, omega.

	* pathsearch.c (kpse_path_search): Fix memory leak found by "John
	W. Eaton" <jwe@bevo.che.wisc.edu>.

Tue Apr  7 19:46:07 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* kpsewhich.c (find_format): Correct an off-by-one error by using
	the found value instead of a faulty comparison.

Mon Mar 16 19:25:15 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* configure.in (KPSEVERSION): version 3.2.

	* mktex.opt: Set MT_MKTEXNAM_OPT, MT_MKTEXDIR_OPT here.

	* mktexnam: Move setting of MT_MKTEXNAM_OPT to mktex.opt.

Sun Mar 15 19:55:30 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* c-proto.h: Add P7H and P7C macros.

Sat Mar 14 00:10:20 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* win32lib.h: Patch from Fabrice.

	* c-dir.h [WIN32]: Patch from Fabrice.

Fri Mar 13 23:23:33 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Added XDVIINPUTS and TEX4HTINPUTS.

Thu Mar 12 08:04:50 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* win32lib.c: New version from Fabrice Popineau.

Wed Mar 11 19:55:10 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* install.texi: Correction for description of dosnames behaviour
	on MS-DOS.  From Eli Zaretskii.

Mon Mar  9 07:22:23 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexlsr: exit 0 if we succeeded.

	* withenable.ac: Remove double slashes from texmfmain variable.
	Strictly speaking, it is a user fault when this occurs, but...
	From Thomas Esser.

Sun Mar  8 18:23:33 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* tex-file.c: omkocp, omkofm -> mkocp, mkofm.

	* texmf.in: OMKOFM, OMKOCP -> MKOFM, MKOCP.

	* withenable.ac: omkofm, omkocp -> mkofm, mkocp.

Thu Mar  5 15:32:48 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* texmf.in: Add OMKOCP and OMKOFM analogous to MKTEXPK.

	* c-fopen.h [DOS]: Don't open files read-write if read suffices.

Wed Mar  4 23:55:35 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* withenable.ac: Add options for enabling/disabling
	omkocp/omkofm.  From John Plaice.

	* tex-file.c (init_format): Support omkocp and omkofm instead of
	MakeOmegaOCP and MakeOmegaOFM programs.  From John Plaice.
	(kpse_maketex_option): Some changes to handle ofm/ocp as well.

Tue Mar  3 09:02:09 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* tex-make.c (kpse_make_tex): Make same exception for AMIGA as for
	WIN32 and MSDOS.  From Andreas Scherer.

	* PROJECTS: Update mail address.

	* mktex.opt: Print message if VARTEXMF is not defined, then
	default to '$KPSE_DOT'.

	* mktexnam: Remove use of "shell !" from tests involving varfonts
	feature.  Simplify the code a bit.

Fri Feb 27 19:55:11 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* withenable.ac: Replace use of -a in test with && and second
	test.  From Thomas Esser <te@informatik.uni-hannover.de>.

Tue Feb 24 13:16:56 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* Makefile.in: Corrections for building/installing outside source
	dir.  From Vladimir Volovich <vvv@vvv.vsu.ru>.

	* mktexnam.opt: Correction MT_PKNAME -> MT_PKBASE to get dosnames
	feature to work.  From Eli Zaretskii.

Mon Feb 23 10:17:22 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktex.opt, mktexlsr: Use test ... || test ... instead of test
	... -o ... .

	* mktexnam.opt: Remove use of MT_PKPART, MT_MFPART, and MT_TFMPART
	variables, since they're no longer defined.

	* expand.c (kpse_expand_kpse_dot [MSDOS]): A very ugly hack to
	deal with a very broken feature on some MSDOS systems.  After Eli
	Zaretskii.

Fri Feb 20 17:18:19 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* Makefile.in (texmf.sed): Remove VARTEXMF.

	* install.texi: Update for changes to varfonts.

	* kpathsea.texi: Remove references to format numbers.

	* kpsewhich.c (read_command_line): Remove printing of and support
	for format numbers.

	* mktex.opt: Remove VARTEXMF and related stuff, set dosnames for
	DOS.

	* mktexnam: Remove use of VARTEXMF, introduce SYSTEXMF, change
	semantics of varfonts.

	* mktexnam.opt: Remove reference to VARTEXMF, move setting of
	dosnames for DOS to mktex.opt.

	* mktexpk: Boilerplate tests.

	* mktexupd: Boilerplate tests.

	* progname.c: Move kpse_reset_program_name to tex-file.c.  This
	move means progname.o doesn't use a common object from tex-file.o
	anymore.  The NeXT linker would omit tex-file.o, then complain
	about an undefined symbol.  Thanks to Gregor Hoffleit
	<flight@thefly.mathi.uni-heidelberg.de> and Melissa O'Neill
	<oneill@cs.sfu.ca> for their help solving this.
	
	* progname.h: Move kpse_reset_progname to tex-file.h.

	* tex-file.c: Move kpse_reset_program_name here from progname.c.

	* tex-file.h: Move kpse_reset_program_name here from progname.h.

	* texmf.in: Remove VARTEXMF, add SYSTEXMF.

	* withenable.ac: Boilerplating, a correction of the default case
	of the --enable-multiplatform test.

Mon Feb 16 09:46:47 1998  Olaf Weber  <olaf@infovore.xs4all.nl>

	* mktexpk: Dropped a $ in the wrong place, which made chmod look
	for a non-existent file.

	* Makefile.in (texmf.sed): Include the substitution for @web2c@ in
	TEXMFCNF.

	* Makefile.in (texmf.sed): Remove traling / from VARTEXMF
	substitution.
	(stamp-paths): Replace @ with % as sed delimiter.  The @ causes
	problems because it used in afs filenames.  Spotted by Matthias
	Clasen.

	* bugs.texi: Since the NeXT(step) problem is likely to be solved
	now, make description of bug less definite.

	* common.ac: Remove check for readlink.

	* kpathsea.texi: Document changes to search algorithm.

	* mktexlsr: Use % not @ as sed delimiter.

	* mktexmf: Correct permissions problem.

	* mktexnam: Use % not @ as sed delimiter.

	* mktexpk: Use % not @ as sed delimiter.  Correct permissions
	problem.  Set permissions before the file is moved into place.

	* mktextfm: Use % not @ as sed delimiter.  Correct permissions
	problem.  Set permissions before the file is moved into place.

	* mktexupd: Use % not @ as delimiter for sed.

	* readlink.c (main): Use S_ISLNK instead of HAVE_READLINK to test
	whether readlink is a known function.

	* tex-file.c (kpse_init_format): Make changes corresponding to the
	movement of kpse_tfm_format.
	(kpse_find_file): Reorganize searches; fold code of search #3 into
	#1 and #2; fold #5 into #2.  We now have two searches, plus an
	attempt to create missing files.

	* tex-file.h: Move kpse_tfm_format before kpse_ofm_format.  Might
	as well put it near the front then, because it is an often-used
	format.

	* texmf.in: VARTEXFONTS uses @vartexfonts@ so it can be filled in
	from the Makefile.  OFMFONTS changed to explicitly use TFMFONTS.
	TEXMCNF uses @web2c@ rather than @web2cdir@.

	* withenable.ac: Do not force default for --enable-multiplatform,
	so that we can inherit one from a script that calls us.

Tue Feb 10 17:59:26 1998  Olaf Weber  <infovore@xs4all.nl>

	* withenable.ac: Don't abort configure run if the main texmf tree
	isn't found.

	* acconfig.h: Add EPSFWIN to the undefs.

	* install.texi: Update section on the handling of options by
	mktexpk.

	* mktex.opt: Comment on the duplication of the ls_R_magic string.

	* mktexlsr: Copy code from mktex.opt to mktexlsr, so the latter
	can run without the need to find the former.

	* mktextfm, mktexpk: Replace positional options with normal option
	handling.

	* mktextfm.man, mktexpk.man: Update documentation for the new
	option handling.

	* tex-file.c: Update the MKTEXPK_ARGS string for the new
	option-handling of mktexpk.

	* tex-make.c (kpse_make_tex): We pass the raw / to mktexpk in the
	--mfmode switch when appropriate; remove unset_mode variable.
	Update comments to reflect new situation.

	* kpathsea.texi: Note that empty path components are now ignored
	in stead of expanded to cwd.

	* line.c: Add prototype and clean up headers.

	* mktex.opt, mktexlsr, mktexmf, mktexnam, mktexpk, mktextfm,
	mktexdir, mktexupd: Make "caching" of some variables and file
	names in the environment possible.  Provide defaults in case the
	'web2c files' format doesn't work for finding files.  Suggested by
	Thomas Esser.

	* withenable.ac: Give a better message when the main texmf tree
	isn't found.

Sat Feb  7 01:00:49 1998  Olaf Weber  <infovore@xs4all.nl>

	* elt-dirs.c (kpse_element_dirs): Return NULL, not the cwd, if
	we're given an empty string.

	* mktex.opt: Determine VARTEXFONTS here.

	* mktexnam: Move determination of VARTEXFONTS to mktex.opt.

Fri Feb  6 17:59:59 1998  Olaf Weber  <infovore@xs4all.nl>

	* config.h: Update definition of KPATHSEA to 32.

	* expand.c (kpse_path_expand): Do not recursively expand a leading
	//, as in pathsearch.c.

	* kpsewhich.man: Update for --epxand-braces option.

	* texmf.in: Put texmf.local before texmf in the TEXMFCNF path.

	* withenable.ac: Make code for finding texmfmain more robust.

Wed Feb  4 20:39:10 1998  Olaf Weber  <infovore@xs4all.nl>

	* readable.c: Correct typo: '#elsif' -> '#elif'.

Tue Feb  3 17:08:34 1998  Olaf Weber  <infovore@xs4all.nl>

	* kpathsea.texi: Update for changes to kpsewhich.

Mon Feb  2 21:12:06 1998  Olaf Weber  <infovore@xs4all.nl>

	* xputenv.c: Undid last patch from Fabrice -- it was a "fix" that
	suppresses warnings on his compiler, and engenders them on mine.

Sun Feb  1 16:08:49 1998  Olaf Weber  <infovore@xs4all.nl>

	* lib.h [!DOSISH]: Correct definition of FILESTRNCASEEQ.

	* mktexmf: Correct call to mktexnam.

	* kpsewhich.c: New option --expand-braces.
	(expand_path): Removed.
	(main): Add code for --expand-braces, account for new definition of
	kpse_path_expand.

	* expand.h: Rename kpse_path_expand to kpse_brace_expand.  Add new
	kpse_path_expand.

	* expand.c (kpse_path_expand): New implementation, based on
	path_expand from kpsesewhich.c.
	(kpse_brace_expand): The old kpse_path_expand.  Change calls to
	kpse_brace_expand to kpse_brace_expand_element.
	(kpse_brace_expand_element): The old kpse_brace_expand, but with
	static linkage.  Changes calls to kpse_brace_expand to
	kpse_brace_expand_element.

	* tex-file.c (init_path): Replace kpse_path_expand with
	kpse_brace_expand.

	* texmf.in: Correct input variables for mltex variants.  Add pdftex
	to TEXPSHEADERS path.

Thu Jan 29 16:15:44 1998  Olaf Weber  <infovore@xs4all.nl>

	* Makefile.in: Update for readlink.

	* common.ac: Test for readlink function.

	* access.c, kpsestat.c: No need to explicitly include c-auto.h.

	* mktex.opt: Adapt to new way of finding the script.  Do the
	actual lookup for mktexnam, mktexdir, and mktexupd here.  Make a
	bit more robust.

	* mktexlsr: Make file handling more robust, use kpsewhich to find
	supporting scripts like mktex.opt and mktexnam, use readlink to
	trace symlinks.

	* mktexupd, mktexpk, mktextfm, mktexmf, mktexdir, mktexnam: Make
	file handling more robust, use kpsewhich to find supporting
	scripts like mktex.opt and mktexnam, simplify somewhat.

	* mktexnam.opt: Make handling of names more robust.

	* readlink.c, readlink.man: New files.

	* withenable.ac: Add --enable-multiplatform option.  Attempt to
	find the texmf directory, and complain if we fail to do so.

	* Makefile.in (texmf.sed): Remove sed for dbtex, dbfonts, change
	VARTEXFONTS to comply with texmf.in, and update comment.

	* c-vararg.h: Comment update from Peter Breitenlohner.

Wed Jan 28 20:36:56 1998  Olaf Weber  <infovore@xs4all.nl>

	* Makefile.in: Keep c-auto.h out of kpathsea.h.

	* c-stat.h [WIN32]: Modification from Fabrice.

	* dir.c [WIN32]: Extensive modifications from Fabrice.

	* kpsestat.c, kpsewhich.c: Replace exit with return from main.
	From Fabrice.

	* readable.c [WIN32]: Separate definition of READABLE.  From
	Fabrice Popineau.

	* texmf.in: Remove almost all @var@ stuff, and just assume TDS for
	all.

	* win32lib.h: Modifications from Fabrice.

	* xputenv.c (xputenv): Minor fix from Fabrice.

	* win32lib.c: New file from Fabrice Popineau.  Replacement
	functions for Win32.

Sun Jan 25 20:02:21 1998  Olaf Weber  <infovore@xs4all.nl>

	* texmf.in: Increase buf_size to 50000 (from 10000).

	* tex-file.c (kpse_find_file): In the first search, postpone
	pounding the disk until all possible suffixes have been tried.

	* line.c (read_line): Accept any of NL, CR, and CRLF as
	end-of-line.

Fri Jan 23 14:45:19 1998  Olaf Weber  <infovore@xs4all.nl>

	* access.c: Use return instead of exit to get rid of some compiler
	warnings.  From Fabrice.

	* c-fopen.h: Changes for CYGWIN32.

	* c-proto.h: Patch from Fabrice Popineau for Win32.

	* kpathsea.texi: Document kpse_web2c_format,
	kpse_program_text_format, kpse_program_binary_format.

	* mktex.opt, mktexdir, mktexlsr, mktexmf, mktexnam, mktexpk,
	mktextfm, mktexupd: Use -expand-path instead of -expand-var where
	possible.  This makes the handling of !! more robust.

	* tex-file.c (kpse_find_file): Handle other cases than precisely
	one extension in search number 3.
	(kpse_init_format): Add kpse_web2c_format, kpse_program_text_format,
	kpse_program_binary_format.

	* tex-file.h: Add kpse_web2c_format, kpse_program_text_format,
	kpse_program_binary_format.

	* tex-hush.c: Test the "path element" h, not the whole hush.

	* texmf.in: Add a definition for WEB2C.  Add some Omega-related
	parameters, from John Plaice.

Tue Jan 13 19:46:58 1998  Olaf Weber  <infovore@xs4all.nl>

	* mktexpk, mktextfm: Only move $NAME.log file if it exists and is
	not empty.

Mon Jan 12 06:22:59 1998  Olaf Weber  <infovore@xs4all.nl>

	* kpathsea.texi: Fixes from Gerd Neugebauer <gerd@uni-koblenz.de>.

Sun Jan 11 18:26:56 1998  Olaf Weber  <infovore@xs4all.nl>

	* mktexupd: Two changes: absence of the current tree in the ls-R
	path is not an error; create an ls-R file if the current tree is
	in the ls-R path and the file doesn't yet exist.

Sat Jan 10 09:55:47 1998  Olaf Weber  <infovore@xs4all.nl>

	* tex-hush.c: A null pointer could be fed to strcmp.

Fri Jan  9 21:08:45 1998  Olaf Weber  <infovore@xs4all.nl>

	* mktexnam: Add $COMSPEC test, and use $SEP for path separator when
	splitting paths.  From Eli Zaretskii.

	* mktexlsr: Correct usage for determining absolute paths.  From
	Eli Zaretskii.

	* common.ac: Correct code in HAVE_PROTOTYPES test.

Sun Jan  4 15:59:08 1998  Olaf Weber  <infovore@xs4all.nl>

	* Manual pages for access, kpsestat, kpsewhich, mktexlsr, mktexpk,
	mktexmf, mktextfm.

	* Makefile.in: Changes for manual pages.

Thu Jan  1 10:11:49 1998  Olaf Weber  <infovore@xs4all.nl>

	* mktex.opt: Remove definition of $SEP; it is now needed before
	this script is sourced.

	* mktexlsr: If necessary, add location of script to PATH.

	* mktexupd: Put $SEP definition in script itself.

	* xputenv.c (xputenv): Move some declarations into the "not
	SMART_PUTENV" block to prevent "unused" warnings.

Tue Dec 30 17:55:45 1997  Olaf Weber  <infovore@xs4all.nl>

	* install.texi, bugs.texi: Add comment about the need to use
	special compiler options in HP-UX.

	* mktexpk: Use nonstopmode for mf, in case of failure move log
	file to working directory.

	* mktextfm: Use nonstopmode for mf, in case of failure move log
	files to working directory.

	* mktexlsr: Add comment about use in cron scripts, use SEP
	variable for path separator.

	* mktexupd: Check for both new and old magic string in ls-R files,
	use SEP variable for path separator.

	* mktex.opt: Pick the correct path separator for MS-DOS and UNIX.
	Add a more appropriate magic string for ls-R files, but keep the
	old one around for compatibility.

	* Makefile.in (install-exec): Add check for original mktexlsr.

Thu Dec 18 20:33:56 1997  Olaf Weber  <infovore@xs4all.nl>

	* tex-file.c (init_path): Rewrite test whether we're initializing
	the kpse_cnf_format paths.

	* tex-file.c (kpse_init_format): Initialise the binmode fields.
	(kpse_open_file): Use binmode field.

	* tex-file.h: Add binmode field to kpse_format_info_type.

	* kpsewhich.c: Correct option string.

	* tex-file.c (kpse_open_file): Assume kpse_truetype_format and
	kpse_type42_format are for binary files.

Tue Dec 16 19:13:14 1997  Olaf Weber  <infovore@xs4all.nl>

	* texmf.in: Don't make PKFONTS.xdvi a special case.  Let all
	programs look in modeless.  If a program shouldn't look there,
	give it a special PKFONTS line.

Mon Dec 15 18:58:01 1997  Olaf Weber  <infovore@xs4all.nl>

	* texmf.in: Add TTFONTS and T42FONTS.

	* Makefile.in (stamp-paths): The regular expression for variables
	had to be amended for T42FONTS.

	* tex-file.c (kpse_init_format): Add kpse_truetype_format and
	kpse_type42_format.

	* tex-file.h: Add kpse_truetype_format and kpse_type42_format to
	kpse_file_format_type.

Sat Dec 13 11:24:23 1997  Olaf Weber  <infovore@xs4all.nl>

	* xputenv.c (xputenv [WIN32]): This system deletes an environment
	variable if it is set to "", with consequences for the code that
	reclaims the space.  From Fabrice Popineau.

Fri Dec 12 10:44:02 1997  Olaf Weber  <infovore@xs4all.nl>

	* acconfig.h: Add HAVE_PROTOTYPES.

	* c-proto.h, c-vararg.h: Test for HAVE_PROTOTYPES.

	* common.ac: Add explicit test for prototypes, instead of relying
	on __STDC__.

	* hash.c, hash.h (hash_remove): New function.

	* install.texi: Rewritten passage on font destinations, corrected
	reference to Triptrap node in web2c.

	* mktexpk, mktextfm: When mv fails, try cp.  Matters on MS-DOS.

	* progname.c (selfdir): Test whether we are a directory, rather
	than whether we are not a link or file.

	* texmf.in: Change openout_any to paranoid.

Tue Dec  9 19:08:04 1997  Olaf Weber  <infovore@xs4all.nl>

	* mktexpk: Restored test-and-move, which turns out not to be a
	no-op for fonts generated with gsftopk.

Thu Dec  4 12:53:52 1997  Olaf Weber  <infovore@xs4all.nl>

	* texmf.in: Add TEXINPUTS.mltex and TEXINPUTS.mllatex.

Tue Dec  2 12:58:04 1997  Olaf Weber  <infovore@xs4all.nl>

	* Makefile.in (distclean): Add stamp-paths.  From Sebastian Rahtz
	<s.rahtz@elsevier.co.uk>.

	* progname.c (kpse_set_program_name [!HAVE_PROGRAM_INVOCATION_NAME
	&& !WIN32 && !__DJGPP__]): Remember to set
	program_invocation_name.

	* getopt.c: A few changes for WIN32.  From Fabrice Popineau.

Mon Dec  1 19:08:07 1997  Olaf Weber  <infovore@xs4all.nl>

	* kpathsea.texi: Updated for absence of alternate TeX suffixes.

	* kpsewhich.c: Don't complain about unkown suffixes: it's all
	kpse_tex_format to us.

	* tex-file.c: Remove the interminable list of alternate TeX
	suffixes.

	* Makefile.in ($(library).h): Take win32lib.h into account: it
	should not be included by this file, as config.h will do so if
	needed.

	* progname.c (kpse_set_program_name [WIN32, __DJGPP__]): Changes
	from Fabrice Popineau.

	* win32lib.h: New file.  From Fabrice Popineau.

	* config.h: Include <kpathsea/win32lib.h> instead of
	"../win32/win32-compat.h".  From Fabrice Popineau.

	* access.c: Include <kpathsea/config.h>.  From Fabrice Popineau.

	* absolute.c (kpse_absolute_p [WIN32]): Filenames starting with \\
	are absolute on this platform.  From Fabrice Popineau.

	* tex-glyph.c (try_format): Oops, kpse_format_info[format].suffix
	is now a list of strings.

Sun Nov 30 13:23:54 1997  Olaf Weber  <infovore@xs4all.nl>

	* texmf.in, mktex.opt, mktexdir, mktexdir.opt, mktexlsr, mktexmf,
	mktexnam, mktexnam.opt, mktexpk, mktextfm, mktexupd:  Add a
	MKTEXSCRIPT variable, which is the directory where supporting
	scripts are found.  Defaults to $TEXMFMAIN/web2c if not defined.

	* Makefile.in, bugs.texi, db.h, install.texi, kpathsea.texi,
	kpsewhich.c, proginit.c, tex-file.c, tex-file.h, tex-glyph.c,
	tex-make.c, tex-make.h, texmf.in, withenable.ac, mktex.opt,
	mktexdir, mktexdir.opt, mktexlsr, mktexmf, mktexnam, mktexnam.opt,
	mktexpk, mktextfm, mktexupd: Changes for the great renaming...

Sat Nov 29 13:10:42 1997  Olaf Weber  <infovore@xs4all.nl>

	* The great renaming of the MakeTeX* scripts.
		MakeTeXPK        -> mktexpk
		MakeTeXTFM       -> mktextfm
		MakeTeXMF        -> mktexmf
		MakeTeXls-R      -> mktexlsr

		MakeTeX.site     -> mktex.cnf
		MakeTeXcommon    -> mktex.opt
		MakeTeXmkdir     -> mktexdir
		MakeTeXmkdir.opt -> mktexdir.opt
		MakeTeXnames     -> mktexnam
		MakeTeXnames.opt -> mktexnam.opt
		MakeTeXupdate    -> mktexupd

	* Makefile.in (install-exec): Adapted for removal MakeTeX.cnf.

	* MakeTeX.cnf: Removed.
	
	* MakeTeXcommon: Fold MakeTeX.cnf into MakeTeXcommon.

	* tex-file.c (kpse_init_format): Add kpse_fmt_format add ".efmt"
	and ".efm" to additional suffixes.

	* db.c [DB_HASH_SIZE]: From 7603 increased to 15991.

	* tex-file.c: Yet more suffixes for kpse_tex_format.

Tue Nov 25 18:19:17 1997  Olaf Weber  <infovore@xs4all.nl>

	* progname.c (kpse_set_program_name): Ensure that
	kpse_program_name doesn't get an .exe suffix.  The
	program_invocation*name variables retain it.

Mon Nov 24 22:03:12 1997  Olaf Weber  <infovore@xs4all.nl>

	* MakeTeXls-R: When creating the ls-R file from scratch, derive
	its permissions from the $db_dir, not from the current dir.

Sun Nov 23 13:17:16 1997  Olaf Weber  <infovore@xs4all.nl>

	* texmf.in: Update to use : instead of , in braces.

	* kpathsea.texi: Document use of path separator in brace
	expansion, note that the comma is deprecated.

	* path-elt.c (element): Dont split within braces.

	* expand.c (expand_amble): Break text in pieces at ENV_SEP as well
	as commas.

Sat Nov 22 19:35:30 1997  Olaf Weber  <infovore@xs4all.nl>

	* tex-file.c: Correction of description "PostScript header/font"
	to "PostScript header".

	* db.c (kpse_db_insert): Add cast for const correctness.

	* kpathsea.texi: Document kpse_set_program_name; updates.

	* kpsewhich.c: Many changes to support multiple standard suffixes.

	* progname.c (kpse_set_program_name): Add a few casts for const
	correctness.

	* tex-file.c: Many changes to support lists of standard suffixes.

	* tex-file.h: kpse_format_info_type: change type of suffix from
	const_string to const_string*.

Fri Nov 21 15:17:35 1997  Olaf Weber  <infovore@xs4all.nl>

	* c-proto.h: Restored AA macro, needed by revised web2c.

Thu Nov 20 14:23:33 1997  Olaf Weber  <infovore@xs4all.nl>

	* MakeTeXPK: Removed a test-and-move that is always a no-op.

	* MakeTeXnames: A shell on FreeBSD didn't like the ${foo:=`bar`}
	construct.

Wed Nov 19 17:24:08 1997  Olaf Weber  <infovore@xs4all.nl>

	* MakeTeXls-R, MakeTeXMF, MakeTeXPK: Make temporary names fit into
	the 8.3 pattern.  After Eli Zaretskii.

	* MakeTeXTFM: Make temporary names fit into the 8.3 pattern.
	Allow a second optional argument.  Update usage message.  After
	Eli Zaretskii.

	* MakeTeXcommon: Make temporary names fit into the 8.3 pattern.
	Do a 'cd /' before we cd to $KPSE_DOT, for MS-DOS' sake.  After
	Eli Zaretskii.

	* MakeTeXnames: If $DEST starts with "letter-colon-slash", it
	still indicates an absolute path.  After Eli Zaretskii.

	* MakeTeXnames.opt: Enable dosnames if we find COMSPEC set in the
	environment.  This is apparently the canonical test for this kind
	of thing.  After Eli Zaretskii.

	* Makefile.in: Numerous small changes to make building on MS-DOS
	easier.  In particular to the rule for texmf.sed.

	* install.texi: Add table headers.  After Eli Zaretskii.

	* tex-file.c (kpse_open_file): Open kpse_tex_ps_header_format and
	kpse_pict_format files in binary mode.  After Eli Zaretskii.

Tue Nov 18 11:50:35 1997  Olaf Weber  <infovore@xs4all.nl>

	* install.texi, README, Makefile.in: Changed the name of CONFIGURE
	to README.CONFIGURE.

	* Makefile.in (mostlyclean): delete klibtool.version.

Sat Nov 15 21:13:46 1997  Olaf Weber  <infovore@xs4all.nl>

	* MakeTeXPK: Use quotes to ensure that test "$mf_bdpi" != $BDPI
	has a first argument.  This occurs only in pathological
	circumstances, but is nevertheless annoying.

	* texmf.in: Add TEXINPUTS.foo for omega and lambda.

Fri Nov 14 16:35:46 1997  Olaf Weber  <infovore@xs4all.nl>

	* texmf.in: Add TEXINPUTS.foo definitions for e-TeX and PDFTeX.

	* tex-file.h: Add kpse_find_ofm and kpse_find_ovf macros.

	* tex-file.c (kpse_find_file): Add a search for Omega.

Thu Nov 13 22:43:06 1997  Olaf Weber  <infovore@xs4all.nl>

	* progname.c (expand_symlinks): Don't call fclose on a NULL
	pointer.  After Gary Jennejohn <garyj@peedub.muc.de>.

Wed Nov 12 16:20:02 1997  Olaf Weber  <infovore@xs4all.nl>

	* kpsewhich.c: Use kpse_set_program_name instead of
	kpse_set_progname.

	* tex-file.c, cnf.c: Use kpse_program_name instead of
	program_invocation_short_name.

	* progname.h (kpse_set_program_name, kpse_reset_program_name): New
	functions.
	(kpse_program_name): New global.

	* progname.c (kpse_set_program_name): New function, to replace
	kpse_set_progname.  This fixes the problem that we may want to
	pretend to be a different program, but need the name by which we
	were called because that is the one for an executable and is
	guaranteed to exist.  The pretend-name is stored in
	kpse_program_name.
	(kpse_reset_program_name): To reset kpse_program_name to a
	different value.  It makes a half-hearted attempt to clear the
	search path information, so that the new name is used there as
	well.

Mon Nov 10 13:14:01 1997  Olaf Weber  <infovore@xs4all.nl>

	* configure.in (KPSEVERSION): version 3.1.

Thu Nov  6 20:25:49 1997  Olaf Weber  <infovore@xs4all.nl>

	* texmf.in: Corrected comment on size of max_print_line: it must
	at least be 60.

Tue Nov  4 19:08:37 1997  Olaf Weber  <infovore@xs4all.nl>

	* Makefile.in (install-data): Handle a split kpathsea.info.

	* common.ac: Add a test to ensure that autoconf 2.12.1 -- the one
	with our own hacks -- is used.

Wed Oct 29 11:49:46 1997  Olaf Weber  <infovore@xs4all.nl>

	* c-fopen.h [!DOSISH]: Guard against redefining O_BINARY.  From
	Andreas Scherer <andreas.scherer@pobox.com>.

Mon Oct 27 17:25:19 1997  Olaf Weber  <infovore@xs4all.nl>

	* install.texi: Update for new MakeTeX* scripts.

	* MakeTeXnames: Handling of empty namepart.

Fri Oct 24 14:23:58 1997  Olaf Weber  <infovore@xs4all.nl>

	* getopt.[hc]: Changes for WIN32, which are likely to be a pain if
	these files are ever updated wholesale.  After Fabrice Popineau.

Thu Oct 23 11:16:26 1997  Olaf Weber  <infovore@xs4all.nl>

	* MakeTeXnames: Corrected bug in assignemnt to stdfontpath.

Wed Oct 22 17:36:57 1997  Olaf Weber  <infovore@xs4all.nl>

	* MakeTeXmkdir: Added a bit of boilerplate to the use of
	MT_APPEND_MASK.

	* Makefile.in: It's acconfig.h, not c-auto.h, that we do not want
	to install.

	* lib.h: Remove kpathsea/config.h from the includes.  Note that
	lib.h is itself included by config.h.

	* Makefile.in: Change generation of kpathsea.h to put config.h
	first.

Tue Oct 21 23:15:28 1997  Olaf Weber  <infovore@xs4all.nl>

	* MakeTeX.site, MakeTeX.cnf: Remove MT_FILE_PERMS, MT_DIR_PERMS.

	* MakeTeXmkdir: Use kpsestat to obtain suitable directory
	permissions.

	* MakeTeXnames, MakeTeXnames.opt: Include code that infers
	destination directories from where the sources are found.  Make
	use of fontmaps an option, move that part of the code to
	MakeTeXnames.opt.

	* MakeTeXls-R: Use kpsestat to obtain suitable file permissions;
	this means we no longer use unset.  Use access rather than test to
	determine whether we can write the ls-R database.

	* MakeTeXTFM, MakeTeXMF, MakeTeXPK: Use kpsestat to obtain
	suitable file permissions.

	* Makefile.in: Minor changes, because of the new files and
	renaming.

	* MakeTeXnames.opt, MakeTeXmkdir.opt: renamed from
	MakeTeXnames.cnf and MakeTeXmkdir.cnf respectively.  Now
	MakeTeX.cnf contains the standard configuration, and MakeTeX.site
	the local adjustments.
	
	* kpsestat.c, access.c: New files.

Mon Oct 20 07:22:33 1997  Olaf Weber  <infovore@xs4all.nl>

	* common.ac, Makefile.in, acconfig.in, config.h, install.texi,
	kpathsea.texi: Rename texmf.cnf.in to texmf.in / c-auto.h.in to

	* Renamed texmf.cnf.in to texmf.in.

	* bugs.texi: Add descriptions of GSFTOPK_DEBUG, MAKETEX_DEBUG, and
	MAKETEX_FINE_DEBUG.  From Fabrice Popineau.

	* c-fopen.h [WIN32]: Use setmode in stead of _setmode.  From
	Fabrice Popineau.

	* c-pathch.h, absolute.c [NAME_BEGINS_WITH_DEVICE]: Corrected
	definition. From Fabrice Popineau.

	* c-proto.h: Cosmetic change in definition DllImport.  From
	Fabrice Popineau.

	* debug.h [WIN32 && _DEBUG]: Extra debugging code for WIN32.  From
	Fabrice Popineau.

	* install.texi: Extend description of the dosnames feature.  After
	Fabrice Popineau.

	* lib.h: Add kpathsea/config.h to the includes.  New macro STRNEQ.
	From Fabrice Popineau.

	* progname.c (kpse_set_progname [WIN32]): New environment variable
	KPSE_DEBUG_OUTPUT.  If defined, it names a file to which stderr
	will be redirected.  From Fabrice Popineau.

	* tex-make.c: Various cosmetic changes for WIN32/MS-DOS.  From
	Fabrice Popineau.

Fri Oct 17 10:41:08 1997  Olaf Weber  <infovore@xs4all.nl>

	* db.c (kpse_db_insert): Remove dubious cast of result of basename.

	* progname.c (kpse_set_progname [!HAVE_PROGRAM_INVOCATION_NAME]):
	Removed dubious cast of basename.

	* tex-file.c (kpse_find_file): Reorganize searches, so that
	foo.bar.tex is found before foo.bar.

	* tex-make.c (maketex) [MSDOS]: Redirect stderr to the null device
	without using the shell (which requires users to install a port of
	a Unixy shell, since stock DOS shells don't allow redirecting
	stderr).
	(kpse_make_tex) [MSDOS]: Don't use the shell to redirect stderr.
	From Eli Zaretskii <eliz@is.elta.co.il>.

	* readable.c (READABLE) [__DJGPP__]: Use `access' instead of
	`stat', since `stat' is expensive on MS-DOS. Eli Zaretskii
	<eliz@is.elta.co.il>.

	* pathsearch.c (search) [__DJGPP__]: Make `stat' work in the
	fastest possible way, since it can be very expensive on MS-DOS.
	(main): Use ENV_SEP_STRING instead of explicit ":".
	From Eli Zaretskii <eliz@is.elta.co.il>.

	* path-elt.c (main): Use ENV_SEP_STRING instead of explicit ":".
	From Eli Zaretskii <eliz@is.elta.co.il>.

	* kpsewhich.c (path_expand): Handle file names with device
	letters.
	(read_command_line): Use ENV_SEP_STRING instead of explicit ":".
	After Eli Zaretskii <eliz@is.elta.co.il>.

	* kdefault.c (main): Use ENV_SEP_STRING instead of explicit ":"
	(which is only true on Unix).  From Eli Zaretskii
	<eliz@is.elta.co.il>.

	* cnf.c (do_line) [__DJGPP__]: Don't convert semi-colons to
	colons, even though DJGPP defines `unix'.  From Eli Zaretskii
	<eliz@is.elta.co.il>.

	* absolute.c (kpse_absolute_p) [DOSISH]: Don't assume the drive
	letter is alphanumeric. From Eli Zaretskii <eliz@is.elta.co.il>.

	* xgetcwd.c (xgetcwd) [DOSISH]: Prepend drive letter before path.
	From Eli Zaretskii <eliz@is.elta.co.il>.

	* progname.c (kpse_set_progname) [__DJGPP__]: Compute the long
	file name of the program given its 8+3 alias.
	(kpse_set_progname) Compute SELFAUTOLOC before removing the
	".exe" suffix, if any, because `selfdir' might look along the PATH
	for the file.
	After Eli Zaretskii <eliz@is.elta.co.il>.

	* config.h (DOSISH): Move the definition to the top, so we could
	define MONOCASE_FILENAMES right there.
	[__DJGPP__]: Include DJGPP-specific headers.
	[DOSISH]: Let DJGPP use ST_NLINK_TRICK, since it supports it.
	From Eli Zaretskii <eliz@is.elta.co.il>.

	* lib.h (FILESTRNCASEEQ): New macro, for partial compares of
	filenames.  From Eli Zaretskii <eliz@is.elta.co.il>.

	* c-fopen.h (FOPEN_RBIN_MODE, FOPEN_WBIN_MODE): Let MS-DOS use
	these also.
	(FOPEN_ABIN_MODE): New macro, defines how to open a binary file for
	appending.
	(SET_BINARY): New macro, switches an already open file to binary
	mode (required for stdin/stdout on MS-DOS/MS-Windows).
	From Eli Zaretskii <eliz@is.elta.co.il>.

	* c-pathch.h (NAME_BEGINS_WITH_DEVICE): Don't assume the drive
	letter is A-Z only (DOS allows 6 characters beyond Z).  After Eli
	Zaretskii <eliz@is.elta.co.il>.

Thu Oct 16 10:22:42 1997  Olaf Weber  <infovore@xs4all.nl>

	* configure.in: Update stamp-auto after creating c-auto.h.  From
	Peter Breitenlohner.

	* Makefile.in: Don't rewrite paths.h if it was not changed.  After
	Peter Breitenlohner.

Wed Oct 15 15:33:43 1997  Olaf Weber  <infovore@xs4all.nl>

	* xputenv.c (xputenv): Don't do anything if the old and new values
	of the environment variables are identical, because some libraries
	(DJGPP) will will optimize away such no-ops, and therefore freeing
	the old value will lead to disaster.  Free new_item if it was
	copied by the library `putenv'.  From Eli Zaretskii
	<eliz@is.elta.co.il>

	* tex-file.c (kpse_open_file): Open
	kpse_{pk,base,fmt,mem,type1}_format files in binary mode.

	* install.texi: Remove description of the feature that (say)
	MAKETEXPK in the environment can be used to provide a
	specification of the argument list of MakeTeXPK.  Reason: the
	feature isn't implemented.

Tue Oct 14 17:08:22 1997  Olaf Weber  <infovore@xs4all.nl>

	* xgetcwd.c: Rename DO_NOT_USE_GETCWD to GETCWD_FORKS.
	* common.ac: Add a test for GETCWD_FORKS.
	* acconfig.h: Include GETCWD_FORKS.

Mon Oct 13 19:42:58 1997  Olaf Weber  <infovore@xs4all.nl>

	* path-elt.c (element): Always return a new string rather than a
	part of the path, as the returned string may be modified.

	* tex-file.c (remove_dbonly): Replaced hard-coded ':' with
	ENV_SEP.  From Fabrice Popineau.

	* common.ac, configure.in: Move definition of KPSEVERSION from
	common.ac to configure.in.

	* common.ac: Check for presence of getcwd.

	* xgetcwd.c: Use getcwd in preference to getwd, unless
	DO_NOT_USE_GETCWD is defined.

	* MakeTeX.cnf: Made varfonts the default.

	* elt-dirs.c, path-elt.c, tilde.c, variable.c: Print (nil) instead
	of (null), so we can distinguish *printf being fed a null pointer.

	* tex-file.c: remove_dbonly: Corrected off-by-one error in
	allocation.

Sat Oct 11 13:48:33 1997  Olaf Weber  <infovore@xs4all.nl>

	* elt-dirs.c (main) [TEST, AMIGA]: Changed test code for Amiga.
	From Andreas Scherer <Scherer@physik.rwth-aachen.de>.

Mon Oct  6 16:36:50 1997  Olaf Weber  <infovore@xs4all.nl>

	* install.texi: Document --enable-maintainer-mode switch.

Sat Oct  4 19:27:22 1997  Olaf Weber  <infovore@xs4all.nl>

	* MakeTeXnames.cnf: Add "strip" feature for backwards
	compatibility with 7.0.
	* Use a new set of MakeTeX* scripts, from Thomas Esser.

Fri Oct  3 09:54:47 1997  Olaf Weber  <infovore@xs4all.nl>

	* kpsewhich.c (path_expand): Don't scribble in the datastructures
	of the system to get rid of trailing slash, use "%.*s" format of
	printf instead.

	* Makefile.in (texmf.sed, paths.h): Take the changes to texmf.cnf.in
	into account.
	* texmf.cnf.in: Redo variable definitions for the sake of clarity.

	* hash.c (hash_create): Make ret static to work around a gcc
	optimizer bug on the Alpha.

	* elt-dirs.c (do_subdir,expand_elt): Cleanup by Greg Hudson
	<ghudson@MIT.EDU>, which might fix the '//' in path problem on the
	Amiga as well.

	* xrealloc.c: Get prototype for realloc from config.h, give
	prototype for xmalloc, prototype xrealloc itself.  After Fabrice
	Popineau.

	* xmalloc.c: Give xmalloc a prototype, get prototype for malloc
	from config.h.  After Fabrice Popineau.

	* tex-file.c [TEX_SUFFIXES]: Brought into sync with tex.ch.

	* install.texi: Extend comments on shared library support.

Thu Oct  2 00:14:57 1997  Olaf Weber  <infovore@xs4all.nl>

	* texmf.cnf.in [buf_size]: Increased from 3000 to 10000.

	* tex-file.h (enum kpse_src_type): removed trailing comma.  From
	Ezra Peisach <epeisach@auriga.rose.brandeis.edu>.

	* c-proto.h [AA]: Obsolete due to changes to web2c.y; removed.

	* bugs.texi: Document KPSE_DEBUG_VARS.
	* debug.h [KPSE_DEBUG_VARS]: New #define for debugging.  From
	Nicolai Langfeldt <janl@math.uio.no>.
	* variable.c (kpse_var_value): Add code to report how variables
	were expanded.  From Nicolai Langfeldt <janl@math.uio.no>.

	* progname.c (selfdir) [!AMIGA]: Directories were mistaken for
	executables.  From Matthias Clasen
	<mclasen@sun2.mathematik.uni-freiburg.de>

	* tex-file.c (remove_dbonly): New function that strips the !! from
	path specifications.  Called when creating the path for
	kpse_db_format.  From Thomas Esser <te@informatik.uni-hannover.de>

	* install.texi: The default installation directory is not always
	/usr/local, as configure will pick the location of an existing tex
	installation.

Wed Oct  1 13:43:18 1997  Olaf Weber  <infovore@xs4all.nl>

	* texmf.cnf.in: Various definitions have changed to take advantage
	of the new brace expansion code.  The various intermediate
	variables (fontdir, web2cdir, ...) have been removed because you
	could burn yourself severely by accidentally setting these
	undocumented variables -- this happened with some versions of make
	during compilation.

Tue Sep 30 16:14:48 1997  Olaf Weber  <infovore@xs4all.nl>

	* kpathsea.texi: Document changes in brace expansion.
	* expand.c (array_concat): reversed the order concatenation, which
	result in more usable brace expansion.
	(kpse_expand_kpse_dot): new function.
	(kpse_path_expand): call kpse_expand_kpse_dot to expand relative
	components using KPSE_DOT, if the latter is defined.

	* common.ac: Define the version string.
	* version.c: Replaced version string with a define.
	* acconfig.h: Added defines for version strings.
	* Makefile.in: Let version = @KPSEVERSION@.
	* common.ac: Introduce KPSEVERSION for version.

	* tex-file.c (kpse_maketex_option): choose proper mf and tfm
	formats rather than tex.

Mon Sep 29 22:47:23 1997  Olaf Weber  <infovore@xs4all.nl>

	* db.c (match): Repaired several off-by-one bugs.

Wed Sep 17 21:09:56 1997  Olaf Weber  <infovore@xs4all.nl>

	* withenable.ac: Added the --enable-maintainer-mode option.

Tue Aug  5 17:26:16 1997  Karl Berry  <karl@cs.umb.edu>

	* config.h (KPATHSEA): Define for the sake of kpathsea code
		getting merged back into original distributions.

Sun Aug  3 17:14:47 1997  Karl Berry  <karl@cs.umb.edu>

	* install.texi: simple.tex doesn't exist in LaTeX 2e; it's sample2e.
	From: "Jonathan I. Kamens" <jik@cam.ov.com> and others.

	* db.c (kpse_db_search): Preprocessor # commands must start in
		column 1 for DEC OSF/1 2.0 cc.
	From: Andrew Komornicki <komornic@maxwell.mps.nsf.gov>.	

	* common.ac (program_inv_name): Correct usage of AC_TRY_LINK.
	From: "John W. Eaton" <jwe@bevo.che.wisc.edu>.

	* Makefile.in (.SUFFIXES): Put before the .c.lo rule for the sake
		of FreeBSD 2.1.7 make.
	From: Hiroto Kagotani <kagotani@in.it.okayama-u.ac.jp>.

Thu Apr 17 17:35:37 1997  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (paths.h): Replace $web2cdir too,
	for the sake of DEFAULT_TEXMFCNF.
	From: M G Berberich <berberic@forwiss.uni-passau.de>.

Tue Apr  1 17:48:18 1997  Karl Berry  <karl@cs.umb.edu>

	* fontmap.c: Doc fix.
	* kpsewhich.c (find_format): Try the long name if the file format
		has no suffix, e.g., `dvips config'.
	From: "Tomasz J. Cholewo" <tjchol01@mecca.spd.louisville.edu>

Sun Mar 23 16:44:21 1997  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (kpse_find_file): Don't assert that `name' is empty,
		only NULL, so \input\relax doesn't crash.
	From: "Tomasz J. Cholewo" <T.Cholewo@ieee.org>.

Fri Mar 21 16:09:47 1997  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXPK, MakeTeXcommon: Support a redirect option to MTPK,
	from Thomas via Paul V.

	* progname.c (selfdir) [AMIGA]: Fix from Andreas.

Sun Feb 16 15:49:07 1997  Karl Berry  <karl@cs.umb.edu>

	* withenable.ac: `enableval' should have been `withval',
	and value must be quoted.

	* MakeTeXTFM: Exit if mf fails, a la MakeTeXPK.
	From: Julian Gilbey <J.D.Gilbey@qmw.ac.uk>.

Thu Feb 13 16:08:30 1997  Karl Berry  <karl@cs.umb.edu>

	* texmf.cnf.in (latex2*_inputs): Put $dbtex/generic before the
	``other'' latex version.
	From: Olaf Weber <Olaf.Weber@cwi.nl>.

	* progname.c (selfdir): Protect against argv0 being dir/exename,
	not found in PATH.  Happens under Solaris.
	From: Ross Alexander <r.alexander@auckland.ac.nz> (and many others).

Sun Feb 09 15:27:15 1997  Fabrice POPINEAU  <popineau@ese-metz.fr>

	* progname.c (kpse_set_progname): Added braces around Win32 code,
	because of variables declaration.

Fri Feb  7 11:53:09 1997  Karl Berry  <karl@cs.umb.edu>

	* Version 3.0.

	* MakeTeXMF: Syntax problems with dc*.  Fix from Thomas.

	* MakeTeX*: sed command to strip off all but the first of multiple
	trees in $TEXMF was faulty.

	* c-pathch.h (ENV_SEP, ENV_SEP_STRING) [AMIGA]: Change to ;
	for Andreas.  Then Amiga binaries may be able to share
	the same texmf.cnf with Unix and NT.

	* texmf.cnf.in (main_memory): Decrease back to 263,000.
	It's not worth allocating 7MB on everyone's machine just
	to do xy-pic samples.  Add a comment about it.

Thu Feb  6 10:27:50 1997  Karl Berry  <karl@cs.umb.edu>

	* db.c (kpse_db_search): If an alias exists on disk, and the
	original entry in ls-R doesn't, use the alias.  Idea, sample code
	from Fabrice.

	* cnf.c (do_line): Add awful kludge to translate ; to :
	when reading texmf.cnf values under Unix.  The idea is
	to be able to write a single texmf.cnf that will work
	under both NT and Unix.

	* db.c: Doc fixes.

	* MakeTeXcommon: Set ps_to_pk.
	* MakeTeXPK: Use ps_to_pk instead of hardwiring gsftopk.
	* MakeTeX.site: Include ps_to_pk comment.

	* texmf.cnf.in (TEXMFCNF): Include SELFAUTOLOC (at the front).
	* progname.c (kpse_set_progname): Include SELFAUTOLOC for the real
	directory.  It may be useful.  Suggested by Andreas.

	* MakeTeXcommon: Add case for fc.
	* MakeTeX.site: Add comment for fc.
	* MakeTeXMF: Add case for fc, generated like Sauter.
	From Francois and Thomas.

	* progname.c [WIN32]: SELFAUTODIR fix from Fabrice.

	* kpathsea.h: Do not #include <kpathsea.h> (infinite loop).
	From Fabrice and Richard.

Tue Feb  4 13:20:09 1997  Karl Berry  <karl@cs.umb.edu>

	* tilde.c: xstrdup the result from getenv,
	since we end up freeing it with a path element of `~'.

	* MakeTeX.site: Include RCS id.

	* MakeTeX.site: Replace sample dc assignment with ec.

	* MakeTeXMF: Handle ec, use exbase for tc.

	* MakeTeXcommon (ecfontdir,tcfontdir): New variables.

Tue Feb 04 15:11:29 1997  Fabrice POPINEAU  <popineau@ese-metz.fr>

	* progname.c: argv[0] under Win95 is set to the short
	filename of the executable run. Changed the way
	program_invocatio_name is retrieved : used the SearchPath() win32
	call, next FindFirstFile() to get the long filename. The selfdir
	stuff is not used any more for win32.

Mon Feb  3 18:01:02 1997  Karl Berry  <karl@cs.umb.edu>

	* kpsewhich.c (read_command_line): Check for -1, not EOF,
	per new getopt.

Sun Feb  2 16:06:42 1997  Karl Berry  <karl@cs.umb.edu>

	* texmf.cnf.in (PKFONTS.xdvi): Replace `gsftopk,ps2pk' by `modeless'.
	* MakeTeXPK (mode): Use `modeless' instead of `gsftopk'.

	* tex-file.c: Look for TEXINDEXSTYLE before INDEXSTYLE.

Sat Feb  1 16:31:39 1997  Karl Berry  <karl@cs.umb.edu>

	* texmf.cnf.in: Doc fix.

	* progname.c (my_dirname): Check for device separators at the
	beginning fo the string.  From Andreas.

	* c-pathch.h (IS_DIR_SEP) [AMIGA]: New definition from Andreas.
	(NAME_BEGINS_WITH_DEVICE): Remove.

	* tex-make.c (maketex) [AMIGA]: Have to call system instead of popen
	due to different interface.  From Andreas.

	* progname.c (selfdir): Check self, not ret, for exiting the loop.
	(remove_dots): Missing indirection on ret.
	From Fabrice.

Tue Jan 21 08:26:17 1997  Karl Berry  <karl@cs.umb.edu>

	* elt-dirs.c: Doc fixes.

	* db.c (match): Don't return false just because the path element
	ended in /.
	Bug from: Richard Walker <Richard.Walker@cs.anu.edu.au>.

	* expand.c (kpse_path_expand): Do variable expansion before
	splitting on path elements.
	Bug from: Richard Walker <Richard.Walker@cs.anu.edu.au>.

	* tilde.c [TEST]: Function name changed.
	From: Richard Walker <Richard.Walker@cs.anu.edu.au>.

	* texmf.cnf.in (MAILCAPLIBDIR): Rename from MAILCAPDIR.
	From Ulrik.

Tue Jan 21 09:34:20 1997  Fabrice POPINEAU  <popineau@ese-metz.fr>

	* c-pathch.h: NAME_BEGINS_WITH_DEVICE(string) new macro testing
	for the presence of a device name in front of the string.

	* progname.c (remove dots): stop before device name if
	present. When building the filename, do not add leading DIR_SEP if
	there is a device.

	* pathsearch.c (path_search): avoid searching the whole disk
		adapted for win32.

	* db.c: support aliases file along with db files. An alias file is
	named with ALIAS_NAME and the hashtable size is
	ALIAS_HASH_SIZE. When a name looked for has an alias, the alias is
	searched instead of the original name. The format of the aliases
	file is "real_name alias_name", one pair per line. Currently only
	for WIN32.

Mon Jan 20 12:01:14 1997  Karl Berry  <karl@cs.umb.edu>

	* progname.c: Amiga patch from Andreas.

Sun Jan 19 14:29:00 1997  Karl Berry  <karl@cs.umb.edu>

	* pathsearch.c (path_search): Strip off all but one of leading /'s.
	We never want to search the whole disk.

	* progname.c: Expand symlinks off the final filename, not the
	directory name.

Sat Jan 18 14:39:00 1997  Karl Berry  <karl@cs.umb.edu>

	* texmf.cnf.in (param_size): Increase to 500 for the chemical
	formula macro package.  From Thomas.

	* progname.c (expand_symlinks, ReadSymLink, CopyFirst, StripFirst,
	StripLast): New functions to expand symbolic links for SELFAUTO*.
	Noted by Thomas.

	* texmf.cnf.in (PKFONTS.xdvi): Fix tpyo.
	Document that memory changes
	(trie_size): Increase to 64000.

Fri Jan 17 13:08:08 1997  Karl Berry  <karl@cs.umb.edu>

	* progname.c (remove_dots): Don't free the constant null string.
	From Andreas.

	* texmf.cnf.in (dbfontdir): Change to dbfonts (the commented-out one).

Thu Jan 16 10:13:19 1997  Karl Berry  <karl@cs.umb.edu>

	* cnf.c (kpse_cnf_get): Avoid recursive init, due to new
	$TETEXDIR and other variables in default TEXMFCNF value.

	* getopt*, strtol.c: New versions from /gd/gnu/lib.

	* c-std.h (ALLOC_RETURN_TYPE): Only define if we're going to use it.

	* acconfig.h (EDITOR): Oops, %s not +%s.
	From: tim@maths.tcd.ie.

	* progname.c (kpse_set_progname): One more my_dirname call
	to get the parent and the grandparent in the environment variables.

	* texmf.cnf.in (texdir): Rename from tex, to avoid clash with
	TEX used by makempx -- win32 doesn't distinguish case on envvars.
	From Fabrice.
	(WEB2CDIR): Lowercase, so it doesn't end up in paths.h, just
	for cleanliness.

	* progname.c (kpse_set_progname): Pass program_invocation_name
	to selfdir instead of progname, just in case we
	HAVE_PROGRAM_INVOCATION_NAME and it's something different.
	From Fabrice.

	* tex-file.c (kpse_open_file): ocp, ofm and ovf should use
	FOPEN_RBIN_MODE.  From Fabrice and John Plaice.

	* progname.c [AMIGA]: Fix syntax errors, remove_dots not necessary.
	From Andreas Scherer.

	* MakeTeXupdate: MakeTeXls-R isn't in the conf dir anymore, just
	in the regular path.
	From Thomas.

Sun Jan 12 17:22:35 1997  Karl Berry  <karl@cs.umb.edu>

	* cnf.c (read_all_cnf): Do not test unallocated memory on empty
	lines; crashed on Alphas.

	* progname.c (dirname): Rename to my_dirname to avoid clash on Alphas.

Sat Jan 11 16:28:54 1997  Karl Berry  <karl@cs.umb.edu>

	* c-std.h (calloc, malloc, realloc) [!STDC_HEADERS]: Only declare
	in this case.

Tue Jan  7 17:44:01 1997  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXPK: Doc fix.

	* texmf.cnf.in (KPSE_DOT): Define.

	* c-memstr.h: Doc fix.

Wed Jan  1 16:58:02 1997  Karl Berry  <karl@cs.umb.edu>

	* pathsearch.h (kpse_filename_component): Declare this.
	* path-elt.c: Define it.
	* progname.c (remove_dots): New function to remove . and ..
	filename components.  Subsumes slashify, it turns out.

	* Makefile.in (install-exec): Install MakeTeXls-R in $(scriptdir).

Mon Dec 30 16:22:42 1996  Karl Berry  <karl@cs.umb.edu>

	* progname.c (kpse_set_progname): Strip off .exe if present.

	* cnf.c: Doc fix.

	* progname.c (slashify): New function, to translate \ into / for WIN32.
	(selfdir): Call it.

	* lib.h (FILE{STR,CHAR}CASEEQ) [MONOCASE_FILENAMES]: Define these,
	continuing yesterday's changes.
	From Fabrice.

Sun Dec 29 13:26:09 1996  Karl Berry  <karl@cs.umb.edu>

	* db.c (match, elt_in_db),
	* elt-dirs.c (cached),
	* hash.c (hash_lookup),
	* kpsewhich.c (find_format, TRY_SUFFIX),
	* tex-file.c,
	* cnf.c (do_line): Compare filenames with FILESTRCASEEQ or
	FILECHARCASEEQ to support monocase filesystems.
	* hash.c (hash) [MONOCASE_FILENAMES]: Transform keys to uppercase.
	From Fabrice.

	* basename.c (basename):  Consider device separators;
	if given 'e:foo.tex', should return 'foo.tex'.
	From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.

	* types.h (boolean): Protect with #ifndef HAVE_BOOLEAN, for NeXT.
	From: Raf Schietekat <flexus!rfschtkt@colds.ruca.ua.ac.be>

Sat Dec 28 07:18:48 1996  Karl Berry  <karl@cs.umb.edu>

	* progname.c [AMIGA]: Add code for this case from Andreas S.

Fri Dec 27 17:38:43 1996  Karl Berry  <karl@cs.umb.edu>

	* progname.c (S_IX{USR,GRP,OTH}): Define if not defined, for the NeXT.
	From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.

	* texmf.cnf.in (TEXMFCNF): Rewrite using /.'s etc.  From Thomas.

Sun Dec 15 06:21:22 1996  Karl Berry  <karl@cs.umb.edu>

	* common.ac (AC_CHECK_FUNCS): Add getwd.

	* lib.h (xgetcwd): Declare.
	* Makefile.in (objects): Add xgetcwd.lo.
	* xgetcwd.c: New file from xdvik.

	* texmf.cnf.in (TEXMFCNF): Add $SELFAUTODIR:$SELFAUTOPARENT.
	* progname.c (selfdir, dirname, etc.): New functions.
	(kpse_set_progname): Set SELFAUTODIR and SELFAUTOPARENT.

Sat Dec 14 14:41:39 1996  Karl Berry  <karl@cs.umb.edu>

	* tex-file.h (kpse_src_type): New types kpse_tex{doc,source}_format.
	* tex-file.c (TEXDOC_ENVS, TEXSOURCE_ENVS): New envvars.
	(kpse_init_format): Handle them.
	* texmf.cnf.in (TEXDOCS, TEXSOURCES): New values.
	* kpathsea.texi: Document them.

Fri Dec 13 16:46:00 1996  Karl Berry  <karl@cs.umb.edu>

	* expand.h: Doc fix.

Thu Dec 12 17:25:25 1996  Karl Berry  <karl@cs.umb.edu>

	* xputenv.c [WIN32]: Work around putenv ("FOO=") unsetting
	FOO under NT.  From Fabrice.

Mon Dec  9 23:27:45 MET 1996 Thomas Esser <te@informatik.uni-hannover.de>

	* kpsewhich.c: add option -show-path to display the search path for a
	given file type.

Mon Dec  9 17:23:32 1996  Karl Berry  <karl@cs.umb.edu>

	* readable.c (READABLE): Check !S_ISDIR instead of S_ISREG,
	to allow fifo's.
	Suggestion from: Krzysio Leszczynski <chris@camk.edu.pl>.

	* tex-file.c (kpse_open_file): Open VF files in binary mode.
	From Fabrice.

	* types.h (boolean) [WIN32]: Remove this case, Fabrice
	has found another solution.

	* elt-dirs.c (expand_elt): Do not check for a device separator.
	From Fabrice.

	* texmf.cnf.in (OTPINPUTS, OCPINPUTS): These use a subdirectory omega/.
	From John P.

Sun Dec  8 17:15:43 1996  Karl Berry  <karl@cs.umb.edu>

	* c-proto.h (DllImport): Define here.
	* config.h (DllImport): Instead of here.
	* kpsewhich.c: Other DllImport changes.
	* line.c [WIN32]: Include <malloc.h>.
	* tex-file.c: Oops, had FOPEN_RBIN_MODE vs. R reversed.
	* tex-make.c (kpse_make_tex_discard_errors): Add Dllimport.
	* types.h (boolean): Bizarre WIN32 definition.
	From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.

Sat Dec  7 22:12:26 MET 1996 Thomas Esser <te@informatik.uni-hannover.de>

	* MakeTeXnames: Ensure that cmr1234 will be mapped to
	jknappen/sauter while cmr12 will still be mapped to public/cm.

Fri Dec  6 15:08:35 1996  Karl Berry  <karl@cs.umb.edu>

	* texmf.cnf.in (OFMFONTS, etc.): New definitions for Omega.
	* tex-file.h (kpse_file_format_type): Define kpse_ocp_format, etc.
	* acconfig.h (MAKE_OMEGA_{OFM,OCP}_BY_DEFAULT): Include these.
	* tex-file.c (kpse_init_format): New cases for the Omega types.
	(OCP_ENVS, etc.): New environment variable lists.
	From: John Plaice <plaice@iad.ift.ulaval.ca>.

	* texmf.cnf.in: Use fonts//<format> consistently,
	instead of fonts/<format>.

	* lib.h (itoa): Remove, it seems we don't use this function any more.
	* itoa.c: Remove.
	* acconfig.h (HAVE_ITOA): Remove this.
	* Makefile.in (objects): Remove.

	* cnf.c (do_line): Oops, tested prog after freeing it,
	should have tested prog2.
	From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.

Tue Dec  3 14:57:52 1996  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (objects): Remove strtol.lo, that's generated by
	configure.
	From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.

Mon Dec  2 09:05:54 1996  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXcommon: Set KPSE_DOT before the trap.  From Thomas.

Tue Dec  3 18:02:08 1996  Ulrik Vieth  <vieth@thphy.uni-duesseldorf.de>

	* texmf.cnf.in (TRFONTS): Set this to /usr/lib/font/devpost
	indepent of $prefix.

Mon Dec  9 00:28:58 1996  Ulrik Vieth  <vieth@thphy.uni-duesseldorf.de>

	* MakeTeXcommon: Use `basename $0` in usage and version messages
	for consistency with other programs and scripts.
	Also accept -help, -version in addition to --help, --version.

	* MakeTeX{MF,PK,TFM,ls-R,mkdir,names,update}:
	Use `basename $0` in usage messages for consistency.
	
Tue Dec  3 18:02:08 1996  Ulrik Vieth  <vieth@thphy.uni-duesseldorf.de>

	* texmf.cnf.in (TRFONTS): Set this to /usr/lib/font/devpost
	indepent of $prefix.

Thu Nov 28 16:33:35 1996  Karl Berry  <karl@cs.umb.edu>

	* common.ac (AC_ISC_POSIX): Remove this; it causes warnings from
	Autoconf that make no sense, isn't cached, and is probably of
	dubious value today.
	* configure.in: Move the klibtool stuff to common.ac, so the
	program configure.in's can find it.

Wed Nov 27 14:43:41 1996  Karl Berry  <karl@cs.umb.edu>

	* configure.in: Doc fix.
	* acconfig.h (HAVE_BASENAME, etc.): #undef these symbols so
	Autoheader can replace them; we use a non-standard macro to test
	for them, since they're part of the possibly-shared library.

Mon Nov 25 14:04:42 1996  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (texmf.sed): Replace all $(texmf) with `$TEXMF'
	except on the TEXMF line itself.

Sun Nov 24 10:06:35 1996  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (texmf.sed): Insert missing quote.
	(distdir): Use doc instead of listing all the targets (we were
		missing unixtex.ftp).

	* kpsewhich.c (read_command_line): Print the integer equivalent of
	each format.

Sat Nov 23 15:38:31 1996  Karl Berry  <karl@cs.umb.edu>

	* xt.ac (with_x): Remove spurious ;;.

Fri Nov 22 18:00:41 1996  Karl Berry  <karl@cs.umb.edu>

	* cnf.c (do_line): Let var.prog lines work if we're running prog.exe.
	This happens with --enable-shared.
	From Ulrik.

Mon Nov 18 16:10:48 1996  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (kpse_troff_font_format): Change to DEFAULT_TRFONTS
	to make texmf.cnf.in change.

Fri Nov 15 14:13:36 1996  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (texmf.sed): Get $TEXMF back into the paths.
	Noted by Andreas Scherer.
	(distdir): Add klibtool.version to the distribution.
	From Ulrik.
	(install-exec): Use INSTALL_SCRIPT for scripts.

Mon Nov 11 16:16:50 1996  Karl Berry  <karl@cs.umb.edu>

	* various .c: Print (nil) instead of (null) so we can possibly
	detect printf of a null pointer.

Sun Nov 10 16:22:43 1996  Karl Berry  <karl@cs.umb.edu>

	* xt.ac: New file so web2c and xdvi treat --with-x-toolkit uniformly.
	From Ulrik.

Thu Oct 31 15:38:48 1996  Karl Berry  <karl@cs.umb.edu>

	* expand.c (kpse_path_expand): Do brace expansion first.
	(kpse_brace_expand): Expand each element of the brace expansion, so
	{~a,~b} expands.  Suggested by Thomas.

Fri Oct 25 16:51:14 1996  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (install-data): Install an empty dir file if none exists.
	(mostlyclean: Remove PROF etc. subdirs here.

Tue Oct 22 13:56:20 1996  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in ($(library).h): Make the modtime of the file the
	same as the latest other .h; otherwise, we think kpathsea always
	has to be remade.

Sun Oct 20 18:06:36 1996  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (distdir): No need to distribute copying.texi.

Mon Oct 14 11:32:51 1996  Karl Berry  <karl@cs.umb.edu>

	* Changes for NT from: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.

	* xputenv.c (putenv) [WIN32]: #include <stdlib.h> instead of declaring.

	* tex-file.c (kpse_open_file): Use FOPEN_RBIN_MODE for tfm and gf
	formats.

	* xopendir.h [!WIN32]: Conditionalize whole file.
	* xopendir.c (xopendir) [!WIN32]: Conditionalize defn.

	* kpsewhich.c (DllImport) [_WIN32]: Define.
	(path_sep): Use ENV_SEP_STRING.

	* progname.h,
	* lib.h,
	* debug.h (kpathsea_debug),
	* concatn.h (concatn): Give DllImport kludge.

	* config.h (DOSISH) [WIN32]: #define.
	Also include <windows.h>, etc.

	* c-std.h (getenv, popen, pclose) [WIN32]: Conditionalize decls.
	* c-fopen.h [WIN32]: Use rb and wb.
	* c-limits.h [HAVE_SYS_PARAM_H]: Conditionalize #ifdef.
	* common.ac: Check for <sys/param.h>
	* c-stat.h [WIN32]: #include <io.h> and #define stat _stat.

Sat Oct 12 11:10:45 1996  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (kpse_find_file): Include a suffix in what we pass to
	kpse_fontmap_lookup.

	* Makefile.in (paths.h): Remove extra $ when replacing $VARFONTS.

Tue Oct  8 16:40:07 1996  Karl Berry  <karl@cs.umb.edu>

	* tex-glyph.c (try_fontmap): Do not return the first alias if it
	itself is an alias.  Also, if a particular alias succeeds,
	return that.

Sun Oct  6 17:52:58 1996  Karl Berry  <karl@cs.umb.edu>

	* version.c: Doc fix.

Sat Oct  5 17:06:54 1996  Karl Berry  <karl@cs.umb.edu>

	* kpsewhich.c (-must-exist): New option.
	(must_exist): New global.

	* Makefile.in (install-data): Call install-info.
	* kpathsea.texi, *.texi: Use @url, @email, and @dircategory/@direntry.

Sat Sep 21 19:02:17 1996  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXnames.cnf: Doc fix.

	* texmf.cnf.in (latex{2e,209}_inputs): Replace spurious `latex2e'.
	(TEXINPUTS.fontinst): New definition, including AFM files.
	(MFINPUTS, TFMFONTS, PKFONTS): Use $VARFONTS.
	From Thomas.

Sat Sep  7 16:00:53 1996  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXupdate,
	* MakeTeXnames,
	* MakeTeXmkdir,
	* MakeTeXls-R,
	* MakeTeXTFM,
	* MakeTeXPK,
	* MakeTeXMF (version): Call kpsewhich in MakeTeXcommon, not here.

	* version.c: Doc fix.

	* kpsewhich.c (read_command_line): Improve formatting of --help
	message.

Fri Sep  6 19:16:20 1996  Karl Berry  <karl@cs.umb.edu>

	* kpsewhich.c (read_command_line): Print the bug reporting address.
	* version.c (kpse_bug_address): New global.

Thu Sep  5 19:08:04 1996  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in: Doc fix.

	* configure.in: Include ../acklibtool.m4 here.
	* common.ac: Not here.  Move calls to kb_*LIBTOOL* functions, too.

Sun Sep  1 17:34:17 1996  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (.c.lo): Put filename right after $(CC), for Klibtool.
	(KPATHSEA_CC): Do not include ALL_CFLAGS here.
	(paths.h): Instead of deleting definitions with lowercase variable
	names, don't include them in the first place.

Sat Aug 31 16:15:33 1996  Karl Berry  <karl@cs.umb.edu>

	* common.ac: Call kb_KLIBTOOL_REPLACE_FUNCS and kb_PROG_LIBTOOL
	instead of the AM_* versions.
	Also, include acklibtool.m4 instead of aclibtool.m4.

	* Makefile.in (liblobjs): Change to use @LTLIBOBJS@.

Sat Aug 17 17:22:18 1996  Karl Berry  <karl@cs.umb.edu>

	* texmf.cnf.in (PKFONTS*, GFFONTS): Need another / to match TDS.

Sat Aug 10 15:46:46 1996  Karl Berry  <karl@cs.umb.edu>

	* texmf.cnf.in (TFMFONTS, VFFONTS): Update with trailing // for TDS.

	* MakeTeXupdate,
	* MakeTeXnames.cnf,
	* MakeTeXnames,
	* MakeTeXTFM,
	* MakeTeXMF,
	* MakeTeXmkdir,
	* MakeTeXls-R,
	* MakeTeXPK: Change --expand to -expand-var.

	* tex-glyph.c (try_fontmap): Return the real name of the first
		alias as the font name.
	(kpse_find_glyph): Change call, free string if necessary, etc.
	Basic idea from a patch sent by wls@astro.umd.edu.

Fri Aug  9 15:42:40 1996  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (paths.h): Substitute for dbtex, dbfonts, and prefix.
	Also, do not define lowercase variables.

Thu Aug  8 14:50:29 1996  Karl Berry  <karl@cs.umb.edu>

	* texmf.cnf.in (TEXCONFIG, INDEXSTYLE): Use //, just in case there
		are subdirectories. From Thomas.

Tue Aug  6 13:59:03 1996  Karl Berry  <karl@cs.umb.edu>

	* kpsewhich.c (lookup): Handle user_path case.

Mon Aug  5 17:23:56 1996  Karl Berry  <karl@cs.umb.edu>

	* kpsewhich.c: Rename -expand to -expand-var,
	-path to -expand-path, and add new -path option to specify
	explicit path for lookups.

	* tex-file.h (kpse_ist_format): New format.
	* tex-file.c (kpse_init_format): Initialize it.
	(IST_ENVS): New #define.
	* texmf.cnf.in (INDEXSTYLE): Set the default path.

	* tilde.c (kpse_tilde_expand): If $HOME starts with //, only use
	one of the slashes.

Sat Aug  3 17:18:00 1996  Karl Berry  <karl@cs.umb.edu>

	* kpsewhich.c (read_command_line): Change Usage: line to conform.

Fri Aug  2 11:57:23 1996  Karl Berry  <karl@cs.umb.edu>

	* db.c (db_build): Test len > 0 before evaluating len - 1.
	From: "Peter Henderson, Syrinx Speech Systems P/L, Tel: (+61-2)
	        956-6540" <peterh@syrinx.com.au>.

Sat Jul 27 14:35:17 1996  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (paths.h): Change target name to
	$(kpathsea_dir)/paths.h, for rdepend.make dependency.

	* Makefile.in (liblobjs): New variable, gets @LIBTOOL_LIBOBJS@.
	* common.ac (kbAC_LIBTOOL_REPLACE_FUNCS): Use this new macro instead
	of AC_REPLACE_FUNCS.

Fri Jul 26 15:51:55 1996  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (KPATHSEA_CC): Include $(compile).
	(.c.lo): Change suffix rule for libtool 0.5.
	(install-exec): Use new variables INSTALL_LIBTOOL_*.

Mon Jul  8 17:21:34 1996  Karl Berry  <karl@laurie>

	* unixtex.texi: Rename from obtain.texi.

Fri Jun  7 19:10:52 1996  K. Berry  <kb@cs.umb.edu>

	* common.ac: Include ../kpathsea/withenable.ac.

Thu Jun  6 16:34:43 1996  K. Berry  <kb@cs.umb.edu>

	* Makefile.in (kpsewhich): Use libtool commands etc. instead of
	our shared lib stuff.
	* common.ac: Replace our shared lib stuff with gm_PROG_LIBTOOL.
	* withenable.ac: Remove --enable-shared stuff.

Sat Jun  1 15:05:42 1996  Karl Berry  <karl@cs.umb.edu>

	* MakeTeX*: Add RCS info for version strings.

Thu May 30 13:46:46 1996  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXPK: Doc fix; we're called with the base font name
	(pplr8r), not the user font name (pplr).

	* db.c (ignore_dir_p): Remove the dot_pos != dirname test,
	since it's always true. It caused directory names containing .'s
	(e.g., `dc-1.2') to be ignored.
	From Thomas Esser and Frank Mittelbach.

Sun May 26 16:06:41 1996  Karl Berry  <karl@cs.umb.edu>

	* tex-make.c (kpse_make_tex): If called kpse_init_form, reassign
	our local variable, too.

Thu May 23 16:20:53 1996  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXnames: Doc fix.

Fri May  3 13:34:51 1996  Karl Berry  <karl@cs.umb.edu>

	* withenable.ac: Use AC_ARG_WITH instead of AC_ARG_ENABLE for
	maketex*.

	* tex-file.c (kpse_find_file): Oops, testing for kpse_pk_format
	twice, when meant to test for kpse_gf_format.

	* cnf.c (do_line): Allow whitespace in variable values.

	* texmf.cnf.in: Finish adding easier support for !!. From Joachim.

Wed May  1 16:30:56 1996  Karl Berry  <karl@cs.umb.edu>

	* texmf.cnf.in (TEXCONFIG): Take $HOME back out again, we're going
	to hardwire a seach for dvipsrc in $HOME.

Mon Apr 29 14:02:03 1996  Karl Berry  <karl@cs.umb.edu>

	* texmf.cnf.in (latex2e_inputs): Use just `latex', not `latex2e'.
	From: David Carlisle <carlisle@cs.man.ac.uk>.
	(TEXINPUTS, etc.): Also rewrite to make !! support easier to add.
	From: Joachim Schrod <schrod@iti.informatik.th-darmstadt.de>.

	* install.texi: Document ksh/ash/Ultrix sh lossage, in favor of
	bash/bsh/sh5.

Sun Apr 28 15:02:55 1996  Karl Berry  <karl@cs.umb.edu>

	* acconfig.h (ASM_NEEDS_UNDERSCORE): New define.
	From: Peter Breitenlohner <peb@MPPMU.MPG.DE>.

	* Makefile.in (sharedlib_version): Remove unused variable.

Sat Apr 27 17:15:14 1996  Karl Berry  <karl@cs.umb.edu>

	* texmf.cnf.in (hyph_size): Add this.

Tue Apr 23 07:34:05 1996  Karl Berry  <karl@cs.umb.edu>

	* texmf.cnf.in (MIMELIBDIR, MAILCAPDIR): Add these.
	(MPXCOMMAND): And these.

	* MakeTeX.site: New file, just an example.

Mon Apr 22 17:31:27 1996  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXnames.conf: Rename to MakeTeXnames.cnf.
	* MakeTeXnames: Change call.
	* Makefile.in (install-exec): Change install.

Sun Apr 21 12:09:06 1996  Karl Berry  <karl@cs.umb.edu>

	* tex-file.h (kpse_set_program_enabled, kpse_maketex_option):
	Declare new functions.
	(kpse_src_type): Define new type.
	* tex-file.c (kpse_set_program_enabled): New function, so we can
	set this at all the various levels and get the overrides right.
	(kpse_maketex_option): Handle MakeTeX options in a common place.
	* proginit.c (kpse_init_prog): Call it, and remove the make_tex_pk
	argument.
	* proginit.h (kpse_init_prog): Likewise.
	* kpsewhich.c (parse_options): New options -maketex and -nomaketex,
	just calls kpse_maketex_option.

	* Makefile.in ($(library).h): New target, made at dist time.

Sat Apr 20 17:21:24 1996  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (kpse_find_file): Do not pound the disk on the first
	search if we might be trying the second.

Tue Mar 12 15:21:16 1996  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXPK: Restore check for mismatched mode and bdpi.  From Thomas.

Sun Mar 10 14:17:14 1996  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXnames.conf: Rename VARFONTS to VARTEXFONTS.

	* MakeTeXcommon (trap): Oops, cd $KPSE_DOT before testing $STDOUT.

Sat Mar  9 17:57:02 1996  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXcommon (trap): cd back to KPSE_DOT before removing
	TEMPDIR, in case $TMPDIR is relative.  Reported by Thomas.

Fri Mar  8 11:41:22 1996  Karl Berry  <karl@cs.umb.edu>

	* db.c (kpse_db_search): Add debug statement with the result of
	the match.

	* tex-make.c (kpse_make_tex): Don't look for the arg spec here.
	* tex-file.c (init_maketex): Do it here. Check for disbaling in
	the config file, too.

	* tex-make.c (misstex): Look for TEXMFOUTPUT in texmf.cnf.
	* texmf.cnf.in (TEXMFOUTPUT): Define this.

	* kpathsea.texi (Suppressing warnings): New node to describe TEX_HUSH.

	* tex-file.c (kpse_init_format): Include the numeric value of the
	format for use with kpsewhich --format.

	* tex-hush.c: Support `all' to suppress everything.

Thu Mar  7 11:24:51 1996  Karl Berry  <karl@cs.umb.edu>

	* kpsewhich.c: Change --program to --progname, for compatibility
	with TeX & co.

	* texmf.cnf.in (TEXCONFIG): Remove ~ from default path, for
	consistency with everything else.

	* readable.c: Let's call it TEX_HUSH instead of KPSE_NOWARN_PERM,
	so we can use it for checksum warnings, too. And for similarity
	with xdvi.
	* kpathsea.texi: Corresponding change.
	* tex-hush.[ch]: New files.

Wed Feb 28 15:16:32 1996  Karl Berry  <karl@cs.umb.edu>

	* tex-make.c (misstex): Let the name missfont.log be configurable.
	* texmf.cnf.in (MISSFONT_LOG): Add this definition.
	* kpathsea.texi: Document this.

Sun Feb 25 16:55:35 1996  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c: Reverse order of alias & suffix searches, so we look
	for the original TFM name before aliases.

Sun Feb 18 16:24:50 1996  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (xopenfile): Move this function to here and rename to
	kpse_open_file.
	* xopenfile.c: Remove this.
	* Makefile.in (objects): Remove xopenfile.o.

Thu Feb 15 12:57:56 1996  Karl Berry  <karl@cs.umb.edu>

	* tex-make.c (maketex): Do not print the `kpathsea: Running ...'
	message if we're discarding output.
	(misstex): Do not log the missing file in missfont.log, either.

Sat Feb 10 14:59:23 1996  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (sharedlib): Add new command here $(shared_postlink)
	so we can make the necessary symlink.
	(shared_postlink): New variable

Fri Feb  9 15:46:55 1996  Karl Berry  <karl@cs.umb.edu>

	* withenable.ac (maketex{mf,pk,tfm}-default): Move here from
	web2c/withenable.ac.

Wed Feb  7 16:52:08 1996  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXnames.conf: Extract this new script from MakeTeXcommon, sigh.
	* MakeTeX*: Other updates from Thomas --
	- replace the exec 3>&1 1>&2 by trap/subshell construction. The
	        3>&1 may cause the 'open fd bug' with bash.
	- ts is a typo. tc are the text companion fonts
	- replace >&3 by >$STDOUT where $STDOUT is a filename. Its content is
	  displayed by the trap command in MTcommon.
	- added missing ;; in case/esac 
	- use : ${VAR=VAL} where possible
	- added mt_min_args
	- removed psfonts.map parsing (was only needed for ps2pk)
	- removed >&2 where redirection stdout->stderr is active anyway
	- removed </dev/null where redirection stdin<-/dev/null is active
	        anyway
	- Oops: MakeTeXTFM still used old code:  >$TEMPDIR/mtout.$$
	- add line
	   trap 'test -f $STDOUT && cat $STDOUT; cd /; rm -rf $TEMPDIR; exit 0' 0 1 2 15
	  to MakeTeXcommon
	- MT_FEATURES now in MakeTeXnames.conf since we need to read it
	        later than MakeTeXcommon

Tue Feb  6 17:04:25 1996  Karl Berry  <karl@cs.umb.edu>

	* tex-file.h (kpse_file_format_type): Add afm and type1 support.
	* tex-file.c: Likewise.
	(kpse_init_format): In tex_ps_header_format, no longer need to
	recognize .pfa and .pfb.
	* texmf.cnf.in (AFMFONTS, T1FONTS): Likewise.
	* Makefile.in (paths.h): Include 0-9 in the regexp for the sake of
	T1FONTS.

Sat Feb  3 15:45:00 1996  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (DEFS): Move to common.make.

Mon Jan 29 17:01:44 1996  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXls-R: Doc fix.

Mon Jan  8 17:17:42 1996  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c: Doc fix.

	* fontmap.c (MAP_NAME, MAP_HASH_SIZE): Conditionalize these #defines.

Sun Jan  7 17:38:00 1996  Karl Berry  <karl@cs.umb.edu>

	* db.c (DB_HASH_SIZE, DB_NAME): Conditionalize these.

	* MakeTeXcommon (dcfontdir, tsfontdir): Use supplier `jknappen'.

Mon Jan  1 15:14:42 1996  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (distdir): Don't bother including freedom.texi.

Fri Dec 29 17:17:08 1995  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in: misc.make is now clean.make.

Tue Dec 26 14:21:08 1995  Karl Berry  <karl@cs.umb.edu>

	* withenable.ac: New file with --enable option extracted from
	common.ac, for the top level to include.

	* acconfig.h (MAKE_TEX_PK_BY_DEFAULT): Add this.

	* readable.c (kpse_readable_file): Omit warning if
	KPSE_NOREAD_WARN is set to 1.

Wed Dec 13 14:14:09 1995  Karl Berry  <karl@cs.umb.edu>

	* kpsewhich.c: Call kpse_init_format when necessary in the
	--format case.

Mon Dec 11 14:42:13 1995  Karl Berry  <karl@cs.umb.edu>

	* common.ac: --disable-shared should not act like --enable-shared.
	From Ulrik.

Sun Dec 10 15:35:15 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.h (kpse_mft_format): New format.
	* tex-file.c (MFT_ENVS): New variable.
	(kpse_init_format): Initialize it.
	* texmf.cnf.in (MFTINPUTS): New variable.

Fri Dec  8 08:54:58 1995  Karl Berry  <karl@cs.umb.edu>

	* xopenfile.c: Doc fix.

Mon Dec  4 17:23:34 1995  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (check): Extra $ missing.

Sun Dec  3 13:42:54 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (TEX_SUFFIXES): Add .dtx.

Sun Nov 19 16:19:37 1995  Karl Berry  <karl@cs.umb.edu>

	* MakeTeX*: Use MakeTeXupdate, mkdir, etc. in $TEXMFCNF_DIR, not
	along PATH. From John I.

Sat Nov 18 17:03:46 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (TEX_SUFFIXES): Add .txi.

Fri Nov 17 15:12:03 1995  Karl Berry  <karl@cs.umb.edu>

	* common.ac (kb_AC_SYS_SHAREDLIB): Add the kb_ prefix.

	* Makefile.in ({un,}install-exec): Use sharedlibname and
	staticlibname instead of `basename`.
	Also, pass no arguments to $(shared_postinstall); let the Autoconf
	macro set this completely.

	* expand.c: Bash code remains under the GPL, per rms.

Thu Nov 16 16:14:14 1995  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (uninstall-exec): Needs same `basename` treatment as
	install-exec. From Ulrik.

	* config.h [AMIGA] (pclose): Must be #defined as 0, not just
	empty. From Andreas Scherer.

Tue Nov 14 14:04:57 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.h (kpse_fallback_resolutions_string): New global.
	* tex-file.c: Define it.
	(kpse_init_fallback_resolutions): Use it instead of
	DEFAULT_FONT_SIZES, if set.

Mon Nov 13 10:43:11 1995  Kathy Hargreaves  <karl@cs.umb.edu>

	* find-suffix.c: Remove spurious + 1.

Sun Nov 12 13:42:51 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c: Improve warning message if last resort sizes are not
	sorted. Suggested by Kathy.

	* texmf.cnf.in (trie_size, main_memory): Doc improvements from Wayne.

Sat Nov 11 16:58:37 1995  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXnames: Correct too many left quotes.

	* tex-make.c (kpse_make_tex): Initialize the format if necessary.

Mon Oct 30 16:49:05 1995  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXPK (GFNAME): Do not assume $cmd produced $GFNAME. From Tim.

	* texmf.cnf.in (trie_size): Increase to 32000 so common language
	combinations will require no change. Suggested by Ulrik.

	* MakeTeXls-R: Missing s in sed cmd.
	* MakeTeXTFM (TFM_NAME): Should be TFMNAME.
	* MakeTeXnames (FONTNAME): Missing `.
	* MakeTeXcommon: If the caller requires no args (i.e.,
	MakeTeXls-R), don't complain if given no.
	Missing } in varfonts case.
	All from Thomas.

Sun Oct 22 17:02:25 1995  Karl Berry  <karl@cs.umb.edu>

	* c-std.h (hypot): Remove this declaration. It was only needed for
	fontutils, and it conflicts under Linux 1.2.10. From Tim Murphy.

Sat Oct 14 10:55:26 1995  Karl Berry  <karl@cs.umb.edu>

	* acconfig.h (EDITOR): Missing %. From Tim Murphy.

Sat Oct  7 17:44:41 1995  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (install-exec): Use basename to get the real name so
	we don't install in $(libdir)/../kpathsea/etc.
	From Ulrik.

Sat Sep 30 12:16:05 1995  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXls-R (db_file_tmp): Replace double slashes with single,
	for the sake of NetBSD/FreeBSD. From Thomas.

Fri Sep 29 11:29:08 1995  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (tex-file.o): CPPFLAGS is now ALL_CPPFLAGS.

Mon Sep 25 15:05:32 1995  Karl Berry  <karl@cs.umb.edu>

	* lib.h (FATAL_PERROR): Avoid using the formal parameter `s' since
	cc gets confused with %s.

	* MakeTeXls-R: Include subtleties from Thomas.
	* MakeTeXcommon: Rename stickydir to appendonlydir.

Sun Sep 24 13:15:51 1995  Karl Berry  <karl@cs.umb.edu>

	* cnf.c (kpse_cnf_get): Call kpse_init_db here.
	* pathsearch.c (search): Instead of here.

	* tex-file.c (init_format): The override path may be null, so use
	MAYBE to print it.

	* MakeTeXPK: Don't use unset, as Ultrix sh doesn't support it.

Sat Sep 23 15:07:12 1995  Karl Berry  <karl@cs.umb.edu>

	* common.ac (basename strstr putenv): Use AC_REPLACE_FUNCS instead
	of AC_CHECK_FUNCS. Add strtol and strcasecmp from web2c/lib and xdvik.
	* Makefile.in (objects): Use @LIBOBJS@ instead of corresponding .o's.

Fri Sep 22 13:34:51 1995  Karl Berry  <karl@cs.umb.edu>

	* acconfig.h (MAKE_TEX_*): #define as 0/1, instead of #undef,
	since we now pass this as a default argument to init_maketex.

	* tex-file.c (init_path): Look for environment variables PATH.prog
	and PATH_prog before PATH.

Thu Sep 21 13:53:38 1995  Karl Berry  <karl@cs.umb.edu>

	* kpsewhich.c (USAGE): Avoid bare newline.

	* xfseek.c, xftell.c: Add unprototypification.

	* common.ac (library_cflags): AC_SUBST for this depending on
	--enable-shared.
	* Makefile.in (shared_cflags, sharedlib_cflags): Rewrite
	accordingly, so the shared flags aren't always used.

Wed Sep 20 17:06:53 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c: Add .ltx, .texi, and .texinfo as alternate suffices
	for kpse_tex_format.

Tue Sep 19 17:12:10 1995  Karl Berry  <karl@cs.umb.edu>

	* texmf.cnf.in: Changes for TDS.

	* MakeTeX*: New scripts from Thomas.

Sat Sep 16 17:30:46 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c: Do not print extra `kdebug:'s when printing the
	alt_suffixes.

	* expand.c: Incorporate brace expansion code from bash.
	* texmf.cnf.in (PKFONTS.xdvi): Use it here, and document the
	possibility for $TEXMF.

Thu Sep 14 12:59:17 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (kpse_init_format): For any_glyph_format, do not
	initialize a suffix.

	* kpsewhich.c (main): Initialize all the formats.
	(find_format): psfonts.map => dvips_config_format.

Tue Sep 12 16:19:44 1995  Karl Berry  <karl@cs.umb.edu>

	* MakeTeX{MF,TFM}: New scripts from te.
	* Makefile.in (install-exec, distdir): Install and dist them.

Sun Sep 10 15:11:07 1995  Karl Berry  <karl@cs.umb.edu>

	* pathsearch.c (search): Doc fix.

	* tex-file.h (kpse_format_info_type): Add alt_suffix member.
	* tex-file.c (init_format): Set it for PS headers and picts, and
	print it if it exists.
	* kpsewhich.c: Use the new alt suffixes and also the regular
	suffixes to allow for -format names as well as numbers, and for
	file format guessing.
	
Sat Sep  9 14:27:48 1995  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXPK: If the MODE and BDPI don't match, ignore the mode.
	Suggested by Thomas.

	* tex-file.[ch] (kpse_font_override_path): Remove this.
	(kpse_format_info_type): Replace the `override_p' member with a
	general `override_path'.
	* proginit.c: Set the override path for both fonts and headers.

	* acconfig.h (NOTOOL): Add this.

Fri Sep  8 14:52:42 1995  Karl Berry  <karl@cs.umb.edu>

	* acconfig.h (HYPERXDVI): Don't need this after all, Autoconf's
	default actions are better.

Thu Sep  7 15:11:17 1995  Karl Berry  <karl@cs.umb.edu>

	* acconfig.h (HYPERXDVI): Define this.

Mon Sep  4 17:14:25 1995  Karl Berry  <karl@cs.umb.edu>

	* debug.h (KPSE_LAST_DEBUG): Define this, for use with gsftopk.

	* Makefile.in (objects): Add xopenfile.o.
	* xopenfile.c: New file.
	* lib.h (xopenfile): Declare it.

Sat Sep  2 13:49:53 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.h (kpse_file_format): Rename kpse_ps_header_format to
	tex_ps_header_format.
	* tex-file.c (TEX_PS_HEADER_ENVS): Rename likewise, etc.
	* kpsewhich.c (suffixes): Likewise.
	* texmf.cnf: Likewise.
	
	* tex-file.c: Never set must_exist on the first search. Is this
	really correct?

Fri Sep  1 13:24:49 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-make.c (maketex): Give perror if the popen fails.

	* db.c (db_dir_list): Keep track of the directories we found db's in.
	(kpse_db_search): If no db directories are relevant to this path
	elt, return NULL.
	* db.h: Doc fix.
	* pathsearch.c (path_search): Doc fix.

	* Makefile.in (shared_ext, etc.): Move to common.make.

Thu Aug 31 14:40:32 1995  Karl Berry  <karl@cs.umb.edu>

	* kpsewhich.c: Install suffix rewrite from Yves.

	* common.ac: Move AC_SYS_SHAREDLIB etc. here.

	* acconfig.h (ASM_SCALED_FRACTION): Add this.

Wed Aug 30 17:02:58 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (kpse_find_file): Call kpse_make_tex.
	* tex-make.c (kpse_make_tex): Only call set_maketex_mag if we are
	doing MakeTeX-PK or GF-ing.
	From Greg.

Tue Aug 29 13:58:59 1995  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (texmf.sed): Depend on paths.make. Should we avoid
	creating a new file unless it changes, a la c-auto.h?

	* configure.in: Check for --enable-shared.

Mon Aug 28 17:50:06 1995  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in: Add sharedlib variables.

Sun Aug 27 13:27:01 1995  Karl Berry  <karl@cs.umb.edu>

	* hash.c (hash_print): New option summary_only, and always print
	the summary.  Also, output to stderr, not stdout.
	* hash.h: Change decl.

	* db.c (kpse_init_db): Oops, have to make it external, so rename
	again.
	* db.h: Declare it.
	* pathsearch.c (search): Call it.
	
	* cnf.c (read_all_cnf): Rename from read_files.
	* db.c (read_all_lsR): Rename from read_all_dbs.
	* fontmap.c (read_all_maps): Rename from map_create.

	* tex-file.h (kpse_db_format): Another new type.
	* tex-file.c (kpse_init_path): Case for it.
	(DB_ENVS): Envvar list.
	* texmf.cnf.in (TEXMFDBS): Default path.
	* kpsewhich.c (suffix): Add new element.

Sat Aug 26 14:49:28 1995  Karl Berry  <karl@cs.umb.edu>

	* cnf.c (CNF_NAME): #define this.
	* tex-file.c (kpse_init_path): Instead of setting the .program
	element to texmf.cnf here.

	* db.c (db_insert): Rename to kpse_db_insert.
	* db.h: Change decl.
	* tex-make.c (maketex): Change call.

	* cnf.c, cnf.h, db.c, db.h, pathsearch.c: Remove references to
	kpse_db_dir.
	* pathsearch.c (first_search): New static.
	(path_search): Do not do ls-R search if first_search.
	(search): Do not log if first_search.

	* pathsearch.c (path_search): Don't bother calling elt_in_db --
	the match function in db.c will catch the irrelevant hits.
	Pointed out by te.

Fri Aug 25 14:01:24 1995  Karl Berry  <karl@cs.umb.edu>

	* cnf.c (kpse_cnf_get): Look for NAME.PROGRAM before NAME.
	(do_line): Save NAME.PROGRAM separately from NAME.
	* texmf.cnf.in: Put the usual definitions of TEXINPUTS and PKFONTS
	first now, before the .prog variants.

	* fontmap.c: Use ISSPACE instead of just checking for space and tab.

Thu Aug 24 13:46:19 1995  Karl Berry  <karl@cs.umb.edu>

	* lib.h (strstr) [!HAVE_STRSTR]: Declare this.
	* Makefile.in (objects): Add strstr.o.
	* common.ac (AC_CHECK_FUNCS): Remove memmove; we seem to never use
	this. And add strstr.

	* fontmap.c (map_file_parse): Comments at the last % or @c, not at
	the first %. Also, implement the include feature.
	And thus, don't give up if the map file can't be opened.
	(token): New routine, since we can no longer use strtok.
	
	* tex-file.h (kpse_file_format_type): New format kpse_fontmap_format.
	* tex-file.c (kpse_init_format): Initialize it.
	(FONTMAP_ENVS): Define it.
	* texmf.cnf.in (TEXFONTMAPS): Define the default.
	* kpsewhich.c (suffix): Add .map.

Tue Aug 22 13:28:46 1995  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXPK.in: No >&/dev/null, source.map is now supplier.map.

	* tex-file.c: Doc fix.

Mon Aug 21 15:52:42 1995  Karl Berry  <karl@cs.umb.edu>

	* c-memstr.h (SYSV): OK, omit this definition in the never-ending
	battle to appease the X headers.
	From: neal@ctd.comsat.com (Neal Becker).

Sun Aug 20 12:58:28 1995  Karl Berry  <karl@cs.umb.edu>

	* cnf.c (read_files): Concatenate consecutive lines that end in \.

	* types.h (boolean) [__cplusplus]: Don't define true and false for C++.
	From: Johannes Sixt <Johannes.Sixt@risc.uni-linz.ac.at>.

	* db.c (db_build): Call absolute_p to determine if the possible
	directory really is one.
	Also, allow relative names in the ls-R file.

	* kpsewhich.c: New options -path, -separator.
	From: David Aspinall <da@dcs.ed.ac.uk>.

	* MakeTeXPK.in: Unset DISPLAY and MFTERM.
	From: Yves Arrouye <Yves.Arrouye@imag.fr>.
	
	* db.c (ignored_dir_p): New function to ignore . directories.
	(db_build): Call it, and do the ignoring. Report on how many
	directories were ignored.

	* Makefile.in (MakeTeXPK): Remove dcfontdir substitution.
	* MakeTeXPK.in: Play redirection games so regular echo's will work.
	(dcfontdir): Remove this; it's unused.
	From: te@informatik.uni-hannover.de (Thomas Esser).

	* pathsearch.c (path_search): Free more garbage.
	From: John Eaton <jwe@che.utexas.edu>.

Sat Aug 19 12:57:54 1995  Karl Berry  <karl@cs.umb.edu>

	* kpsewhich.c (USAGE): Document -format and -program.

	* tex-make.c (maketex): Give warning if MTPK output a string that
	wasn't a filename. From Pierre.

	* kpsewhich.c (read_command_line): Execute -expand right

	* tilde.c (kpse_tilde_expand): If HOME is /, don't start path with //.
	From: Andreas Schott <andreas@mpa-garching.mpg.de>.

	* db.c (match): Make /// (or more) like //.
	* elt-dirs.c (do_subdir): Likewise. Also, skip over as many
	slashes as we found.

	* variable.c (expanding_p, expanding, expansions, expansion_type):
	New functions, variables, type.
	(expand): Check for recursively expanded variables.
	Reported by Nicolai Langfeldt <janl@math.uio.no>.

	* cnf.c (kpse_cnf_get): Free temporary list after extracting the
	first element (the one we return).

Fri Aug 18 17:39:29 1995  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXPK.in (1270): The guess here should be linohi, not linolo.
	From pwa.

	* kpsewhich.c (suffix): Update for new MetaPost stuff.
	* tex-file.h: Doc fix.

Mon Aug 14 17:49:05 1995  Karl Berry  <karl@cs.umb.edu>

	* debug.h: Define KPSE_DEBUG, not DEBUG.
	* hash.c, hash.h, tex-file.c, elt-dirs.c, dir.c, db.c: Change
	#ifdef's accordingly. From John I.

Sun Aug 13 16:03:51 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.h (kpse_file_format_type): Rename kpse_dvips_headers to
	just kpse_ps_headers. xdvik uses this too, now.
	* tex-file.c (kpse_init_format, KPSE_DVIPS_HEADER_ENVS): Likewise.
	Also, look for the PSHEADERS envvar, not DVIPSHEADERS.
	* texmf.cnf.in: Likewise.

Thu Aug 10 19:31:14 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (kpse_init_fallback_resolutions): Complain if sizes
	aren't sorted, and ignore offending sizes.
	From: Manuel Fahndrich <manuel@CS.Berkeley.EDU>.

Tue Aug  1 13:53:53 1995  Karl Berry  <karl@cs.umb.edu>

	* variable.[ch] (kpse_var_value): Use const_string.

	* texmf.cnf.in (string_vacancies): Decrease to 25000. From Bernd.
	(font_max): Add this. From Wayne.

Mon Jul 31 15:47:01 1995  Karl Berry  <karl@cs.umb.edu>

	* db.h (KPSE_DB_DIR): Remove $.
	* cnf.c (read_files): Call kpse_var_value instead of kpse_var_expand.

	* tex-file.[ch]: Add mpsupport and troff_font formats.
	* texmf.cnf.in: Likewise.

Sat Jul 29 09:21:44 1995  Karl Berry  <karl@cs.umb.edu>

	* variable.h (kpse_var_value): Declare this.
	* variable.c (kpse_var_value): New routine.

	* tex-file.c: Check TEXMFINI for pool/fmt/base/mem lookups

Tue Jul 25 11:22:25 1995  Karl Berry  <karl@cs.umb.edu>

	* concatn.c (concatn): Free the intermediate result, not the final
	version.

	* texmf.cnf.in (TEXMFLOG): Don't mention this, as we need to log
	the finding of the .cnf file itself, thus it must be an
	environment variable.

Sat Jul 22 17:09:58 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (KPSE_{MEM,MP,MPPOOL}_ENVS): Define envvars.
	* tex-file.h (kpse_file_format_type): Add kpse_{mem,mp,mppool}_formats.
	* texmf.cnf.in (MPPOOL, MPMEMS, MPINPUTS): New variables.
	Adapted from: vieth@xerxes.thphy.uni-duesseldorf.de (Ulrik Vieth).

Fri Jul 21 15:26:42 1995  Karl Berry  <karl@cs.umb.edu>

	* *.c, *.h: The FSF has a new address.

	* kpsewhich.c: Give error if no args.

Wed Jul 19 17:34:26 1995  Karl Berry  <karl@cs.umb.edu>

	* texmf.cnf.in: Document limits on error_line et al.

Mon Jul 17 13:09:05 1995  Karl Berry  <karl@cs.umb.edu>

	* acconfig.h (NO_FMTBASE_SHARE): Rename to NO_DUMP_SHARE.

Sun Jul 16 14:17:16 1995  Karl Berry  <karl@cs.umb.edu>

	* acconfig.h (IPC, FUNNY_CORE_DUMP, NO_FMTBASE_SHARE): Include these.

Sat Jul 15 12:45:51 1995  Karl Berry  <karl@cs.umb.edu>

	* acconfig.h (HAVE_ITOA): Remove extraneous #define.

	* texmf.cnf.in (hash_extra): New TeX array variable, 0 by default.

	* tex-file.c (KPSE_BIB_ENVS): Include TEXBIB.

Thu Jul 13 15:04:52 1995  Karl Berry  <karl@cs.umb.edu>

	* texmf.cnf.in (TEXPOOL, MFPOOL): Include . after all, now that we
	use TEXPOOL to search for tcx files.

Sun Jul  9 15:30:59 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (kpse_find_file): Don't go through the
	mapped_name_list if it's null.

Wed Jun 21 19:47:33 1995  Karl Berry  <karl@cs.umb.edu>

	* lib.h (FATAL5): Define this.

Sat Jun 10 15:52:41 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (kpse_find_file): Use texfonts.map aliases for TFM
	searches.
	* tex-file.h: Doc fix.
	* fontmap.c (kpse_fontmap_lookup): New name. Fault in the map
	table as needed, instead of initializing. Make map_create static.
	* fontname.h: New name; remove map_create.
	* tex-glyph.c (try_fontmap): Just call kpse_fontmap_lookup, no
	need to create it.

	* fontmap.c (map_lookup): Don't let return value fall off the end
	in the suffix-appending case.
	From: "Heading, Anthony" <heading_anthony@jpmorgan.com>.

Fri Jun  9 19:11:34 1995  Karl Berry  <karl@cs.umb.edu>

	* tilde.c: Only assume PWD_H for looking up ~user, not for ~ or ~/.
	* make-suffix.c: Use IS_DIR_SEP instead of assuming /.
	* concatn.c: Free the in-between concatenations to avoid garbage.
	* absolute.c [OS2]: Use same conventions as for DOS.
	* c-std.h, c-pathch.h, c-fopen.h: Likewise.
	From: rs@purple.in-ulm.de (Ralph Schleicher).

Tue Jun  6 13:11:46 1995  Karl Berry  <karl@cs.umb.edu>

	* lib.h (itoa) [!HAVE_ITOA]: Define conditionally.
	* itoa.c: Likewise.
	* acconfig.h (HAVE_ITOA): Add this.

	* c-pathch.h, c-fopen.h [DOS]: Changes from web2pc from Wayne.

	* xputenv.c: Doc fix.

	* truncate.c (kpse_truncate_filename): Check for a device separator.

	* elt-dirs.c (main): Tests for Amiga.

Mon Jun  5 13:12:10 1995  Karl Berry  <karl@cs.umb.edu>

	* absolute.c: Add Amiga support.  From Andreas Scherer.
	* c-pathch.h: Ditto.
	* elt-dirs.c (dir_list_add): Ditto. Check for device separators, too.

Sun Jun  4 11:29:18 1995  Karl Berry  <karl@cs.umb.edu>

	* c-proto.h (AA): New macro to throw away (or keep) any number of
	arguments, used with an extra set of parens.

	* Makefile.in (distdir): Put PROJECTS in the distribution.

Sat Jun  3 11:53:45 1995  Karl Berry  <karl@cs.umb.edu>

	* texmf.cnf.in (main_memory): Add definitions for TeX array sizes.

	* config.h (progname.h): Include this.
	* prog{init,name}.c, kpsewhich.c: No longer need to include it.
	* lib.h (START_FATAL, FATAL_PERROR): Use program_invocation_name
	in the error message.

	* variable.h: Doc fix.

Fri Jun  2 13:41:29 1995  Karl Berry  <karl@cs.umb.edu>

	* config.h (DOSISH) [DOS || OS2]: Define this.

Tue May 30 15:43:56 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (kpse_find_file): Don't look for foo.sty.tex before
	foo.sty. Suggested by worsch@ira.uka.de.

Mon May 29 15:24:38 1995  Karl Berry  <karl@cs.umb.edu>

	* db.c (db_insert): If DOS, don't check that first character on a
	line IS_DIR_SEP.  From Sebastian.

Sat May 27 13:51:47 1995  Karl Berry  <karl@cs.umb.edu>

	* pathsearch.c (log_search): Cast time_t arg to avoid printf warning.

	* lib.h (atou): Declare it.
	* Makefile.in (objects): Add atou.o.
	* atou.c: New file.

Sun May 21 10:58:31 1995  Karl Berry  <karl@cs.umb.edu>

	* xfopen.c: Assert non-null filenames.

Mon May 15 17:40:27 1995  Karl Berry  <karl@cs.umb.edu>

	* kpsewhich.c (USAGE): Add one-line description to the help message.

Sun Apr 16 14:25:06 1995  Karl Berry  <karl@cs.umb.edu>

	* line.c (BLOCK_SIZE): Increase to 56, to avoid realloc's.

Fri Apr 14 15:56:13 1995  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (objects): Add xfseek and xftell, from fontutils.

Mon Mar 13 20:05:02 1995  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXPK.in: Don't egrep in a file that doesn't exist.

Fri Mar 10 10:49:28 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (kpse_find_file): Abort if the name passed in is null
	or empty.

Thu Mar  9 15:23:07 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (kpse_init_format): Only do suffix searches for GF files.

	* acconfig.h: Warn that this is not the right thing to edit to fix
	configuration problems.

Thu Mar  2 15:58:11 1995  Karl Berry  <karl@cs.umb.edu>

	* texmf.cnf.in (TEXFORMATS): Doc fix.

Fri Feb 24 16:40:23 1995  Karl Berry  <karl@cs.umb.edu>

	* MakeTeXPK.in: `generate rootname' with no trailing punctuation
	for the dc fonts.

Mon Feb 20 15:23:05 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.h (kpse_find_mf): New abbreviation.

Sat Feb 11 13:06:23 1995  Karl Berry  <karl@cs.umb.edu>

	* putenv.c: Include c-auto.h instead of kpathsea/c-auto.h, so the
	sed commands don't transform it into
	$(kpathsea_srcdir)/c-auto.h. From Andreas.

	* tex-make.c (maketex): Don't make a bad return from pclose a
	fatal error. Reported most recently by Wayne Sullivan, also by
	Andy Piper in the past.

	* MakeTeXPK.in (sauterdir): Only try this if we have the right
	b-foo.mf file. And correct $DESTDIR=... mistake.
	From Nick Cropper <nickc@dcs.st-andrews.ac.uk>.

Fri Feb 10 15:49:49 1995  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (INIT_MT): If the .program member has already been
	set, don't reset it.

Wed Jan 18 15:47:07 1995  Karl Berry  <karl@cs.umb.edu>

	* xopendir.c (xclosedir): Use CLOSEDIR_VOID, not VOID_CLOSEDIR.
	From tim@maths.tcd.ie.

	* db.c (db_insert): Don't assert db.size>0, since we may not have
	called kpse_db_search. From te@informatik.uni-hannover.de.

	* MakeTeXPK.in (dc fonts): Don't put a trailing period in the
	filename. From Tor Lillqvist <tml@hemuli.tte.vtt.fi>.

Sun Jan  8 12:14:47 1995  Karl Berry  <karl@cs.umb.edu>

	* Version 2.6.

Wed Jan  4 14:44:34 1995  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (mostlyclean): Remove kpsewhich.

Tue Jan  3 11:48:40 1995  Karl Berry  <karl@cs.umb.edu>

	* kpsewhich.c (long_options): Can't make this automatic.

	* basename.c: Include <kpathsea/config.h> before testing
	HAVE_BASENAME.

	* Makefile.in (kpsewhich): Make the library before kpsewhich.o.
	(paths.h): No need for the $(kpathsea_dir)/ any more, now make
	depend gets rid of it.

	* rm-suffix.c: Doc fix.
	
	* kpsewhich.c: Extract the dpi from the filename if possible.

Mon Jan  2 09:45:17 1995  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (kpsexpand): Replace with kpsewhich.

	* proginit.h: Doc fix.

	* texmf.cnf.in (TEXMFCNF): Rename from TEXMF_CNF.
	* tex-file.c (kpse_init_format): Likewise.

Sun Jan  1 14:04:41 1995  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (MakeTeXPK): Substitute for web2cdir.
	* MakeTeXPK.in: Use it for MakeTeXPK.site.
	(install-data): Install texmf.cnf in web2cdir instead of texmf.
	* texmf.cnf.in (TEXMF_CNF): Default path includes web2cdir.

Sat Dec 31 14:26:48 1994  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (objects): No more @LIBOBJS@.
	* common.ac: Use AC_CHECK_FUNCS for basename, not REPLACE_FUNCS.
	The latter doesn't define HAVE_BASENAME.
	* basename.c [!HAVE_BASENAME]: Conditionalize whole file.

	* Makefile.in (uninstall-exec): Remove kpsexpand.
	(MakeTeXPK): New target.
	(install-exec): Install MTPK.
	(install-library): New target to replace install-headers.
	(install): Don't install-library by default.

Fri Dec 30 15:53:04 1994  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (objects): Don't put @LIBOBJS@ on a line by itself.
	From Joachim.

Mon Dec 26 07:55:40 1994  Karl Berry  <karl@cs.umb.edu>

	* common.ac (AC_FUNC_CLOSEDIR_VOID): Call this. Reported by
	Timothy Murphy <tim@maths.tcd.ie>.

	* tex-file.c (init_path): If a variable is set to an empty value,
	ignore it.  Suggested by Stephen Gildea <gildea@x.org>.

	* proginit.c: If passed a NULL mode, put / in the environment here.
	* tex-make.c (kpse_make_tex): Don't do STREQ on NULL (though it
	should never be NULL in the first place), and properly restore
	MAKETEX_MODE if it was /.

Tue Dec 20 09:57:21 1994  Karl Berry  <karl@cs.umb.edu>

	* install.texi: Mention how to do optimization.

Mon Dec 19 13:18:04 1994  Karl Berry  <karl@cs.umb.edu>

	* tex-file.h: Doc fix.

Wed Dec 14 14:46:47 1994  Karl Berry  <karl@cs.umb.edu>

	* Version 2.5.

	* pathsearch.c (log_search): Don't prepend the `kdebug:' to the
	search result.

Sat Dec 10 16:49:12 1994  Karl Berry  <karl@cs.umb.edu>

	* tex-make.c (set_maketex_mag): Make case of magstep -1 work
	properly.  From a bug report by
	heiko@lotte.sax.de (Heiko Schlittermann).

Mon Dec  5 11:58:08 1994  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in (objects): Add @LIBOBJS@.
	* common.ac: Check for basename.

	* db.c (db_insert): Include trailing / in directory part, and pass
	the key and the value in the right order.  From
	te@informatik.uni-hannover.de.

Sun Dec  4 14:26:44 1994  Karl Berry  <karl@cs.umb.edu>

	* kpsexpand.c: Add extra filename argument. From
	ware@cis.ohio-state.edu.

	* common.ac: Use AC_TRY_RUN to test for SMART_PUTENV, not
	AC_TRY_LINK. From parkes@sierravista.com.

	* acconfig.h: Use #undef instead of commented-out `/* #define'.

Sun Nov 27 13:47:06 1994  Karl Berry  <karl@cs.umb.edu>

	* db.c (db_insert): Don't try to insert into an empty hash table.
	From dc@cobi.gsfc.nasa.gov (and others).

	* pathsearch.c (log_search): Call DEBUGF, not printf, for the
	filenames.  From John I.

	* tex-make.c (kpse_make_tex): If MAKETEX_MODE is /, unset it and
	reset it around the command expansion.
	(maketex): Back to calling db_insert.

Sat Nov 26 11:44:09 1994  Karl Berry  <karl@cs.umb.edu>

	* cnf.c (read_file): If expansion of $TEXMF (KPSE_DB_DIR) fails,
	expand DEFAULT_TEXMF.  From te@informatik.uni-hannover.de.

Thu Nov 24 13:41:15 1994  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (KPSE_BST_ENVS): Do not look at TEXINPUTS.

	* tex-file.h: Doc fix.

Tue Nov 15 14:06:56 1994  Karl Berry  <karl@cs.umb.edu>

	* progname.c (kpse_set_progname): Use basename.

Fri Nov 11 19:12:23 1994  Karl Berry  <karl@cs.umb.edu>

	* acconfig.h (HAVE_SIGIO): Add this.

Tue Nov  8 19:14:12 1994  Karl Berry  <karl@cs.umb.edu>

	* tex-make.c (kpse_make_tex): Change argument name from
	`basename', since now we have a fn by that name.
	* magstep.c (kpse_magstep_fix): Initialize mdpi.
	* basename.c (basename): Initalize base.

Mon Nov  7 15:46:21 1994  Karl Berry  <karl@cs.umb.edu>

	* common.ac: Run autoupdate.
	* c-dir.h: Change #if names and NLENGTH to new style.

Fri Oct 28 21:28:02 1994  K. Berry  (karl@terminus.cs.umb.edu)

	* Version 2.4.

	* tex-make.c (maketex): Don't call db_insert, that routine is
	buggy. I'll fix it later. In the meantime, trying to get a
	semi-stable release.

Tue Oct 25 16:43:31 1994  Karl Berry  <karl@cs.umb.edu>

	* Version 2.3.

	* progname.c (kpse_set_progname): Initialize kpathsea_debug from
	the KPATHSEA_DEBUG envvar.  From neal@ctd.comsat.com.

Mon Oct 24 13:41:24 1994  Karl Berry  <karl@cs.umb.edu>

	* db.c (db_insert): New function.
	* db.h: Declare it.
	* tex-make.c (maketex): db_insert the result if we succeeded.

	* basename.c: New file to define basename.
	* lib.h (basename): Declare it.
	* Makefile.in (objects): Include basename.o.

	* tex-file.h (kpse_file_format_type): Add missing enum values for
	base/fmt/pool files.
	* tex-file.c (kpse_init_format): Add cases for these.
	From te@informatik.uni-hannover.de.

	* lib.h (WARNING, FATAL): Use fputs instead of fprintf.
	* Many files: Use DEBUGF instead of printf ("kdebug".
	* debug.h (DEBUGF) [DEBUG]: Define this.

	* xputenv.c (xputenv): Initialize that static saved_env_items to
	null, just for documentation's sake.

Tue Oct 18 13:19:06 1994  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (KPSE_*_ENVS): Move environment variable list here.
	* tex-file.h: Move them from here.

	* tex-glyph.h: Doc fix.

	* tex-file.c (kpse_find_file): Correct off-by-one in suffix
	comparison. From toy@rtp.ericsson.se.

Mon Oct 17 14:01:02 1994  Karl Berry  <karl@cs.umb.edu>

	* elt-dirs.c (do_subdir): Find a top-level subdir if it matches
	the POST.

	* db.c (kpse_db_search): Allow for the passed name including a
	directory part, as in dpi600/cmr10.pk.
	* tex-glyph.c (try_format): First search all specs with
	must_exist=false.

	* kpsexpand.c: New file, from te@informatik.uni-hannover.de.
	* Makefile.in (kpsexpand): New target (a program).
	(install-exec): Depend on, and install, kpsexpand.
	
	* common.ac: Doc fix.

	* cnf.c (do_line): Don't quit just because the variable is in the
	environment.  From te@informatik.uni-hannover.de.

	* tex-glyph.c (PXL_BITMAP_SPEC): Remove this, we're not going to
	support pxl1500.

Sun Oct 16 20:46:26 1994  Karl Berry  <karl@cs.umb.edu>

	* kpathsea.texi: Make it clear that names of debugging bits can
	never be used.

Fri Oct 14 10:31:35 1994  Karl Berry  <karl@cs.umb.edu>

	* Version 2.2.

	* hash.c (hash_lookup) [DEBUG]: Cast to long, not int.

Thu Oct 13 15:39:34 1994  Karl Berry  <karl@owl>

	* db.c (db_build): Warn if ls-R contains nothing useful.

	* debug.c (fopen, fclose) [DEBUG]: fflush stdout.
	* dir.c (dir_links),
	* hash.c (hash_lookup),
	* tex-file.c (kpse_init_format),
	* elt-dirs.c (kpse_element_dirs): Likewise.

Thu Oct 13 09:02:56 1994  Karl Berry  <karl@cs.umb.edu>

	* hash.c (kpse_debug_hash_lookup_int) [DEBUG]: New global.
	(hash_lookup): Use it.
	* hash.h [DEBUG]: Declare it.
	* dir.c (dir_links) [DEBUG]: Set it and reset it.

	* tex-glyph.c (PXL_BITMAP_SPEC): Add this (pxlNNN/cmr10.pk) for
	the Bitstream utilities. From abrahams@acm.org.
	(try_format): Search for this.

Tue Oct 11 15:15:49 1994  Karl Berry  <karl@cs.umb.edu>

	* db.c (db_build): Use kpse_db_dir instead of KPSE_DB_DIR.  This
	avoids one variable expansion, and te@informatik.uni-hannover.de
	says otherwise TeX sometimes can't find ls-R.

Sun Oct  9 17:18:23 1994  Karl Berry  <karl@cs.umb.edu>

	* kdefault.c: Rename from default.c.
	* Makefile.in (objects): Likewise.

Fri Oct  7 12:58:33 1994  Karl Berry  <karl@cs.umb.edu>

	* tex-file.c (kpse_init_format): Call INIT_MT for the any_glyph
	case. From carson@lehman.com.

Sun Oct  2 14:11:20 1994  Karl Berry  <karl@cs.umb.edu>

	* magstep.c: Doc fix.

Sun Sep 25 17:11:40 1994  Karl Berry  <karl@cs.umb.edu>

	* Makefile.in: Include library.make.

Thu Sep 22 15:34:40 1994  Karl Berry  <karl@cs.umb.edu>

	* tex-file.h (kpse_file_format_type): Don't make equal to the last
	element index, make one more.  From Eric Auborg.

Thu Sep 15 19:24:30 1994  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (distdir): Include install.texi in the distribution.

Mon Sep 12 11:05:18 1994  Karl Berry  (karl@cs.umb.edu)

	* Version 2.1.

Sun Sep 11 15:03:18 1994  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (install-data): Install texmf.cnf if it didn't exist.

Sat Sep 10 13:28:29 1994  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (texmf.sed, paths.h): Use tr 012 instead of \n.
	From John Interrante.
	
	* Makefile.in (distdir): Include the .aux and .cps files in the
	distribution.  Don't include paths.h (from John Interrante).
	
	* kpathsea.texi: Fix overfull boxes and other TeX errors.

Wed Sep  7 16:28:37 1994  Karl Berry  (karl@cs.umb.edu)

	* Version 2.0.

Tue Sep  6 10:33:18 1994  Karl Berry  (karl@cs.umb.edu)

	* dir.c (dir_links): Use %ld for ret, since it's now a long.

Sat Sep  3 09:01:25 1994  Karl Berry  (karl@cs.umb.edu)

	* dir.c (dir_links): Use long instead of int for the cast and the
	variable, to avoid warnings on the Alpha.

	* c-std.h (SYSV, X_NOT_STDC_ENV): Don't define these here.
	* c-memstr.h (SYSV): Define this.
	(_XFUNCS_H_): And this.

	* Makefile.in (distclean): Add texmf.cnf and texmf.sed.

Thu Sep  1 14:22:48 1994  Karl Berry  (karl@cs.umb.edu)

	* xputenv.c (putenv): Declare this to avoid a warning.
	* xstat.c (lstat): And this.

	* common.ac (SMART_PUTENV): Use program to test for this.  From
	mike@cs.utah.edu.

	* tex-glyph.c (try_fallback_resolutions): Quit early if there's no
	resolutions in the list.  From sanjoy@dope.caltech.edu.

Tue Aug 30 14:26:48 1994  Karl Berry  (karl@cs.umb.edu)

	* acconfig.h (FOIL_X_WCHAR_T): New definition.

	* c-std.h (hypot) [!hypot]: Conditionalize declaration.

Fri Aug 26 09:00:24 1994  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (install-data): Install headers into
	$(includedir)/kpathsea, not just $(includedir).  From john@wpi.edu.

	* pathsearch.c (search): Show results of the search as well as the
	start of it.

Thu Aug 25 13:40:29 1994  Karl Berry  (karl@cs.umb.edu)

	* proginit.c (kpse_init_prog): Newline at end of fputs.

	* pathsearch.c (search): Add debug statement.
	* debug.h (KPSE_DEBUG_SEARCH): New bit.

	* tex-file.h (kpse_format_info_type): Rename `font_override_p' from
	`font_p'. Also `program_enabled' => `program_enabled_p'.
	Also new member `suffix_search_only'.
	* tex-file.c (kpse_find_file): Avoid searching for foo.tex.tex, etc.

Tue Aug 16 09:29:59 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-make.c (maketex): Announce that we are running the script
	before running it.

Mon Aug 15 11:18:19 1994  Karl Berry  (karl@cs.umb.edu)

	* texmf.cnf.in (PKFONTS.xdvi): Write program-specific definition
	to include gsftopk and ps2pk ``modes''.

Sat Aug 13 16:34:43 1994  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (lib): Rename to program to simplify rules.

	* magstep.h: Doc fix.

	* common.ac (AC_HAVE_FUNCS): Test for bcopy.

Tue Aug  9 14:18:56 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-make.c (misstex): Prepend kpathsea: to the missfont.log
	message.

Mon Aug  8 17:53:58 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-make.c (set_maketex_mag): Rewrite to call kpse_magstep_fix.
	* magstep.[ch]: New files.

Fri Aug  5 14:07:51 1994  Karl Berry  (karl@cs.umb.edu)

	* db.c (match): Allow a trailing component in the filename.

Tue Aug  2 08:55:21 1994  Karl Berry  (karl@cs.umb.edu)

	* Change `debug:' to `kdebug:'.
	* hash.c (hash_lookup): Print results of lookup if DEBUG_HASH.
	* debug.h (KPSE_DEBUG_HASH): New bit, replacing DB_BUILD.
	* db.c (db_build): Don't print the built hash table.

	* db.c (match): Implement this. Petr Sojka and Zdenek Salvet(?)
	supplied code for this, but I wound up writing my own.
	* variable.c (expand): Do variable expansion on the value.

	* texmf.cnf.in (TEXINPUTS): Put this after the .prog-specific entries.

	* tex-file.c (kpse_pict_format): Remember to break after setting
	the type.
	(EXPAND_DEFAULT, init_path): Keep raw_path as pre-default expansion.

Sun Jul 31 14:18:09 1994  Karl Berry  (karl@cs.umb.edu)

	* debug.c: Don't include debug.h, it's already in debug.h.

	* Makefile.in (db.o,pathsearch.o): Don't need these special cases
	since tossed db_dir from paths.make.
	* db.h (DB_DIR): Change default to $TEXMF, rename to KPSE_DB_DIR.
	(kpse_db_dir): New global variable (sigh).
	* db.c (kpse_db_dir): Define.
	* cnf.c: Include db.h for KPSE_DB_DIR.
	(read_files): Set kpse_db_dir after all have been read.
	* pathsearch.c (elt_in_db): Check if kpse_db_dir is null.
	(path_search): Do not initialize db_dir.

Sat Jul 30 06:12:12 1994  Karl Berry  (karl@cs.umb.edu)

	* c-dir.h [_POSIX_VERSION]: Remove this condition; just use DIRENT.

Fri Jul 29 11:36:25 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-file.c (init_path): Look up cnf file value if no suffix.

	* xstat.h (SAME_FILE_P): Move here.
	* c-stat.h (SAME_FILE_P): From here.
	* file-p.c: Change include.
	* lib.h (dir_p, dir_links): Declare here.
	* dir.h: Split into xopendir.h and c-dir.h; Sun 3 include files
	get confused otherwise, according to john@minster.york.ac.uk.
	* xopendir.c: Include xopendir.h.
	* elt-dirs.c, dir.c: Change includes.
	
Sun Jul 17 10:21:16 1994  Karl Berry  (karl@cs.umb.edu)

	* hash.c (hash_insert): Put new elements in at the end of the
	list, instead of the beginning.
	* hash.h: Document this.

	* texmf.cnf.in (TEXMFROOT): Change to TEXMF.
	* kpathsea.texi: Likewise.

	* cnf.c (do_line): assert program_invocation_short_name.
	* progname.c: Doc fix.

	* absolute.[ch] (kpse_absolute_p): Take additional arg relative_ok.
	* pathsearch.c (log_search): Call it (with false).
	* tex-glyph.c: Change call.

	* pathsearch.c (path_search): Initialize db_dir here.
	(elt_in_db): Not here.

Fri Jul 15 11:44:15 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-file.h: Doc fix.

	* pathsearch.c (log_search): Pass in the whole str_list; anything
	else is unreliable.

	* proginit.[ch] (kpse_init_prog): Don't pass in argv0; we need it
	earlier.

Tue Jul 12 11:56:54 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-file.c (init_path): Use the first envvar that's *set*, not
	the first in the list.

	* tex-file.h (kpse_format_info_type): New member `type'.
	* tex-file.c (kpse_init_format): Initialize it.

	* pathsearch.c (log_search): New fn.
	(search): Call it.

Fri Jul  1 11:54:29 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-file.c: Doc fix.

Mon Jun 27 10:18:59 1994  Karl Berry  (karl@cs.umb.edu)

	* db.c (db_build): Call kpse_var_expand on the db filename.
	* pathsearch.c (elt_in_db): Likewise.

	* tex-glyph.h (kpse_find_gf): By analogy with kpse_find_pk.

Sat Jun 25 16:09:05 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-glyph.c (try_format): Try both Unix and DOS bitmap specs,
	instead of just one or the other.
	(bitmap_name): No longer needed.

Fri Jun 24 11:52:32 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-file.c (kpse_find_file): Don't try the suffix if it doesn't
	exist.

	* tex-file.h (kpse_find_{dvips_header,pict}): New definition.

Thu Jun 23 16:57:58 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-file.h (kpse_{pict,dvips_header}_format): New consts.
	(KPSE_{PICT,DVIPS_HEADER}_ENVS): Likewise.

Tue Jun 21 11:53:09 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-file.c (kpse_find_file): Try the name as given if the name
	concatenated with the suffix fails, for the sake of, e.g., EPS files.

	* tex-file.h (kpse_find_tex): New definition.

	* absolute.[ch]: Make arg const.

	* tex-glyph.[ch]: (kpse_bitmap_tolerance): Move here from tex-make.

	* c-proto.h (P6[CH]): New definitions.

	* Makefile.in (objects): Add proginit.o.
	* proginit.[ch]: New files.

Mon Jun 20 14:55:57 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-file.c (kpse_init_format): Make override path not apply to
	TFM and VF files.

	* tex-glyph.c (kpse_find_glyph_format): Rename to kpse_find_glyph,
	and don't call MakeTeXPK if the filename is absolute.
	* tex-glyph.h: Likewise.

Sun Jun 19 11:00:50 1994  Karl Berry  (karl@cs.umb.edu)

	* common.ac (HAVE_PROGRAM_INVOCATION_NAME): Test for this.
	* acconfig.h: #undef this by default.
	* progname.[ch]: New files.
	* Makefile.in (objects): Add progname.o.
	* cnf.c (do_line): Check for .<progname> qualification.

Sat Jun 18 16:55:36 1994  Karl Berry  (karl@cs.umb.edu)

	* elt-dirs.c (kpse_element_dirs): Avoid stats in leaf directories
	found via a non-null post.

Fri Jun 17 14:25:08 1994  Karl Berry  (karl@cs.umb.edu)

	* elt-dirs.c (kpse_element_dirs) [DEBUG]: Print the directory
	expansion of the path element.

	* str-llist.h: Doc fix.

	* elt-dirs.c (do_subdir): Ignore anything beginning with ., not
	just `.' and `..'.

Tue Jun 14 11:53:49 1994  Karl Berry  (karl@cs.umb.edu)

	* dir.c (dir_links): Cache the lookups.

	* elt-dirs.c (kpse_element_dirs): Don't expand the argument.
	* expand.h (kpse_path_expand): New routine.
	* expand.c: Define it.
	* pathsearch.h: Doc fix.

	* db.c, tex-file.c [DEBUG]: Prefix output lines with `debug:'.

	* tex-file.h (kpse_format_info_type): Add cnf_path to the struct.
	* tex-file.c (kpse_init_path): Print the cnf_path.
	(init_path): Set it, instead of a local variable.

	* pathsearch.c (path_search): Use !! for no-disk-search instead of
	%%, because now % is the comment char in cnf files.
	* kpathsea.texi: Document this. Also change all `Kpathsearch' to
	`kpathsea'.

Mon Jun 13 10:15:49 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-make.h (kpse_set_maketex_mag): Remove.
	* tex-make.c (kpse_set_maketex_mag): Make static, remove kpse_
	prefix, and use KPATHSEA_DPI and MAKETEX_BASE_DPI instead of args.

Sun Jun 12 13:49:15 1994  Karl Berry  (karl@cs.umb.edu)

	* db.c (db_build): Put a header on the hash table.

	* tex-glyph.c (try_format): Set extension and path after
	kpse_init_format, natch.

Sat Jun 11 14:26:34 1994  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (objects): Add cnf.o.
	* variable.c (expand): Call kpse_cnf_get if no envvar value.

Fri Jun 10 11:20:23 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-make.h: Remove spec type and variable.

Thu Jun  9 13:42:21 1994  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (objects): Remove init-path.o.
	* tex-file.c (kpse_find_file): Rewrite to initialize the paths
	only once, and keep all path info in a structure.
	* tex-file.h: Vastly simplify.
	* tex-glyph.h (kpse_font_file_type): Move here, since it's really
	only for glyphs.
	* tex-glyph.c: Corresponding changes.
	* debug.h (KPSE_DEBUG_PATHS): New debug bit.

	* default.h, str-list.h: Doc fix.

Tue May 31 10:06:51 1994  Karl Berry  (karl@cs.umb.edu)

	* debug.c: Doc fix.

Mon May 23 11:50:03 1994  Karl Berry  (karl@cs.umb.edu)

	* c-fopen.h (FOPEN_A_MODE): Define this.
	* tex-make.c (misstex, maketex): Split up kpse_make_tex into
	these, and create missfont.log if appropriate.

Sun May 22 17:39:52 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-make.h: Doc fix.

Wed May 11 13:25:58 1994  Karl Berry  (karl@cs.umb.edu)

	* configure.in (AC_OUTPUT): Use just `Makefile' instead of
	`./Makefile', to avoid a bug in Autoconf (through 1.10).

Sun Apr 17 16:18:00 1994  Karl Berry  (karl@ra.cs.umb.edu)

	* debug.h: Prefix macros with KPSE_.
	* db.c, dir.c: Change calls.

	* common.ac: Remove :: VPATH stuff; that made it in to Autoconf 1.8.

	* Makefile.in (top_srcdir): Define this for configure to substitute.

Thu Apr  7 17:52:05 1994  Karl Berry  (karl@ra.cs.umb.edu)

	* debug.[ch]: Implement fopen/fclose tracing.

Thu Mar 31 07:25:49 1994  Karl Berry  (karl@cs.umb.edu)

	* Version 1.8.

Thu Mar 24 10:01:20 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-glyph.c: Doc fix.

	* pathsearch.c (path_search): Don't search the disk if there is
	magic in the path spec.

	* db.c: Doc fix.

Wed Mar 16 13:50:17 1994  Karl Berry  (karl@cs.umb.edu)

	* readable.c (kpse_readable_file): Complain if errno == EPERM.

Sun Mar 13 11:14:19 1994  Karl Berry  (karl@cs.umb.edu)

	* pathsearch.h (kpse_path_search): Take an extra arg must_exist.
	* pathsearch.c (kpse_path_search, search, path_search): Likewise.
	* tex-file.c (kpse_find_file): Change call.
	* tex-file.h (kpse_find_*): Change these calls, too.

	* hash.c (hash_create): Don't use xcalloc to init pointers to null.

	* db.c (kpse_db_search): Don't free the pointer after incrementing it.
	From Frank Jensen.

Sat Mar 12 17:55:36 1994  Karl Berry  (karl@cs.umb.edu)

	* db.h (kpse_db_search): Returns a pointer.
	* db.c (kpse_db_search): If db can't be built, return NULL, else a
	pointer to the (possibly empty) list.
	(db_build): Return whether we found the file.
	* pathsearch.c (path_search): Change call.

Thu Mar 10 07:45:13 1994  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (install-info): New target.

Fri Mar  4 08:06:16 1994  Karl Berry  (karl@cs.umb.edu)

	* hash.c (hash): Change hash function to spread out the values a
	bit better.

	* debug.h (DEBUG_DB_BUILD): New debug bit.
	* db.c (db_build) [DEBUG]: If bit is set, print hash table.
	* hash.h (hash_print): Declare.

Thu Mar  3 08:52:01 1994  Karl Berry  (karl@cs.umb.edu)

	* Version 1.7.

Sun Feb 27 15:57:30 1994  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (objects): Add db.o, hash.o.
	* db.[ch]: New files.
	* hash.[ch]: Also new files.
	* pathsearch.c (path_search): Try db search.
	* tex-glyph.c, fontmap.c: Use general hash functions.

Sat Feb 26 13:15:53 1994  Karl Berry  (karl@cs.umb.edu)

	* fontmap.c: Doc fix.

	* pathsearch.c (INIT_ALLOC): Increase to 75, what the heck.

Fri Feb 25 08:30:50 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-file.[ch]: Decare args const.

Thu Feb 24 07:55:43 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-make.h: Include tex-file.h, not init-path.h.

	* init-path.h (KPSE_*_{ENVS,PATHS}, kpse_font_override_path): Move
	to tex-font.h.
	* tex-font.h (kpse_find_{file,tfm,vf}): Also declare these.
	* tex-font.c (kpse_find_file): Define these.
	(kpse_font_override_path): Move definition here.
	
	* tex-file.*: Rename from tex-font.*.
	* GNUmakefile: Corresponding changes.

	* elt-dirs.c (do_subdir): Only append the / once we know it's a
	directory.

Wed Feb 23 16:41:31 1994  Karl Berry  (karl@cs.umb.edu)

	* elt-dirs.c (do_subdir): Don't tack POST on if it is exactly the
	d_name, so we can find a/b with a path of a//b.

	* c-vararg.h (PVAR3[CH]): New defines.

	* init-path.h: Include KPSE_*_{ENVS,PATHS} here.
	(kpse_init_path): Take an additional arg font_p.
	* init-path.c (kpse_override_path): Rename kpse_font_override_path.
	(kpse_init_path): Only use kpse_font_override_font if font_p.

Mon Feb 21 15:38:53 1994  Karl Berry  (karl@cs.umb.edu)

	* common.ac (extrasub): Define to remove VPATH lines if srcdir = `.'.

Thu Feb  3 06:19:49 1994  Karl Berry  (karl@cs.umb.edu)

	* Version 1.6.

	* fn.c (fn_copy0): Remember to allocate space for the null.
	Thanks, simon.

Wed Feb  2 09:57:47 1994  Karl Berry  (karl@cs.umb.edu)

	* tex-make.h (KPSE_BITMAP_TOLERANCE): Move to here from tex-glyph.c
	(kpse_check_bitmap_tolerance): Declare.
	* tex-make.c (kpse_check_bitmap_tolerance): Define.

Tue Feb  1 10:42:03 1994  Karl Berry  (karl@cs.umb.edu)

	* c-std.h (*alloc) [! _MALLOC_INTERNAL]: Make decl conditional.

	* c-std.h [HAVE_STDLIB_H]: Change #if for including <stdlib.h> to this.
	* common.ac (AC_HAVE_HEADERS): Check for stdlib.h.

	* Makefile.in (paths.h): Do all substitutions globally.

	* absolute.c [DOS]: Include c-ctype.h.
	* tex-glyph.c (KPATHSEA_BITMAP_NAME) [DOS]: Double the backslash.
	* elt-dirs.c (do_subdir) [!UNIX_ST_LINK]: Avoid dangling else.
	From Wayne.

	* paths.h.in: Doc fix.

	* xputenv.c (xputenv): Check entire variable name for being saved,
	not just a prefix of it.

Mon Jan 31 12:05:30 1994  Karl Berry  (karl@cs.umb.edu)

	* fn.c (fn_copy0): Allocate LEN if that's bigger than CHUNK_SIZE.
	(CHUNK_SIZE): Increase to 75.

Sat Jan 22 15:36:08 1994  Karl Berry  (karl@cs.umb.edu)

	* Version 1.5.

	* common.ac (AC_HAVE_FUNCS): Check for memmove.

	* paths.h.in (DEFAULT_MF_PATH): Don't search just public/, cause
	we need ams/.

Mon Jan 17 15:09:36 1994  Karl Berry  (karl@cs.umb.edu)

	* paths.h.in (DEFAULT_{FMT,BASE}_PATH): Include `.'.

Sun Jan 16 14:50:02 1994  Karl Berry  (karl@cs.umb.edu)

	* paths.h.in (DEFAULT_PK_PATH): Search subdirs of pk.

Mon Jan 10 16:40:35 1994  Karl Berry  (karl@cs.umb.edu)

	* xputenv.c (xputenv): Don't try to be smart about saving/freeing
	stuff if SMART_PUTENV is defined.

	* c-std.h (assert) [!HAVE_ASSERT_H]: Define as nothing, to avoid
	undefined references to assert.

Tue Dec 21 16:28:13 1993  Karl Berry  (karl@cs.umb.edu)

	* c-std.h (SYSV) [STDC_HEADERS]: Define, to get around old X
	include files under hpux.

Sun Dec 19 13:06:15 1993  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (objects): Put tex-font.o first.

Sat Dec 18 15:03:57 1993  Karl Berry  (karl@cs.umb.edu)

	* config.h (GCC_WCHAR_T, _GCC_WCHAR_T): Remove these; I have
	another theory now for wchar_t, done in xdvi.h and x11.c.

Sat Dec 18 14:41:15 1993  Karl Berry  (karl@owl.hq.ileaf.com)

	* c-memstr.h ([r]index) [STDC_HEADERS]: Conditionalize #define.

Tue Dec 14 17:43:30 1993  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (paths.h): Change substitutions accordingly.
	* paths.h.in (DEFAULT_FMT_PATH): Variable is now fmtdir.
	(DEFAULT_{BIB,BST}_PATH): Variable is now texmf_prefix.

Sat Dec 11 13:21:43 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-make.c (ABS): New macro.
	(kpse_set_maketex_mag): Use it, instead of fabs.

Fri Dec 10 15:31:16 1993  Karl Berry  (karl@cs.umb.edu)

	* xmalloc.c, xrealloc.c: Use exit instead of abort, remove abort
	decls, and reword error messages to be less cryptic. From
	john@minster.york.ac.uk.

	* dir.h: use `defined' instead of just `DIRENT || _POSIX_VERSION'.
	How annoying. From kretschm@aitxu3.ait.physik.uni-tuebingen.de.

	* xputenv.c (putenv): Remove declaration, as different systems do
	it differently. From kayvan@satyr.sylvan.com.

Thu Dec  9 09:12:33 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-make.c (kpse_set_maketex_mag): Allow off-by-1 when deciding
	if a dpi is a magstep.

Tue Dec  7 11:03:51 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-make.c (kpse_set_maketex_mag): New routine from dvips,
	called by dvipsk and xdvik to ensure consistency.
	(magstep): Subroutine of above, also from dvips.
	* tex-make.h: Declare it.

	* tex-doc.texi: Correct menu item (from maechler@stat.math.ethz.ch).

Fri Dec  3 12:53:38 1993  Karl Berry  (karl@cs.umb.edu)

	* c-pathmx.h: Doc fix.

Sat Nov 27 14:36:11 1993  Karl Berry  (karl@cs.umb.edu)

	* default.h: Doc fix.

	* paths.h.in (texfontdir): This has been renamed to fontdir.

Sun Nov 21 08:28:41 1993  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (distdir): Include HIER in the distribution, until
	we merge it into the manual.

Sun Nov  7 14:54:47 1993  Karl Berry  (karl@cs.umb.edu)

	* c-namemx.h (NAME_MAX): Avoid use of pathconf.
	* c-pathmx.h: Doc fix.

Thu Nov  4 14:50:45 1993  Karl Berry  (karl@cs.umb.edu)

	* config.h (_GCC_WCHAR_T) [!GCC_WCHAR]: Conditionalize.

	* c-std.h (EXIT_SUCCESS) [!EXIT_SUCCESS]: Move these defines
	outside of !STDC_HEADERS, for the sake of SunOS 4.1.1.  (From
	vonbrand@inf.utfsm.cl.)

Wed Nov  3 14:43:05 1993  Karl Berry  (karl@cs.umb.edu)

	* Version 1.4.

Wed Nov  3 07:05:48 1993  Karl Berry  (karl@cs.umb.edu)

	* paths.h.in (DEFAULT_{BASE,FMT}_PATH): Had these definitions reversed.

Fri Oct 29 19:27:36 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-glyph.c (try_fallback_resolutions): Initialize ret in all cases.

Thu Oct 28 14:32:34 1993  Karl Berry  (karl@cs.umb.edu)

	* lib.h: Doc fix.

	* common.h (AC_UNISTD_H): Replace this with unistd.h in the list
	of HAVE_HEADERS.

Tue Oct 26 13:59:33 1993  Karl Berry  (karl@cs.umb.edu)

	* str-llist.[ch]: New files.
	* Makefile.in (objects): Add str_llist.o.
	* elt-dirs.[ch]: Use str_llist_type throughout.
	* pathsearch.c (dir_list_search): Take a str_llist_type, and float
	a successful dir towards the top.
	(path_search): Change call of kpse_element_dirs.

Sun Oct 24 19:41:49 1993  Karl Berry  (karl@cs.umb.edu)

	* elt-dirs.c (do_optional): Remove this stub.
	(expand_elt): Don't call it.

Fri Oct 22 14:46:44 1993  Karl Berry  (karl@cs.umb.edu)

	* xmalloc.c, xrealloc.c, line.c, pathsearch.c: Doc fix.

Tue Oct 19 12:11:32 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-glyph.c (try_fallback_resolutions): New routine.
	(kpse_find_glyph_format): Call it, instead of repeating (the now
	pretty complicated) code.
	* tex-font.c (kpse_init_fallback_resolutions): Pass the value of
	any environment variable, not its name. From R.Kooijman@et.tudelft.nl.

	* c-memstr.h (str[r]chr) [!str[r]chr]: Conditionalize. From
	maarrrk@seidel.ece.ucsb.edu.

Tue Oct 12 16:26:48 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-make.c: Doc fix.

Thu Oct  7 13:13:57 1993  Karl Berry  (karl@cs.umb.edu)

	* xmalloc.c: Rewrite to not require <config.h>.
	* xrealloc.c: Likewise.

	* make-suffix.c (make_suffix): Declare variables const.
	* remove-suffx.c (remove_suffix): Likewise.  Also rename to
	rm-suffix.c.
	* xputenv.c (putenv): Declare with correct prototype.
	* fontmap.c (internal routines): Likewise.
	* line.c (xmalloc, xrealloc): Declare as void *.
	(From john@minster.york.ac.uk.)

Wed Oct  6 06:49:53 1993  Karl Berry  (karl@cs.umb.edu)

	* Version 1.3.

	* tilde.c (kpse_tilde_expand): Always return a malloc-ed value.
	(From ken@cs.toronto.edu.)

Sun Oct  3 14:11:33 1993  Karl Berry  (karl@cs.umb.edu)

	* config.h (_GCC_WCHAR_T): Define.

Sat Oct  2 17:17:32 1993  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (install-*): Don't reassign PATH, just invoke
	mkdirchain explicitly.

	* tex-glyph.c (KPATHSEA_BITMAP_NAME) [DOS]: Define what I think
	will work for this ...

	* paths.h.in: Doc fix.

	* Makefile.in: Doc fix.

	* tex-glyph.c (kpse_find_glyph_format): Unconditionally initialize
	glyph_paths[*], since we might use them both in try_size.  From
	worsch@ira.uka.de.

Fri Oct  1 12:02:11 1993  Karl Berry  (karl@cs.umb.edu)

	* expand.c: Doc fix.

Wed Sep 29 15:21:49 1993    (karl@terminus.cs.umb.edu)

	* Version 1.2.

Sat Sep 25 14:12:00 1993  Karl Berry  (karl@cs.umb.edu)

	* pathsearch.c (path_search, absolute_search): Don't initialize
	structs.

Fri Sep 24 12:50:00 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-glyph.c (try_size): Skip the simultaneous stuff.
	(try_format): Set the envvar here.
	(bitmap_name): Not here.
	* pathsearch.c (kpse_*_multi_search): Delete.
	Change most other routines to take only a single name again,
	instead of a name list.
	* pathsearch.h: Delete decls.

	* tex-glyph.c (init-path.h): Don't need to include this.

	* tex-glyph.c (kpse_find_glyph_format): Try the fallback
	resolutions for the fallback font.

	* Makefile.in (warn_more, MAKEINFO_FLAGS) [hayley]: Define these
	for development and distribution.

	* Makefile.in (dvi): Make analogous to info (including use of new
	suffix rule).

	* tex-glyph.c (kpse_find_glyph_format): Set KPATHSEA_NAME to the
	fallback font if we get that far.

Wed Sep 15 19:29:56 1993  Karl Berry  (karl@cs.umb.edu)

	* filefmt.h (KPSE_*_PATH): Pass NULL as first arg.

	* xputenv.c (xputenv): Rewrite again to save the variable names,
	not the old items.

Mon Sep 13 06:55:29 1993  Karl Berry  (karl@cs.umb.edu)

	* concatn.h: Doc fix.

Sun Sep 12 15:54:55 1993  Karl Berry  (karl@cs.umb.edu)

	* lib.h (XTALLOC): Parenthesize the cast.

	* xputenv.c (xputenv): Rewrite to collect some of the garbage.

Fri Sep 10 14:00:35 1993  Karl Berry  (karl@cs.umb.edu)

	* lib.h (ENVVAR_SET_DEFAULT): No longer needed.

	* xputenv.c (xputenv_int): New routine.

Thu Sep  9 14:58:00 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-make.c (MAKE_TEX_PK_SPEC): Change MAKETEX_DPI to
	KPATHSEA_DPI.

	* tex-glyph.c (try_fontmap): Use KPSE_GLYPH_PATH.
	* filefmt.c (KPSE_GLYPH_{PATH,ENVS}): New macros.
	(KPSE_{GF,PK}_ENVS): Use GLYPH_ENVS.

	* tex-glyph.c (bitmap_name): Rewrite to use a variable spec,
	introducing KPATHSEA_{BITMAP_NAME,FORMAT,DPI,NAME}.
	(kpse_find_glyph_format): Set KPATHSEA_DPI instead of MAKETEX_DPI;
	also set KPATHSEA_NAME.
	(try_fontmap): Also set KPATHSEA_NAME here.
	(try_size): Set KPATHSEA_DPI here.

	* tex-glyph.c (try_name): Delete this routine.
	(kpse_find_glyph_format): Try fallback resolutions here, call
	try_resolution directly.
	(try_fontmap): Call try_resolution directly.

	* init-path.h: Need not include c-proto.h.

Sun Aug 29 13:34:25 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-make.c: Doc fix.

	* filefmt.h: Don't need c-proto.h or types.h.

Fri Aug 27 10:36:46 1993  Karl Berry  (karl@cs.umb.edu)

	* c-vararg.h (PVAR2C): Take AP as an arg.

	* init-path.[ch] (kpse_init_path): Take the current value as an
	additional argument, separate from the default path, and always
	expand_default.

	* uppercasify.c (uppercasify): Don't discard upcased result!

Thu Aug 26 10:36:28 1993  Karl Berry  (karl@cs.umb.edu)

	* Version 1.1.

Sun Aug 22 19:18:35 1993  Karl Berry  (karl@cs.umb.edu)

	* install-data (install-data): Replace nonexistent
	$(kpath_includedir) with $(includedir), and define it.  Also
	remove c-auto.h.

Thu Aug  5 09:03:22 1993  Karl Berry  (karl@cs.umb.edu)

	* Version 1.0.

Wed Aug  4 13:51:24 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-glyph.c (kpse_find_glyph_format): Fill in the font_file
	struct in the maketex case.

	* Makefile.in (info): Just depend on kpathsea.info, and rely on
	new suffix rule to do the work.

Tue Aug  3 17:50:40 1993  Karl Berry  (karl@fishbowl.hq.ileaf.com)

	* tex-glyph.c (try_name): Don't free expanded_name if we're
	returning it.

Tue Aug  3 10:13:43 1993  Karl Berry  (karl@owl.hq.ileaf.com)

	* version.c (kpathsea_version_string): Do not declare const.

	* line.h (read_line): Protoize decl.

Tue Aug  3 09:10:07 1993  Karl Berry  (karl@blood.hq.ileaf.com)

	* c-memstr.h (bcmp, bcopy, bzero) [!HAVE_BCOPY]: Conditionalize.

	* putenv.c: Include <kpathsea/c-auto.h>, and use const when
	calling memcpy.

Sun Aug  1 08:48:49 1993  Karl Berry  (karl@cs.umb.edu)

	* Add new features to manual.

	* Makefile.in (objects): Include putenv.o.
	* putenv.c: New file from gdb.
	* common.ac: Test for putenv.

Sat Jul 31 11:54:31 1993  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (distclean): Remove paths.h.

	* Most files: changes for traditional C compatibility.

	* filefmt.h: Add new KPSE_..._PATH's for the other formats.
	* paths.h.in: Add defaults.
	* Makefile.in (paths.h): sed the values in.

Fri Jul 30 17:23:10 1993  Karl Berry  (karl@cs.umb.edu)

	* filefmt.h (KPSE_VF_PATH): Add empty parens.

	* tex-paths.h*: Rename to just paths.h*.

Tue Jul 27 09:00:58 1993  Karl Berry  (karl@cs.umb.edu)

	* filefmt.h: Include tex-paths.h, and use default paths in
	KPSE_..._PATH macros.

	* find-suffix.c: Correct logic.

	* filefmt.h: Include init-path.h.

Sat Jul 24 10:44:21 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-glyph.c (kpse_find_glyph_format): Assign to it.
	* tex-font.h (kpse_font_file_type): New member `source'.
	(KPSE_FONT_FILE_SOURCE): Accessor macro.
	(kpse_source_type): New type.

Wed Jul 21 19:45:45 1993  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (configclean): New target.

Sun Jul 18 13:53:38 1993  Karl Berry  (karl@cs.umb.edu)

	* tilde.[ch] (kpse_expand_tilde): Rename to kpse_tilde_expand.

	* elt-dirs.c, pathsearch.c, tex-glyph.c: Replace calls to
	kpse_expand_tilde with kpse_expand.
	* expand.[ch]: New files.
	* Makefile.in (objects): Add it.

	* fn.[ch]: New files.
	* elt-dirs.c (fn*): Moved to fn.c.
	* tex-make.c, variable.c: Use the new routines.
	* *obstack*: No longer needed.
	* Makefile.in (objects): Appropriate changes.

Sat Jul 17 13:25:25 1993  Karl Berry  (karl@cs.umb.edu)

	* concat.c: Doc fix.

	* pathsearch.c (search, path_search): Expand variable references.

	* itoa.c: New file.
	* lib.h (itoa): Declare it.
	* Makefile.in (objects): Add it.

	* lib.h (ENVVAR_SET_DEFAULT): New macro.
	* tex-glyph.c (kpse_find_glyph_format): Call it to set the dpi.

Fri Jul 16 09:10:52 1993  Karl Berry  (karl@cs.umb.edu)

	* xputenv.c: New file.
	* Makefile.in (objects): Add it.
	* lib.h (xputenv): Declare it.	

	* c-obstack.h: New file.
	* variable.[ch]: New files.
	* Makefile.in (objects): Add it.

	* uppercasify.c: New file.
	* Makefile.in (objects): add it.
	* lib.h (uppercasify): Declare it.

Tue Jul 13 13:47:54 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-glyph.c (kpse_find_glyph_format): Simplify path initialization.
	* filefmt.h: New file; add abbrevs for GF and PK inits.

	* Makefile.in (objects): Add obstack.o and tex-make.o.
	* obstack.[ch]: New files from GNU.
	* concatn.[ch], tex-make.[ch]: New files.
	* init-path.c: Doc fix.

	* elt-dirs.c: Doc fix.
	* readable.[ch]: Doc fixes.

Sun Jul 11 13:37:02 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-font.h (kpse_font_format_type): Rename to kpse_file_format_type,
	and include the other file formats.
	* tex-glyph.c: Change uses.

Tue Jul  6 08:09:10 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-font.c (kpse_fallback_font): Initialize to NULL.

Mon Jul  5 08:23:09 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-glyph.c (try_size): Don't fill in FONT_FILE if it's null.

	* tex-font.c (kpse_init_fallback_resolutions): Look for TEXSIZES
	after the program-specific *SIZES var.

	* tex-glyph.c (kpse_find_glyph_format): Use kpse_init_path.
	* Makefile.in (objects): Add init_path.o.
	* tex-font.[ch] (kpse_override_path): Move to init-path.[ch].
	* init-path.[ch]: New files.
	* c-vararg.h: New file.

Sun Jul  4 11:26:17 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-font.c (kpse_init_fallback_resolutions): New routine.
	* tex-font.h: Declare it, and companion return type.

Fri Jul  2 10:43:11 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-glyph.c (kpse_find_glyph_format): Take first successful
	fontmap entry.

	* fontmap.c (map_file_parse): Take first % on line as starting the
	comment, not the last.

	* fontmap.c (map_insert): Always insert the new element.

Thu Jul  1 19:21:35 1993  Karl Berry  (karl@cs.umb.edu)

	* fontmap.c (map_lookup): Return a list, not a single string.
	(map_lookup_str): Likewise.
	* fontmap.h (map_lookup): Change decl.
	* tex-glyph.c (kpse_find_glyph_format): Change caller.

Sat Jun 26 11:48:36 1993  Karl Berry  (karl@cs.umb.edu)

	* tex-font.h: Doc fix.

Thu Jun 24 11:16:41 1993  Karl Berry  (karl@cs.umb.edu)

	* configure.in (MISSING_HEADERS): Toss in favor of HAVE_HEADERS.  Sigh.
	Also, move all this to an include file.
	Change uses in several files.

	* stat.h: Rename to c-stat.h, and change includers.

	* Makefile.in (objects): Add tex-glyph.o.
	* pathsearch.[ch] (kpse_*_multi_search): New routines.

Sat Jun 19 11:37:18 1993  Karl Berry  (karl@cs.umb.edu)

	* str-list.c (str_list_free): New routine.

Fri Jun 18 13:54:08 1993  Karl Berry  (karl@cs.umb.edu)

	* fontmap.c (map_create): Rewrite to use kpse_all_path_search.
	Include const in various subroutines.

Tue Jun 15 15:58:18 1993  Karl Berry  (karl@cs.umb.edu)

	* Change <kpathsea/pathsrch.h> to pathsearch.  Rename the files
	themselves.

	* elt-dirs.c (cache): Copy the key into our own storage, since it
	comes from kpse_path_element and might get overwritten.  Should we
	copy all the values, too?

Sun Jun 13 16:49:09 1993  Karl Berry  (karl@cs.umb.edu)

	* pathsearch.c (dir_list_search): Don't need to append the null
	here; in fact, it's wrong, since then the final list might have
	nulls in the middle.

	* elt-dirs.c (dir_list_add): Correct check for new directory
	already ending in /.

Fri Jun 11 10:45:33 1993  Karl Berry  (karl@cs.umb.edu)

	* str-list.[ch]: New files.
	* pathsrch.c: Use it for the dir_list routines.
	* Many changes and new files throughout for new implementation
	including TeX-font-lookup routines.

Tue Jun  8 14:00:54 1993  Karl Berry  (karl@cs.umb.edu)

	* Most files: Change `const string' (constant pointer) to `const
	char *' (pointer to constant data).  What a crock.

Mon Jun  7 09:43:21 1993  Karl Berry  (karl@cs.umb.edu)

	* debug.[ch]: New files.
	* config.h: Include debug.h.

	* dir-p.c: Rename to dir.c.
	(dir_links): New routine.

	* c-std.h (assert.h) [!ASSERT_H_MISSING]: Include this.
	* configure.in: Check for it with new macro AC_MISSING_HEADERS.

Thu Jun  3 10:12:12 1993  Karl Berry  (karl@cs.umb.edu)

	* dirio.h (leaf_dir_p): No longer defined; rename to dir.h.
	* xopendir.c, dir-p.c, pathsrch.c: Change include.

Mon May 31 07:49:16 1993  Karl Berry  (karl@cs.umb.edu)

	* c-std.h (EXIT_{SUCCESS,FAILURE}): Define these if they're undefined.

	* config.h: Use <kpathsea/...> instead "...".

	* kpathlib.h: Had #ifndef protection messed up.  Rename to lib.h.

	* c-memstr.h (index, rindex) [!index, !rindex]: Make definitions
	conditional.

Tue May 25 10:07:00 1993  Karl Berry  (karl@cs.umb.edu)

	* c-{namemx,pathmx,pathch,...}.h: Doc fixes.

	* c-systypes.h: New file.
	* c-std.h: Include it.

	* stat.h: New file.
	* xstat.h: Include it.

	* configure.in (AC_HAVE_HEADERS): Test for `pwd.h'.

Sun May 23 19:06:22 1993  Karl Berry  (karl@cs.umb.edu)

	* pathsrch.[ch]: Doc fixes.

Fri May 21 11:27:54 1993  Karl Berry  (karl@cs.umb.edu)

	* line.c (free): Declare.

	* pathsrch.c, find-suffix.c: Change caller.
	* c-pathch.h ({IS_,}{DIR,ENV}_SEP): Rename existing confusing
	definitions to these.  Suggested by rocky.

Mon May 17 08:18:18 1993  Karl Berry  (karl@cs.umb.edu)

	* Version 0.3.

	* pathsrch.c (expand_default): Handle doubled colon and
	nothing-but-colon cases.

	* Write documentation, change Makefile accordingly.

Thu May 13 16:32:34 1993  Karl Berry  (karl@cs.umb.edu)

	* c-std.h (popen) [VMS]: Make decl conditional, and include
	<unixlib.h> and <unixio.h>.

Mon May 10 07:12:50 1993  Karl Berry  (karl@cs.umb.edu)

	* Version 0.2.

	* version.c: Put in placeholder.

Sun May  9 10:42:34 1993  Karl Berry  (karl@cs.umb.edu)

	* config.h (c-auto.h): Use <...> instead of "...".

Tue May  4 14:54:41 1993  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (info check dvi): New targets (that do nothing).

Mon May  3 13:46:17 1993  Karl Berry  (karl@claude.cs.umb.edu)

	* Version 0.1.

	* Use KPATHSEARCH_ prefix for various headers' cpp protections.

Sun May  2 10:28:25 1993  Karl Berry  (karl@cs.umb.edu)

	* Makefile.in (dist): Depend on TAGS, and put it in the dist.

	* Makefile.in (c-auto.h.in): Remove extra $(srcdir).

Sun Apr 25 11:22:12 1993  Karl Berry  (karl@cs.umb.edu)

	* pathsrch.h: Include c-proto.h.

	* make-suffix.c: New file.
	* Makefile.in (objects): Add the .o.

	* file-p.c: Use the SAME_FILE_P macro.

	* fontmap.h: Include c-proto.h and types.h.

	* lib.h: Rename to kpathlib.h.
	* config.h: Include changed.

	* c-proto.h, c-std.h: Doc fix.

	* c-limits.h [LIMITS_H_MISSING]: Conditionalize include of c-std.h.

	* xstat.h: Include c-std.h.

	* Makefile.in (c-auto.h.in): Add unused warning to top.

	* dirio.h: Include c-proto.h and types.h.

Fri Apr 23 16:11:13 1993  Karl Berry  (karl@cs.umb.edu)

	* line.c: Don't include config.h, just declare xmalloc and
	xrealloc explicitly.

	* pathsrch.c: paths.h need not be included.

	* Created.

(This ChangeLog file public domain.)