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
|
diff -rNU3 texinfo.orig/AUTHORS texinfo/AUTHORS
--- texinfo.orig/AUTHORS 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/AUTHORS 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-$Id: AUTHORS,v 1.10 2004/04/11 17:56:45 karl Exp $
+Id: AUTHORS,v 1.10 2004/04/11 17:56:45 karl Exp
Texinfo authors.
Copyright (C) 2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/INSTALL texinfo/INSTALL
--- texinfo.orig/INSTALL 2004-11-19 14:08:47.000000000 +0100
+++ texinfo/INSTALL 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-$Id: INSTALL,v 1.5 2004/11/19 13:08:47 karl Exp $
+Id: INSTALL,v 1.5 2004/11/19 13:08:47 karl Exp
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
diff -rNU3 texinfo.orig/INTRODUCTION texinfo/INTRODUCTION
--- texinfo.orig/INTRODUCTION 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/INTRODUCTION 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-$Id: INTRODUCTION,v 1.3 2004/04/11 17:56:45 karl Exp $
+Id: INTRODUCTION,v 1.3 2004/04/11 17:56:45 karl Exp
Getting started with Texinfo.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
diff -rNU3 texinfo.orig/Makefile.am texinfo/Makefile.am
--- texinfo.orig/Makefile.am 2004-12-15 19:14:56.000000000 +0100
+++ texinfo/Makefile.am 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
# Makefile.am for texinfo.
-# $Id: Makefile.am,v 1.13 2004/12/15 16:53:59 kasal Exp $
+# Id: Makefile.am,v 1.13 2004/12/15 16:53:59 kasal Exp
# Process this file with automake to produce Makefile.in in all directories.
#
# This file is free software; as a special exception the author gives
diff -rNU3 texinfo.orig/Makefile.in texinfo/Makefile.in
--- texinfo.orig/Makefile.in 2004-12-31 19:01:49.000000000 +0100
+++ texinfo/Makefile.in 2015-10-18 11:13:23.000000000 +0200
@@ -15,7 +15,7 @@
@SET_MAKE@
# Makefile.am for texinfo.
-# $Id: Makefile.am,v 1.13 2004/12/15 16:53:59 kasal Exp $
+# Id: Makefile.am,v 1.13 2004/12/15 16:53:59 kasal Exp
# Process this file with automake to produce Makefile.in in all directories.
#
# This file is free software; as a special exception the author gives
@@ -230,7 +230,7 @@
# This is to prevent texinfo.tex from being included in the top-level
# distribution directory.
TEXINFO_TEX = doc/texinfo.tex
-@TOOLS_ONLY_FALSE@SUBDIRS = $(native_tools) intl m4 lib info makeinfo po util doc
+@TOOLS_ONLY_FALSE@SUBDIRS = $(native_tools) intl m4 lib makeinfo po util doc
@TOOLS_ONLY_TRUE@SUBDIRS = lib info makeinfo util
# for gettext.
diff -rNU3 texinfo.orig/NEWS texinfo/NEWS
--- texinfo.orig/NEWS 2004-12-31 19:01:29.000000000 +0100
+++ texinfo/NEWS 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-$Id: NEWS,v 1.103 2004/12/24 16:43:58 karl Exp $
+Id: NEWS,v 1.103 2004/12/24 16:43:58 karl Exp
This file records noteworthy changes, very tersely.
See the manual for detailed information.
diff -rNU3 texinfo.orig/README texinfo/README
--- texinfo.orig/README 2004-12-13 14:36:32.000000000 +0100
+++ texinfo/README 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-$Id: README,v 1.16 2004/12/13 13:36:32 karl Exp $
+Id: README,v 1.16 2004/12/13 13:36:32 karl Exp
This is the README file for the GNU Texinfo distribution. Texinfo is
the preferred documentation format for GNU software.
diff -rNU3 texinfo.orig/README.dev texinfo/README.dev
--- texinfo.orig/README.dev 2003-11-24 16:11:06.000000000 +0100
+++ texinfo/README.dev 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-$Id: README.dev,v 1.7 2003/11/24 15:11:06 karl Exp $
+Id: README.dev,v 1.7 2003/11/24 15:11:06 karl Exp
README.dev - Texinfo developer information.
Copyright (C) 2002, 2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/TODO texinfo/TODO
--- texinfo.orig/TODO 2004-11-23 00:57:32.000000000 +0100
+++ texinfo/TODO 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-$Id: TODO,v 1.26 2004/11/22 23:57:32 karl Exp $
+Id: TODO,v 1.26 2004/11/22 23:57:32 karl Exp
This is the todo list for GNU Texinfo.
If you are interested in working on any of these, email bug-texinfo@gnu.org.
diff -rNU3 texinfo.orig/config.guess texinfo/config.guess
--- texinfo.orig/config.guess 2004-11-14 14:10:31.000000000 +0100
+++ texinfo/config.guess 2015-10-18 11:13:23.000000000 +0200
@@ -780,7 +780,7 @@
*:FreeBSD:*:*)
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
exit 0 ;;
- i*:CYGWIN*:*)
+ i*:CYGWIN*:* | x86*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin
exit 0 ;;
i*:MINGW*:*)
@@ -923,6 +923,9 @@
sparc:Linux:*:* | sparc64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit 0 ;;
+ tile*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit 0 ;;
x86_64:Linux:*:*)
echo x86_64-unknown-linux-gnu
exit 0 ;;
diff -rNU3 texinfo.orig/configure texinfo/configure
--- texinfo.orig/configure 2004-12-31 19:01:50.000000000 +0100
+++ texinfo/configure 2015-10-18 11:13:23.000000000 +0200
@@ -1771,6 +1771,30 @@
+echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
+echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
+ # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
+if test "${enable_maintainer_mode+set}" = set; then
+ enableval="$enable_maintainer_mode"
+ USE_MAINTAINER_MODE=$enableval
+else
+ USE_MAINTAINER_MODE=no
+fi;
+ echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
+echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
+
+
+if test $USE_MAINTAINER_MODE = yes; then
+ MAINTAINER_MODE_TRUE=
+ MAINTAINER_MODE_FALSE='#'
+else
+ MAINTAINER_MODE_TRUE='#'
+ MAINTAINER_MODE_FALSE=
+fi
+
+ MAINT=$MAINTAINER_MODE_TRUE
+
+
# When the Texinfo source is imported into other repositories
# (NetBSD and TeX Live), timestamps are generally not preserved. This
diff -rNU3 texinfo.orig/configure.ac texinfo/configure.ac
--- texinfo.orig/configure.ac 2004-12-31 19:00:48.000000000 +0100
+++ texinfo/configure.ac 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
# Process this file with autoconf to produce a configure script.
-# $Id: configure.ac,v 1.50 2004/12/22 13:29:44 karl Exp $
+# Id: configure.ac,v 1.50 2004/12/22 13:29:44 karl Exp
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
diff -rNU3 texinfo.orig/djgpp/README texinfo/djgpp/README
--- texinfo.orig/djgpp/README 2002-09-27 00:01:10.000000000 +0200
+++ texinfo/djgpp/README 1970-01-01 01:00:00.000000000 +0100
@@ -1,431 +0,0 @@
-Building and installing GNU Texinfo with DJGPP v2.x
-===================================================
-
-This directory holds files required for building Texinfo with DJGPP
-tools for MS-DOS and MS-Windows. If you got this file with a binary
-distribution, look for the "Installation" section below.
-
-
-1. Building Texinfo
- ----------------
-
- a. To compile Texinfo, you will need the following tools:
-
- - basic DJGPP development environment: GCC, Binutils and djdev;
- - a DJGPP port of GNU Make version 3.78 or later;
- - a DJGPP port of Bash 2.04 or later;
- - a port of GNU Sed 3.02 or later;
- - DJGPP ports of Fileutils, Textutils, Sh-utils, Diffutils,
- Gawk and Grep;
- - etags (from the Emacs distribution) and mkid (from ID-utils)
- if you need the TAGS and ID targets of the Makefile's.
-
- All of the above are available from the DJGPP ftp sites on
- SimTel.NET mirrors, in the v2gnu directory.
-
- b. From the root of your DJGPP installation, unzip the source package:
-
- - if you are unpacking the official GNU source distribution:
-
- tar -xvzf texinfo-X.YZ.tar.gz
-
- or
-
- djtar -x texinfo-X.YZ.tar.gz
-
- where X.YZ is the version number. (Users of MS-DOS and
- MS-Windows 3.X, which don't support long file names, will need
- to rename the archive to something like texi-XYZ.tgz.)
-
- - if you are unpacking a source distribution from a DJGPP ftp
- site:
-
- unzip txiXYZs
-
- or
-
- pkunzip -d txiXYZs
-
- If you build Texinfo on Windows 9X, Windows ME, Windows 2000 or
- Windows XP, you are advised to use a version of Unzip which
- supports long filenames, so that the original long filenames of
- the source files will be preserved. Otherwise, the build
- procedure will most probably fail.
-
- Do NOT use an unzip program which supports long file names on
- Windows NT 4, as DJGPP doesn't support long names there.
-
- The program unzip32.exe, available from the SimTel.NET site,
- will deal correctly with long file names on any platform, so it
- is the recommended way of unzipping txiXYZs.zip archives.
-
- c. If the source distribution comes with a ready Makefile (this is
- usually the case with archives downloaded from the DJGPP sites),
- and all you need is to build Texinfo, you may skip the configure
- step below and go directly to step e.
-
- d. To build the official GNU distribution, or to configure Texinfo
- for any environment but stock DJGPP v2.x, run djgpp\config.bat
- first, like this:
-
- SRCDIR\djgpp\config SRCDIR
-
- Here SRCDIR is the directory where you unpacked the sources. If
- you are configuring from the source directory itself, you may
- omit the argument to the config.bat file. If you do supply the
- argument, you MUST use forward slashes in it, or else the batch
- file might fail.
-
- config.bat sets some environment variables, then invokes the
- configure script. The script will run for a few minutes and
- create Makefile's in all the directories, and the config.h file.
-
- e. Run `Make'. This builds the programs and the Info files.
-
-
-
-2. Installation
- ------------
-
- a. If you are installing the binary distribution, then go to your
- main DJGPP directory and unzip the files. For instance, if your
- DJGPP installation is rooted on C:\DJGPP, then type this (XYZ is
- the version number):
-
- cd c:\djgpp
- unzip txiXYZb
-
- or, if you prefer `pkunzip':
-
- pkunzip -d txiXYZb
-
- b. If you downloaded and built Texinfo from sources, install by
- invoking Make:
-
- make install
-
- This requires a port of Unix-like program `install.exe'. It is
- available from the DJGPP port of GNU Fileutils on SimTel.NET.
-
- c. Info needs a file named DIR with the top-level menu of all the
- Info files installed on your system. If you installed the DJGPP
- development environment (djdevNN.zip), then you already have
- this file in the info/ subdirectory of your DJGPP installation.
- Otherwise, you will need to create it. A minimal DIR file is
- available in this distribution under the name `dir-example',
- which you can use as a starting point. Copy it to the directory
- where you install the Info files from this distribution.
-
- Even if you already have a DIR file, you should review it to
- make sure it is consistent with the names of the Info file you
- are installing. Here's how your Texinfo-related entries in DIR
- should look like:
-
- * Info: (info).
- Documentation browsing system. This topic teaches you about
- how to use the online help information.
-
- * Info-Standalone: (info-stnd).
- This topic helps you use the standalone Info-Program (info.exe)
-
- * infokey: (info-stnd)Invoking infokey.
- Compile Info key customizations.
-
- * Makeinfo: (texinfo)Invoking makeinfo.
- Convert a .texinfo file (.txi) to an info file suitable for the
- info reader or Emacs, into plain ASCII, into HTML, into XML,
- or into DocBook.
-
- * Texinfo: (texinfo).
- With one source file, make either a printed manual (through TeX)
- or an on-line manual (through makeinfo). This topic includes
- a full description of the Texinfo language and related
- facilities, including Emacs commands to work with Texinfo files.
-
- * install-info: (texinfo)Invoking install-info.
- How to update info/dir entries when installing GNU packages.
-
- * texi2dvi: (texinfo)Format with texi2dvi.
- Printing Texinfo documentation with TeX.
-
- * texindex: (texinfo)Format with tex/texindex.
- Sorting Texinfo index files automatically.
-
-
- Note that the asterisk `*' should be flushed all the way to the
- left, it is indented here just to make reading more convenient.
-
- If your DIR file entries differ from these, I suggest to edit them
- so they are as shown above. Otherwise, Info might not be able to
- find some of the files. You HAVE been warned!
-
- d. Optionally, set up environment variables for Info. These are:
-
- * INFO_LINES -- screen size for Info.
- * INFO_COLORS -- screen colors for Info.
-
- (If you have DJGPP installed on your system, the file djgpp.env
- which comes with it already has entries for Info, see the [info]
- section there.)
-
- INFO_LINES can be one of 25 (the default), 28, 35, 40, 43, or 50
- (that's if you have a VGA; EGAs only support 25, 35 and 43 lines).
- I recommend 40 if your monitor is 17" or larger, and at least 28
- lines for smaller monitors (I work with 40 lines even on 14"
- monitors).
-
- INFO_COLORS should have the following syntax:
-
- set INFO_COLORS=XX.YY
-
- where XX is the text attribute for text displayed in the text
- windows and the echo area, and YY is the text attribute for the
- modeline (aka the status line). Each attribute is a numeric
- value of a byte which describes the desired combination of
- foreground and background colors. The individual bits in the
- attribute byte are defined as follows:
-
- bBBBFFFF
-
- where `b' is the blink bit, `BBB' are the 3 bits for background
- color and `FFFF' are the 4 bits for the foreground color. This is
- the usual PC text attribute byte structure, and is further explained
- in any standard reference on text-mode programming for the PC.
-
- My favorite setting for INFO_COLORS is `0x1e.0x31'. This makes
- Info use yellow foreground on blue background for the text and
- blue foreground on cyan background for the modelines.
-
- After you've played with these variables and have chosen the values
- you like, it's a good idea to put them on the DJGPP.ENV file, in the
- [info] section.
-
- e. Beginning with version 3.6, GNU Info can read Unix man pages. If
- you have a `man' clone on your system and would like to be able to
- read man pages with Info, read the chapter ``Reading Man Pages''
- below. One such clone is available as v2apps/manXYb.zip from
- the DJGPP sites (XY is the version number).
-
- f. This port supports compressed Info files, like what Info under Unix
- gives you. For this to work, you will need to install a DOS port of
- GNU `Gzip' package and to observe certain rules of file naming, so
- that Info will find the compressed files working around the DOS 8.3
- filename restriction. The chapter ``Compressed Info Files'' below
- explains the details of this.
-
- g. If you need to use the `print-node' command, read the chapter
- ``Printing Nodes'' below.
-
- h. That's it! You are now ready to use Info, Makeinfo, and Texindex.
- To learn about them, type `Info' and press [Enter]. You will be
- presented with the top-level menu of GNU/DJGPP hypertext
- documentation. If you are unfamiliar with Info, press `?' to see
- the available commands. Pressing `h' will cause Info to take you on
- a guided tour through its features (recommended for first-time
- users).
-
- i. If you are used to Info ports of versions before 3.6, you should
- know that the command bindings to PC-specific keys has changed: the
- numeric keypad keys invoke the same commands as their extended
- namesakes. That is, e.g., the key `PgUp' on the numeric keypad
- invokes the same command as the grey `PgUp' key on the extended
- keypad. This was done at DJ's request, because laptop machines
- don't have extended keys. Commands to move between nodes
- (previously bound to numeric keypad) are now bound to Ctrl-
- varieties of numeric keypad keys (e.g., `next-node' is on
- `Ctrl-PgDn', `prev-node' is on `Ctrl-PgUp', etc.). You can use
- the `Alt-x describe-key' command to see which command is invoked
- by a particular key.
-
- j. There are several MSDOS-specific changes in Texinfo, relative to
- previous Texinfo ports (for other changes, see the file NEWS):
-
- * Full support for both forward and backslashes in all file
- names. Previously, Info was sensitive to the style of
- slashes in directories mentioned in the INFOPATH environment
- variable.
-
- * The default operation of the `print-node' command has been
- changed so that it automatically prints to the local printer
- device connected to the PRN port. (If your printer is
- connected to another port, set the INFO_PRINT_COMMAND
- environment variable like this:
-
- set INFO_PRINT_COMMAND=>LPT2
-
- In other words, if the value of INFO_PRINT_COMMAND begins
- wih a `>' character, Info will write to the file or device
- whose name follows the `>' character. (Don't leave any
- blanks between `>' and the device name!).
-
- Note that some old versions of stock DOS shell won't let you
- use the `>' character in environment variables set from the
- DOS prompt or batch files, but you can set it in the [info]
- section of your DJGPP.ENV file.
-
- * The `set-screen-height' command now actually changes the
- screen dimensions from within Info if you specify one of the
- sizes supported by your video hardware.
-
- * If you don't have a `man' clone installed, and you invoke
- Info with a name of a document which Info cannot find, it
- will no longer wait for 15 seconds.
-
- * Several bugs in handling of man pages were corrected.
-
- * Info opens the dribble and input files in BINARY mode. This
- allows to record keystrokes and restore them in another Info
- session, thus using dribble files as a startup or init file
- which changes default behavior, binds keys, etc.
-
- * Info recognizes a new DOS-specific command-line option `-b'
- or `--speech-friendly'. This option causes Info to use DOS
- I/O functions (`printf', `puts', etc.) instead of direct
- screen writes, which is required to enable speech
- synthesizer software (used by visually-impaired people) to
- grab the output. When this option is given, the screen
- colors defined by the `INFO_COLORS' environment variable and
- the visible-bell feature will be disabled, because stdio
- functions don't support neither color text nor inverting
- screen colors. This improvement was suggested and
- originally implemented by Hans-Bernhard Broeker
- <Broeker@physik.rwth-aachen.de>.
-
- * Makeinfo now generates full .info-NN filenames when long
- filenames are supported (e.g. on Win9x) and short .iNN
- filenames otherwise. When the Texinfo source or the
- command-line parameter -o specify an output file with no
- extension (like `texinfo'), and long filenames aren't
- supported, Makeinfo will make sure the generated names will
- be unique (it will create e.g. `texinf-1', `texin-10' etc.).
-
- * The texi2dvi script is now fully compatible with
- MS-DOS/MS-Windows and with the DJGPP port of TeX.
-
-
-3. Reading Man Pages
- -----------------
-
- Yes, Info can now read man pages! This port supports that feature,
- but for it to work, you will have to make sure your `man' clone is
- set up correctly:
-
- a. You should have an executable file named `man.exe', `man.com'
- etc. somewhere on your PATH.
-
- b. When invoked with redirected stdout, that executable should
- print the contents of the file it gets as its argument to stdout
- and exit. If your man command calls some pager, that pager
- should have this behavior (various ports of Unix command `more'
- and the DJGPP port of GNU Less behave that way).
-
- One `man' clone is available as v2apps/manNNb.zip from the DJGPP
- sites on SimTel.NET.
-
-
-4. Compressed Info Files
- ---------------------
-
- Info allows you to hold your Info files in compressed form, to save
- disk space. When a file Info wants cannot be found, it will
- automatically try to find that file in compressed form. Info does
- this by trying to find the original file with specific extensions.
- Each extension tells Info which program should be called to
- decompress the file.
-
- This port supports compression by the GNU Gzip program. When Info
- cannot find a file `foo', it will first try to find `foo.z' or
- `foo.gz'. If this fails, and the file has an extension, the last
- one or two characters of the extension are replaced by `z' and `gz'
- respectively, and Info tries again. If it finds any of these, it
- will call the `GUnzip' program to decompress the file, catch its
- output and display it. (The original compressed file stays
- intact.)
-
- So, to use this feature, compress your files with Gzip and call the
- compressed files using the following as guidelines:
-
- foo --> foo.gz
- foo.inf --> foo.igz
- foo.i5 --> foo.i5z
- foo.25 --> foo.25z
-
- If you have a package whose Info docs are split into more than 9
- sub-files and you need to compress those files, you will have to
- rename the sub-files from `foo.iNN' to `foo.NN' so that there will
- be place for the trailing `z' in the compressed names. Don't
- forget to edit the indirect file table in the main Info file and
- change the sub-file filenames there too!
-
- An alternative for those packages which have more than 99 Info
- sub-files is to generate them from the Texinfo sources and force
- Makeinfo to produce files without the .iNN extensions, like this:
-
- makeinfo -o foo foo.txi
-
- This causes Makeinfo to generate file names like foo-1, foo-2,
- etc., which leave more place for the numeric index. If necessary,
- Makeinfo will automatically remove characters from the end of the
- argument to `-o'. For example, "-o texinfo" produces files
- texinf-1, ..., texin-10, ..., texi-100, etc. on platforms which
- only support 8+3 file names.
-
- Saying "@setfilename foo" near the beginning of the Texinfo source
- file is another way of forcing Makeinfo to produce files without
- the .iNN extensions.
-
- Using Makeinfo to produce files whose names are "compression-ready"
- is more convenient, since you don't need to edit the the indirect
- file table to reflect the changes in file names.
-
- On platforms which support long filenames, the usual Info behavior
- of appending `.gz' or `.Z' to the original filename also works;
- this is done *before* Info checks the above butchered names.
-
- Special considerations apply if you are installing Info on dual
- DOS/Windows 9X/ME/2K/XP system, where you'd like Info to work with
- the same files both in plain DOS and from the Windows DOS box. In
- this case, you should make sure your compressed Info files follow
- the 8+3 DOS naming conventions outlined above, even though Info
- supports long file names on Windows 9X. Also, you need to turn off
- the generation of numeric tails in short 8+3 aliases Windows
- creates for long names (if you don't know how, the DJGPP FAQ list
- explains it).
-
- Please note: for the automatic decompression to work, Info must be
- able to find the file it looks for with an extension which
- indicates that the file is compressed. Do NOT call the compressed
- files as the original uncompressed files were called, or Info
- won't be able to find them! File names like bison-1, gcc.i10 or
- make.info-3 have nothing in them to suggest that they are
- compressed, so don't expect Info to uncompress them.
-
-
-5. Printing Nodes
- --------------
-
- Info has a `print-node' command. It works by piping the contents of
- the current node through a program which is named by the environment
- variable INFO_PRINT_COMMAND. That command should read its standard
- input and write it to your printer. Find any such program, put its
- name into the above environment variable, and you can print nodes from
- within Info.
-
- If the value of INFO_PRINT_COMMAND begins with a redirection
- character `>', Info will write the contents of the node to the file
- whose name follows the `>' character.
-
- If INFO_PRINT_COMMAND is not defined, the DJGPP port will use
- ">PRN" as the default, which causes it to print to the local printer
- device, PRN.
-
-6. Bug Reports
- -----------
-
- If you see any bugs which seem specific to this DOS port, please tell
- me about them.
-
-
- Enjoy,
-
- Eli Zaretskii <eliz@is.elta.co.il>
diff -rNU3 texinfo.orig/djgpp/config.bat texinfo/djgpp/config.bat
--- texinfo.orig/djgpp/config.bat 2004-12-17 23:47:55.000000000 +0100
+++ texinfo/djgpp/config.bat 1970-01-01 01:00:00.000000000 +0100
@@ -1,240 +0,0 @@
-@echo off
-
-echo Configuring GNU Texinfo for DJGPP v2.x...
-
-Rem The small_env tests protect against fixed and too small size
-Rem of the environment in stock DOS shell.
-
-Rem Find out if NLS is wanted or not, if dependency-tracking is
-Rem wanted or not, if cache is wanted or not, and where the sources are.
-set ARGS=
-set NLS=disabled
-if not "%NLS%" == "disabled" goto small_env
-set CACHE=enabled
-if not "%CACHE%" == "enabled" goto small_env
-set DEPTRAK=disabled
-if not "%DEPTRAK%" == "disabled" goto small_env
-set XSRC=.
-if not "%XSRC%" == "." goto small_env
-
-Rem Loop over all arguments.
-Rem Special arguments are: NLS, XSRC CACHE and DEPS.
-Rem All other arguments are stored into ARGS.
-:arg_loop
-set SPECARG=0
-if not "%SPECARG%" == "0" goto small_env
-if not "%1" == "NLS" if not "%1" == "nls" goto cache_opt
-if "%1" == "nls" set NLS=enabled
-if "%1" == "NLS" set NLS=enabled
-if not "%NLS%" == "enabled" goto small_env
-set SPECARG=1
-if not "%SPECARG%" == "1" goto small_env
-shift
-:cache_opt
-set SPECARG=0
-if not "%SPECARG%" == "0" goto small_env
-if "%1" == "no-cache" goto cache_off
-if "%1" == "no-CACHE" goto cache_off
-if not "%1" == "NO-CACHE" goto dependency_opt
-:cache_off
-if "%1" == "no-cache" set CACHE=disabled
-if "%1" == "no-CACHE" set CACHE=disabled
-if "%1" == "NO-CACHE" set CACHE=disabled
-if not "%CACHE%" == "disabled" goto small_env
-set SPECARG=1
-if not "%SPECARG%" == "1" goto small_env
-shift
-:dependency_opt
-set SPECARG=0
-if not "%SPECARG%" == "0" goto small_env
-if "%1" == "dep" goto dep_off
-if not "%1" == "DEP" goto src_dir_opt
-:dep_off
-if "%1" == "dep" set DEPTRAK=enabled
-if "%1" == "DEP" set DEPTRAK=enabled
-if not "%DEPTRAK%" == "enabled" goto small_env
-set SPECARG=1
-if not "%SPECARG%" == "1" goto small_env
-shift
-:src_dir_opt
-set SPECARG=0
-if not "%SPECARG%" == "0" goto small_env
-echo %1 | grep -q "/"
-if errorlevel 1 goto collect_arg
-set XSRC=%1
-if not "%XSRC%" == "%1" goto small_env
-set SPECARG=1
-if not "%SPECARG%" == "1" goto small_env
-:collect_arg
-if "%SPECARG%" == "0" set _ARGS=%ARGS% %1
-if "%SPECARG%" == "0" if not "%_ARGS%" == "%ARGS% %1" goto small_env
-echo %_ARGS% | grep -q "[^ ]"
-if not errorlevel 0 set ARGS=%_ARGS%
-set _ARGS=
-shift
-if not "%1" == "" goto arg_loop
-set SPECARG=
-
-Rem Create a response file for the configure script.
-echo --srcdir=%XSRC% > arguments
-if "%CACHE%" == "enabled" echo --config-cache >>arguments
-if "%DEPTRAK%" == "enabled" echo --enable-dependency-tracking >>arguments
-if "%DEPTRAK%" == "disabled" echo --disable-dependency-tracking >>arguments
-if not "%ARGS%" == "" echo %ARGS% >>arguments
-set ARGS=
-set CACHE=
-set DEPTRAK=
-
-if "%XSRC%" == "." goto in_place
-
-:not_in_place
-redir -e /dev/null update %XSRC%/configure.orig ./configure
-test -f ./configure
-if errorlevel 1 update %XSRC%/configure ./configure
-
-:in_place
-Rem Update configuration files
-echo Updating configuration scripts...
-test -f ./configure.orig
-if errorlevel 1 update configure configure.orig
-sed -f %XSRC%/djgpp/config.sed configure.orig > configure
-if errorlevel 1 goto sed_error
-
-Rem Make sure they have a config.site file
-set CONFIG_SITE=%XSRC%/djgpp/config.site
-if not "%CONFIG_SITE%" == "%XSRC%/djgpp/config.site" goto small_env
-
-Rem Make sure crucial file names are not munged by unpacking
-test -f %XSRC%/po/Makefile.in.in
-if not errorlevel 1 mv -f %XSRC%/po/Makefile.in.in %XSRC%/po/Makefile.in-in
-test -f %XSRC%/po/Makefile.am.in
-if not errorlevel 1 mv -f %XSRC%/po/Makefile.am.in %XSRC%/po/Makefile.am-in
-
-Rem This is required because DOS/Windows are case-insensitive
-Rem to file names, and "make install" will do nothing if Make
-Rem finds a file called `install'.
-if exist INSTALL ren INSTALL INSTALL.txt
-
-Rem Set HOME to a sane default so configure stops complaining.
-if not "%HOME%" == "" goto host_name
-set HOME=%XSRC%/djgpp
-if not "%HOME%" == "%XSRC%/djgpp" goto small_env
-echo No HOME found in the environment, using default value
-
-:host_name
-Rem Set HOSTNAME so it shows in config.status
-if not "%HOSTNAME%" == "" goto hostdone
-if "%windir%" == "" goto msdos
-set OS=MS-Windows
-if not "%OS%" == "MS-Windows" goto small_env
-goto haveos
-:msdos
-set OS=MS-DOS
-if not "%OS%" == "MS-DOS" goto small_env
-:haveos
-if not "%USERNAME%" == "" goto haveuname
-if not "%USER%" == "" goto haveuser
-echo No USERNAME and no USER found in the environment, using default values
-set HOSTNAME=Unknown PC
-if not "%HOSTNAME%" == "Unknown PC" goto small_env
-goto userdone
-:haveuser
-set HOSTNAME=%USER%'s PC
-if not "%HOSTNAME%" == "%USER%'s PC" goto small_env
-goto userdone
-:haveuname
-set HOSTNAME=%USERNAME%'s PC
-if not "%HOSTNAME%" == "%USERNAME%'s PC" goto small_env
-:userdone
-set _HOSTNAME=%HOSTNAME%, %OS%
-if not "%_HOSTNAME%" == "%HOSTNAME%, %OS%" goto small_env
-set HOSTNAME=%_HOSTNAME%
-:hostdone
-set _HOSTNAME=
-set OS=
-
-Rem install-sh is required by the configure script but clashes with the
-Rem various Makefile install-foo targets, so we MUST have it before the
-Rem script runs and rename it afterwards
-test -f %XSRC%/install-sh
-if not errorlevel 1 goto no_ren0
-test -f %XSRC%/install-sh.sh
-if not errorlevel 1 mv -f %XSRC%/install-sh.sh %XSRC%/install-sh
-:no_ren0
-
-if "%NLS%" == "disabled" goto without_NLS
-
-:with_NLS
-Rem Check for the needed libraries and binaries.
-test -x /dev/env/DJDIR/bin/msgfmt.exe
-if not errorlevel 0 goto missing_NLS_tools
-test -x /dev/env/DJDIR/bin/xgettext.exe
-if not errorlevel 0 goto missing_NLS_tools
-test -f /dev/env/DJDIR/include/libcharset.h
-if not errorlevel 0 goto missing_NLS_tools
-test -f /dev/env/DJDIR/lib/libcharset.a
-if not errorlevel 0 goto missing_NLS_tools
-test -f /dev/env/DJDIR/include/iconv.h
-if not errorlevel 0 goto missing_NLS_tools
-test -f /dev/env/DJDIR/lib/libiconv.a
-if not errorlevel 0 goto missing_NLS_tools
-test -f /dev/env/DJDIR/include/libintl.h
-if not errorlevel 0 goto missing_NLS_tools
-test -f /dev/env/DJDIR/lib/libintl.a
-if not errorlevel 0 goto missing_NLS_tools
-
-Rem Recreate the files in the %XSRC%/po subdir with our ported tools.
-redir -e /dev/null rm %XSRC%/po/*.gmo
-redir -e /dev/null rm %XSRC%/po/diffutil*.pot
-redir -e /dev/null rm %XSRC%/po/cat-id-tbl.c
-redir -e /dev/null rm %XSRC%/po/stamp-cat-id
-
-Rem Update the arguments file for the configure script.
-Rem We prefer without-included-gettext because libintl.a from gettext package
-Rem is the only one that is guaranteed to have been ported to DJGPP.
-echo --enable-nls --without-included-gettext >> arguments
-goto configure_package
-
-:missing_NLS_tools
-echo Needed libs/tools for NLS not found. Configuring without NLS.
-:without_NLS
-Rem Update the arguments file for the configure script.
-echo --disable-nls >> arguments
-
-:configure_package
-echo Running the ./configure script...
-sh ./configure @arguments
-if errorlevel 1 goto cfg_error
-rm arguments
-
-Rem Remove files created by the gl_FUNC_MKSTEMP test.
-rm co*.tmp
-echo Done.
-goto End
-
-:sed_error
-echo ./configure script editing failed!
-goto End
-
-:cfg_error
-echo ./configure script exited abnormally!
-goto End
-
-:small_env
-echo Your environment size is too small. Enlarge it and run me again.
-echo Configuration NOT done!
-
-:End
-test -f %XSRC%/install-sh.sh
-if not errorlevel 1 goto no_ren1
-test -f %XSRC%/install-sh
-if not errorlevel 1 mv -f %XSRC%/install-sh %XSRC%/install-sh.sh
-:no_ren1
-if "%HOME%" == "%XSRC%/djgpp" set HOME=
-set ARGS=
-set CONFIG_SITE=
-set HOSTNAME=
-set NLS=
-set CACHE=
-set DEPTRAK=
-set XSRC=
diff -rNU3 texinfo.orig/djgpp/config.sed texinfo/djgpp/config.sed
--- texinfo.orig/djgpp/config.sed 2004-12-15 15:59:22.000000000 +0100
+++ texinfo/djgpp/config.sed 1970-01-01 01:00:00.000000000 +0100
@@ -1,67 +0,0 @@
-# Additional editing of configure and Makefiles for DJGPP
-
-/(echo[ ]*':t/ a\
-# DJGPP specific Makefile changes.\
- /^aliaspath * *=/s,:,";",g;t t\
- /TEXINPUTS=/s,:,";",g;t t\
- /PATH=/s,:,";",g;t t\
- s,\\.deps,_deps,g;t t\
- s,\\.new\\.,_new.,g;t t\
- s,\\.old\\.,_old.,g;t t\
- s,\\.tab\\.,_tab.,g;t t\
- s,Makefile\\.in\\.in,Makefile.in-in,g;t t\
- s,Makefile\\.am\\.in,Makefile.am-in,g;t t\
- /^install-info-am:/,/^$/ {\
- /@list=.\\\$(INFO_DEPS)\[^ \]/s,DEPS),& texinf- texin- info-stn.i info.inf,\
- s,\\(\\\$\\\$d/\\\$\\\$file-\\[0-9\\]\\[0-9\\]\\)\\(\[^ \]\\),\\1 \\$\\$d/\\$\\$file[0-9] \\$\\$d/\\$\\$file[0-9][0-9]\\2,\
- s,\\( \\\$\\\$file-\\[0-9\\]\\[0-9\\]\\)\\(\[^ \]\\),\\1 \\$\\$file[0-9] \\$\\$file[0-9][0-9]\\2,\
- }\
- /^uninstall-info-am:/,/^$/ {\
- /@list=.\\\$(INFO_DEPS)\[^ \]/s,DEPS),& texinf- texin- info-stn.i info.inf,\
- s,\\(file-\\[0-9\\]\\[0-9\\]\\)\\(\[^ \]\\),\\1 \\$\\$file[0-9] \\$\\$file[0-9][0-9]\\2,\
- }
-
-# Makefile.in.in is renamed to Makefile.in-in.
-/ac_config_files=/,/_ACEOF/ {
- s|po/Makefile\.in|&:po/Makefile.in-in|
-}
-/CONFIG_FILES=/ s|po/Makefile\.in|&:po/Makefile.in-in|2
-
-# We always use _deps instead of .deps, because the latter is an
-# invalid name on 8+3 MS-DOS filesystem. This makes the generated
-# Makefiles good for every DJGPP installation, not only the one
-# where the package was configured (which could happen to be a
-# Windows box, where leading dots in file names are allowed).
-s,\.deps,_deps,g
-
-# The following two items are changes needed for configuring
-# and compiling across partitions.
-# The given srcdir value is always translated from the
-# "x:" syntax into "/dev/x" syntax while we run configure.
-/^[ ]*-srcdir=\*.*$/ a\
- ac_optarg=`echo "$ac_optarg" | sed "s,^\\([A-Za-z]\\):,/dev/\\1,"`
-/set X `ls -Lt \$srcdir/ i\
- if `echo $srcdir | grep "^/dev/" - > /dev/null`; then\
- srcdir=`echo "$srcdir" | sed -e "s%^/dev/%%" -e "s%/%:/%"`\
- fi
-
-# Autoconf 2.52e generated configure scripts
-# write absolute paths into Makefiles making
-# them useless for DJGPP installations for which
-# the package has not been configured for.
-/MISSING=/,/^$/ {
- /^fi$/ a\
-am_missing_run=`echo "$am_missing_run" | sed 's%/dev.*/texinfo-\\{0,1\\}4\\.[0-9][a-z]\\{0,1\\}%${top_srcdir}%;s%.:.*/texinfo-\\{0,1\\}4\\.[0-9][a-z]\\{0,1\\}%${top_srcdir}%'`
-}
-/^install_sh=/a\
-install_sh=`echo "$install_sh" | sed 's%/dev.*/texinfo-\\{0,1\\}4\\.[0-9][a-z]\\{0,1\\}%${top_srcdir}%;s%.:.*/texinfo-\\{0,1\\}4\\.[0-9][a-z]\\{0,1\\}%${top_srcdir}%'`
-
-# The following makes sure we are not going to remove a directory
-# which is the cwd on its drive (DOS doesn't allow to remove such
-# a directory). The trick is to chdir to the root directory on
-# temp directory's drive before removing $tmp.
-/^ *trap 'exit_status=\$\?; rm -rf/s%rm -rf%cd $tmp; cd /; &%
-
-# AC_CONFIG_LINKS fails if the source and destination are on
-# different file systems and symlinks don't work.
-/^ ln \$srcdir/s%||%|| cp -pf $srcdir/$ac_source $ac_dest ||%
diff -rNU3 texinfo.orig/djgpp/config.site texinfo/djgpp/config.site
--- texinfo.orig/djgpp/config.site 2002-09-27 00:01:10.000000000 +0200
+++ texinfo/djgpp/config.site 1970-01-01 01:00:00.000000000 +0100
@@ -1,53 +0,0 @@
-#! /bin/sh
-# Site defaults for the DJGPP configuration
-
-# These two variables are required, otherwise looking for
-# programs along the PATH will not work.
-PATH_SEPARATOR=:
-PATH_EXPAND=y
-
-# This is required in for "test -f foo" to find foo.exe.
-export TEST_FINDS_EXE=y
-
-# The root of the DJGPP tree serves as the default prefix
-# for all paths that are hardcoded in the binaries.
-# When installing the installation prefix must be supplied.
-test "x$prefix" = xNONE && prefix='/dev/env/DJDIR'
-
-# This is required for config.status script to be run, since
-# ./configure runs it by invoking ${CONFIG_SHELL-/bin/sh}
-# CONFIG_SHELL=${CONFIG_SHELL='sh'}
-
-# These are set here so the generated Makefile's will be good
-# for every DJGPP installation, not only the one where the
-# package was configured.
-# $INSTALL must be an absolute path name, otherwise config.status
-# will try to prepend ./ and ../ to it when it goes into subdirs.
-INSTALL=${INSTALL='/dev/env/DJDIR/bin/ginstall -c'}
-RANLIB=${RANLIB='ranlib'}
-GMSGFMT=${GMSGFMT='/dev/env/DJDIR/bin/msgfmt'}
-MSGFMT=${MSGFMT='/dev/env/DJDIR/bin/msgfmt'}
-XGETTEXT=${XGETTEXT='/dev/env/DJDIR/bin/xgettext'}
-
-# Sane defaults for standard programs used by the build process.
-# We force the values of these variables so that the resultant
-# Makefile's will work on any DJGPP platform, not only on the
-# machine where the package was configured.
-ac_cv_prog_AWK=${AWK='gawk'}
-ac_cv_prog_INTLBISON=${INTLBISON='bison'}
-ac_cv_prog_CC=${CC='gcc'}
-
-# These are set here so the generated libtool/Makefile's will
-# be good for every DJGPP installation, not only the one where
-# the package was configured.
-NM=${NM='nm'}
-LD=${LD='ld'}
-MAKEINFO=${MAKEINFO='makeinfo'}
-
-# Force the test for 'ln -s' to report 'cp -pf'.
-ac_cv_prog_LN_S='cp -pf'
-
-# We have `fork', but it always fails. Don't trust Autoconf to be
-# smart enough to detect that...
-ac_cv_func_fork=no
-ac_cv_func_vfork=no
diff -rNU3 texinfo.orig/doc/Makefile.am texinfo/doc/Makefile.am
--- texinfo.orig/doc/Makefile.am 2004-11-18 02:10:59.000000000 +0100
+++ texinfo/doc/Makefile.am 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: Makefile.am,v 1.20 2004/11/18 01:10:59 karl Exp $
+# Id: Makefile.am,v 1.20 2004/11/18 01:10:59 karl Exp
# Makefile.am for texinfo/doc.
# Run automake in .. to produce Makefile.in from this.
#
diff -rNU3 texinfo.orig/doc/Makefile.in texinfo/doc/Makefile.in
--- texinfo.orig/doc/Makefile.in 2004-12-31 19:01:47.000000000 +0100
+++ texinfo/doc/Makefile.in 2015-10-18 11:13:23.000000000 +0200
@@ -14,7 +14,7 @@
@SET_MAKE@
-# $Id: Makefile.am,v 1.20 2004/11/18 01:10:59 karl Exp $
+# Id: Makefile.am,v 1.20 2004/11/18 01:10:59 karl Exp
# Makefile.am for texinfo/doc.
# Run automake in .. to produce Makefile.in from this.
#
diff -rNU3 texinfo.orig/doc/README texinfo/doc/README
--- texinfo.orig/doc/README 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/doc/README 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-$Id: README,v 1.4 2004/04/11 17:56:45 karl Exp $
+Id: README,v 1.4 2004/04/11 17:56:45 karl Exp
texinfo/doc/README
Copyright (C) 2002 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/doc/fdl.texi texinfo/doc/fdl.texi
--- texinfo.orig/doc/fdl.texi 2003-03-19 02:29:34.000000000 +0100
+++ texinfo/doc/fdl.texi 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,5 @@
+@c $NetBSD: fdl.texi,v 1.1.1.3 2003/07/03 14:58:45 wiz Exp $
@node GNU Free Documentation License
@appendixsec GNU Free Documentation License
diff -rNU3 texinfo.orig/doc/info-stnd.texi texinfo/doc/info-stnd.texi
--- texinfo.orig/doc/info-stnd.texi 2004-12-14 17:58:15.000000000 +0100
+++ texinfo/doc/info-stnd.texi 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,6 @@
\input texinfo.tex @c -*-texinfo-*-
-@comment $Id: info-stnd.texi,v 1.9 2004/12/14 16:58:15 karl Exp $
+@c $NetBSD: info-stnd.texi,v 1.1.1.6 2008/09/02 07:51:41 christos Exp $
+@comment Id: info-stnd.texi,v 1.9 2004/12/14 16:58:15 karl Exp
@c We must \input texinfo.tex instead of texinfo, otherwise make
@c distcheck in the Texinfo distribution fails, because the texinfo Info
@c file is made first, and texi2dvi must include . first in the path.
diff -rNU3 texinfo.orig/doc/info.1 texinfo/doc/info.1
--- texinfo.orig/doc/info.1 2004-12-31 19:02:15.000000000 +0100
+++ texinfo/doc/info.1 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+.\" $NetBSD: info.1,v 1.1.1.6 2008/09/02 07:51:56 christos Exp $
+.\"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.34.
.TH INFO "1" "December 2004" "info 4.8" "User Commands"
.SH NAME
diff -rNU3 texinfo.orig/doc/info.5 texinfo/doc/info.5
--- texinfo.orig/doc/info.5 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/doc/info.5 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+.\" $NetBSD: info.5,v 1.1.1.4 2008/09/02 07:51:56 christos Exp $
+.\"
.\" info(5)
-.\" $Id: info.5,v 1.2 2004/04/11 17:56:45 karl Exp $
+.\" Id: info.5,v 1.2 2004/04/11 17:56:45 karl Exp
.\"
.\" Copyright (C) 1998 Free Software Foundation, Inc.
.\"
diff -rNU3 texinfo.orig/doc/info.texi texinfo/doc/info.texi
--- texinfo.orig/doc/info.texi 2004-10-06 23:29:48.000000000 +0200
+++ texinfo/doc/info.texi 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,5 @@
\input texinfo.tex @c -*-texinfo-*-
+@c $NetBSD: info.texi,v 1.1.1.5 2008/09/02 07:51:43 christos Exp $
@c We must \input texinfo.tex instead of texinfo, otherwise make
@c distcheck in the Texinfo distribution fails, because the texinfo Info
@c file is made first, and texi2dvi must include . first in the path.
diff -rNU3 texinfo.orig/doc/infokey.1 texinfo/doc/infokey.1
--- texinfo.orig/doc/infokey.1 2004-12-31 19:02:16.000000000 +0100
+++ texinfo/doc/infokey.1 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+.\" $NetBSD: infokey.1,v 1.1.1.2 2008/09/02 07:51:56 christos Exp $
+.\"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.34.
.TH INFOKEY "1" "December 2004" "infokey 4.8" "User Commands"
.SH NAME
diff -rNU3 texinfo.orig/doc/install-info.1 texinfo/doc/install-info.1
--- texinfo.orig/doc/install-info.1 2004-12-31 19:02:16.000000000 +0100
+++ texinfo/doc/install-info.1 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+.\" $NetBSD: install-info.1,v 1.1.1.6 2008/09/02 07:51:46 christos Exp $
+.\"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.34.
.TH INSTALL-INFO "1" "December 2004" "install-info 4.8" "User Commands"
.SH NAME
diff -rNU3 texinfo.orig/doc/makeinfo.1 texinfo/doc/makeinfo.1
--- texinfo.orig/doc/makeinfo.1 2004-12-31 19:02:16.000000000 +0100
+++ texinfo/doc/makeinfo.1 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+.\" $NetBSD: makeinfo.1,v 1.2 2009/02/28 19:14:15 joerg Exp $
+.\"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.34.
.TH MAKEINFO "1" "December 2004" "makeinfo 4.8" "User Commands"
.SH NAME
@@ -62,6 +64,9 @@
suppress splitting of Info or HTML output,
generate only one output file.
.TP
+\fB\-\-no\-version\-header\fR
+suppress header with makeinfo version and source path.
+.TP
\fB\-\-number\-sections\fR
output chapter and sectioning numbers.
.TP
diff -rNU3 texinfo.orig/doc/texi2dvi.1 texinfo/doc/texi2dvi.1
--- texinfo.orig/doc/texi2dvi.1 2004-12-31 19:03:11.000000000 +0100
+++ texinfo/doc/texi2dvi.1 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+.\" $NetBSD: texi2dvi.1,v 1.1.1.6 2008/09/02 07:51:56 christos Exp $
+.\"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.34.
.TH TEXI2DVI "1" "December 2004" "texi2dvi 1.34" "User Commands"
.SH NAME
diff -rNU3 texinfo.orig/doc/texindex.1 texinfo/doc/texindex.1
--- texinfo.orig/doc/texindex.1 2004-12-31 19:02:16.000000000 +0100
+++ texinfo/doc/texindex.1 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+.\" $NetBSD: texindex.1,v 1.3 2008/09/02 08:00:24 christos Exp $
+.\"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.34.
.TH TEXINDEX "1" "December 2004" "texindex 4.8" "User Commands"
.SH NAME
@@ -13,12 +15,6 @@
\fB\-h\fR, \fB\-\-help\fR
display this help and exit
.TP
-\fB\-k\fR, \fB\-\-keep\fR
-keep temporary files around after processing
-.TP
-\fB\-\-no\-keep\fR
-do not keep temporary files around after processing (default)
-.TP
\fB\-o\fR, \fB\-\-output\fR FILE
send output to FILE
.TP
diff -rNU3 texinfo.orig/doc/texinfo.5 texinfo/doc/texinfo.5
--- texinfo.orig/doc/texinfo.5 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/doc/texinfo.5 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+.\" $NetBSD: texinfo.5,v 1.1.1.4 2008/09/02 07:51:56 christos Exp $
+.\"
.\" texinfo(5)
-.\" $Id: texinfo.5,v 1.2 2004/04/11 17:56:45 karl Exp $
+.\" Id: texinfo.5,v 1.2 2004/04/11 17:56:45 karl Exp
.\"
.\" Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc.
.\"
diff -rNU3 texinfo.orig/doc/texinfo.txi texinfo/doc/texinfo.txi
--- texinfo.orig/doc/texinfo.txi 2004-12-29 16:06:41.000000000 +0100
+++ texinfo/doc/texinfo.txi 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
\input texinfo.tex @c -*-texinfo-*-
-@c $Id: texinfo.txi,v 1.128 2004/12/29 15:06:41 karl Exp $
+@c Id: texinfo.txi,v 1.128 2004/12/29 15:06:41 karl Exp
@c Ordinarily, Texinfo files have the extension .texi. But texinfo.texi
@c clashes with texinfo.tex on 8.3 filesystems, so we use texinfo.txi.
@@ -12782,7 +12782,7 @@
@table @code
@item @@set @var{flag} [@var{value}]
-Set the variable @var{flag}, to the optional @var{value} if specifed.
+Set the variable @var{flag}, to the optional @var{value} if specified.
@item @@clear @var{flag}
Undefine the variable @var{flag}, whether or not it was previously defined.
@@ -18451,7 +18451,7 @@
Concurrent Versions System}) or RCS (see rcsintro(1)) version control
systems, which expand it into a string such as:
@example
-$Id: texinfo.txi,v 1.128 2004/12/29 15:06:41 karl Exp $
+Id: texinfo.txi,v 1.128 2004/12/29 15:06:41 karl Exp
@end example
(This is useful in all sources that use version control, not just manuals.)
You may wish to include the @samp{$Id:} comment in the @code{@@copying}
@@ -18517,7 +18517,7 @@
@verbatim
\input texinfo @c -*-texinfo-*-
-@comment $Id: texinfo.txi,v 1.128 2004/12/29 15:06:41 karl Exp $
+@comment Id: texinfo.txi,v 1.128 2004/12/29 15:06:41 karl Exp
@comment %**start of header
@setfilename sample.info
@include version.texi
diff -rNU3 texinfo.orig/doc/txi-cs.tex texinfo/doc/txi-cs.tex
--- texinfo.orig/doc/txi-cs.tex 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/doc/txi-cs.tex 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-% $Id: txi-cs.tex,v 1.3 2004/04/11 17:56:45 karl Exp $
+% Id: txi-cs.tex,v 1.3 2004/04/11 17:56:45 karl Exp
% Czech translation for texinfo.tex.
%
% Copyright (C) 1999, 2000 Free Software Foundation.
diff -rNU3 texinfo.orig/doc/txi-de.tex texinfo/doc/txi-de.tex
--- texinfo.orig/doc/txi-de.tex 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/doc/txi-de.tex 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
% txi-de.tex -- adaptation to German for texinfo.tex.
-% $Id: txi-de.tex,v 1.3 2004/04/11 17:56:45 karl Exp $
+% Id: txi-de.tex,v 1.3 2004/04/11 17:56:45 karl Exp
%
% Copyright (C) 1999 Free Software Foundation, Inc.
%
diff -rNU3 texinfo.orig/doc/txi-en.tex texinfo/doc/txi-en.tex
--- texinfo.orig/doc/txi-en.tex 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/doc/txi-en.tex 2015-10-18 11:13:23.000000000 +0200
@@ -1,7 +1,7 @@
% English non-translation for texinfo.tex. This is read when a source
% document says @documentlanguage en (which might happen after another
% @documentlanguage). The actual values are the same as defaults.
-% $Id: txi-en.tex,v 1.3 2004/04/11 17:56:45 karl Exp $
+% Id: txi-en.tex,v 1.3 2004/04/11 17:56:45 karl Exp
%
% Copyright (C) 1999 Free Software Foundation.
%
diff -rNU3 texinfo.orig/doc/txi-fr.tex texinfo/doc/txi-fr.tex
--- texinfo.orig/doc/txi-fr.tex 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/doc/txi-fr.tex 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
% txi-fr.tex -- TeX macros to handle French language for texinfo.tex documents.
-% $Id: txi-fr.tex,v 1.3 2004/04/11 17:56:45 karl Exp $
+% Id: txi-fr.tex,v 1.3 2004/04/11 17:56:45 karl Exp
%
% Copyright (C) 1999 Free Software Foundation.
%
diff -rNU3 texinfo.orig/doc/txi-it.tex texinfo/doc/txi-it.tex
--- texinfo.orig/doc/txi-it.tex 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/doc/txi-it.tex 2015-10-18 11:13:23.000000000 +0200
@@ -1,7 +1,7 @@
% English non-translation for texinfo.tex. This is read when a source
% document says @documentlanguage en (which might happen after another
% @documentlanguage). The actual values are the same as defaults.
-% $Id: txi-it.tex,v 1.3 2004/04/11 17:56:45 karl Exp $
+% Id: txi-it.tex,v 1.3 2004/04/11 17:56:45 karl Exp
%
% Copyright (C) 1999 Free Software Foundation.
%
diff -rNU3 texinfo.orig/doc/txi-nl.tex texinfo/doc/txi-nl.tex
--- texinfo.orig/doc/txi-nl.tex 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/doc/txi-nl.tex 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
% Dutch translation for texinfo.tex.
-% $Id: txi-nl.tex,v 1.3 2004/04/11 17:56:45 karl Exp $
+% Id: txi-nl.tex,v 1.3 2004/04/11 17:56:45 karl Exp
%
% Copyright (C) 1999 Free Software Foundation.
%
diff -rNU3 texinfo.orig/doc/txi-pl.tex texinfo/doc/txi-pl.tex
--- texinfo.orig/doc/txi-pl.tex 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/doc/txi-pl.tex 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
% txi-pl.tex -- adaptation to Polish for texinfo.tex.
-% $Id: txi-pl.tex,v 1.3 2004/04/11 17:56:45 karl Exp $
+% Id: txi-pl.tex,v 1.3 2004/04/11 17:56:45 karl Exp
%
% Copyright (C) 2003 Free Software Foundation.
%
diff -rNU3 texinfo.orig/doc/txi-tr.tex texinfo/doc/txi-tr.tex
--- texinfo.orig/doc/txi-tr.tex 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/doc/txi-tr.tex 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
% txi-en.tex -- adaptation to Turkish for texinfo.tex.
-% $Id: txi-tr.tex,v 1.3 2004/04/11 17:56:45 karl Exp $
+% Id: txi-tr.tex,v 1.3 2004/04/11 17:56:45 karl Exp
%
% Copyright (C) 2003 Free Software Foundation, Inc.
%
diff -rNU3 texinfo.orig/doc/version-stnd.texi texinfo/doc/version-stnd.texi
--- texinfo.orig/doc/version-stnd.texi 2004-12-31 19:02:15.000000000 +0100
+++ texinfo/doc/version-stnd.texi 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,5 @@
@set UPDATED 14 December 2004
+@c $NetBSD: version-stnd.texi,v 1.1.1.5 2008/09/02 07:51:36 christos Exp $
@set UPDATED-MONTH December 2004
@set EDITION 4.8
@set VERSION 4.8
diff -rNU3 texinfo.orig/doc/version.texi texinfo/doc/version.texi
--- texinfo.orig/doc/version.texi 2004-12-31 19:02:15.000000000 +0100
+++ texinfo/doc/version.texi 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,5 @@
@set UPDATED 29 December 2004
+@c $NetBSD: version.texi,v 1.1.1.6 2008/09/02 07:51:46 christos Exp $
@set UPDATED-MONTH December 2004
@set EDITION 4.8
@set VERSION 4.8
diff -rNU3 texinfo.orig/info/Makefile.am texinfo/info/Makefile.am
--- texinfo.orig/info/Makefile.am 2004-10-28 16:03:27.000000000 +0200
+++ texinfo/info/Makefile.am 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: Makefile.am,v 1.8 2004/10/28 14:03:27 karl Exp $
+# Id: Makefile.am,v 1.8 2004/10/28 14:03:27 karl Exp
# Makefile.am for texinfo/info.
# Run automake in .. to produce Makefile.in from this.
#
diff -rNU3 texinfo.orig/info/Makefile.in texinfo/info/Makefile.in
--- texinfo.orig/info/Makefile.in 2004-12-31 19:01:48.000000000 +0100
+++ texinfo/info/Makefile.in 2015-10-18 11:13:23.000000000 +0200
@@ -14,7 +14,7 @@
@SET_MAKE@
-# $Id: Makefile.am,v 1.8 2004/10/28 14:03:27 karl Exp $
+# Id: Makefile.am,v 1.8 2004/10/28 14:03:27 karl Exp
# Makefile.am for texinfo/info.
# Run automake in .. to produce Makefile.in from this.
#
diff -rNU3 texinfo.orig/info/README texinfo/info/README
--- texinfo.orig/info/README 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/README 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-$Id: README,v 1.3 2004/04/11 17:56:45 karl Exp $
+Id: README,v 1.3 2004/04/11 17:56:45 karl Exp
texinfo/info/README
Copyright (C) 2002 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/dir.c texinfo/info/dir.c
--- texinfo.orig/info/dir.c 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/dir.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: dir.c,v 1.1.1.5 2008/09/02 07:49:33 christos Exp $ */
+
/* dir.c -- how to build a special "dir" node from "localdir" files.
- $Id: dir.c,v 1.3 2004/04/11 17:56:45 karl Exp $
+ Id: dir.c,v 1.3 2004/04/11 17:56:45 karl Exp
Copyright (C) 1993, 1997, 1998, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/display.c texinfo/info/display.c
--- texinfo.orig/info/display.c 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/display.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: display.c,v 1.1.1.5 2008/09/02 07:49:34 christos Exp $ */
+
/* display.c -- How to display Info windows.
- $Id: display.c,v 1.7 2004/04/11 17:56:45 karl Exp $
+ Id: display.c,v 1.7 2004/04/11 17:56:45 karl Exp
Copyright (C) 1993, 1997, 2003, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/display.h texinfo/info/display.h
--- texinfo.orig/info/display.h 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/display.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: display.h,v 1.1.1.4 2008/09/02 07:49:34 christos Exp $ */
+
/* display.h -- How the display in Info is done.
- $Id: display.h,v 1.3 2004/04/11 17:56:45 karl Exp $
+ Id: display.h,v 1.3 2004/04/11 17:56:45 karl Exp
This file is part of GNU Info, a program for reading online documentation
stored in Info format.
diff -rNU3 texinfo.orig/info/doc.h texinfo/info/doc.h
--- texinfo.orig/info/doc.h 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/doc.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: doc.h,v 1.1.1.4 2008/09/02 07:49:34 christos Exp $ */
+
/* doc.h -- Structures associating function pointers with documentation.
- $Id: doc.h,v 1.3 2004/04/11 17:56:45 karl Exp $
+ Id: doc.h,v 1.3 2004/04/11 17:56:45 karl Exp
Copyright (C) 1993, 2001, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/dribble.c texinfo/info/dribble.c
--- texinfo.orig/info/dribble.c 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/dribble.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: dribble.c,v 1.1.1.5 2008/09/02 07:49:34 christos Exp $ */
+
/* dribble.c -- dribble files for Info.
- $Id: dribble.c,v 1.3 2004/04/11 17:56:45 karl Exp $
+ Id: dribble.c,v 1.3 2004/04/11 17:56:45 karl Exp
Copyright (C) 1993, 1998, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/dribble.h texinfo/info/dribble.h
--- texinfo.orig/info/dribble.h 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/dribble.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: dribble.h,v 1.1.1.3 2004/07/12 23:26:56 wiz Exp $ */
+
/* dribble.h -- Functions and vars declared in dribble.c. */
/* This file is part of GNU Info, a program for reading online documentation
diff -rNU3 texinfo.orig/info/echo-area.c texinfo/info/echo-area.c
--- texinfo.orig/info/echo-area.c 2004-12-14 01:15:36.000000000 +0100
+++ texinfo/info/echo-area.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: echo-area.c,v 1.4 2008/09/02 08:41:51 christos Exp $ */
+
/* echo-area.c -- how to read a line in the echo area.
- $Id: echo-area.c,v 1.7 2004/12/14 00:15:36 karl Exp $
+ Id: echo-area.c,v 1.7 2004/12/14 00:15:36 karl Exp
Copyright (C) 1993, 1997, 1998, 1999, 2001, 2004 Free Software
Foundation, Inc.
@@ -936,7 +938,7 @@
printf_to_message_buffer (completions_found_index == 1
? (char *) _("One completion:\n")
: (char *) _("%d completions:\n"),
- (void *) (long) completions_found_index,
+ (void*)((intptr_t)completions_found_index),
NULL, NULL);
/* Find the maximum length of a label. */
diff -rNU3 texinfo.orig/info/echo-area.h texinfo/info/echo-area.h
--- texinfo.orig/info/echo-area.h 2004-08-08 00:03:08.000000000 +0200
+++ texinfo/info/echo-area.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: echo-area.h,v 1.1.1.4 2008/09/02 07:49:37 christos Exp $ */
+
/* echo-area.h -- Functions used in reading information from the echo area.
- $Id: echo-area.h,v 1.4 2004/08/07 22:03:08 karl Exp $
+ Id: echo-area.h,v 1.4 2004/08/07 22:03:08 karl Exp
This file is part of GNU Info, a program for reading online documentation
stored in Info format.
diff -rNU3 texinfo.orig/info/filesys.c texinfo/info/filesys.c
--- texinfo.orig/info/filesys.c 2004-07-30 19:17:40.000000000 +0200
+++ texinfo/info/filesys.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: filesys.c,v 1.1.1.6 2008/09/02 07:49:37 christos Exp $ */
+
/* filesys.c -- filesystem specific functions.
- $Id: filesys.c,v 1.6 2004/07/30 17:17:40 karl Exp $
+ Id: filesys.c,v 1.6 2004/07/30 17:17:40 karl Exp
Copyright (C) 1993, 1997, 1998, 2000, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/info/filesys.h texinfo/info/filesys.h
--- texinfo.orig/info/filesys.h 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/filesys.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: filesys.h,v 1.1.1.5 2008/09/02 07:49:38 christos Exp $ */
+
/* filesys.h -- external declarations for filesys.c.
- $Id: filesys.h,v 1.3 2004/04/11 17:56:45 karl Exp $
+ Id: filesys.h,v 1.3 2004/04/11 17:56:45 karl Exp
Copyright (C) 1993, 1997, 1998, 2002, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/footnotes.c texinfo/info/footnotes.c
--- texinfo.orig/info/footnotes.c 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/footnotes.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: footnotes.c,v 1.1.1.5 2008/09/02 07:49:38 christos Exp $ */
+
/* footnotes.c -- Some functions for manipulating footnotes.
- $Id: footnotes.c,v 1.4 2004/04/11 17:56:45 karl Exp $
+ Id: footnotes.c,v 1.4 2004/04/11 17:56:45 karl Exp
Copyright (C) 1993, 1997, 1998, 1999, 2002, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/info/footnotes.h texinfo/info/footnotes.h
--- texinfo.orig/info/footnotes.h 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/footnotes.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: footnotes.h,v 1.1.1.5 2008/09/02 07:49:38 christos Exp $ */
+
/* footnotes.h -- Some functions for manipulating footnotes.
- $Id: footnotes.h,v 1.3 2004/04/11 17:56:45 karl Exp $
+ Id: footnotes.h,v 1.3 2004/04/11 17:56:45 karl Exp
Copyright (C) 1993, 1997, 1998, 2002, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/gc.c texinfo/info/gc.c
--- texinfo.orig/info/gc.c 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/gc.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: gc.c,v 1.1.1.4 2008/09/02 07:49:38 christos Exp $ */
+
/* gc.c -- Functions to remember and garbage collect unused node contents.
- $Id: gc.c,v 1.3 2004/04/11 17:56:45 karl Exp $
+ Id: gc.c,v 1.3 2004/04/11 17:56:45 karl Exp
Copyright (C) 1993, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/gc.h texinfo/info/gc.h
--- texinfo.orig/info/gc.h 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/gc.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: gc.h,v 1.1.1.4 2008/09/02 07:49:38 christos Exp $ */
+
/* gc.h -- Functions for garbage collecting unused node contents.
- $Id: gc.h,v 1.3 2004/04/11 17:56:45 karl Exp $
+ Id: gc.h,v 1.3 2004/04/11 17:56:45 karl Exp
This file is part of GNU Info, a program for reading online documentation
stored in Info format.
diff -rNU3 texinfo.orig/info/indices.c texinfo/info/indices.c
--- texinfo.orig/info/indices.c 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/indices.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: indices.c,v 1.1.1.6 2008/09/02 07:49:40 christos Exp $ */
+
/* indices.c -- deal with an Info file index.
- $Id: indices.c,v 1.5 2004/04/11 17:56:45 karl Exp $
+ Id: indices.c,v 1.5 2004/04/11 17:56:45 karl Exp
Copyright (C) 1993, 1997, 1998, 1999, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/info/indices.h texinfo/info/indices.h
--- texinfo.orig/info/indices.h 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/indices.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: indices.h,v 1.1.1.4 2008/09/02 07:49:40 christos Exp $ */
+
/* indices.h -- Functions defined in indices.c.
- $Id: indices.h,v 1.3 2004/04/11 17:56:45 karl Exp $
+ Id: indices.h,v 1.3 2004/04/11 17:56:45 karl Exp
This file is part of GNU Info, a program for reading online documentation
stored in Info format.
diff -rNU3 texinfo.orig/info/info-utils.c texinfo/info/info-utils.c
--- texinfo.orig/info/info-utils.c 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/info-utils.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: info-utils.c,v 1.1.1.6 2008/09/02 07:49:40 christos Exp $ */
+
/* info-utils.c -- miscellanous.
- $Id: info-utils.c,v 1.4 2004/04/11 17:56:45 karl Exp $
+ Id: info-utils.c,v 1.4 2004/04/11 17:56:45 karl Exp
Copyright (C) 1993, 1998, 2003, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/info-utils.h texinfo/info/info-utils.h
--- texinfo.orig/info/info-utils.h 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/info-utils.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: info-utils.h,v 1.1.1.6 2008/09/02 07:49:40 christos Exp $ */
+
/* info-utils.h -- Exported functions and variables from info-utils.c.
- $Id: info-utils.h,v 1.4 2004/04/11 17:56:45 karl Exp $
+ Id: info-utils.h,v 1.4 2004/04/11 17:56:45 karl Exp
Copyright (C) 1993, 1996, 1998, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/info/info.c texinfo/info/info.c
--- texinfo.orig/info/info.c 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/info.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: info.c,v 1.12 2010/02/18 14:00:39 wiz Exp $ */
+
/* info.c -- Display nodes of Info files in multiple windows.
- $Id: info.c,v 1.11 2004/04/11 17:56:45 karl Exp $
+ Id: info.c,v 1.11 2004/04/11 17:56:45 karl Exp
Copyright (C) 1993, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
2004 Free Software Foundation, Inc.
@@ -356,7 +358,7 @@
}
/* Get the initial Info node. It is either "(dir)Top", or what the user
- specifed with values in user_filename and user_nodenames. */
+ specified with values in user_filename and user_nodenames. */
initial_node = info_get_node (user_filename,
user_nodenames ? user_nodenames[0] : 0);
diff -rNU3 texinfo.orig/info/info.h texinfo/info/info.h
--- texinfo.orig/info/info.h 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/info.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: info.h,v 1.1.1.6 2008/09/02 07:49:43 christos Exp $ */
+
/* info.h -- Header file which includes all of the other headers.
- $Id: info.h,v 1.4 2004/04/11 17:56:45 karl Exp $
+ Id: info.h,v 1.4 2004/04/11 17:56:45 karl Exp
Copyright (C) 1993, 1997, 1998, 1999, 2001, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/info/infodoc.c texinfo/info/infodoc.c
--- texinfo.orig/info/infodoc.c 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/infodoc.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: infodoc.c,v 1.1.1.6 2008/09/02 07:49:44 christos Exp $ */
+
/* infodoc.c -- functions which build documentation nodes.
- $Id: infodoc.c,v 1.8 2004/04/11 17:56:45 karl Exp $
+ Id: infodoc.c,v 1.8 2004/04/11 17:56:45 karl Exp
Copyright (C) 1993, 1997, 1998, 1999, 2001, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/info/infokey.c texinfo/info/infokey.c
--- texinfo.orig/info/infokey.c 2004-12-14 01:15:36.000000000 +0100
+++ texinfo/info/infokey.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: infokey.c,v 1.4 2008/09/02 08:41:51 christos Exp $ */
+
/* infokey.c -- compile ~/.infokey to ~/.info.
- $Id: infokey.c,v 1.9 2004/12/14 00:15:36 karl Exp $
+ Id: infokey.c,v 1.9 2004/12/14 00:15:36 karl Exp
Copyright (C) 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
@@ -639,7 +641,7 @@
{
syntax_error (filename, lnum,
(char *) _("NUL character (^%c) not permitted"),
- (void *) (long) c, NULL, NULL, NULL);
+ (void *)((intptr_t)c), NULL, NULL, NULL);
error = 1;
}
seqstate = normal;
@@ -663,7 +665,7 @@
if (alen == 0)
{
syntax_error (filename, lnum, (char *) _("missing action name"),
- (void *) (long) c, NULL, NULL, NULL);
+ (void *)((intptr_t)c), NULL, NULL, NULL);
error = 1;
}
else
diff -rNU3 texinfo.orig/info/infokey.h texinfo/info/infokey.h
--- texinfo.orig/info/infokey.h 2004-04-11 19:56:45.000000000 +0200
+++ texinfo/info/infokey.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: infokey.h,v 1.1.1.3 2008/09/02 07:50:15 christos Exp $ */
+
/* infokey.h -- Custom keystroke definition support.
- $Id: infokey.h,v 1.2 2004/04/11 17:56:45 karl Exp $
+ Id: infokey.h,v 1.2 2004/04/11 17:56:45 karl Exp
Copyright (C) 1999, 2002 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/infomap.c texinfo/info/infomap.c
--- texinfo.orig/info/infomap.c 2004-07-30 22:43:40.000000000 +0200
+++ texinfo/info/infomap.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: infomap.c,v 1.1.1.7 2008/09/02 07:49:47 christos Exp $ */
+
/* infomap.c -- keymaps for Info.
- $Id: infomap.c,v 1.10 2004/07/30 20:43:40 karl Exp $
+ Id: infomap.c,v 1.10 2004/07/30 20:43:40 karl Exp
Copyright (C) 1993, 1997, 1998, 1999, 2001, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/info/infomap.h texinfo/info/infomap.h
--- texinfo.orig/info/infomap.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/infomap.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: infomap.h,v 1.1.1.4 2008/09/02 07:49:47 christos Exp $ */
+
/* infomap.h -- description of a keymap in Info and related functions.
- $Id: infomap.h,v 1.3 2004/04/11 17:56:46 karl Exp $
+ Id: infomap.h,v 1.3 2004/04/11 17:56:46 karl Exp
Copyright (C) 1993, 2001, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/key.h texinfo/info/key.h
--- texinfo.orig/info/key.h 2002-08-26 01:38:38.000000000 +0200
+++ texinfo/info/key.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: key.h,v 1.1.1.1 2003/01/17 14:54:34 wiz Exp $ */
+
/* key.h -- Structure associating function names with numeric codes. */
/* This file is part of GNU Info, a program for reading online documentation
diff -rNU3 texinfo.orig/info/m-x.c texinfo/info/m-x.c
--- texinfo.orig/info/m-x.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/m-x.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: m-x.c,v 1.1.1.5 2008/09/02 07:49:47 christos Exp $ */
+
/* m-x.c -- Meta-x minibuffer reader.
- $Id: m-x.c,v 1.3 2004/04/11 17:56:46 karl Exp $
+ Id: m-x.c,v 1.3 2004/04/11 17:56:46 karl Exp
Copyright (C) 1993, 1997, 1998, 2001, 2002, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/info/makedoc.c texinfo/info/makedoc.c
--- texinfo.orig/info/makedoc.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/makedoc.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: makedoc.c,v 1.1.1.6 2008/09/02 07:50:15 christos Exp $ */
+
/* makedoc.c -- make doc.c and funs.h from input files.
- $Id: makedoc.c,v 1.4 2004/04/11 17:56:46 karl Exp $
+ Id: makedoc.c,v 1.4 2004/04/11 17:56:46 karl Exp
Copyright (C) 1993, 1997, 1998, 1999, 2001, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/info/man.c texinfo/info/man.c
--- texinfo.orig/info/man.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/man.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: man.c,v 1.1.1.6 2008/09/02 07:49:49 christos Exp $ */
+
/* man.c: How to read and format man files.
- $Id: man.c,v 1.4 2004/04/11 17:56:46 karl Exp $
+ Id: man.c,v 1.4 2004/04/11 17:56:46 karl Exp
Copyright (C) 1995, 1997, 1998, 1999, 2000, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/info/man.h texinfo/info/man.h
--- texinfo.orig/info/man.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/man.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: man.h,v 1.1.1.4 2008/09/02 07:49:49 christos Exp $ */
+
/* man.h: Defines and external function declarations for man.c.
- $Id: man.h,v 1.3 2004/04/11 17:56:46 karl Exp $
+ Id: man.h,v 1.3 2004/04/11 17:56:46 karl Exp
This file is part of GNU Info, a program for reading online documentation
stored in Info format.
diff -rNU3 texinfo.orig/info/nodemenu.c texinfo/info/nodemenu.c
--- texinfo.orig/info/nodemenu.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/nodemenu.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: nodemenu.c,v 1.1.1.6 2008/09/02 07:49:49 christos Exp $ */
+
/* nodemenu.c -- produce a menu of all visited nodes.
- $Id: nodemenu.c,v 1.5 2004/04/11 17:56:46 karl Exp $
+ Id: nodemenu.c,v 1.5 2004/04/11 17:56:46 karl Exp
Copyright (C) 1993, 1997, 1998, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/info/nodes.c texinfo/info/nodes.c
--- texinfo.orig/info/nodes.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/nodes.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: nodes.c,v 1.7 2008/09/02 08:00:24 christos Exp $ */
+
/* nodes.c -- how to get an Info file and node.
- $Id: nodes.c,v 1.4 2004/04/11 17:56:46 karl Exp $
+ Id: nodes.c,v 1.4 2004/04/11 17:56:46 karl Exp
Copyright (C) 1993, 1998, 1999, 2000, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/info/nodes.h texinfo/info/nodes.h
--- texinfo.orig/info/nodes.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/nodes.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: nodes.h,v 1.1.1.5 2008/09/02 07:49:51 christos Exp $ */
+
/* nodes.h -- How we represent nodes internally.
- $Id: nodes.h,v 1.3 2004/04/11 17:56:46 karl Exp $
+ Id: nodes.h,v 1.3 2004/04/11 17:56:46 karl Exp
Copyright (C) 1993, 1997, 1998, 2002, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/pcterm.c texinfo/info/pcterm.c
--- texinfo.orig/info/pcterm.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/pcterm.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: pcterm.c,v 1.1.1.5 2008/09/02 07:50:19 christos Exp $ */
+
/* pcterm.c -- How to handle the PC terminal for Info under MS-DOS/MS-Windows.
- $Id: pcterm.c,v 1.4 2004/04/11 17:56:46 karl Exp $
+ Id: pcterm.c,v 1.4 2004/04/11 17:56:46 karl Exp
Copyright (C) 1998, 1999, 2003, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/search.c texinfo/info/search.c
--- texinfo.orig/info/search.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/search.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: search.c,v 1.1.1.5 2008/09/02 07:49:51 christos Exp $ */
+
/* search.c -- searching large bodies of text.
- $Id: search.c,v 1.3 2004/04/11 17:56:46 karl Exp $
+ Id: search.c,v 1.3 2004/04/11 17:56:46 karl Exp
Copyright (C) 1993, 1997, 1998, 2002, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/search.h texinfo/info/search.h
--- texinfo.orig/info/search.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/search.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: search.h,v 1.1.1.5 2008/09/02 07:49:53 christos Exp $ */
+
/* search.h -- Structure used to search large bodies of text, with bounds.
- $Id: search.h,v 1.3 2004/04/11 17:56:46 karl Exp $
+ Id: search.h,v 1.3 2004/04/11 17:56:46 karl Exp
Copyright (C) 1993, 1997, 1998, 2002, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/session.c texinfo/info/session.c
--- texinfo.orig/info/session.c 2004-12-14 01:15:36.000000000 +0100
+++ texinfo/info/session.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: session.c,v 1.6 2014/02/27 18:09:18 joerg Exp $ */
+
/* session.c -- user windowing interface to Info.
- $Id: session.c,v 1.16 2004/12/14 00:15:36 karl Exp $
+ Id: session.c,v 1.16 2004/12/14 00:15:36 karl Exp
Copyright (C) 1993, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
Free Software Foundation, Inc.
@@ -962,7 +964,7 @@
same as the first menu item found in this node. */
window_message_in_echo_area
((char *) _("Moving Up %d time(s), then Next."),
- (void *) (long) up_counter, NULL);
+ (void *)((intptr_t)up_counter), NULL);
info_handle_pointer ("Next", window);
return;
@@ -1959,7 +1961,7 @@
/* Special case. Item "0" is the last item in this menu. */
if (item == 0)
- for (i = 0; menu[i + 1]; i++);
+ for (i = 0; menu[i] && menu[i + 1]; i++);
else
{
for (i = 0; menu[i]; i++)
@@ -1975,7 +1977,7 @@
}
else
info_error ((char *) _("There aren't %d items in this menu."),
- (void *) (long) item, NULL);
+ (void *)((intptr_t)item), NULL);
info_free_references (menu);
return;
@@ -2018,7 +2020,7 @@
/* See how far POS is from this xref. Take into account the
`*Note' that begins the xref, since as far as the user is
concerned, that's where it starts. */
- delta = MIN (labs (pos - (xref->start - strlen (INFO_XREF_LABEL))),
+ delta = MIN (labs (pos - (xref->start - (long)strlen (INFO_XREF_LABEL))),
labs (pos - xref->end));
/* It's the <= instead of < that makes us choose the forward xref
@@ -2245,7 +2247,7 @@
{
/* ref->end is more accurate estimate of position
for menus than ref->start. Go figure. */
- int dist = abs (window->point - ref->end);
+ int dist = labs (window->point - ref->end);
if (dist < min_dist)
{
diff -rNU3 texinfo.orig/info/session.h texinfo/info/session.h
--- texinfo.orig/info/session.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/session.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: session.h,v 1.1.1.5 2008/09/02 07:50:07 christos Exp $ */
+
/* session.h -- Functions found in session.c.
- $Id: session.h,v 1.3 2004/04/11 17:56:46 karl Exp $
+ Id: session.h,v 1.3 2004/04/11 17:56:46 karl Exp
Copyright (C) 1993, 1998, 1999, 2001, 2002, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/info/signals.c texinfo/info/signals.c
--- texinfo.orig/info/signals.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/signals.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: signals.c,v 1.1.1.6 2008/09/02 07:50:08 christos Exp $ */
+
/* signals.c -- install and maintain signal handlers.
- $Id: signals.c,v 1.7 2004/04/11 17:56:46 karl Exp $
+ Id: signals.c,v 1.7 2004/04/11 17:56:46 karl Exp
Copyright (C) 1993, 1994, 1995, 1998, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/info/signals.h texinfo/info/signals.h
--- texinfo.orig/info/signals.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/signals.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: signals.h,v 1.1.1.4 2008/09/02 07:50:08 christos Exp $ */
+
/* signals.h -- header to include system dependent signal definitions.
- $Id: signals.h,v 1.2 2004/04/11 17:56:46 karl Exp $
+ Id: signals.h,v 1.2 2004/04/11 17:56:46 karl Exp
Copyright (C) 1993, 1994, 1995, 1997, 2002, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/termdep.h texinfo/info/termdep.h
--- texinfo.orig/info/termdep.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/termdep.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: termdep.h,v 1.1.1.5 2008/09/02 07:50:08 christos Exp $ */
+
/* termdep.h -- system things that terminal.c depends on.
- $Id: termdep.h,v 1.2 2004/04/11 17:56:46 karl Exp $
+ Id: termdep.h,v 1.2 2004/04/11 17:56:46 karl Exp
Copyright (C) 1993, 1996, 1997, 1998, 2001, 2002 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/info/terminal.c texinfo/info/terminal.c
--- texinfo.orig/info/terminal.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/terminal.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: terminal.c,v 1.11 2011/05/15 14:35:47 christos Exp $ */
+
/* terminal.c -- how to handle the physical terminal for Info.
- $Id: terminal.c,v 1.3 2004/04/11 17:56:46 karl Exp $
+ Id: terminal.c,v 1.3 2004/04/11 17:56:46 karl Exp
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1996, 1997, 1998,
1999, 2001, 2002, 2004 Free Software Foundation, Inc.
@@ -25,6 +27,7 @@
#include "termdep.h"
#include <sys/types.h>
+#include <sys/ioctl.h>
#include <signal.h>
/* The Unix termcap interface code. */
diff -rNU3 texinfo.orig/info/terminal.h texinfo/info/terminal.h
--- texinfo.orig/info/terminal.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/terminal.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: terminal.h,v 1.1.1.4 2008/09/02 07:50:09 christos Exp $ */
+
/* terminal.h -- The external interface to terminal I/O.
- $Id: terminal.h,v 1.3 2004/04/11 17:56:46 karl Exp $
+ Id: terminal.h,v 1.3 2004/04/11 17:56:46 karl Exp
Copyright (C) 1993, 1996, 1997, 2001, 2002, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/info/tilde.c texinfo/info/tilde.c
--- texinfo.orig/info/tilde.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/tilde.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: tilde.c,v 1.1.1.5 2008/09/02 07:50:09 christos Exp $ */
+
/* tilde.c -- tilde expansion code (~/foo := $HOME/foo).
- $Id: tilde.c,v 1.3 2004/04/11 17:56:46 karl Exp $
+ Id: tilde.c,v 1.3 2004/04/11 17:56:46 karl Exp
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1996, 1998, 1999,
2002, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/tilde.h texinfo/info/tilde.h
--- texinfo.orig/info/tilde.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/tilde.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: tilde.h,v 1.1.1.4 2008/09/02 07:50:10 christos Exp $ */
+
/* tilde.h: Externally available variables and function in libtilde.a.
- $Id: tilde.h,v 1.3 2004/04/11 17:56:46 karl Exp $
+ Id: tilde.h,v 1.3 2004/04/11 17:56:46 karl Exp
This file has appeared in prior works by the Free Software Foundation;
thus it carries copyright dates from 1988 through 1993.
diff -rNU3 texinfo.orig/info/variables.c texinfo/info/variables.c
--- texinfo.orig/info/variables.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/variables.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: variables.c,v 1.1.1.5 2008/09/02 07:50:10 christos Exp $ */
+
/* variables.c -- how to manipulate user visible variables in Info.
- $Id: variables.c,v 1.3 2004/04/11 17:56:46 karl Exp $
+ Id: variables.c,v 1.3 2004/04/11 17:56:46 karl Exp
Copyright (C) 1993, 1997, 2001, 2002, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/info/variables.h texinfo/info/variables.h
--- texinfo.orig/info/variables.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/variables.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: variables.h,v 1.1.1.4 2008/09/02 07:50:10 christos Exp $ */
+
/* variables.h -- Description of user visible variables in Info.
- $Id: variables.h,v 1.3 2004/04/11 17:56:46 karl Exp $
+ Id: variables.h,v 1.3 2004/04/11 17:56:46 karl Exp
This file is part of GNU Info, a program for reading online documentation
stored in Info format.
diff -rNU3 texinfo.orig/info/window.c texinfo/info/window.c
--- texinfo.orig/info/window.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/window.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: window.c,v 1.1.1.6 2008/09/02 07:50:14 christos Exp $ */
+
/* window.c -- windows in Info.
- $Id: window.c,v 1.4 2004/04/11 17:56:46 karl Exp $
+ Id: window.c,v 1.4 2004/04/11 17:56:46 karl Exp
Copyright (C) 1993, 1997, 1998, 2001, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/info/window.h texinfo/info/window.h
--- texinfo.orig/info/window.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/info/window.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: window.h,v 1.1.1.4 2008/09/02 07:50:14 christos Exp $ */
+
/* window.h -- Structure and flags used in manipulating Info windows.
- $Id: window.h,v 1.3 2004/04/11 17:56:46 karl Exp $
+ Id: window.h,v 1.3 2004/04/11 17:56:46 karl Exp
This file is part of GNU Info, a program for reading online documentation
stored in Info format.
diff -rNU3 texinfo.orig/intl/Makefile.in texinfo/intl/Makefile.in
--- texinfo.orig/intl/Makefile.in 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/intl/Makefile.in 2015-10-18 11:13:23.000000000 +0200
@@ -19,7 +19,7 @@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
-SHELL = /bin/sh
+SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
diff -rNU3 texinfo.orig/intl/bindtextdom.c texinfo/intl/bindtextdom.c
--- texinfo.orig/intl/bindtextdom.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/bindtextdom.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: bindtextdom.c,v 1.1.1.5 2004/07/12 23:27:17 wiz Exp $ */
+
/* Implementation of the bindtextdomain(3) function
Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/dcgettext.c texinfo/intl/dcgettext.c
--- texinfo.orig/intl/dcgettext.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/dcgettext.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: dcgettext.c,v 1.1.1.4 2004/07/12 23:27:16 wiz Exp $ */
+
/* Implementation of the dcgettext(3) function.
Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/dcigettext.c texinfo/intl/dcigettext.c
--- texinfo.orig/intl/dcigettext.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/dcigettext.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: dcigettext.c,v 1.1.1.3 2004/07/12 23:27:16 wiz Exp $ */
+
/* Implementation of the internal dcigettext function.
Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/dcngettext.c texinfo/intl/dcngettext.c
--- texinfo.orig/intl/dcngettext.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/dcngettext.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: dcngettext.c,v 1.1.1.3 2004/07/12 23:27:16 wiz Exp $ */
+
/* Implementation of the dcngettext(3) function.
Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/dgettext.c texinfo/intl/dgettext.c
--- texinfo.orig/intl/dgettext.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/dgettext.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: dgettext.c,v 1.1.1.4 2004/07/12 23:27:16 wiz Exp $ */
+
/* Implementation of the dgettext(3) function.
Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/dngettext.c texinfo/intl/dngettext.c
--- texinfo.orig/intl/dngettext.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/dngettext.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: dngettext.c,v 1.1.1.3 2004/07/12 23:27:16 wiz Exp $ */
+
/* Implementation of the dngettext(3) function.
Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/eval-plural.h texinfo/intl/eval-plural.h
--- texinfo.orig/intl/eval-plural.h 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/eval-plural.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: eval-plural.h,v 1.1.1.2 2004/07/12 23:27:17 wiz Exp $ */
+
/* Plural expression evaluation.
Copyright (C) 2000-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/explodename.c texinfo/intl/explodename.c
--- texinfo.orig/intl/explodename.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/explodename.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: explodename.c,v 1.1.1.4 2004/07/12 23:27:16 wiz Exp $ */
+
/* Copyright (C) 1995-1998, 2000-2001, 2003 Free Software Foundation, Inc.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
diff -rNU3 texinfo.orig/intl/finddomain.c texinfo/intl/finddomain.c
--- texinfo.orig/intl/finddomain.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/finddomain.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: finddomain.c,v 1.1.1.5 2004/07/12 23:27:16 wiz Exp $ */
+
/* Handle list of needed message catalogs
Copyright (C) 1995-1999, 2000-2001, 2003 Free Software Foundation, Inc.
Written by Ulrich Drepper <drepper@gnu.org>, 1995.
diff -rNU3 texinfo.orig/intl/gettext.c texinfo/intl/gettext.c
--- texinfo.orig/intl/gettext.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/gettext.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: gettext.c,v 1.1.1.4 2004/07/12 23:27:16 wiz Exp $ */
+
/* Implementation of gettext(3) function.
Copyright (C) 1995, 1997, 2000-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/gettextP.h texinfo/intl/gettextP.h
--- texinfo.orig/intl/gettextP.h 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/gettextP.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: gettextP.h,v 1.1.1.5 2004/07/12 23:27:17 wiz Exp $ */
+
/* Header describing internals of libintl library.
Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc.
Written by Ulrich Drepper <drepper@cygnus.com>, 1995.
diff -rNU3 texinfo.orig/intl/gmo.h texinfo/intl/gmo.h
--- texinfo.orig/intl/gmo.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/intl/gmo.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: gmo.h,v 1.1.1.2 2004/07/12 23:27:17 wiz Exp $ */
+
/* Description of GNU message catalog format: general file layout.
Copyright (C) 1995, 1997, 2000-2002, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/hash-string.h texinfo/intl/hash-string.h
--- texinfo.orig/intl/hash-string.h 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/hash-string.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: hash-string.h,v 1.1.1.4 2004/07/12 23:27:17 wiz Exp $ */
+
/* Description of GNU message catalog format: string hashing function.
Copyright (C) 1995, 1997-1998, 2000-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/intl-compat.c texinfo/intl/intl-compat.c
--- texinfo.orig/intl/intl-compat.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/intl-compat.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: intl-compat.c,v 1.1.1.4 2004/07/12 23:27:15 wiz Exp $ */
+
/* intl-compat.c - Stub functions to call gettext functions from GNU gettext
Library.
Copyright (C) 1995, 2000-2003 Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/l10nflist.c texinfo/intl/l10nflist.c
--- texinfo.orig/intl/l10nflist.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/l10nflist.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: l10nflist.c,v 1.1.1.4 2004/07/12 23:27:16 wiz Exp $ */
+
/* Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
diff -rNU3 texinfo.orig/intl/loadinfo.h texinfo/intl/loadinfo.h
--- texinfo.orig/intl/loadinfo.h 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/loadinfo.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: loadinfo.h,v 1.1.1.4 2004/07/12 23:27:17 wiz Exp $ */
+
/* Copyright (C) 1996-1999, 2000-2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
diff -rNU3 texinfo.orig/intl/loadmsgcat.c texinfo/intl/loadmsgcat.c
--- texinfo.orig/intl/loadmsgcat.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/intl/loadmsgcat.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: loadmsgcat.c,v 1.1.1.5 2004/07/12 23:27:16 wiz Exp $ */
+
/* Load needed message catalogs.
Copyright (C) 1995-1999, 2000-2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/localcharset.c texinfo/intl/localcharset.c
--- texinfo.orig/intl/localcharset.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/localcharset.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: localcharset.c,v 1.1.1.3 2004/07/12 23:27:16 wiz Exp $ */
+
/* Determine a canonical name for the current locale's character encoding.
Copyright (C) 2000-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/localcharset.h texinfo/intl/localcharset.h
--- texinfo.orig/intl/localcharset.h 2003-11-06 15:36:16.000000000 +0100
+++ texinfo/intl/localcharset.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: localcharset.h,v 1.1.1.1 2003/07/03 14:59:13 wiz Exp $ */
+
/* Determine a canonical name for the current locale's character encoding.
Copyright (C) 2000-2003 Free Software Foundation, Inc.
This file is part of the GNU CHARSET Library.
diff -rNU3 texinfo.orig/intl/localealias.c texinfo/intl/localealias.c
--- texinfo.orig/intl/localealias.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/localealias.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: localealias.c,v 1.1.1.5 2004/07/12 23:27:16 wiz Exp $ */
+
/* Handle aliases for locale names.
Copyright (C) 1995-1999, 2000-2001, 2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/localename.c texinfo/intl/localename.c
--- texinfo.orig/intl/localename.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/intl/localename.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: localename.c,v 1.1.1.2 2004/07/12 23:27:16 wiz Exp $ */
+
/* Determine the current selected locale.
Copyright (C) 1995-1999, 2000-2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/log.c texinfo/intl/log.c
--- texinfo.orig/intl/log.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/log.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: log.c,v 1.1.1.2 2004/07/12 23:27:15 wiz Exp $ */
+
/* Log file output.
Copyright (C) 2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/ngettext.c texinfo/intl/ngettext.c
--- texinfo.orig/intl/ngettext.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/ngettext.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: ngettext.c,v 1.1.1.3 2004/07/12 23:27:16 wiz Exp $ */
+
/* Implementation of ngettext(3) function.
Copyright (C) 1995, 1997, 2000-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/os2compat.c texinfo/intl/os2compat.c
--- texinfo.orig/intl/os2compat.c 2002-09-21 02:41:16.000000000 +0200
+++ texinfo/intl/os2compat.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: os2compat.c,v 1.1.1.1 2003/01/17 14:54:20 wiz Exp $ */
+
/* OS/2 compatibility functions.
Copyright (C) 2001-2002 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/os2compat.h texinfo/intl/os2compat.h
--- texinfo.orig/intl/os2compat.h 2002-09-21 02:41:16.000000000 +0200
+++ texinfo/intl/os2compat.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: os2compat.h,v 1.1.1.1 2003/01/17 14:54:19 wiz Exp $ */
+
/* OS/2 compatibility defines.
This file is intended to be included from config.h
Copyright (C) 2001-2002 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/osdep.c texinfo/intl/osdep.c
--- texinfo.orig/intl/osdep.c 2002-09-03 17:51:40.000000000 +0200
+++ texinfo/intl/osdep.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: osdep.c,v 1.1.1.1 2003/01/17 14:54:20 wiz Exp $ */
+
/* OS dependent parts of libintl.
Copyright (C) 2001-2002 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/plural-exp.c texinfo/intl/plural-exp.c
--- texinfo.orig/intl/plural-exp.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/plural-exp.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: plural-exp.c,v 1.1.1.2 2004/07/12 23:27:16 wiz Exp $ */
+
/* Expression parsing for plural form selection.
Copyright (C) 2000-2001, 2003 Free Software Foundation, Inc.
Written by Ulrich Drepper <drepper@cygnus.com>, 2000.
diff -rNU3 texinfo.orig/intl/plural-exp.h texinfo/intl/plural-exp.h
--- texinfo.orig/intl/plural-exp.h 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/plural-exp.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: plural-exp.h,v 1.1.1.2 2004/07/12 23:27:17 wiz Exp $ */
+
/* Expression parsing and evaluation for plural form selection.
Copyright (C) 2000-2003 Free Software Foundation, Inc.
Written by Ulrich Drepper <drepper@cygnus.com>, 2000.
diff -rNU3 texinfo.orig/intl/plural.c texinfo/intl/plural.c
--- texinfo.orig/intl/plural.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/intl/plural.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: plural.c,v 1.1.1.3 2004/07/12 23:27:15 wiz Exp $ */
+
/* A Bison parser, made from plural.y
by GNU bison 1.35. */
diff -rNU3 texinfo.orig/intl/plural.y texinfo/intl/plural.y
--- texinfo.orig/intl/plural.y 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/plural.y 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: plural.y,v 1.1.1.2 2004/07/12 23:27:16 wiz Exp $ */
+
%{
/* Expression parsing for plural form selection.
Copyright (C) 2000-2001, 2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/printf-args.c texinfo/intl/printf-args.c
--- texinfo.orig/intl/printf-args.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/intl/printf-args.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: printf-args.c,v 1.1.1.1 2004/07/12 23:27:17 wiz Exp $ */
+
/* Decomposed printf argument list.
Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/printf-args.h texinfo/intl/printf-args.h
--- texinfo.orig/intl/printf-args.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/intl/printf-args.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: printf-args.h,v 1.1.1.1 2004/07/12 23:27:17 wiz Exp $ */
+
/* Decomposed printf argument list.
Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/printf-parse.c texinfo/intl/printf-parse.c
--- texinfo.orig/intl/printf-parse.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/intl/printf-parse.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: printf-parse.c,v 1.1.1.1 2004/07/12 23:27:17 wiz Exp $ */
+
/* Formatted output to strings.
Copyright (C) 1999-2000, 2002-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/printf-parse.h texinfo/intl/printf-parse.h
--- texinfo.orig/intl/printf-parse.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/intl/printf-parse.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: printf-parse.h,v 1.1.1.1 2004/07/12 23:27:17 wiz Exp $ */
+
/* Parse printf format string.
Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/printf.c texinfo/intl/printf.c
--- texinfo.orig/intl/printf.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/intl/printf.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: printf.c,v 1.1.1.1 2004/07/12 23:27:15 wiz Exp $ */
+
/* Formatted output to strings, using POSIX/XSI format strings with positions.
Copyright (C) 2003 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
diff -rNU3 texinfo.orig/intl/relocatable.c texinfo/intl/relocatable.c
--- texinfo.orig/intl/relocatable.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/relocatable.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: relocatable.c,v 1.1.1.2 2004/07/12 23:27:15 wiz Exp $ */
+
/* Provide relocatable packages.
Copyright (C) 2003 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
diff -rNU3 texinfo.orig/intl/relocatable.h texinfo/intl/relocatable.h
--- texinfo.orig/intl/relocatable.h 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/relocatable.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: relocatable.h,v 1.1.1.2 2004/07/12 23:27:17 wiz Exp $ */
+
/* Provide relocatable packages.
Copyright (C) 2003 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
diff -rNU3 texinfo.orig/intl/textdomain.c texinfo/intl/textdomain.c
--- texinfo.orig/intl/textdomain.c 2003-12-24 16:12:48.000000000 +0100
+++ texinfo/intl/textdomain.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: textdomain.c,v 1.1.1.4 2004/07/12 23:27:16 wiz Exp $ */
+
/* Implementation of the textdomain(3) function.
Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/vasnprintf.c texinfo/intl/vasnprintf.c
--- texinfo.orig/intl/vasnprintf.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/intl/vasnprintf.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: vasnprintf.c,v 1.1.1.1 2004/07/12 23:27:17 wiz Exp $ */
+
/* vsprintf with automatic memory allocation.
Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/vasnprintf.h texinfo/intl/vasnprintf.h
--- texinfo.orig/intl/vasnprintf.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/intl/vasnprintf.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: vasnprintf.h,v 1.1.1.1 2004/07/12 23:27:17 wiz Exp $ */
+
/* vsprintf with automatic memory allocation.
Copyright (C) 2002-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/vasnwprintf.h texinfo/intl/vasnwprintf.h
--- texinfo.orig/intl/vasnwprintf.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/intl/vasnwprintf.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: vasnwprintf.h,v 1.1.1.1 2004/07/12 23:27:17 wiz Exp $ */
+
/* vswprintf with automatic memory allocation.
Copyright (C) 2002-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/wprintf-parse.h texinfo/intl/wprintf-parse.h
--- texinfo.orig/intl/wprintf-parse.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/intl/wprintf-parse.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: wprintf-parse.h,v 1.1.1.1 2004/07/12 23:27:17 wiz Exp $ */
+
/* Parse printf format string.
Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/intl/xsize.h texinfo/intl/xsize.h
--- texinfo.orig/intl/xsize.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/intl/xsize.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: xsize.h,v 1.1.1.1 2004/07/12 23:27:17 wiz Exp $ */
+
/* xsize.h -- Checked size_t computations.
Copyright (C) 2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/lib/Makefile.am texinfo/lib/Makefile.am
--- texinfo.orig/lib/Makefile.am 2004-11-06 23:05:59.000000000 +0100
+++ texinfo/lib/Makefile.am 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: Makefile.am,v 1.7 2004/11/06 22:05:59 karl Exp $
+# Id: Makefile.am,v 1.7 2004/11/06 22:05:59 karl Exp
# Makefile.am for texinfo/lib.
# Run automake in .. to produce Makefile.in from this.
#
diff -rNU3 texinfo.orig/lib/Makefile.in texinfo/lib/Makefile.in
--- texinfo.orig/lib/Makefile.in 2004-12-31 19:01:48.000000000 +0100
+++ texinfo/lib/Makefile.in 2015-10-18 11:13:23.000000000 +0200
@@ -14,7 +14,7 @@
@SET_MAKE@
-# $Id: Makefile.am,v 1.7 2004/11/06 22:05:59 karl Exp $
+# Id: Makefile.am,v 1.7 2004/11/06 22:05:59 karl Exp
# Makefile.am for texinfo/lib.
# Run automake in .. to produce Makefile.in from this.
#
diff -rNU3 texinfo.orig/lib/README texinfo/lib/README
--- texinfo.orig/lib/README 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/lib/README 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-$Id: README,v 1.3 2004/04/11 17:56:46 karl Exp $
+Id: README,v 1.3 2004/04/11 17:56:46 karl Exp
texinfo/lib/README
Copyright (C) 2002 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/lib/alloca.c texinfo/lib/alloca.c
--- texinfo.orig/lib/alloca.c 2004-05-17 14:59:20.000000000 +0200
+++ texinfo/lib/alloca.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: alloca.c,v 1.1.1.5 2008/09/02 07:49:28 christos Exp $ */
+
/* alloca.c -- allocate automatically reclaimed memory
(Mostly) portable public-domain implementation -- D A Gwyn
diff -rNU3 texinfo.orig/lib/getopt.c texinfo/lib/getopt.c
--- texinfo.orig/lib/getopt.c 2004-09-10 14:43:21.000000000 +0200
+++ texinfo/lib/getopt.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: getopt.c,v 1.7 2008/09/02 08:00:24 christos Exp $ */
+
/* Getopt for GNU.
NOTE: getopt is now part of the C library, so if you don't know what
"Keep this file name-space clean" means, talk to drepper@gnu.org
diff -rNU3 texinfo.orig/lib/getopt.h texinfo/lib/getopt.h
--- texinfo.orig/lib/getopt.h 2004-09-14 14:36:00.000000000 +0200
+++ texinfo/lib/getopt.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: getopt.h,v 1.1.1.6 2008/09/02 07:49:28 christos Exp $ */
+
/* getopt.h -- wrapper for gnulib getopt_.h.
- $Id: getopt.h,v 1.6 2004/09/14 12:36:00 karl Exp $
+ Id: getopt.h,v 1.6 2004/09/14 12:36:00 karl Exp
Copyright (C) 2004 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
diff -rNU3 texinfo.orig/lib/getopt1.c texinfo/lib/getopt1.c
--- texinfo.orig/lib/getopt1.c 2004-09-10 14:43:21.000000000 +0200
+++ texinfo/lib/getopt1.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: getopt1.c,v 1.1.1.6 2008/09/02 07:49:29 christos Exp $ */
+
/* getopt_long and getopt_long_only entry points for GNU getopt.
Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98,2004
Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/lib/getopt_.h texinfo/lib/getopt_.h
--- texinfo.orig/lib/getopt_.h 2004-09-14 14:36:00.000000000 +0200
+++ texinfo/lib/getopt_.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: getopt_.h,v 1.1.1.1 2008/09/02 07:49:31 christos Exp $ */
+
/* Declarations for getopt.
Copyright (C) 1989-1994,1996-1999,2001,2003,2004
Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/lib/getopt_int.h texinfo/lib/getopt_int.h
--- texinfo.orig/lib/getopt_int.h 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/lib/getopt_int.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: getopt_int.h,v 1.1.1.1 2004/07/12 23:26:57 wiz Exp $ */
+
/* Internal declarations for getopt.
Copyright (C) 1989-1994,1996-1999,2001,2003,2004
Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/lib/gettext.h texinfo/lib/gettext.h
--- texinfo.orig/lib/gettext.h 2003-07-17 15:11:25.000000000 +0200
+++ texinfo/lib/gettext.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: gettext.h,v 1.1.1.2 2004/07/12 23:26:56 wiz Exp $ */
+
/* Convenience header for conditional use of GNU <libintl.h>.
Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/lib/memcpy.c texinfo/lib/memcpy.c
--- texinfo.orig/lib/memcpy.c 2003-09-10 15:17:12.000000000 +0200
+++ texinfo/lib/memcpy.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: memcpy.c,v 1.1.1.3 2004/07/12 23:26:57 wiz Exp $ */
+
/* Copyright (C) 1995, 1997, 2000, 2003 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
diff -rNU3 texinfo.orig/lib/memmove.c texinfo/lib/memmove.c
--- texinfo.orig/lib/memmove.c 2003-09-10 15:17:12.000000000 +0200
+++ texinfo/lib/memmove.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: memmove.c,v 1.1.1.3 2004/07/12 23:26:57 wiz Exp $ */
+
/* memmove.c -- copy memory.
Copy LENGTH bytes from SOURCE to DEST. Does not null-terminate.
In the public domain.
diff -rNU3 texinfo.orig/lib/mkstemp.c texinfo/lib/mkstemp.c
--- texinfo.orig/lib/mkstemp.c 2003-07-17 15:11:25.000000000 +0200
+++ texinfo/lib/mkstemp.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: mkstemp.c,v 1.1.1.2 2004/07/12 23:26:57 wiz Exp $ */
+
/* Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc.
This file is derived from the one in the GNU C Library.
diff -rNU3 texinfo.orig/lib/strcase.h texinfo/lib/strcase.h
--- texinfo.orig/lib/strcase.h 2004-04-11 20:13:34.000000000 +0200
+++ texinfo/lib/strcase.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: strcase.h,v 1.1.1.1 2008/09/02 07:49:31 christos Exp $ */
+
/* Case-insensitive string comparison functions.
Copyright (C) 1995-1996, 2001, 2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/lib/strcasecmp.c texinfo/lib/strcasecmp.c
--- texinfo.orig/lib/strcasecmp.c 2003-06-06 14:19:59.000000000 +0200
+++ texinfo/lib/strcasecmp.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: strcasecmp.c,v 1.1.1.3 2003/07/03 14:58:58 wiz Exp $ */
+
/* strcasecmp.c -- case insensitive string comparator
Copyright (C) 1998, 1999 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/lib/strdup.c texinfo/lib/strdup.c
--- texinfo.orig/lib/strdup.c 2004-09-14 14:36:50.000000000 +0200
+++ texinfo/lib/strdup.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: strdup.c,v 1.1.1.5 2008/09/02 07:49:28 christos Exp $ */
+
/* Copyright (C) 1991, 1996, 1997, 1998, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/lib/strdup.h texinfo/lib/strdup.h
--- texinfo.orig/lib/strdup.h 2004-04-11 20:13:34.000000000 +0200
+++ texinfo/lib/strdup.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: strdup.h,v 1.1.1.1 2008/09/02 07:49:31 christos Exp $ */
+
/* strdup.h -- duplicate a string
Copyright (C) 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/lib/strerror.c texinfo/lib/strerror.c
--- texinfo.orig/lib/strerror.c 2003-08-03 15:09:35.000000000 +0200
+++ texinfo/lib/strerror.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: strerror.c,v 1.1.1.3 2004/07/12 23:26:57 wiz Exp $ */
+
/* strerror.c --- ANSI C compatible system error routine
Copyright (C) 1986, 1988, 1989, 1991, 2002, 2003 Free Software
diff -rNU3 texinfo.orig/lib/strncasecmp.c texinfo/lib/strncasecmp.c
--- texinfo.orig/lib/strncasecmp.c 2002-09-03 17:51:40.000000000 +0200
+++ texinfo/lib/strncasecmp.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,2 +1,4 @@
+/* $NetBSD: strncasecmp.c,v 1.1.1.2 2003/01/17 14:54:30 wiz Exp $ */
+
#define LENGTH_LIMIT
#include "strcasecmp.c"
diff -rNU3 texinfo.orig/lib/substring.c texinfo/lib/substring.c
--- texinfo.orig/lib/substring.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/lib/substring.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: substring.c,v 1.1.1.4 2008/09/02 07:49:29 christos Exp $ */
+
/* substring.c -- extract substring.
- $Id: substring.c,v 1.2 2004/04/11 17:56:46 karl Exp $
+ Id: substring.c,v 1.2 2004/04/11 17:56:46 karl Exp
Copyright (C) 1999, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/lib/system.h texinfo/lib/system.h
--- texinfo.orig/lib/system.h 2004-04-26 15:56:57.000000000 +0200
+++ texinfo/lib/system.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: system.h,v 1.11 2009/03/06 17:03:48 apb Exp $ */
+
/* system.h: system-dependent declarations; include this first.
- $Id: system.h,v 1.12 2004/04/26 13:56:57 karl Exp $
+ Id: system.h,v 1.12 2004/04/26 13:56:57 karl Exp
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
Foundation, Inc.
@@ -267,6 +269,10 @@
/* Some systems don't declare this function in pwd.h. */
struct passwd *getpwnam (const char *name);
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
/* Our library routines not included in any system library. */
extern void *xmalloc (size_t), *xrealloc (void *, size_t);
extern char *xstrdup (const char *);
diff -rNU3 texinfo.orig/lib/tempname.c texinfo/lib/tempname.c
--- texinfo.orig/lib/tempname.c 2003-09-15 15:25:45.000000000 +0200
+++ texinfo/lib/tempname.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: tempname.c,v 1.1.1.4 2004/07/12 23:26:57 wiz Exp $ */
+
/* tempname.c - generate the name of a temporary file.
Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
diff -rNU3 texinfo.orig/lib/xalloc.h texinfo/lib/xalloc.h
--- texinfo.orig/lib/xalloc.h 2004-09-10 14:43:21.000000000 +0200
+++ texinfo/lib/xalloc.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: xalloc.h,v 1.1.1.4 2008/09/02 07:49:31 christos Exp $ */
+
/* xalloc.h -- malloc with out-of-memory checking
Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
diff -rNU3 texinfo.orig/lib/xexit.c texinfo/lib/xexit.c
--- texinfo.orig/lib/xexit.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/lib/xexit.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: xexit.c,v 1.1.1.5 2008/09/02 07:49:31 christos Exp $ */
+
/* xexit.c -- exit with attention to return values and closing stdout.
- $Id: xexit.c,v 1.5 2004/04/11 17:56:46 karl Exp $
+ Id: xexit.c,v 1.5 2004/04/11 17:56:46 karl Exp
Copyright (C) 1999, 2003, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/lib/xmalloc.c texinfo/lib/xmalloc.c
--- texinfo.orig/lib/xmalloc.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/lib/xmalloc.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: xmalloc.c,v 1.1.1.3 2004/07/12 23:26:56 wiz Exp $ */
+
/* xmalloc.c -- safe versions of malloc and realloc.
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 2004 Free Software
diff -rNU3 texinfo.orig/lib/xstrdup.c texinfo/lib/xstrdup.c
--- texinfo.orig/lib/xstrdup.c 2003-10-14 20:22:07.000000000 +0200
+++ texinfo/lib/xstrdup.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: xstrdup.c,v 1.1.1.3 2004/07/12 23:26:56 wiz Exp $ */
+
/* xstrdup.c -- copy a string with out of memory checking
Copyright (C) 1990, 1996, 1998, 2001, 2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/Makefile.am texinfo/makeinfo/Makefile.am
--- texinfo.orig/makeinfo/Makefile.am 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/makeinfo/Makefile.am 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: Makefile.am,v 1.5 2004/04/11 17:56:46 karl Exp $
+# Id: Makefile.am,v 1.5 2004/04/11 17:56:46 karl Exp
# Makefile.am for texinfo/makeinfo.
# Run automake in .. to produce Makefile.in from this.
#
diff -rNU3 texinfo.orig/makeinfo/Makefile.in texinfo/makeinfo/Makefile.in
--- texinfo.orig/makeinfo/Makefile.in 2004-12-31 19:01:48.000000000 +0100
+++ texinfo/makeinfo/Makefile.in 2015-10-18 11:13:23.000000000 +0200
@@ -14,7 +14,7 @@
@SET_MAKE@
-# $Id: Makefile.am,v 1.5 2004/04/11 17:56:46 karl Exp $
+# Id: Makefile.am,v 1.5 2004/04/11 17:56:46 karl Exp
# Makefile.am for texinfo/makeinfo.
# Run automake in .. to produce Makefile.in from this.
#
diff -rNU3 texinfo.orig/makeinfo/README texinfo/makeinfo/README
--- texinfo.orig/makeinfo/README 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/makeinfo/README 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-$Id: README,v 1.3 2004/04/11 17:56:46 karl Exp $
+Id: README,v 1.3 2004/04/11 17:56:46 karl Exp
texinfo/makeinfo/README
Copyright (C) 2002 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/cmds.c texinfo/makeinfo/cmds.c
--- texinfo.orig/makeinfo/cmds.c 2004-12-14 01:15:36.000000000 +0100
+++ texinfo/makeinfo/cmds.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: cmds.c,v 1.3 2008/09/02 08:00:24 christos Exp $ */
+
/* cmds.c -- Texinfo commands.
- $Id: cmds.c,v 1.55 2004/12/14 00:15:36 karl Exp $
+ Id: cmds.c,v 1.55 2004/12/14 00:15:36 karl Exp
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/cmds.h texinfo/makeinfo/cmds.h
--- texinfo.orig/makeinfo/cmds.h 2004-11-26 01:48:35.000000000 +0100
+++ texinfo/makeinfo/cmds.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: cmds.h,v 1.1.1.4 2008/09/02 07:50:24 christos Exp $ */
+
/* cmds.h -- declarations for cmds.c.
- $Id: cmds.h,v 1.9 2004/11/26 00:48:35 karl Exp $
+ Id: cmds.h,v 1.9 2004/11/26 00:48:35 karl Exp
Copyright (C) 1998, 1999, 2002, 2003, 2004 Free Software Foundation,
Inc.
diff -rNU3 texinfo.orig/makeinfo/defun.c texinfo/makeinfo/defun.c
--- texinfo.orig/makeinfo/defun.c 2004-04-11 19:56:46.000000000 +0200
+++ texinfo/makeinfo/defun.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: defun.c,v 1.1.1.5 2008/09/02 07:50:24 christos Exp $ */
+
/* defun.c -- @defun and friends.
- $Id: defun.c,v 1.11 2004/04/11 17:56:46 karl Exp $
+ Id: defun.c,v 1.11 2004/04/11 17:56:46 karl Exp
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/defun.h texinfo/makeinfo/defun.h
--- texinfo.orig/makeinfo/defun.h 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/defun.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: defun.h,v 1.1.1.4 2008/09/02 07:50:26 christos Exp $ */
+
/* defun.h -- declaration for defuns.
- $Id: defun.h,v 1.2 2004/04/11 17:56:47 karl Exp $
+ Id: defun.h,v 1.2 2004/04/11 17:56:47 karl Exp
Copyright (C) 1999 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/files.c texinfo/makeinfo/files.c
--- texinfo.orig/makeinfo/files.c 2004-07-27 02:06:31.000000000 +0200
+++ texinfo/makeinfo/files.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: files.c,v 1.10 2015/06/05 16:44:56 joerg Exp $ */
+
/* files.c -- file-related functions for makeinfo.
- $Id: files.c,v 1.5 2004/07/27 00:06:31 karl Exp $
+ Id: files.c,v 1.5 2004/07/27 00:06:31 karl Exp
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
Foundation, Inc.
@@ -456,8 +458,7 @@
temp_home = (char *) getenv ("HOME");
result = xmalloc (strlen (&filename[1])
+ 1
- + temp_home ? strlen (temp_home)
- : 0);
+ + (temp_home ? strlen (temp_home) : 0));
*result = 0;
if (temp_home)
diff -rNU3 texinfo.orig/makeinfo/files.h texinfo/makeinfo/files.h
--- texinfo.orig/makeinfo/files.h 2004-07-27 02:06:31.000000000 +0200
+++ texinfo/makeinfo/files.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: files.h,v 1.3 2008/09/02 08:00:24 christos Exp $ */
+
/* files.h -- declarations for files.c.
- $Id: files.h,v 1.4 2004/07/27 00:06:31 karl Exp $
+ Id: files.h,v 1.4 2004/07/27 00:06:31 karl Exp
Copyright (C) 1998, 2002, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/float.c texinfo/makeinfo/float.c
--- texinfo.orig/makeinfo/float.c 2004-07-06 00:23:22.000000000 +0200
+++ texinfo/makeinfo/float.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: float.c,v 1.1.1.2 2008/09/02 07:50:28 christos Exp $ */
+
/* float.c -- float environment functions.
- $Id: float.c,v 1.8 2004/07/05 22:23:22 karl Exp $
+ Id: float.c,v 1.8 2004/07/05 22:23:22 karl Exp
Copyright (C) 2003, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/float.h texinfo/makeinfo/float.h
--- texinfo.orig/makeinfo/float.h 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/float.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: float.h,v 1.1.1.2 2008/09/02 07:50:28 christos Exp $ */
+
/* float.h -- declarations for the float environment.
- $Id: float.h,v 1.5 2004/04/11 17:56:47 karl Exp $
+ Id: float.h,v 1.5 2004/04/11 17:56:47 karl Exp
Copyright (C) 2003, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/footnote.c texinfo/makeinfo/footnote.c
--- texinfo.orig/makeinfo/footnote.c 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/footnote.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: footnote.c,v 1.1.1.4 2008/09/02 07:50:28 christos Exp $ */
+
/* footnote.c -- footnotes for Texinfo.
- $Id: footnote.c,v 1.7 2004/04/11 17:56:47 karl Exp $
+ Id: footnote.c,v 1.7 2004/04/11 17:56:47 karl Exp
Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/footnote.h texinfo/makeinfo/footnote.h
--- texinfo.orig/makeinfo/footnote.h 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/footnote.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: footnote.h,v 1.1.1.4 2008/09/02 07:50:28 christos Exp $ */
+
/* footnote.h -- declarations for footnote.c.
- $Id: footnote.h,v 1.2 2004/04/11 17:56:47 karl Exp $
+ Id: footnote.h,v 1.2 2004/04/11 17:56:47 karl Exp
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/html.c texinfo/makeinfo/html.c
--- texinfo.orig/makeinfo/html.c 2004-12-06 02:13:06.000000000 +0100
+++ texinfo/makeinfo/html.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: html.c,v 1.1.1.5 2008/09/02 07:50:29 christos Exp $ */
+
/* html.c -- html-related utilities.
- $Id: html.c,v 1.28 2004/12/06 01:13:06 karl Exp $
+ Id: html.c,v 1.28 2004/12/06 01:13:06 karl Exp
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/html.h texinfo/makeinfo/html.h
--- texinfo.orig/makeinfo/html.h 2004-11-30 03:03:23.000000000 +0100
+++ texinfo/makeinfo/html.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: html.h,v 1.1.1.4 2008/09/02 07:50:29 christos Exp $ */
+
/* html.h -- declarations for html-related utilities.
- $Id: html.h,v 1.6 2004/11/30 02:03:23 karl Exp $
+ Id: html.h,v 1.6 2004/11/30 02:03:23 karl Exp
Copyright (C) 1999, 2000, 2002, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/index.c texinfo/makeinfo/index.c
--- texinfo.orig/makeinfo/index.c 2004-11-30 03:03:23.000000000 +0100
+++ texinfo/makeinfo/index.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: index.c,v 1.1.1.6 2008/09/02 07:50:31 christos Exp $ */
+
/* index.c -- indexing for Texinfo.
- $Id: index.c,v 1.17 2004/11/30 02:03:23 karl Exp $
+ Id: index.c,v 1.17 2004/11/30 02:03:23 karl Exp
Copyright (C) 1998, 1999, 2002, 2003, 2004 Free Software Foundation,
Inc.
diff -rNU3 texinfo.orig/makeinfo/index.h texinfo/makeinfo/index.h
--- texinfo.orig/makeinfo/index.h 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/index.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: index.h,v 1.1.1.4 2008/09/02 07:50:31 christos Exp $ */
+
/* index.h -- declarations for index.c.
- $Id: index.h,v 1.2 2004/04/11 17:56:47 karl Exp $
+ Id: index.h,v 1.2 2004/04/11 17:56:47 karl Exp
Copyright (C) 1998, 99 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/insertion.c texinfo/makeinfo/insertion.c
--- texinfo.orig/makeinfo/insertion.c 2004-11-11 19:34:28.000000000 +0100
+++ texinfo/makeinfo/insertion.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: insertion.c,v 1.1.1.6 2008/09/02 07:50:34 christos Exp $ */
+
/* insertion.c -- insertions for Texinfo.
- $Id: insertion.c,v 1.55 2004/11/11 18:34:28 karl Exp $
+ Id: insertion.c,v 1.55 2004/11/11 18:34:28 karl Exp
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/insertion.h texinfo/makeinfo/insertion.h
--- texinfo.orig/makeinfo/insertion.h 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/insertion.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: insertion.h,v 1.1.1.4 2008/09/02 07:50:34 christos Exp $ */
+
/* insertion.h -- declarations for insertion.c.
- $Id: insertion.h,v 1.10 2004/04/11 17:56:47 karl Exp $
+ Id: insertion.h,v 1.10 2004/04/11 17:56:47 karl Exp
Copyright (C) 1998, 1999, 2001, 2002, 2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/lang.c texinfo/makeinfo/lang.c
--- texinfo.orig/makeinfo/lang.c 2004-11-23 00:57:33.000000000 +0100
+++ texinfo/makeinfo/lang.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: lang.c,v 1.1.1.5 2008/09/02 07:50:36 christos Exp $ */
+
/* lang.c -- language-dependent support.
- $Id: lang.c,v 1.14 2004/11/22 23:57:33 karl Exp $
+ Id: lang.c,v 1.14 2004/11/22 23:57:33 karl Exp
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/lang.h texinfo/makeinfo/lang.h
--- texinfo.orig/makeinfo/lang.h 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/lang.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: lang.h,v 1.1.1.5 2008/09/02 07:50:36 christos Exp $ */
+
/* lang.h -- declarations for language codes etc.
- $Id: lang.h,v 1.6 2004/04/11 17:56:47 karl Exp $
+ Id: lang.h,v 1.6 2004/04/11 17:56:47 karl Exp
Copyright (C) 1999, 2001, 2002, 2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/macro.c texinfo/makeinfo/macro.c
--- texinfo.orig/makeinfo/macro.c 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/macro.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: macro.c,v 1.1.1.5 2008/09/02 07:50:37 christos Exp $ */
+
/* macro.c -- user-defined macros for Texinfo.
- $Id: macro.c,v 1.6 2004/04/11 17:56:47 karl Exp $
+ Id: macro.c,v 1.6 2004/04/11 17:56:47 karl Exp
Copyright (C) 1998, 1999, 2002, 2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/macro.h texinfo/makeinfo/macro.h
--- texinfo.orig/makeinfo/macro.h 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/macro.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: macro.h,v 1.1.1.4 2008/09/02 07:50:37 christos Exp $ */
+
/* macro.h -- declarations for macro.c.
- $Id: macro.h,v 1.2 2004/04/11 17:56:47 karl Exp $
+ Id: macro.h,v 1.2 2004/04/11 17:56:47 karl Exp
Copyright (C) 1998, 99 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/makeinfo.c texinfo/makeinfo/makeinfo.c
--- texinfo.orig/makeinfo/makeinfo.c 2004-12-19 18:15:42.000000000 +0100
+++ texinfo/makeinfo/makeinfo.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: makeinfo.c,v 1.16 2009/02/28 19:51:13 joerg Exp $ */
+
/* makeinfo -- convert Texinfo source into other formats.
- $Id: makeinfo.c,v 1.74 2004/12/19 17:15:42 karl Exp $
+ Id: makeinfo.c,v 1.74 2004/12/19 17:15:42 karl Exp
Copyright (C) 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
@@ -379,6 +381,8 @@
also, write to standard output by default.\n\
--no-split suppress splitting of Info or HTML output,\n\
generate only one output file.\n\
+ --no-version-headers suppress header with makeinfo version and\n\
+ source path.\n\
--number-sections output chapter and sectioning numbers.\n\
-o, --output=FILE output to FILE (directory if split HTML),\n\
"));
@@ -503,6 +507,7 @@
{ "no-pointer-validate", 0, &validating, 0 },
{ "no-split", 0, &splitting, 0 },
{ "no-validate", 0, &validating, 0 },
+ { "no-version-header", 0, &no_version_header, 1 },
{ "no-warn", 0, &print_warnings, 0 },
{ "number-footnotes", 0, &number_footnotes, 1 },
{ "number-sections", 0, &number_sections, 1 },
@@ -1669,7 +1674,7 @@
}
/* html fixxme: should output this as trailer on first page. */
- if (!no_headers && !html && !xml)
+ if (!no_headers && !html && !xml && !no_version_header)
add_word_args (_("This is %s, produced by makeinfo version %s from %s.\n"),
output_filename, VERSION, input_filename);
diff -rNU3 texinfo.orig/makeinfo/makeinfo.h texinfo/makeinfo/makeinfo.h
--- texinfo.orig/makeinfo/makeinfo.h 2004-11-30 03:03:23.000000000 +0100
+++ texinfo/makeinfo/makeinfo.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: makeinfo.h,v 1.2 2009/02/28 19:14:15 joerg Exp $ */
+
/* makeinfo.h -- declarations for Makeinfo.
- $Id: makeinfo.h,v 1.17 2004/11/30 02:03:23 karl Exp $
+ Id: makeinfo.h,v 1.17 2004/11/30 02:03:23 karl Exp
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free
Software Foundation, Inc.
@@ -190,6 +192,10 @@
is, generate plain text. (--no-headers) */
DECLARE (int, no_headers, 0);
+/* Nonzero means do not output makeinfo version and source file.
+ (--no-version-header) */
+DECLARE (int, no_version_header, 0);
+
/* Nonzero means that we process @docbook and @ifdocbook. (--ifdocbook) */
DECLARE (int, process_docbook, 0);
diff -rNU3 texinfo.orig/makeinfo/multi.c texinfo/makeinfo/multi.c
--- texinfo.orig/makeinfo/multi.c 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/multi.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: multi.c,v 1.1.1.5 2008/09/02 07:50:44 christos Exp $ */
+
/* multi.c -- multiple-column tables (@multitable) for makeinfo.
- $Id: multi.c,v 1.8 2004/04/11 17:56:47 karl Exp $
+ Id: multi.c,v 1.8 2004/04/11 17:56:47 karl Exp
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/multi.h texinfo/makeinfo/multi.h
--- texinfo.orig/makeinfo/multi.h 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/multi.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: multi.h,v 1.1.1.2 2008/09/02 07:50:44 christos Exp $ */
+
/* multi.h -- declarations for multi.c.
- $Id: multi.h,v 1.1 2004/04/11 17:56:47 karl Exp $
+ Id: multi.h,v 1.1 2004/04/11 17:56:47 karl Exp
Copyright (C) 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/node.c texinfo/makeinfo/node.c
--- texinfo.orig/makeinfo/node.c 2004-12-21 00:56:07.000000000 +0100
+++ texinfo/makeinfo/node.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: node.c,v 1.4 2008/09/02 08:00:24 christos Exp $ */
+
/* node.c -- nodes for Texinfo.
- $Id: node.c,v 1.27 2004/12/20 23:56:07 karl Exp $
+ Id: node.c,v 1.27 2004/12/20 23:56:07 karl Exp
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/node.h texinfo/makeinfo/node.h
--- texinfo.orig/makeinfo/node.h 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/node.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: node.h,v 1.1.1.4 2008/09/02 07:50:47 christos Exp $ */
+
/* node.h -- declarations for Node.
- $Id: node.h,v 1.2 2004/04/11 17:56:47 karl Exp $
+ Id: node.h,v 1.2 2004/04/11 17:56:47 karl Exp
Copyright (C) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/sectioning.c texinfo/makeinfo/sectioning.c
--- texinfo.orig/makeinfo/sectioning.c 2004-07-06 00:23:23.000000000 +0200
+++ texinfo/makeinfo/sectioning.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: sectioning.c,v 1.2 2011/05/11 23:20:46 joerg Exp $ */
+
/* sectioning.c -- for @chapter, @section, ..., @contents ...
- $Id: sectioning.c,v 1.25 2004/07/05 22:23:23 karl Exp $
+ Id: sectioning.c,v 1.25 2004/07/05 22:23:23 karl Exp
Copyright (C) 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
@@ -256,14 +258,13 @@
return xstrdup ("");
else if (enum_marker == APPENDIX_MAGIC)
{
- char s[1];
- sprintf (s, "%c", numbers[0] + 64);
+ char s[2] = { numbers[0] + 64, '\0' };
return xstrdup (s);
}
else
{
- char s[5];
- sprintf (s, "%d", numbers[0]);
+ char s[11];
+ snprintf (s, sizeof(s), "%d", numbers[0]);
return xstrdup (s);
}
}
diff -rNU3 texinfo.orig/makeinfo/sectioning.h texinfo/makeinfo/sectioning.h
--- texinfo.orig/makeinfo/sectioning.h 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/sectioning.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: sectioning.h,v 1.1.1.4 2008/09/02 07:50:47 christos Exp $ */
+
/* sectioning.h -- all related stuff @chapter, @section... @contents
- $Id: sectioning.h,v 1.5 2004/04/11 17:56:47 karl Exp $
+ Id: sectioning.h,v 1.5 2004/04/11 17:56:47 karl Exp
Copyright (C) 1999, 2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/tests/Makefile.am texinfo/makeinfo/tests/Makefile.am
--- texinfo.orig/makeinfo/tests/Makefile.am 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/tests/Makefile.am 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: Makefile.am,v 1.5 2004/04/11 17:56:47 karl Exp $
+# Id: Makefile.am,v 1.5 2004/04/11 17:56:47 karl Exp
# Makefile.am for texinfo/tests/makeinfo.
#
# This file is free software; as a special exception the author gives
diff -rNU3 texinfo.orig/makeinfo/tests/Makefile.in texinfo/makeinfo/tests/Makefile.in
--- texinfo.orig/makeinfo/tests/Makefile.in 2004-12-31 19:01:48.000000000 +0100
+++ texinfo/makeinfo/tests/Makefile.in 2015-10-18 11:13:23.000000000 +0200
@@ -14,7 +14,7 @@
@SET_MAKE@
-# $Id: Makefile.am,v 1.5 2004/04/11 17:56:47 karl Exp $
+# Id: Makefile.am,v 1.5 2004/04/11 17:56:47 karl Exp
# Makefile.am for texinfo/tests/makeinfo.
#
# This file is free software; as a special exception the author gives
diff -rNU3 texinfo.orig/makeinfo/tests/copying texinfo/makeinfo/tests/copying
--- texinfo.orig/makeinfo/tests/copying 2004-04-20 15:26:00.000000000 +0200
+++ texinfo/makeinfo/tests/copying 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: copying,v 1.2 2004/04/20 13:26:00 karl Exp $
+# Id: copying,v 1.2 2004/04/20 13:26:00 karl Exp
# Test @copying. The configure script for tramp uses this to make sure
# the makeinfo that is present supports @copying.
diff -rNU3 texinfo.orig/makeinfo/tests/html-manuals texinfo/makeinfo/tests/html-manuals
--- texinfo.orig/makeinfo/tests/html-manuals 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/tests/html-manuals 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: html-manuals,v 1.3 2004/04/11 17:56:47 karl Exp $
+# Id: html-manuals,v 1.3 2004/04/11 17:56:47 karl Exp
# Test that all the distribution manuals can be converted to HTML.
: ${srcdir=.}
diff -rNU3 texinfo.orig/makeinfo/tests/include-value texinfo/makeinfo/tests/include-value
--- texinfo.orig/makeinfo/tests/include-value 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/tests/include-value 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: include-value,v 1.3 2004/04/11 17:56:47 karl Exp $
+# Id: include-value,v 1.3 2004/04/11 17:56:47 karl Exp
# Test @value expansion in @include and @verbatiminclude names.
unset TEXINFO_OUTPUT
diff -rNU3 texinfo.orig/makeinfo/tests/include-value.txi texinfo/makeinfo/tests/include-value.txi
--- texinfo.orig/makeinfo/tests/include-value.txi 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/tests/include-value.txi 2015-10-18 11:13:23.000000000 +0200
@@ -1,6 +1,6 @@
\input texinfo
@setfilename include-value.info
-@c $Id: include-value.txi,v 1.2 2004/04/11 17:56:47 karl Exp $
+@c Id: include-value.txi,v 1.2 2004/04/11 17:56:47 karl Exp
@set testvar incl-incl.txi
diff -rNU3 texinfo.orig/makeinfo/tests/twofiles texinfo/makeinfo/tests/twofiles
--- texinfo.orig/makeinfo/tests/twofiles 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/tests/twofiles 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: twofiles,v 1.3 2004/04/11 17:56:47 karl Exp $
+# Id: twofiles,v 1.3 2004/04/11 17:56:47 karl Exp
# Test that an existing and nonexisting file doesn't cause a
# segmentation fault.
# From: Arkadiusz Miskiewicz <misiek@pld.ORG.PL>, 15 Feb 2003 13:22:49 +0100.
diff -rNU3 texinfo.orig/makeinfo/toc.c texinfo/makeinfo/toc.c
--- texinfo.orig/makeinfo/toc.c 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/toc.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: toc.c,v 1.1.1.4 2008/09/02 07:50:47 christos Exp $ */
+
/* toc.c -- table of contents handling.
- $Id: toc.c,v 1.6 2004/04/11 17:56:47 karl Exp $
+ Id: toc.c,v 1.6 2004/04/11 17:56:47 karl Exp
Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/toc.h texinfo/makeinfo/toc.h
--- texinfo.orig/makeinfo/toc.h 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/toc.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: toc.h,v 1.1.1.4 2008/09/02 07:50:47 christos Exp $ */
+
/* toc.h -- table of contents handling.
- $Id: toc.h,v 1.2 2004/04/11 17:56:47 karl Exp $
+ Id: toc.h,v 1.2 2004/04/11 17:56:47 karl Exp
Copyright (C) 1999 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/xml.c texinfo/makeinfo/xml.c
--- texinfo.orig/makeinfo/xml.c 2004-12-19 18:02:23.000000000 +0100
+++ texinfo/makeinfo/xml.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: xml.c,v 1.2 2014/11/15 02:01:27 joerg Exp $ */
+
/* xml.c -- xml output.
- $Id: xml.c,v 1.52 2004/12/19 17:02:23 karl Exp $
+ Id: xml.c,v 1.52 2004/12/19 17:02:23 karl Exp
Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
@@ -868,7 +870,7 @@
return;
}
- if (!xml_element_list[elt].name || !strlen (xml_element_list[elt].name))
+ if (!strlen (xml_element_list[elt].name))
{
/*printf ("Warning: Inserting empty element %d\n", elt);*/
return;
diff -rNU3 texinfo.orig/makeinfo/xml.h texinfo/makeinfo/xml.h
--- texinfo.orig/makeinfo/xml.h 2004-11-26 01:48:35.000000000 +0100
+++ texinfo/makeinfo/xml.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: xml.h,v 1.1.1.3 2008/09/02 07:50:51 christos Exp $ */
+
/* xml.h -- xml output declarations.
- $Id: xml.h,v 1.24 2004/11/26 00:48:35 karl Exp $
+ Id: xml.h,v 1.24 2004/11/26 00:48:35 karl Exp
Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/xref.c texinfo/makeinfo/xref.c
--- texinfo.orig/makeinfo/xref.c 2004-12-21 18:28:35.000000000 +0100
+++ texinfo/makeinfo/xref.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: xref.c,v 1.1.1.2 2008/09/02 07:50:51 christos Exp $ */
+
/* xref.c -- cross references for Texinfo.
- $Id: xref.c,v 1.4 2004/12/21 17:28:35 karl Exp $
+ Id: xref.c,v 1.4 2004/12/21 17:28:35 karl Exp
Copyright (C) 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/makeinfo/xref.h texinfo/makeinfo/xref.h
--- texinfo.orig/makeinfo/xref.h 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/makeinfo/xref.h 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: xref.h,v 1.1.1.2 2008/09/02 07:50:51 christos Exp $ */
+
/* xref.h -- declarations for the cross references.
- $Id: xref.h,v 1.1 2004/04/11 17:56:47 karl Exp $
+ Id: xref.h,v 1.1 2004/04/11 17:56:47 karl Exp
Copyright (C) 2004 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/po/Makefile.in.in texinfo/po/Makefile.in.in
--- texinfo.orig/po/Makefile.in.in 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/po/Makefile.in.in 2015-10-18 11:13:23.000000000 +0200
@@ -13,7 +13,7 @@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
-SHELL = /bin/sh
+SHELL = @SHELL@
@SET_MAKE@
srcdir = @srcdir@
diff -rNU3 texinfo.orig/texinfo2netbsd texinfo/texinfo2netbsd
--- texinfo.orig/texinfo2netbsd 1970-01-01 01:00:00.000000000 +0100
+++ texinfo/texinfo2netbsd 2015-10-18 11:13:23.000000000 +0200
@@ -0,0 +1,86 @@
+#! /bin/sh
+#
+# $NetBSD: texinfo2netbsd,v 1.4 2008/04/30 13:10:50 martin Exp $
+#
+# Copyright (c) 2003, 2004 The NetBSD Foundation, Inc.
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+#
+# texinfo2netbsd: convert an texinfo source tree into a
+# format suitable for commit. Works on current dir.
+#
+
+# delete some superfluous files
+echo deleting some superfluous files
+rm -rf djgpp
+
+echo done
+
+### Remove the $'s around RCS tags
+find . -type f -print | xargs egrep -l '\$(Id|Created|Header|NetBSD|Revision)' | while read f; do
+ sed -e 's/\$\(Id.*\) \$/\1/' \
+ -e 's/\$\(Created.*\) \$/\1/' \
+ -e 's/\$\(Header.*\) \$/\1/' \
+ -e 's/\$\(NetBSD.*\) \$/\1/' \
+ -e 's/\$\(Revision.*\) \$/\1/' \
+ $f > /tmp/texinfo2$$ && mv /tmp/texinfo2$$ $f && \
+ echo removed RCS tag from $f
+done
+
+### Add our NetBSD RCS Id
+find . -type f -name '*.[chly]' -print | while read c; do
+ sed 1q < $c | grep -q '\$NetBSD' || (
+echo "/* \$NetBSD\$ */" >/tmp/texinfo3$$
+echo "" >>/tmp/texinfo3$$
+cat $c >> /tmp/texinfo3$$
+mv /tmp/texinfo3$$ $c && echo added NetBSD RCS tag to $c
+ )
+done
+
+find . -type f -name '*.[0-9]' -print | while read m; do
+ sed 1q < $m | grep -q '\$NetBSD' || (
+echo ".\\\" \$NetBSD\$" >/tmp/texinfo4$$
+echo ".\\\"" >>/tmp/texinfo4$$
+cat $m >> /tmp/texinfo4$$
+mv /tmp/texinfo4$$ $m && echo added NetBSD RCS tag to $m
+ )
+done
+
+find . -type f -name '*.texi' -print | while read t; do
+ sed "2 s/^/@c \$NetBSD\$\\
+/" < $t > /tmp/texinfo5$$
+ mv /tmp/texinfo5$$ $t && echo added NetBSD RCS tag to $t
+done
+
+echo done
+
+echo You can import now.
+
+echo Path: src/gnu/dist/texinfo
+echo Vendor: FSF
+echo Versiontag: texinfo-X-Y
+
+echo
+echo Do not forget to update src/gnu/usr.bin/texinfo/common/config.h
+echo and src/gnu/dist/texinfo/util/texinfo.cat!
+exit 0
diff -rNU3 texinfo.orig/util/Makefile.am texinfo/util/Makefile.am
--- texinfo.orig/util/Makefile.am 2004-08-26 13:43:18.000000000 +0200
+++ texinfo/util/Makefile.am 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: Makefile.am,v 1.14 2004/08/26 11:43:18 karl Exp $
+# Id: Makefile.am,v 1.14 2004/08/26 11:43:18 karl Exp
# Makefile.am for texinfo/util.
# Run automake in .. to produce Makefile.in from this.
#
diff -rNU3 texinfo.orig/util/Makefile.in texinfo/util/Makefile.in
--- texinfo.orig/util/Makefile.in 2004-12-31 19:01:49.000000000 +0100
+++ texinfo/util/Makefile.in 2015-10-18 11:13:23.000000000 +0200
@@ -14,7 +14,7 @@
@SET_MAKE@
-# $Id: Makefile.am,v 1.14 2004/08/26 11:43:18 karl Exp $
+# Id: Makefile.am,v 1.14 2004/08/26 11:43:18 karl Exp
# Makefile.am for texinfo/util.
# Run automake in .. to produce Makefile.in from this.
#
diff -rNU3 texinfo.orig/util/README texinfo/util/README
--- texinfo.orig/util/README 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/util/README 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-$Id: README,v 1.5 2004/04/11 17:56:47 karl Exp $
+Id: README,v 1.5 2004/04/11 17:56:47 karl Exp
texinfo/util/README
Copyright (C) 2002 Free Software Foundation, Inc.
diff -rNU3 texinfo.orig/util/deref.c texinfo/util/deref.c
--- texinfo.orig/util/deref.c 2002-08-26 01:38:39.000000000 +0200
+++ texinfo/util/deref.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,3 +1,5 @@
+/* $NetBSD: deref.c,v 1.1.1.3 2003/01/17 14:54:37 wiz Exp $ */
+
/*
* deref.c
*
diff -rNU3 texinfo.orig/util/dir-example texinfo/util/dir-example
--- texinfo.orig/util/dir-example 2004-12-30 14:42:54.000000000 +0100
+++ texinfo/util/dir-example 2015-10-18 11:13:23.000000000 +0200
@@ -10,7 +10,7 @@
If you have dir entries for Texinfo manuals you'd like to be added here,
please send them to karl@gnu.org.
-$Id: dir-example,v 1.51 2004/12/18 02:11:43 karl Exp $
+Id: dir-example,v 1.51 2004/12/18 02:11:43 karl Exp
File: dir, Node: Top, This is the top of the INFO tree.
diff -rNU3 texinfo.orig/util/gen-dir-node texinfo/util/gen-dir-node
--- texinfo.orig/util/gen-dir-node 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/util/gen-dir-node 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: gen-dir-node,v 1.3 2004/04/11 17:56:47 karl Exp $
+# Id: gen-dir-node,v 1.3 2004/04/11 17:56:47 karl Exp
# Generate the top-level Info node, given a directory of Info files
# and (optionally) a skeleton file. The output will be suitable for a
# top-level dir file. The skeleton file contains info topic names in the
@@ -51,7 +51,7 @@
echo "by `whoami`@`hostname` for `(cd ${INFODIR}; pwd)`"
cat << moobler
-\$Id: gen-dir-node,v 1.3 2004/04/11 17:56:47 karl Exp $
+\Id: gen-dir-node,v 1.3 2004/04/11 17:56:47 karl Exp
This is the file .../info/dir, which contains the topmost node of the
Info hierarchy. The first time you invoke Info you start off
looking at that node, which is (dir)Top.
diff -rNU3 texinfo.orig/util/gendocs.sh texinfo/util/gendocs.sh
--- texinfo.orig/util/gendocs.sh 2004-09-01 13:40:20.000000000 +0200
+++ texinfo/util/gendocs.sh 2015-10-18 11:13:23.000000000 +0200
@@ -1,7 +1,7 @@
#!/bin/sh
# gendocs.sh -- generate a GNU manual in many formats. This script is
# mentioned in maintain.texi. See the help message below for usage details.
-# $Id: gendocs.sh,v 1.13 2004/09/01 11:40:20 karl Exp $
+# Id: gendocs.sh,v 1.13 2004/09/01 11:40:20 karl Exp
#
# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
#
@@ -39,7 +39,7 @@
: ${GENDOCS_TEMPLATE_DIR="."}
unset CDPATH
-rcs_revision='$Revision: 1.13 $'
+rcs_revision='Revision: 1.13'
rcs_version=`set - $rcs_revision; echo $2`
program=`echo $0 | sed -e 's!.*/!!'`
version="gendocs.sh $rcs_version
diff -rNU3 texinfo.orig/util/gendocs_template texinfo/util/gendocs_template
--- texinfo.orig/util/gendocs_template 2004-09-23 15:16:19.000000000 +0200
+++ texinfo/util/gendocs_template 2015-10-18 11:13:23.000000000 +0200
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<!-- $Id: gendocs_template,v 1.6 2004/09/23 13:16:19 karl Exp $ -->
+<!-- Id: gendocs_template,v 1.6 2004/09/23 13:16:19 karl Exp -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
@@ -91,7 +91,7 @@
<p>
Updated:
<!-- timestamp start -->
-$Date: 2004/09/23 13:16:19 $ $Author: karl $
+$Date: 2008/09/02 07:50:57 $ $Author: christos $
<!-- timestamp end -->
</p>
</div>
diff -rNU3 texinfo.orig/util/infosrch texinfo/util/infosrch
--- texinfo.orig/util/infosrch 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/util/infosrch 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
#!/usr/local/bin/perl -w
-# $Id: infosrch,v 1.2 2004/04/11 17:56:47 karl Exp $
+# Id: infosrch,v 1.2 2004/04/11 17:56:47 karl Exp
# infosrch does a regex search on an info manual.
# By Harry Putnam <reader@newsguy.com>.
diff -rNU3 texinfo.orig/util/install-info-html texinfo/util/install-info-html
--- texinfo.orig/util/install-info-html 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/util/install-info-html 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
#!@BASH@
-# $Id: install-info-html,v 1.3 2004/04/11 17:56:47 karl Exp $
+# Id: install-info-html,v 1.3 2004/04/11 17:56:47 karl Exp
name=install-info-html
version=1.0
diff -rNU3 texinfo.orig/util/install-info.c texinfo/util/install-info.c
--- texinfo.orig/util/install-info.c 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/util/install-info.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: install-info.c,v 1.9 2008/09/02 08:00:24 christos Exp $ */
+
/* install-info -- create Info directory entry(ies) for an Info file.
- $Id: install-info.c,v 1.12 2004/04/11 17:56:47 karl Exp $
+ Id: install-info.c,v 1.12 2004/04/11 17:56:47 karl Exp
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
Foundation, Inc.
diff -rNU3 texinfo.orig/util/texi-docstring-magic.el texinfo/util/texi-docstring-magic.el
--- texinfo.orig/util/texi-docstring-magic.el 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/util/texi-docstring-magic.el 2015-10-18 11:13:23.000000000 +0200
@@ -5,7 +5,7 @@
;; Copyright (C) 1998 David Aspinall
;; Maintainer: David Aspinall <da@dcs.ed.ac.uk>
;;
-;; $Id: texi-docstring-magic.el,v 1.2 2004/04/11 17:56:47 karl Exp $
+;; Id: texi-docstring-magic.el,v 1.2 2004/04/11 17:56:47 karl Exp
;;
;; This package is distributed under the terms of the
;; GNU General Public License, Version 2.
diff -rNU3 texinfo.orig/util/texi2dvi texinfo/util/texi2dvi
--- texinfo.orig/util/texi2dvi 2004-12-31 19:03:05.000000000 +0100
+++ texinfo/util/texi2dvi 2015-10-18 11:13:23.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# texi2dvi --- produce DVI (or PDF) files from Texinfo (or LaTeX) sources.
-# $Id: texi2dvi,v 1.34 2004/12/01 18:35:36 karl Exp $
+# Id: texi2dvi,v 1.34 2004/12/01 18:35:36 karl Exp
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001,
# 2002, 2003, 2004 Free Software Foundation, Inc.
@@ -27,7 +27,7 @@
# the `--debug' option when making a bug report.
# This string is expanded by rcs automatically when this file is checked out.
-rcs_revision='$Revision: 1.34 $'
+rcs_revision='Revision: 1.34'
rcs_version=`set - $rcs_revision; echo $2`
program=`echo $0 | sed -e 's!.*/!!'`
version="texi2dvi (GNU Texinfo 4.8) $rcs_version
@@ -605,10 +605,10 @@
# If this is a Texinfo file with a specified input encoding, and
# recode is available, then recode to plain 7 bit Texinfo.
if test $language = texinfo; then
- pgm='s/\(^\|.* \)@documentencoding *\([^ ][^ ]*\)\( .*\|$\)/\2/
- t found
- d
- :found
+ pgm='s/\(^\|.* \)@documentencoding *\([^ ][^ ]*\)\( .*\|$\)/\2/
+ t found
+ d
+ :found
q'
encoding=`sed -e "$pgm" "$filename_input"`
if $recode && test -n "$encoding" && findprog recode; then
@@ -691,8 +691,13 @@
# Finally, run TeX.
cmd="$tex $tex_args"
- $verbose "Running $cmd $filename_input ..."
+ $verbose "Running $cmd ..."
if $cmd "$filename_input" >&5; then :; else
+ echo "$0: TeX failed. If the above said 'tex: not found', " >&2
+ echo "$0: you may need to install TeX;" >&2
+ echo "$0: it is available from the pkgsrc system in print/teTeX." >&2
+ echo "$0: If TeX is installed, make sure it is in your $PATH, or" >&2
+ echo "$0: set the environment variable $TEX to its location." >&2
echo "$0: $tex exited with bad status, quitting." >&2
echo "$0: see $filename_noext.log for errors." >&2
test "$clean" = t \
diff -rNU3 texinfo.orig/util/texi2pdf texinfo/util/texi2pdf
--- texinfo.orig/util/texi2pdf 2004-07-11 03:02:35.000000000 +0200
+++ texinfo/util/texi2pdf 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: texi2pdf,v 1.1 2004/07/11 01:02:35 karl Exp $
+# Id: texi2pdf,v 1.1 2004/07/11 01:02:35 karl Exp
# Written by Thomas Esser. Public domain.
# Execute texi2dvi --pdf.
diff -rNU3 texinfo.orig/util/texindex.c texinfo/util/texindex.c
--- texinfo.orig/util/texindex.c 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/util/texindex.c 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,7 @@
+/* $NetBSD: texindex.c,v 1.11 2008/09/02 08:00:24 christos Exp $ */
+
/* texindex -- sort TeX index dribble output into an actual index.
- $Id: texindex.c,v 1.11 2004/04/11 17:56:47 karl Exp $
+ Id: texindex.c,v 1.11 2004/04/11 17:56:47 karl Exp
Copyright (C) 1987, 1991, 1992, 1996, 1997, 1998, 1999, 2000, 2001,
2002, 2003, 2004 Free Software Foundation, Inc.
@@ -37,16 +39,12 @@
#define memset(ptr, ignore, count) bzero (ptr, count)
#endif
-char *mktemp (char *);
-
#if !defined (SEEK_SET)
# define SEEK_SET 0
# define SEEK_CUR 1
# define SEEK_END 2
#endif /* !SEEK_SET */
-struct linebuffer;
-
/* When sorting in core, this structure describes one line
and the position and length of its first keyfield. */
struct lineinfo
@@ -96,16 +94,6 @@
/* The allocated length of `linearray'. */
long nlines;
-/* Directory to use for temporary files. On Unix, it ends with a slash. */
-char *tempdir;
-
-/* Number of last temporary file. */
-int tempcount;
-
-/* Number of last temporary file already deleted.
- Temporary files are deleted by `flush_tempfiles' in order of creation. */
-int last_deleted_tempcount;
-
/* During in-core sort, this points to the base of the data block
which contains all the lines of data. */
char *text_base;
@@ -117,15 +105,9 @@
determine whether we need initials in the sorted form. */
char first_initial;
-/* Additional command switches .*/
-
-/* Nonzero means do not delete tempfiles -- for debugging. */
-int keep_tempfiles;
-
/* Forward declarations of functions in this file. */
void decode_command (int argc, char **argv);
void sort_in_core (char *infile, int total, char *outfile);
-void sort_offline (char *infile, off_t total, char *outfile);
char **parsefile (char *filename, char **nextline, char *data, long int size);
char *find_field (struct keyfield *keyfield, char *str, long int *lengthptr);
char *find_pos (char *str, int words, int chars, int ignore_blanks);
@@ -137,26 +119,17 @@
long int length1, long int pos1, char *start2,
long int length2, long int pos2);
int compare_full (const void *, const void *);
-long readline (struct linebuffer *linebuffer, FILE *stream);
-int merge_files (char **infiles, int nfiles, char *outfile);
-int merge_direct (char **infiles, int nfiles, char *outfile);
void pfatal_with_name (const char *name);
void fatal (const char *format, const char *arg);
void error (const char *format, const char *arg);
void *xmalloc (), *xrealloc ();
-char *concat (char *s1, char *s2);
-void flush_tempfiles (int to_count);
+static char *concat3 (const char *, const char *, const char *);
-#define MAX_IN_CORE_SORT 500000
-
int
main (int argc, char **argv)
{
int i;
- tempcount = 0;
- last_deleted_tempcount = 0;
-
#ifdef HAVE_SETLOCALE
/* Set locale via LC_ALL. */
setlocale (LC_ALL, "");
@@ -220,19 +193,20 @@
outfile = outfiles[i];
if (!outfile)
- outfile = concat (infiles[i], "s");
+ outfile = concat3 (infiles[i], "s", "");
need_initials = 0;
first_initial = '\0';
- if (ptr < MAX_IN_CORE_SORT)
- /* Sort a small amount of data. */
- sort_in_core (infiles[i], (int)ptr, outfile);
- else
- sort_offline (infiles[i], ptr, outfile);
+ if (ptr != (int)ptr)
+ {
+ fprintf (stderr, "%s: %s: file too large\n", program_name,
+ infiles[i]);
+ xexit (1);
+ }
+ sort_in_core (infiles[i], (int)ptr, outfile);
}
- flush_tempfiles (tempcount);
xexit (0);
return 0; /* Avoid bogus warnings. */
}
@@ -250,10 +224,6 @@
TEXINDEX_OPTION texindex_options[] = {
{ "--help", "-h", (int *)NULL, 0, (char *)NULL,
N_("display this help and exit") },
- { "--keep", "-k", &keep_tempfiles, 1, (char *)NULL,
- N_("keep temporary files around after processing") },
- { "--no-keep", 0, &keep_tempfiles, 0, (char *)NULL,
- N_("do not keep temporary files around after processing (default)") },
{ "--output", "-o", (int *)NULL, 0, "FILE",
N_("send output to FILE") },
{ "--version", (char *)NULL, (int *)NULL, 0, (char *)NULL,
@@ -308,20 +278,6 @@
char **ip;
char **op;
- /* Store default values into parameter variables. */
-
- tempdir = getenv ("TMPDIR");
- if (tempdir == NULL)
- tempdir = getenv ("TEMP");
- if (tempdir == NULL)
- tempdir = getenv ("TMP");
- if (tempdir == NULL)
- tempdir = DEFAULT_TMPDIR;
- else
- tempdir = concat (tempdir, "/");
-
- keep_tempfiles = 0;
-
/* Allocate ARGC input files, which must be enough. */
infiles = (char **) xmalloc (argc * sizeof (char *));
@@ -348,7 +304,7 @@
else if ((strcmp (arg, "--keep") == 0) ||
(strcmp (arg, "-k") == 0))
{
- keep_tempfiles = 1;
+ /* Ignore, for backward compatibility */
}
else if ((strcmp (arg, "--help") == 0) ||
(strcmp (arg, "-h") == 0))
@@ -384,41 +340,6 @@
usage (1);
}
-/* Return a name for temporary file COUNT. */
-
-static char *
-maketempname (int count)
-{
- static char *tempbase = NULL;
- char tempsuffix[10];
-
- if (!tempbase)
- {
- int fd;
- tempbase = concat (tempdir, "txidxXXXXXX");
-
- fd = mkstemp (tempbase);
- if (fd == -1)
- pfatal_with_name (tempbase);
- }
-
- sprintf (tempsuffix, ".%d", count);
- return concat (tempbase, tempsuffix);
-}
-
-
-/* Delete all temporary files up to TO_COUNT. */
-
-void
-flush_tempfiles (int to_count)
-{
- if (keep_tempfiles)
- return;
- while (last_deleted_tempcount < to_count)
- unlink (maketempname (++last_deleted_tempcount));
-}
-
-
/* Compare LINE1 and LINE2 according to the specified set of keyfields. */
int
@@ -801,150 +722,6 @@
}
}
-/* A `struct linebuffer' is a structure which holds a line of text.
- `readline' reads a line from a stream into a linebuffer
- and works regardless of the length of the line. */
-
-struct linebuffer
-{
- long size;
- char *buffer;
-};
-
-/* Initialize LINEBUFFER for use. */
-
-void
-initbuffer (struct linebuffer *linebuffer)
-{
- linebuffer->size = 200;
- linebuffer->buffer = (char *) xmalloc (200);
-}
-
-/* Read a line of text from STREAM into LINEBUFFER.
- Return the length of the line. */
-
-long
-readline (struct linebuffer *linebuffer, FILE *stream)
-{
- char *buffer = linebuffer->buffer;
- char *p = linebuffer->buffer;
- char *end = p + linebuffer->size;
-
- while (1)
- {
- int c = getc (stream);
- if (p == end)
- {
- buffer = (char *) xrealloc (buffer, linebuffer->size *= 2);
- p += buffer - linebuffer->buffer;
- end += buffer - linebuffer->buffer;
- linebuffer->buffer = buffer;
- }
- if (c < 0 || c == '\n')
- {
- *p = 0;
- break;
- }
- *p++ = c;
- }
-
- return p - buffer;
-}
-
-/* Sort an input file too big to sort in core. */
-
-void
-sort_offline (char *infile, off_t total, char *outfile)
-{
- /* More than enough. */
- int ntemps = 2 * (total + MAX_IN_CORE_SORT - 1) / MAX_IN_CORE_SORT;
- char **tempfiles = (char **) xmalloc (ntemps * sizeof (char *));
- FILE *istream = fopen (infile, "r");
- int i;
- struct linebuffer lb;
- long linelength;
- int failure = 0;
-
- initbuffer (&lb);
-
- /* Read in one line of input data. */
-
- linelength = readline (&lb, istream);
-
- if (lb.buffer[0] != '\\' && lb.buffer[0] != '@')
- {
- error (_("%s: not a texinfo index file"), infile);
- return;
- }
-
- /* Split up the input into `ntemps' temporary files, or maybe fewer,
- and put the new files' names into `tempfiles' */
-
- for (i = 0; i < ntemps; i++)
- {
- char *outname = maketempname (++tempcount);
- FILE *ostream = fopen (outname, "w");
- long tempsize = 0;
-
- if (!ostream)
- pfatal_with_name (outname);
- tempfiles[i] = outname;
-
- /* Copy lines into this temp file as long as it does not make file
- "too big" or until there are no more lines. */
-
- while (tempsize + linelength + 1 <= MAX_IN_CORE_SORT)
- {
- tempsize += linelength + 1;
- fputs (lb.buffer, ostream);
- putc ('\n', ostream);
-
- /* Read another line of input data. */
-
- linelength = readline (&lb, istream);
- if (!linelength && feof (istream))
- break;
-
- if (lb.buffer[0] != '\\' && lb.buffer[0] != '@')
- {
- error (_("%s: not a texinfo index file"), infile);
- failure = 1;
- goto fail;
- }
- }
- fclose (ostream);
- if (feof (istream))
- break;
- }
-
- free (lb.buffer);
-
-fail:
- /* Record number of temp files we actually needed. */
-
- ntemps = i;
-
- /* Sort each tempfile into another tempfile.
- Delete the first set of tempfiles and put the names of the second
- into `tempfiles'. */
-
- for (i = 0; i < ntemps; i++)
- {
- char *newtemp = maketempname (++tempcount);
- sort_in_core (tempfiles[i], MAX_IN_CORE_SORT, newtemp);
- if (!keep_tempfiles)
- unlink (tempfiles[i]);
- tempfiles[i] = newtemp;
- }
-
- if (failure)
- return;
-
- /* Merge the tempfiles together and indexify. */
-
- merge_files (tempfiles, ntemps, outfile);
-}
-
/* Sort INFILE, whose size is TOTAL,
assuming that is small enough to be done in-core,
then indexify it and send the output to OUTFILE (or to stdout). */
@@ -1348,8 +1125,7 @@
for (next_line = linearray; next_line != stop_line; next_line++)
{
- /* If -u was specified, output the line only if distinct from
- previous one. */
+ /* Output the line only if distinct from previous one. */
if (next_line == linearray
/* Compare previous line with this one, using only the
explicitly specd keyfields. */
@@ -1369,215 +1145,6 @@
finish_index (ostream);
}
-/* Assume (and optionally verify) that each input file is sorted;
- merge them and output the result.
- Returns nonzero if any input file fails to be sorted.
-
- This is the high-level interface that can handle an unlimited
- number of files. */
-
-#define MAX_DIRECT_MERGE 10
-
-int
-merge_files (char **infiles, int nfiles, char *outfile)
-{
- char **tempfiles;
- int ntemps;
- int i;
- int value = 0;
- int start_tempcount = tempcount;
-
- if (nfiles <= MAX_DIRECT_MERGE)
- return merge_direct (infiles, nfiles, outfile);
-
- /* Merge groups of MAX_DIRECT_MERGE input files at a time,
- making a temporary file to hold each group's result. */
-
- ntemps = (nfiles + MAX_DIRECT_MERGE - 1) / MAX_DIRECT_MERGE;
- tempfiles = (char **) xmalloc (ntemps * sizeof (char *));
- for (i = 0; i < ntemps; i++)
- {
- int nf = MAX_DIRECT_MERGE;
- if (i + 1 == ntemps)
- nf = nfiles - i * MAX_DIRECT_MERGE;
- tempfiles[i] = maketempname (++tempcount);
- value |= merge_direct (&infiles[i * MAX_DIRECT_MERGE], nf, tempfiles[i]);
- }
-
- /* All temporary files that existed before are no longer needed
- since their contents have been merged into our new tempfiles.
- So delete them. */
- flush_tempfiles (start_tempcount);
-
- /* Now merge the temporary files we created. */
-
- merge_files (tempfiles, ntemps, outfile);
-
- free (tempfiles);
-
- return value;
-}
-
-/* Assume (and optionally verify) that each input file is sorted;
- merge them and output the result.
- Returns nonzero if any input file fails to be sorted.
-
- This version of merging will not work if the number of
- input files gets too high. Higher level functions
- use it only with a bounded number of input files. */
-
-int
-merge_direct (char **infiles, int nfiles, char *outfile)
-{
- struct linebuffer *lb1, *lb2;
- struct linebuffer **thisline, **prevline;
- FILE **streams;
- int i;
- int nleft;
- int lossage = 0;
- int *file_lossage;
- struct linebuffer *prev_out = 0;
- FILE *ostream = stdout;
-
- if (outfile)
- {
- ostream = fopen (outfile, "w");
- }
- if (!ostream)
- pfatal_with_name (outfile);
-
- init_index ();
-
- if (nfiles == 0)
- {
- if (outfile)
- fclose (ostream);
- return 0;
- }
-
- /* For each file, make two line buffers. Also, for each file, there
- is an element of `thisline' which points at any time to one of the
- file's two buffers, and an element of `prevline' which points to
- the other buffer. `thisline' is supposed to point to the next
- available line from the file, while `prevline' holds the last file
- line used, which is remembered so that we can verify that the file
- is properly sorted. */
-
- /* lb1 and lb2 contain one buffer each per file. */
- lb1 = (struct linebuffer *) xmalloc (nfiles * sizeof (struct linebuffer));
- lb2 = (struct linebuffer *) xmalloc (nfiles * sizeof (struct linebuffer));
-
- /* thisline[i] points to the linebuffer holding the next available
- line in file i, or is zero if there are no lines left in that file. */
- thisline = (struct linebuffer **)
- xmalloc (nfiles * sizeof (struct linebuffer *));
- /* prevline[i] points to the linebuffer holding the last used line
- from file i. This is just for verifying that file i is properly
- sorted. */
- prevline = (struct linebuffer **)
- xmalloc (nfiles * sizeof (struct linebuffer *));
- /* streams[i] holds the input stream for file i. */
- streams = (FILE **) xmalloc (nfiles * sizeof (FILE *));
- /* file_lossage[i] is nonzero if we already know file i is not
- properly sorted. */
- file_lossage = (int *) xmalloc (nfiles * sizeof (int));
-
- /* Allocate and initialize all that storage. */
-
- for (i = 0; i < nfiles; i++)
- {
- initbuffer (&lb1[i]);
- initbuffer (&lb2[i]);
- thisline[i] = &lb1[i];
- prevline[i] = &lb2[i];
- file_lossage[i] = 0;
- streams[i] = fopen (infiles[i], "r");
- if (!streams[i])
- pfatal_with_name (infiles[i]);
-
- readline (thisline[i], streams[i]);
- }
-
- /* Keep count of number of files not at eof. */
- nleft = nfiles;
-
- while (nleft)
- {
- struct linebuffer *best = 0;
- struct linebuffer *exch;
- int bestfile = -1;
- int i;
-
- /* Look at the next avail line of each file; choose the least one. */
-
- for (i = 0; i < nfiles; i++)
- {
- if (thisline[i] &&
- (!best ||
- 0 < compare_general (best->buffer, thisline[i]->buffer,
- (long) bestfile, (long) i, num_keyfields)))
- {
- best = thisline[i];
- bestfile = i;
- }
- }
-
- /* Output that line, unless it matches the previous one and we
- don't want duplicates. */
-
- if (!(prev_out &&
- !compare_general (prev_out->buffer,
- best->buffer, 0L, 1L, num_keyfields - 1)))
- indexify (best->buffer, ostream);
- prev_out = best;
-
- /* Now make the line the previous of its file, and fetch a new
- line from that file. */
-
- exch = prevline[bestfile];
- prevline[bestfile] = thisline[bestfile];
- thisline[bestfile] = exch;
-
- while (1)
- {
- /* If the file has no more, mark it empty. */
-
- if (feof (streams[bestfile]))
- {
- thisline[bestfile] = 0;
- /* Update the number of files still not empty. */
- nleft--;
- break;
- }
- readline (thisline[bestfile], streams[bestfile]);
- if (thisline[bestfile]->buffer[0] || !feof (streams[bestfile]))
- break;
- }
- }
-
- finish_index (ostream);
-
- /* Free all storage and close all input streams. */
-
- for (i = 0; i < nfiles; i++)
- {
- fclose (streams[i]);
- free (lb1[i].buffer);
- free (lb2[i].buffer);
- }
- free (file_lossage);
- free (lb1);
- free (lb2);
- free (thisline);
- free (prevline);
- free (streams);
-
- if (outfile)
- fclose (ostream);
-
- return lossage;
-}
-
/* Print error message and exit. */
void
@@ -1612,17 +1179,18 @@
}
-/* Return a newly-allocated string concatenating S1 and S2. */
+/* Return a newly-allocated string concatenating S1, S2, and S3. */
-char *
-concat (char *s1, char *s2)
+static char *
+concat3 (const char *s1, const char *s2, const char *s3)
{
- int len1 = strlen (s1), len2 = strlen (s2);
- char *result = (char *) xmalloc (len1 + len2 + 1);
+ int len1 = strlen (s1), len2 = strlen (s2), len3 = strlen (s3);
+ char *result = (char *) xmalloc (len1 + len2 + len3 + 1);
strcpy (result, s1);
strcpy (result + len1, s2);
- *(result + len1 + len2) = 0;
+ strcpy (result + len1 + len2, s3);
+ *(result + len1 + len2 + len3) = 0;
return result;
}
diff -rNU3 texinfo.orig/util/texinfo.dtd texinfo/util/texinfo.dtd
--- texinfo.orig/util/texinfo.dtd 2004-12-19 16:08:55.000000000 +0100
+++ texinfo/util/texinfo.dtd 2015-10-18 11:13:23.000000000 +0200
@@ -1,4 +1,4 @@
-<!-- $Id: texinfo.dtd,v 1.4 2004/12/19 15:08:55 karl Exp $
+<!-- Id: texinfo.dtd,v 1.4 2004/12/19 15:08:55 karl Exp
Document Type Definition for Texinfo.
Author: Philippe Martin (feloy@free.fr)
diff -rNU3 texinfo.orig/util/texinfo.xsl texinfo/util/texinfo.xsl
--- texinfo.orig/util/texinfo.xsl 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/util/texinfo.xsl 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
<?xml version='1.0'?>
-<!-- $Id: texinfo.xsl,v 1.1 2004/04/11 17:56:47 karl Exp $ -->
+<!-- Id: texinfo.xsl,v 1.1 2004/04/11 17:56:47 karl Exp -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
diff -rNU3 texinfo.orig/util/txitextest texinfo/util/txitextest
--- texinfo.orig/util/txitextest 2004-04-11 19:56:47.000000000 +0200
+++ texinfo/util/txitextest 2015-10-18 11:13:23.000000000 +0200
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: txitextest,v 1.5 2004/04/11 17:56:47 karl Exp $
+# Id: txitextest,v 1.5 2004/04/11 17:56:47 karl Exp
# Test texinfo.tex changes by running various manuals through with an
# old version, saving the .ps result from dvips, doing the same with a
# new version, and comparing. Idea from Stepan Kasal.
|