1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
|
2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/_mingw.h: Increment version to 3.16.
2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit,
__signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf,
__fp_unordered_compare): Add prototypes.
* include/stdio.h (vsnwprintf): Add prototype.
* include/wchar.h (vsnwprintf): Add prototype.
* include/stdlib.h (_Exit): Protect inline definition with !__STRICT_ANSI__.
* include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard.
2009-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
Correct disposition of wchar_t output in printf().
* mingwex/stdio/pformat.c (__pformat) [%C]: Create new instance of...
(argval): ...this, in inner scope, with singular type `wchar_t'; use
it to pass one wchar to __pformat_wputchars(), for output.
2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* mingwex/stdio/pformat.c: Implement better fix for type punned warning.
2009-07-27 Keith Marshall <keithmarshall@users.sourceforge.net>
Convert to monolithic configuration procedure.
* configure.in (AC_CHECK_TOOL): All instances; tabulate arguments.
(AC_SUBST): Use its 2nd argument to initialise MinGW default settings.
(PACKAGE_TARNAME) [target_os ~ cygwin]: Redefine it as appropriate.
(W32API_INCLUDE): Redefine; make it relative to `top_srcdir'.
(CRT0S): Relocate from `profile'; define it as appropriate.
(LIBM_A): Define and AC_SUBST it unconditionally.
(AC_CONFIG_SUBDIRS): Remove; none to configure.
(AC_OUTPUT_FILES): Add `Makefile' for each of...
(mingwex, profile): ...these subdirectories.
* configure: Regenerated.
* Makefile.in (PACKAGE, host_os): Let AC_SUBST define them.
(top_srcdir, top_builddir): New macros; let AC_SUBST define them.
(datarootdir): New macro; autoconf > 2.59 wants AC_SUBST to define it.
(SUBDIRS): Define explicitly, to run recursive `make' in...
(mingwex, profile): ...these; simplify build commands...
(rootme, rootsrc): ...without these shell variables.
(all, subdirs): Delete redundant build commands.
(FIXME): Flag various issues for follow up.
* mingwex/Makefile.in (INCLUDES): Redefined macro; refer it to...
(top_srcdir): ...this new macro; let AC_SUBST define it.
(top_builddir, datarootdir): New macros; let AC_SUBST define them.
(Makefile): Make it depend on...
(top_builddir/config.status): ...this, itself depending on...
(top_srcdir/configure): ...this.
(FIXME): Flag various issues for follow up.
* mingwex/aclocal.m4: File no longer required; delete it.
* mingwex/configure mingwex/configure.in: Likewise.
* profile/Makefile.in (INCLUDES): Redefined macro; refer it to...
(top_srcdir): ...this new macro; let AC_SUBST define it.
(top_builddir, datarootdir): New macros; let AC_SUBST define them.
(Makefile): Make it depend on...
(top_builddir/config.status): ...this, itself depending on...
(top_srcdir/configure): ...this.
(FIXME): Flag various issues for follow up.
* profile/aclocal.m4: File no longer required; delete it.
* profile/configure profile/configure.in: Likewise.
2009-07-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* msvcrt.def.in: disable time symbol for libmsvcr90.a and libmsvcr90d.a due
to complaints that it causes issues.
2009-07-23 Jacky Lai <crazyjacky@users.sourceforge.net>
* mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan().
2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
* include/inttypes.h include/math.h include/stdio.h include/stdlib.h
include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard
to all inline functions.
2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
* CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
* CRT_fp10.c: Ditto.
2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
* cpu_features.c: replace gcc-specific construct with portable alternative
and match the code a few lines above.
* crt1.c: remove gcc-specific noreturn attribute with mingw alternative
2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
* include/_mingw.h: Changes required for PCC compiler.
2009-07-18 Jeff Lu <jll544@yahoo.com>
* mingwex/usleep.c: round up to next ms
2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.
2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>
* mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files.
* mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c
mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c
mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h
mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h
mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c
mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c
mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c
mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c
mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org
sources as of Apr. 20, 2009. Update further to match the sources in
the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX
code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the
double/ulong union from U to dbl_union for better grepping and white-
space tidy-ups.
2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/stdlib.h (_wtof): Define.
2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
* include/stdint.h (int_fast8_t): Specify as signed char.
(INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
(INT32_C, UINT32_C): Remove 'L' type specifier on constant.
2009-03-05 Kai Tietz <kai.tietz@onevision.com>
* pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2.
2009-02-08 Keith Marshall <keithmarshall@users.sourceforge.net>
MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.
(Requested by Robert Riebisch)
* mingwex/getopt.c (getopt_parse): Track external increments of...
(optind): ...this global variable.
2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/_mingw.h: Increment version to 3.15.2.
2009-01-04 Keith Marshall <keithmarshall@users.sourceforge.net>
Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
Also add tentative support for BSD specific `optreset' feature.
* include/getopt.h (optreset) [_BSD_SOURCE]: Define; map it to...
(__mingw_optreset): ...this new global variable.
* mingwex/getopt.c (__mingw_optreset): Instantiate it...
(getopt_parse) [optind < 1]: ...make it true; use it to reset argument
parsing context.
2008-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
Partial fix for MinGW-Bug [2457778]: (Reported by Sisyphus).
Correct mishandling of invalid characters in printf() format specs.
* mingwex/stdio/pformat.c (__pformat): Save `fmt' scan position in...
(backtrack): ...this new automatic variable, at start of each format
conversion specification substring; use it to backtrack, and print the
substring literally, if any invalid character is encountered.
2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
* msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
___unguarded_readlc_active_add_func, __crtCompareStringW,
__crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
__pwctype_func, __iob_func, __uncaught_exception, __wcserror,
__CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
__CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
__CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
_aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
_aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
_getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
_set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
_ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
_wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
2008-12-08 Dmitry G. Gorbachev <d.g.gorbachev@gmail.com>
* cpu_features.c (__cpu_features_init): Remove erroneous ';'.
2008-10-28 Keith Marshall <keithmarshall@users.sourceforge.net>
Correct some binary distribution packaging defects.
* Makefile.in (bindist): Remove `make' conditionals; segregate into...
(bindist-common, bindist-mingwrt, bindist-mingw-runtime): ...these new
intermediate goals; they make packages of files, as specified by...
(BINDIST_FILES, DEVDIST_FILES, DLLDIST_FILES): ...these new macros.
(dist_prefix) [target_alias !~ cygwin]: Leave it undefined.
2008-10-18 Keith Marshall <keithmarshall@users.sourceforge.net>
Fix MinGW-Bug [2136252]: (Reported by Roumen Petrov).
Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5
* mingwex/stdio/pformat.c (__pformat_emit_float): Always make output
of radix point conditional on precision != 0 or `#' flag specified.
2008-10-13 Keith Marshall <keithmarshall@users.sourceforge.net>
Fix MinGW-Bug [2160227]
Eliminate conflicting declarations and implementations of scalb().
* moldname.def.in (scalb): Comment out of EXPORTS list.
* include/math.h (scalb): Comment out OLDNAMES prototype; it conflicts
with GCC's built-in declaration.
2008-10-12 Christopher Faylor <me+cygwin@cgf.cx>
* Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
environment.
* mingwex/Makefile.in: Ditto.
* profile/Makefile.in: Ditto.
* configure.in: Record mingw front-end for building under Cygwin.
* mingwex/configure.in: Ditto.
* profile/configure.in: Ditto.
* configure: Regenerate.
* mingwex/configure: Ditto.
* profile/configure: Ditto.
2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
Use de-facto standard Makefile goals to invoke test suite.
* Makefile.in: Some minor formatting adjustments.
(test_headers): Unconventionally named goal renamed to...
(check-headers): ...this; make it a prerequisite of...
(check): ...this new conventionally named goal.
2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
Make strtod() inline definition C89 compliant.
(Issue reported by Ilya Shestopalov and Ian Puleston)
(Correction identified by Danny Smith)
* include/stdlib.h (strtod): Declare as `__inline__', not `inline';
reformat inline function definition.
2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/_mingw.h: Increment version to 3.15.1 and introduce
__MINGW32_PATCHLEVEL variable.
2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
(Reported by Christian Franke)
* mingwex/getopt.c (optind): Make global variable value conform to
behaviour specified by POSIX; do not use it for internal state in...
(getopt_parse): ...this static function; use...
(optbase): ...this new static local variable instead.
(getopt_resolved): Update `optind' as required.
2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
Improve package identification in configure script.
* configure.ac (AC_INIT): Redefine parameters...
(PACKAGE_NAME): Set to `MinGW Runtime'.
(PACKAGE_BUGREPORT): Set to `http://mingw.org/reporting_bugs'
(PACKAGE_TARNAME): Set to `mingwrt'.
(PACKAGE_VERSION): Set generically to `v3.x'; reassigned by...
(MINGW_AC_CONFIG_SRCDIR): ...this macro, which extracts...
(__MINGW32_VERSION): ...this, from file `include/_mingw.h'.
* aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): Do not redefine...
(PACKAGE_TARNAME): ...this.
* configure: Regenerated.
2008-09-25 Keith Marshall <keithmarshall@users.sourceforge.net>
Fix MinGW-Bug [2125708].
(Reported by Alexandr Zamaraev).
* include/stdlib.h (intptr_t) [!_INTPTR_T_DEFINED]: Unused typedef;
not wanted here; remove it; replace it by...
(uintptr_t) [!_UINTPTR_T_DEFINED]: ...this typedef; needed by...
(_invalid_parameter_handler): ...this function typedef.
2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
* Makefile.in: Don't include host_os as part of snapshot filename.
2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
Fix MinGW-Bug [2119504].
(Reported by Peiyuan Song).
* mingwex/getopt.c (getopt_resolved): Do not overwrite...
(*retindex): ...this already correctly assigned return variable...
(opt[index].val): ...with this; this should have been assigned to...
(*opt[index].flag) [opt[index].flag != NULL]: ...this instead.
2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
Fix MinGW-Bug [2117379].
(Reported by Peiyuan Song).
* include/stdio.h (__argv): Replace all references in function
prototype argument lists and inline function local variables, with ...
(__local_argv): ...this, to avoid potential conflict with ...
* include/stdlib (__argv): ...this #defined macro.
2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/_mingw.h: Increment version to 3.15.
2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* Makefile.in: Adjust to new naming standard for MinGW while maintaining old
naming standard for Cygwin.
2008-08-31 Keith Marshall <keithmarshall@users.sourceforge.net>
Reimplement getopt.c to add getopt_long_only() function.
(N.B. this reimplementation removes support for BSD/Mac-OS-X
`optreset' nonsense; user code should set `optind = 0' instead,
to reinitialise option scanning).
* mingwex/getopt.c: Delete all content; reimplement it.
* include/getopt.h: Likewise.
* include/unistd.h (__UNISTD_H_SOURCED__): New macro; define it.
(__UNISTD_GETOPT__): This macro is no longer required; remove it.
2008-08-30 Keith Marshall <keithmarshall@users.sourceforge.net>
Implement conditional replacement for printf() family functions.
* include/_mingw.h (__USE_MINGW_ANSI_STDIO): New macro; define it.
(__MINGW_ANSI_STDIO__): New manifest constant; define as bitmapped
flag for use in user specified __MINGW_FEATURES__ attribute.
(__MINGW_LC_MESSAGES__, __MINGW_LC_ENVVARS__): New manifest constants;
currently unused: reserved as components of...
(__MINGW_LC_EXTENSIONS__): ...this new manifest constant; earmarked as
a __MINGW_FEATURES__ enhancement to setlocale().
* include/stdio.h (__mingw_printf, __mingw_vprintf): Prototype them.
(__mingw_fprintf, __mingw_vfprintf): Likewise.
(__mingw_sprintf, __mingw_vsprintf): Likewise.
(__msvcrt_printf, __msvcrt_vprintf): Likewise.
(__msvcrt_fprintf, __msvcrt_vfprintf): Likewise.
(__msvcrt_sprintf, __msvcrt_vsprintf): Likewise.
(printf, vprintf) [!__USE_MINGW_ANSI_STDIO]: Prototype for default
usage; link to DLL import stub, importing from MSVCRT.
(fprintf, vfprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
(sprintf, vsprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
(printf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_printf; use
locally defined static stub implementation.
(fprintf, sprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
__mingw_fprintf and __mingw_sprintf respectively.
(vprintf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_vprintf; use
static inline implementation for C++ and GNU C, or locally defined
static stub otherwise.
(vfprintf, vsprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
__mingw_vfprintf and __mingw_vsprintf respectively.
2008-08-27 Keith Marshall <keithmarshall@users.sourceforge.net>
Avoid access violations, passing NULL to printf( "...%s..." );
(inconsistencency with MSVCRT and glibc, reported by Colin Harrison).
* mingwex/stdio/pformat.c (__pformat_puts): Substitute "(null)"
for argument value, if caller passes a NULL pointer.
(__pformat_wcputs): Likewise, substitute L"(null)".
2008-08-14 Keith Marshall <keithmarshall@users.sourceforge.net>
Add missing dependencies for building libmingwex.a.
* mingwex/Makefile.in (printf.o, fprintf.o, sprintf.o): Make them...
(vprintf.o, vfprintf.o, vsprintf.o): ...and also these, depend on...
(pformat.h): ...this.
2008-08-11 Keith Marshall <keithmarshall@users.sourceforge.net>
Add replacements for remaining members of printf() family.
* mingwex/stdio/printf.c: New file.
* mingwex/stdio/fprintf.c: New file.
* mingwex/stdio/sprintf.c: New file.
* mingwex/stdio/vprintf.c: New file.
* mingwex/stdio/vfprintf.c: New file.
* mingwex/stdio/vsprintf.c: New file.
* mingwex/Makefile.in (STDIO_DISTFILES): Add them.
(STDIO_OBJS): Add their corresponding object files.
2008-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
Replace __mingw_snprintf() with new generic family implementation;
likewise, replace __mingw_vsnprintf().
* mingwex/stdio/pformat.c mingwex/stdio/pformat.h: New files.
* mingwex/stdio/snprintf.c mingwex/stdio/vsnprintf.c: New files.
* mingwex/Makefile.in (STDIO_DISTFILES): Add them.
(GDTOA_DISTFILES): Remove mingw_snprintf.c
(STDIO_OBJS): Add pformat.o, snprintf.o and vsnprintf.o
(GDTOA_OBJS): Remove mingw_snprintf.o
(PFORMAT_CFLAGS): New macro; define it, as required by...
(pformat.o): ...this new explicit build target.
(snprintf.o, vsnprintf.o): Declare prerequisites.
* mingwex/gdtoa/mingw_snprintf.c: Redundant file; delete it.
2008-07-28 Keith Marshall <keithmarshall@users.sourceforge.net>
Lay foundations for new printf() function family implementation.
* ofmt_stub.s: New file; implement forward compatibility stub for...
(_get_output_format): ...this MSVCR80.DLL and later function.
* Makefile.in (SRCDIST_FILES): Add ofmt_stub.s.
(NM, OBJCOPY): New macros; define them with AC_SUBSTed values.
(sym_prefix, NM_LOOKUP, MINGW_REPL_FUNCS): New macros; define them.
(lib%.a): Include ofmt_stub.o when import library does not already
advertise availability of the _get_output_format() function;
Add alias stubs for MINGW_REPL_FUNCS, such that...
(__msvcrt_printf): ...is an alias for Microsoft's printf().
(__msvcrt_fprintf): ...is an alias for Microsoft's fprintf().
(__msvcrt_sprintf): ...is an alias for Microsoft's sprintf().
(__msvcrt_vprintf): ...is an alias for Microsoft's vprintf().
(__msvcrt_vfprintf): ...is an alias for Microsoft's vfprintf().
(__msvcrt_vsprintf): ...is an alias for Microsoft's vsprintf().
(clean): Add msvcr*.def.
* configure.in (NM, OBJCOPY): Use AC_CHECK_TOOL to specify them.
* configure: Regenerated.
2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
* include/ctype.h (_imp____mb_cur_max): Correct spelling.
(_imp____mb_cur_max_dll): Likewise.
2008-07-04 Danny Smith <dannysmith@users,sourceforge.net>
* include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
* include/wchar.h (swprintf, vswprintf): Likewise.
2008-07-01 Keith Marshall <keithmarshall@users.sourceforge.net>
* msvcrt.def.in [__msvcr80__, __msvcr80d__, __msvcr90__, __msvcr90d__]
(_get_output_format, _set_output_format): Add references.
* include/stdio.h [__MSVCRT_VERSION__ >= 0x800]
(_get_output_format, _set_output_format): Declare prototypes.
(_TWO_DIGIT_EXPONENT): Define.
Some other minor formatting adjustments.
2008-06-14 Danny Smith <dannysmith@users.sourceforge.net>
[mingw-Bugs-1801641]
* include/wchar.h (_wfdopen): Const-ify second arg.
* include/stdio.h (_wfdopen): Likewise.
Thanks to <tdragon at users dot sourceforge net>
2008-06-02 Keith Marshall <keithmarshall@users.sourceforge.net>
Avoid precision errors in round(), lround() and llround() functions.
* mingwex/math/round_generic.c: New file; it replaces...
* mingwex/math/round.c: ...this; delete it.
* mingwex/math/roundf.c: ...and this; ditto.
* mingwex/math/roundl.c: ...and this; ditto.
* mingwex/math/lround_generic.c: New file; it replaces...
* mingwex/math/lround.c: ...this; delete it.
* mingwex/math/lroundf.c: ...and this; ditto.
* mingwex/math/lroundl.c: ...and this; ditto.
* mingwex/math/llround.c: ...and this; ditto.
* mingwex/math/llroundf.c: ...and this; ditto.
* mingwex/math/llroundl.c: ...and this; ditto.
* mingwex/math/round_internal.h: New file; it provides generic common
code, which is shared by `round_generic.c' and `lround_generic.c'; the
implementation is based on techniques suggested by Danny Smith and
Greg Chicares.
* mingwex/Makefile.in (MATH_DISTFILES): Remove `round.c', `roundf.c',
`roundl.c', `lround.c', `lroundf.c', `lroundl.c', `llround.c',
`llroundf.c' and `llroundl.c'; replace by `round_internal.h',
`round_generic.c' and `lround_generic.c'.
(MATH_OBJS): Factor out files listed in...
(MATH_ROUND_OBJS, MATH_LROUND_OBJS, MATH_LLROUND_OBJS): ...these new
macros; define them; specify dependencies and build rules; add to...
(LIB_OBJS): ...this list.
2008-05-22 Danny Smith <dannysmith@users.sourceforge.net>
[ mingw-Bugs-1961893 ]
* mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa
mode to 2 for E format.
2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
* include/stdlib.h: Fix strtod under C++.
2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
* mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
* include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
* include/sys/types.h (useconds_t): typedef.
* include/unistd.h (usleep): Add prototype.
* mingwex/usleep.c: New file.
* mingwex/makefile.in: Add usleep source and object.
2008-05-02 Ramiro Polla <ramiro@lisha.ufsc.br>
Make strtod() conform to C99.
* include/stdlib.h (strtod): Declare this mingwex function, and...
(_strtod): rename this MSVCRT counterpart.
* mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
2008-04-26 Chuck Wilson <cwilso11@users.sourceforge.net>
* Makefile.in: correct issues with mingw10.dll having multiple relocs.
2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
* include/process.h: Include stdint.h for intptr_t definition.
(_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
_spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
_spawnvpe): Return intptr_t.
(execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
intptr_t.
* include/wchar.h: Guard wide process.h functions with !__STRICT_ANSI__.
[!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
(_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
_wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
_wspawnvp, _wspawnvpe): Return intptr_t.
2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
* include/wchar.h (fwide): Return success code rather than failure in inline
definition.
* mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
code rather than failure.
2008-03-21 Danny Smith
* include/math.h (float_t, double_t): Define.
2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
* mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
(x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
2008-02-28 Joseph Myers <joseph@codesourcery.com>
* include/complex.h: Don't condition contents on C99 or not
__STRICT_ANSI__.
2008-02-01 Brian Dessent <brian@dessent.net>
* Makefile.in: Add rules to generate multiple versions of libmoldname.a for
the different runtime versions.
2008-01-19 Danny Smith <dannysmithusers.sourceforge.net
* inclue/wchar.h (fwide): Add prototype and guard inline definition.
(mbsinit): Likewise.
2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/_mingw.h: Increment version to 3.14.
2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
* msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
* mingwex/math/log10f.S: Correct issue with comments.
* mingwex/math/log10l.S: Ditto.
* mingwex/math/log1p.S: Ditto.
* mingwex/math/log1pf.S: Ditto.
* mingwex/math/log1pl.S: Ditto.
* mingwex/math/log2.S: Ditto.
* mingwex/math/log2f.S: Ditto.
* mingwex/math/log2l.S: Ditto.
* mingwex/math/logf.S: Ditto.
* mingwex/math/logl.S: Ditto.
2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
* include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
from '_fsize_t' to '__int64' to be consistent with the other ...64
structures and the value set there is 8 bytes not 4. Add guard for both
as the are only used by functions available from 6.1 on.
* include/malloc.h (_HEAP_MAXREQ): Define.
(_aligned_offset_recalloc): Define.
(_aligned_recalloc()): Define.
* include/math.h: fixed a typo in a comment.
(atanhf): Fixed declaration.
* include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
to '__int64' to be consistent with the other ...64 structures and the value
set there is 8 bytes not 4. Added guard as this function is only used by
functions available from 6.1 on.
* include/sys/stat.h: some members of 'stat' were declared with types with
a prefixed underscore, while the ones without the underscore should have
been used. Added guard to '__stat64' as it is only used by functions
available from 6.1 on. Added the wide character versions of the
exec()/spawn() family for completion
(_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
'_mode_t'
* include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
from 'long' to 'time_t'
(__timeb64): moved declaration of structure directly before the declaration
of the function '_ftime64()', so it is guarded as well
* include/sys/utime.h (__utimbuf64): moved declaration of structure directly
before the declaration of the functions using it, so it is guarded as well
2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
* mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
case. Add missing break in 's'/LEN_S case.
2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
Make snprintf() and vsnprintf() conform to C99.
* include/stdio.h: Add note about incompatibility between...
(snprintf, vsnprintf): These two mingwex functions, and...
(_snprintf, _vsnprintf): these MSVCRT counterparts.
* mingwex/Makefile.in (STDIO_OBJS): Remove snprintf.o and vsnprintf.o
(STDIO_DISTFILES): Remove snprintf.c and vsnprintf.c
* mingwex/stdio/snprintf.c: Delete.
* mingwex/stdio/vsnprintf.c: Delete.
* mingwex/gdtoa/mingw_snprintf.c (snprintf): Alias to __mingw_snprintf
(vsnprintf): Alias to __mingw_vsnprintf.
2007-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/_mingw.h: Increment version to 3.13.
* Makefile.in: Reset CYGRELEASE to 1
2007-07-23 Keith Marshall <keithmarshall@users.sourceforge.net>
* Makefile.in (SUBDIRS): Delete stray line continuation artifact,
resulting from incomplete removal of enclosing `for ...; do ...; done'
loop from compound command; (reported by Greg Chicares).
2007-07-19 Danny Smith <dannysmith@users.sourceforge.net>
* include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
Vista.
2007-07-12 Danny Smith <dannysmith@users.sourceforge.net>
[mingw-Bugs-1734142]
* include/wchar.h (_wsystem) Declare.
(_wputenv) Declare.
(_wgetenv): Declare.
(_wsearchenv): Declare.
(_wmakepath): Declare.
(_wsplitpath): Declare.
(_wfullpath): Declare.
* include/stdlib.h (_wsystem) Declare.
(_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath,
_wfullpath): Move into _WSTDLIB_DEFINED guard.
* include/tchar.h (_tsystem): New UNICODE mapping define.
2007-06-29 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/gdtoa/mingw_snprintf.c: New file.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
(GDTOA_OBJS): Add mingw_snprintf.o.
2007-06-28 Danny Smith <dannysmith@users.sourceforge.net>
* msvcrt.def.in: Update comment.
Exclude _ctype stub if using msvcr71.dll or newer.
* include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
* include/wctype.h: Likewise.
2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
*include/wctype.h: Qualify all functions with __MINGW_NOTHROW.
*include/dirent.h: Likewise.
2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
* include/assert.h: Qualify all functions with __MINGW_NOTHROW.
* include/conio.h: Likewise.
* include/ctype.h: Likewise.
* include/direct.h: Likewise.
* include/dos.h: Likewise.
* include/errno.h: Likewise.
* include/fenv.h: Likewise.
* include/float.h: Likewise.
* include/inttypes.h: Likewise.
* include/io.h: Likewise.
* include/libgen.h: Likewise.
* include/locale.h: Likewise.
* include/malloc.h: Likewise.
* include/mbctype.h: Likewise.
* include/mbstring.h: Likewise.
* include/process.h: Likewise.
* include/search.h: Likewise.
* include/setjmp.h: Likewise.
* include/signal.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/string.h: Likewise.
* include/time.h: Likewise.
* include/wchar.h: Likewise.
* include/sys/stat.h: Likewise.
* include/sys/time.h: Likewise.
* include/sys/timeb.h: Likewise.
* include/sys/utime.h: Likewise.
2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
Add POSIX binary tree search API.
* mingwex/tfind.c: New file.
* mingwex/tdelete.c: New file.
* mingwex/tsearch.c: New file.
* mingwex/twalk.c: New file.
* mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
* mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
* include/search.h (tfind): Declare.
(tdelete): Declare.
(tsearch): Declare.
(twalk): Declare.
(ENTRY): Define.
(ACTION): Define.
(VISIT): Define.
(node_t): Define, on condition of _SEARCH_PRIVATE.
2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (__MINGW_NOTHROW): Define.
2007-06-18 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (vsnprintf): Remove inline definition.
Add prototype.
2007-06-16 Danny Smith <dannysmith@users.sourceforge.net>
* CRTfmode.c: Nit-pick comment fix.
2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
* CRTfmode.c: Fix nested comment.
2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
* include/string.h (strcasecmp): Fix typo in declaration prototype.
2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
* include/io.h (lseek64) : Add prototype.
2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
* include/string.h (strcasecmp): Add prototype.
(strncasecmp): Add prototype.
2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
* Makefile.in (CRT0S): Revert last change.
* CRTfmode.c. Correct comment.
2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
* Makefile.in (CRT0S): Add back CRTfmode.o.
2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
* include/io.h: Likewise.
2007-06-11 Danny Smith <dannysmith@users.sourceforge.net>
* crt1.c (__mingw_CRTStartup): Add explicit call to gcc's __main.
2007-05-08 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdint.h (intptr_t): Fix typo.
Thanks to Charles Wilson for report.
2007-05-07 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
Condition on _WIN64.
(uintptr_t): Protect with _UINTPTR_T_DEFINED. Condition on _WIN64.
(INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64.
(PTRDIFF_MIN): Define as INTPTR_MIN.
(PTRDIFF_MAX): Define as INTPTR_MAX.
(SIG_ATOMIC_MIN): Define as INTPTR_MIN.
(SIG_ATOMIC_MAX): Define as INTPTR_MAX.
2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* Makefile.in: Removed mansuffix variable. Changed mansection to support
Cygwin man page location.
2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* Makefile.in: Added mansection and mansuffix variables. Changed mandir to
support Cygwin man page location.
2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* Include/_mingw.h: Increment version to 3.12.
2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
* include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__.
2007-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* Makefile.in: Tweak srcdist to fix build issue.
2007-03-20 Keith Marshall <keithmarshall@users.sourceforge.net>
Add --enable-mingw-manpage-transform configure option.
* aclocal.m4 (MINGW_AC_MANPAGE_TRANSFORM): New macro.
* configure.in, Makefile.in: Use it.
* configure: Regenerated.
2007-03-18 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ for gcc 4.2.x too.
2007-03-10 Keith Marshall <keithmarshall@users.sourceforge.net>
Add manpages for dirname and basename functions.
* man: New directory.
* man/dirname.man: New file; it sources both manpages.
* Makefile.in: Add provisional rules to distribute them.
2007-03-08 Keith Marshall <keithmarshall@users.sourceforge.net>
* mingwex/basename.c: Make it work with path names containing
multibyte character strings.
* mingwex/dirname.c: Likewise.
2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
* include/io.h (__mingw_access): New static inline wrapper to restore
pre-Vista 'access (fname, X_OK)' behaviour.
(__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/fesetround.c (fesetround): Use unsigned int as operand
to stmxcsr.
Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
* include/stdio.h (_unlink, unlink): Add prototypes.
2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
* include/excpt.h: Replace "_try1" in comments with "__try1".
2007-02-15 Danny Smith <dannysmith@users.sourceforge.net>
* Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.
* mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.
* profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.
2007-02-08 Danny Smith <dannysmith@users.sourceforge.net>
* include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
2007-01-27 Danny Smith <dannysmith@users.sourceforge.net>
Expose some more msvcr80.dll functions.
* include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
_ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
* msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
_ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
Expose some msvcr80.dll functions.
* include/stdlib.h (_set_abort_behavior): Add prototype.
(_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
_set_abort_behavior mask argument.
(_invalid_parameter_handler): Add typedef.
(_set_invalid_parameter_handler): Add prototype.
* include/stdio.h (_get_printf_count_output): Add prototype.
(_set_printf_count_output): Add prototype.
* msvcrt.def.in (_get_printf_count_output,_set_printf_count_output,
_set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (CRT_INLINE): Correct typo.
2007-01-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/io.h (X_OK): Define to F_OK.
2007-01-19 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
unconditionally. Change comment.
* include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
here too.
* include/io.h (rename): Declare.
(remove): Declare.
2006-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
* include/libgen.h: New file; required by...
* mingwex/basename.c, mingwex/dirname.c: New files.
* mingwex/Makefile.in (DISTFILES): Add them...
(POSIX_OBJS): ...with corresponding basename.o, dirname.o
(Dependencies): Typo; s/Dependancies/Dependencies/
2006-11-25 Keith Marshall <keithmarshall@users.sourceforge.net>
* Makefile.in (VERSION): Let configure define it.
* aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): New macro.
* configure.in: Use it.
Correct quoting of autoconf macro arguments throughout.
(AC_INIT, AC_OUTPUT): Update to autoconf 2.5x preferred syntax.
(AR, AS, RANLIB, LD, DLLTOOL, DLLWRAP): Don't need AC_SUBST.
(AC_ALLOCA): Invalid after GCC_NO_EXECUTABLES; removed.
(AC_CONFIG_FILES): Add, to generate Makefile.
* configure: Regenerated.
2006-11-21 Danny Smith <dannysmith@users.sourceforge.net>
* Makefile.in: Add aclocal.m4 to source release.
* mingwex/Makefile.in: Ditto.
* profile/Makefile.in: Ditto.
2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* Include/_mingw.h: Increment version to 3.11.
* Makefile.in: Ditto.
2006-11-09 Danny Smith <dannysmith@users.sourceforge.net>
[ mingw-Bugs-1590623 ]
* include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
in C99 mode.
2006-10-04 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
correctly parenthesized.
2006-09-19 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/mb_wc_common.h (get_codepage): Get it
from __lc_codepage.
2006-09-18 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity.
Use fpclassify.
* mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to
void*.
* mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with
others.
2006-09-16 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/gdtoa/strtopx.c (strtopx): Fix long double representation
of infinity.
2006-09-11 Christopher Faylor <cgf@timesys.com>
* Makefile.in: Semi-revert 2006-08-30 change.
2006-09-10 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
(__MINGW_IMPORT): Ansify.
* include/stdlib.h (_sleep, _beep, _seterrormode): Add
__MINGW_ATTRIB_DEPRECATED.
2006-09-10 Keith Marshall <keithmarshall@users.sourceforge.net>
* aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
Redundant macros; deleted.
* configure.in (LIB_AC_PROG_CC): Replaced by...
(AC_PROG_CC): ...this.
* configure: Regenerated.
2006-09-06 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/gdtoa/misc.c (pow5mult): Restore original code.
* mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
* mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
2006-09-01 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
ulp.c): New files.
* mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
* mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
* mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
* mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
* mingwex/wcstold.c: Avoid using strtold internals.
* mingwex/wcstof.c: Rewrite.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
(GDTOA_OBJS): Add to library.
(DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
(STDLIB_OBJS): Remove.
(STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
(Q8_OBJS): Add wcstof.o wcstold.o.
* include/stdlib.h (strtof): Remove inline definition.
(wcstof): Likewise.
* include/wchar.h (wcstof): Remove inline definition.
2006-08-30 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in: Add with_cross_host to allow more granular checks.
Set installation directories accordingly. Override CC setting only
if building a Cygwin target.
* aclocal.m4: Regenerate.
* configure.in: Move AC_CANONICAL_SYSTEM check up. Add
GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files.
Test AC_ALLOCA only if building on a native system.
* configure: Regenerate.
2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/ctype.h: Fix typo.
2006-08-25 Danny Smith <dannysmith@users.sourceforge.net>
* include/ctype.h: Expose iswblank if __cplusplus.
* include/wctype.h: Expose iswblank if __cplusplus.
2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
* include/ctype.h: Remove stray ')';
2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
* include/ctype.h (_BLANK): Expand comment.
(isblank): Add prototype and inline definition.
(iswblank): Add prototype and inline definition.
* include/wctype.h (iswblank): Add prototype and inline definition.
* mingwex/isblank.c: New file.
* mingwex/iswblank.c: New file.
* mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
2006-07-06 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (__INFF,__INFL): Remove '#'.
2006-07-04 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
2006-07-03 Danny Smith <dannysmith@users.sourceforge.net>
Support SSE float environment in fenv.h functions.
* cpu_features.c: New file.
* cpu_features.h: New file.
* crt1.c: Include "cpu_features.h".
(__mingw_CRTStartup): Call cpu_features_init().
* Makefile.in (MING_OBJS): Add cpu_features.c.
(SRCDIST_FILES): Add cpu_features.c, cpu_features.h.
* include/fenv,h ( fenv_t;): Append __mxcsr field.
(__MXCSR_EXCEPT_FLAG_SHIFT): New define.
(__MXCSR_EXCEPT_MASK_SHIFT): New define.
(__MXCSR_ROUND_FLAG_SHIFT): New define.
* mingwex/feclearexcept.c: Include "cpu_features.h".
Handle SSE environment.
* mingwex/fegetenv.c: Likewise.
* mingwex/feholdexcept.c: Likewise.
* mingwex/fesetenv.c: Likewise.
* mingwex/fesetexceptflag.c: Likewise.
* mingwex/fesetround.c: Likewise.
* mingwex/fetestexcept.c: Likewise.
* mingwex/feupdateenv.c: Likewise.
* mingwex/fegetround.c: Add comment.
2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* Include/_mingw.h: Increment version to 3.10.
* Makefile.in: Ditto.
2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/tgamma.c (SQTPI): Add braces.
2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
* mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
(LS2PI): Likewise.
* mingwex/math/sf_erf.c (erff): Initialize z.
(erfcf): Likewise.
* mingwex/math/tgamma.c (SQTPI): Avoid type punning.
2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* Include/_mingw.h: Increment version to 3.10.
* Makefile.in: Ditto.
2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
* include/sys/time.h (struct timezone): Define.
* include/time.h: Correct comment about timezone.
2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
* configure.in (AC_CONFIG_AUX_DIR): Remove.
* configure: Regenerate.
2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
* configure: add srcdir as a possible location for install-sh.
2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/dirent.c (_tGetFileAttributes): New helper function.
(_topendir): Use it.
2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
* include/sys/time.h: Add header guard. Add extern "C" bracketing
for __cplusplus.
(gettimeofday): Add prototype.
* mingwex/gettimeofday.c: New file.
* mingwex/makefile.in: Add gettimeofday source and object.
2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
else global library variable.
(HUGEVALF): Likewise.
(HUGEVALL): Likewise.
(INFINITY): Likewise.
(NAN): LiKewise.
2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
* Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
2006-05-24 Christopher Faylor <cgf@timesys.com>
* configure.in: Update to newer autoconf.
(thanks to Steve Ellcey)
* mingwex/configure.in: Ditto.
* profile/configure.in: Ditto.
* configure: Regenerate.
* mingwex/configure: Ditto.
* profile/configure: Ditto.
* aclocal.m4: New file.
* mingwex/aclocal.m4: Ditto.
* profile/aclocal.m4: Ditto.
2006-05-17 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.
Use supplied codepage as arg to WideCharToMultiByte.
2006-02-13 Earnie Boyd <earnie@users.sf.net>
* Makefile.in (libmsvcr80.a): Add import lib.
(libmsvcr80d.a): Ditto.
2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* Makefile.in: Bump cygwin build number.
2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* Include/_mingw.h: Increment version to 3.9.
* Makefile.in: Ditto.
2005-10-14 Danny Smith <dannysmith@users.sourceforge.net>
* include/limits.h (SSIZE_MAX): Define.
(LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.
2005-10-13 Wu Yongwei <adah@users.sourceforge.net>
* include/tchar.h: Include <wchar.h> when _UNICODE is defined.
(_TEOF): New macro definition for _UNICODE and non_UNICODE cases.
2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
* include/stddef.h: Remove.
* include/stdarg.h: Remove.
2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/complex/csqrt.c (csqrt): The sign of real part
of result is positive when real part of arg == 0;
* mingwex/complex/csqrtf.c (csqrtf): Ditto.
* mingwex/complex/csqrtl.c (csqrtl): Ditto.
2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
* include/time.h (_time64): Correct prototype.
2005-10-08 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/fegetenv.c (fegetenv): Restore exception masks.
* mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
to non-stop. Use "fnclex" to clear exception flags.
2005-09-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
Avoid raising FP exceptions.
2005-09-19 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdlib.h (strtof): Add prototype. Uglify
parameter names in inline definition.
(wcstof): Likewise.
(_Exit): Uglify parameter names in inline definition.
(llabs): Add prototype.
(_set_error_mode): Add prototype and input defines.
2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/fe*.c: Revert previous changes.
* include/fenv.h: Revert previous changes.
2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/feclearexcept.c (feclearexcept): Change declaration.
Do not return a value.
* mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
* mingwex/feraiseexcept.c (feraiseexcept): Likewise.
* mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
* mingwex/fegetenv.c (fegetenv): Likewise.
* mingwex/fesetenv.c (fesetenv): Likewise.
* mingwex/feupdateenv.c (feupdateenv): Likewise.
* include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
prototypes.
2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
getting filelength for SEEK_END.
2005-08-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* Include/_mingw.h: Increment version to 3.8.
* Makefile.in: Ditto.
2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
* include/wctype.h (towupper, towlower): Change arg and return value
types to wint_t.
* include/ctype.h (towupper, towlower): Likewise.
2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
* mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
a diagnostic, guarded by #ifdef DEBUG.
(__mingwthr_remove_key_dtor): Likewise.
2005-08-08 Danny Smith <dannysmith@users.sourceforge.net>
* moldname.def.in (sleep, beep, seterrormode): Remove.
2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
* profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
(_MCOUNT_DECL): Use it.
(MCOUNT): Save and restore eax, ecx, edx registers.
* profile/mcount.c (_mcount): ANSI-fy.
2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
guard __MINGW_ATTRIB macro definitions.
* include/math.h (logb[fl]): Don't define inlines for
GCC-4.0+ && __FAST_MATH__.
(rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up
line-continuation backslashes.
2005-06-06 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
in GNUC version guard.
2005-05-20 Danny Smith <dannysmith@users.sourceforge.net>
* crt1.c (_gnu_exception_handler): Handle illegal instruction
OS exception as a signal if user has defined a SIGILL handler.
2005-05-10 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/nexttoward.c: New file.
* mingwex/math/nexttowardf.c: New file.
* mingwex/math/nextafterl.c: Add nexttowardl alias.
* mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
mexttowardf.c,
(MATH_OBJS): Add nexttoward.o, nexttowardf.o,
* include/math.h (nexttoward, nextowardf, nexttowardl): Add
prototypes.
2005-05-09 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/nextafterf.c (nextafterf): Correct
handling of -0.0.
* mingwex/math/nextafterl.c: New file.
* mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
(MATH_OBJS): Add nextafterl.o.
* include/math.h (nextafterl): Uncomment prototype.
2005-05-08 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/erfl.c: New file.
* mingwex/Makefile.in (MATH_DISTFILES): Add erfl.c.
(MATH_OBJS): Add erfl.o.
* include/math.h (erfl, erfcl): Uncomment prototypes.
2005-05-04 Danny Smith <dannysmith@users.sourceforge.net>
* include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
#if (WCHAR_MAX <= WCHAR_MIN) is false.
* include/stdint.h (WCHAR_MAX): Likwise.
(WINT_MAX): Likewise.
2005-05-03 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/signbit.c (__signbit): Make return value
consistent with GCC's __builtin_signbit.
* mingwex/math/signbitf.c (__signbitf): Likewise.
* mingwex/math/signbitf.c (__signbitl): Likewise.
* include/math.h (__signbit, __signbitf, __signbitl): Likewise
for inlines.
2005-05-02 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
variadic macro.
* mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
Remove unused MBTOWC_FLAGS define.
2005-04-23 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/mbrtowc.c: New file.
* mingwex/wcrtomb.c: New file.
* mingwex/btowc.c: New file.
* mingwex/wctob.c: New file.
* mingwex/mb_wc_common.h: New file.
* mingwex/Makefile.in (DISTFILES): Add new files.
(Q8_OBJS): Add new objects.
* include/wchar.h: Adjust comment about mbrtowc() and related
funcions. Add __restrict__ to pointer params in prototypes.
(wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
arg names from protototypes.
2005-04-23 Wu Yongwei <adah@sh163.net>
* mingwex/dirent.c: Formatting changes.
* mingwex/dirent.c (_topendir): Make the end-of-path slash check
MBCS-safe.
2005-03-31 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (__mingw_fwrite): Change return value to
size_t.
* mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
2005-03-15 Hans Leidekker <hans@it.vu.nl>
* include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
* include/wctype.h (wctrans): Remove _CRTIMP.
(towctrans): Likewise.
(wctype): Likewise,
2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
* include/wctype.h: Add comment on wctrans, towctrans, wctype.
2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/wctype.c: New file.
* mingwex/wctrans.c: New file.
* mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c.
* mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.
2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
* include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.
2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
* include/assert.h: Remove header guard. #undef assert macro.
(_assert): Use __MINGW_ATTRIB_NORETURN define.
2005-02-11 Gregory W. Chicares <chicares@cox.net>
Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (expm1, expm1f, expmll): Add prototypes.
* mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
expm1f.c, expm1l.c.
(MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
* mingwex/math/expm1.c: New file.
* mingwex/math/expm1f.c: New file.
* mingwex/math/expm1l.c: New file.
2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
* include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
* include/wchar.h (struct stat): Likwwise.
Bug reported to Debian by Anand Kumria <wildfire@progsoc.org>
* include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
2005-02-01 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
string is not valid.
2005-01-26 Oliver Stoeneberg <oliverst@online.de>
* include/malloc.h: Add missing return code defines for
_heapwalk()
2005-01-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/sys/stat.h (struct __stat64): Change st_size type to
__int64.
* include/wchar.h (struct __stat64): Change st_size type to __int64.
2005-01-13 Earnie Boyd <earnie@users.sf.net>
* include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
lstat): Remove.
* include/errno.h (ELOOP): Ditto.
* include/_mingw.h: Increment version to 3.7.
* Makefile.in: Ditto.
2005-01-11 Danny Smith <dannysmith@users.sourceforge.net>
* include/tchar.h (_tfreopen): Add UNICODE mappings.
2005-01-11 Earnie Boyd <earnie@users.sf.net>
* include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
lstat): Conditionalize defines for __STRICT_ANSI__.
2005-01-10 Earnie Boyd <earnie@users.sf.net>
* include/errno.h (ELOOP): Add definition.
2005-01-10 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
ctanl.c ctanhl.c): New files.
* mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
(COMPLEX_OBJS): Adjust.
* include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
Declare.
2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (__int16): Define as short.
Thanks to: Leo Yuriev <leoyuriev at users dot sf dot net>
2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (P_tmpdir): Add define.
2005-01-03 Earnie Boyd <earnie@users.sf.net>
* Makefile.in (inst_docdir): For Cygwin target set to share/doc/.
2005-01-02 Earnie Boyd <earnie@users.sf.net>
* include/_mingw.h: Increment version to 3.6
* Makefile.in: Ditto
2004-12-26 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
ctanf.c ctanhf.c): New files.
* mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
(COMPLEX_OBJS): Adjust.
* include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
Declare.
2004-12-20 Danny Smith <dannysmith@users.sourceforge.net>
* include/wchar.h (wcsdup): Correct prototype.
* include/string.h (wcsdup): Correct prototype.
2004-10-14 Danny Smith <dannysmith@users.sourceforge.net>
* include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/fastmath.h: New file.
* mingwex/math/asinh.c: New file.
* mingwex/math/asinhf.c: New file.
* mingwex/math/asinhl.c: New file.
* mingwex/math/acosh.c: New file.
* mingwex/math/acoshf.c: New file.
* mingwex/math/acoshl.c: New file.
* mingwex/math/atanh.c: New file.
* mingwex/math/atanhf.c: New file.
* include/math.h (asinh, asinhf, asinhl, acosh, acoshf, acoshl,
atanh, atanhf, atanhl): Add prototypes.
* mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
(MATH_DISTFILES): Add sources for above and fastmath.h to list.
Specify dependency on fastmath.h for new objects.
2004-09-08 Earnie Boyd <earnie@users.sf.net>
* include/sys/stat.h (_S_IFLNK): Add definition.
(S_IFLNK) Ditto.
(_lstat) Ditto.
(lstat) Ditto.
(_S_ISLNK) Recode.
(S_ISLNK) Ditto.
2004-09-08 Earnie Boyd <earnie@users.sf.net>
* include/sys/stat.h (_S_ISLNK): Add definition.
(S_ISLNK): Ditto.
2004-09-05 Earnie Boyd <earnie@users.sf.net>
* include/_mingw.h: Increment minor version for 3.5 release.
* Makefile.in: Ditto.
* mingwex/Makefile.in: Correct typo in list of DISTFILES.
2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/malloc.h (__mingw_aligned_offset_malloc,
__mingw_aligned_offset_realloc, __mingw_aligned_malloc,
__mingw_aligned_realloc, __mingw_aligned_free): Add
prototypes.
* mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
tst-aligned-malloc.c.
(REPLACE_OBJS): Add mingw-aligned-malloc.o.
2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
* mingwex/mingw-aligned-malloc.c: New file.
* mingwex/tst-aligned-malloc.c: New file.
2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
* crt1.c: (__mingw_CRTStartup): Change return to void. Add
noreturn attribute. Align stack to 16 bytes before passing args
to main.
(mainCRTStartup): Change return to void.
(WinMainCRTStartup): Likewise.
2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
* profile/COPYING: New file.
* profile/CYGWIN_LICENSE: New file.
* profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/fopen64.c: Move.
* mingwex/fseeko64.c: Move.
* mingwex/ftello64.c: Move.
* mingwex/lseek64.c: Move.
* mingwex/stdio/fopen64.c: To here.
* mingwex/stdio/fseeko64.c: To here.
* mingwex/stdio/ftello64.c: To here.
* mingwex/stdio/lseek64.c: To here.
2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
* profile/gmon.c [__MINGW32__]: Include string.h for
memset prototype.
2004-08-08 Christopher Faylor <cgf@timesys.com>
* mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
* include/complex.h: Remove __attribute__ ((const)) from
transcendantal and trig functions. Replace __attribute__ ((const))
with __MINGW_ATTRIB_CONST on other declarations.
2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
* include/wchar.h: Reorganize, avoid including other headers.
2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
* include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
(strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
attribute.
2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/dirent.h (struct _wdirent): Remove obsolete comment.
2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/string.h: Revert 2004-07-26 additions of
__ATTRIBUTE_PURE.
2004-07-28 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/powl.c (powl): Revert change of 2004-02-01.
(__convert_inf_to_maxnum): New.static inline.
(reducl): Use it to protect against Inf - Inf.
(__fast_ldexpl): New function. Use in lieu of ldexpl.
2004-07-27 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/expl.c (expl): Move body of code to new static
function __expl, removing tests for +/-Inf. Extern function
expl calls __expl after testing for max, min log thresholds.
2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/stdio/vsscanf.c: Add "edi" to registers-modified field
* mingwex/stdio/vfscanf.c: Likewise.
* mingwex/stdio/vswscanf.c: Likewise.
* mingwex/stdio/vfwscanf.c: Likewise.
2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h: Use only two underscores to uglify
__MINGW_ATTRIB_* macros.
* include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
* include/setjmp.h: Likewise.
* include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
string functions.
(_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
* include/string.h: Group wide string functions together,
and protect with _WSTRING_DEFINED.
2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (__MINGW_ATTR_*): Replace with
__MINGW_ATTRIB_*.
* include/stdlib.h (_ATTRIB_NORETURN): Replace with
__MINGW_ATTRIB_NORETURN, throughout.
(malloc): Declare with __MINGW_ATTRIB_MALLOC.
(calloc): Likewise.
(abs): Declare with __MINGW_ATTRIB_CONST.
(labs): Likewise.
(div): Likewise.
(ldiv): Likewise.
(lldiv): Likewise.
(_rotl): Likewise.
(_rotr): Likewise.
(_lrotl): Likewise.
(_lrotr): Likewise.
* include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
2004-07-21 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h: Undefine __attribute__.
(__MINGW_ATTR_NORETURN): New define.
(__MINGW_ATTR_CONST): New define.
(__MINGW_ATTR_MALLOC): New define.
(__MINGW_ATTR_PURE): New define.
(_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
expansions.
2004-07-19 Danny Smith <dannysmith@users.sourceforge.net>
* include/time.h (__time64_t): Add missing ';'.
2004-07-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/time.h (wcsftime): Move out of !__STRICT_ANSI
block.
(struct tm): Protect with _TM_DEFINED.
2004-07-17 Christopher Faylor <cgf@timesys.com>
* Makefile.in (CC): Strip inappropriate include file settings from any
passed-in CC.
2004-07-15 "dgun" <dgun@umpire.com>
* include/complex.h (conj): Correct typo in prototype.
2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h: Add pragma GCC system_header.
2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/complex/carg.c: New file.
* mingwex/Makefile.in: Really add carg.o to libmingwex.a.
2004-07-15 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (INCLUDES): Temporarily revert previous change.
* mingwex/Makefile,in (INCLUDES): Ditto.
* profile/Makefile,in (INCLUDES): Ditto.
* mingwex/Makefile,in: Drop carg.o dependency.
2004-07-14 Christopher Faylor <cgf@timesys.com>
* mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
2004-07-14 Danny Smith <dannysmith@users.sourceforge.net>
* Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
system dir.
* mingwex/Makefile,in (INCLUDES): Ditto.
* profile/Makefile,in (INCLUDES): Ditto.
* mingwex/Makefile,in: Add carg.o to libmingwex.a.
2004-07-13 Earnie Boyd <earnie@users.sourcefourge.net>
* Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
for C modules.
* mingwex/Makefile.in: Ditto.
* profile/Makefile.in: Ditto.
* include/limits.h: Change to new file header preamble.
* include/_mingw.h: Increment minor version for 3.4 release.
* Makefile.in: Ditto.
2004-07-12 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/cephes_emath.h (__etens): Remove declaration.
2004-07-11 Danny Smith <dannysmith@users.sourceforge.net>
* include/unistd.h (ftruncate): Add inline definition.
* mingwex/ftruncate.c: New file.
* mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
2004-07-10 Danny Smith <dannysmith@users.sourceforge.net>
* include/time.h: Do not include sys/types.h.
2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
(MATH_OBJS): Remove pow,o.
* include/math.h (pow): Declare with _CRTIMP.
Add comment on how to avoid excess precision problems.
2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (__mingw_fseeko64): Add prototype.
* mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
(__mingw_fwrite): Handle huge files.
2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (fopen64): Add inline function.
(fseeko64): Add prototype.
(ftello64): Add inline function.
* include/io.h (lseek64): Add inline function.
* include/sys/types (off64_t): Add typedef.
(fpos64_t): Add typedef.
* mingwex/fopen64.c: New file.
* mingwex/fseeko64.c: New file.
* mingwex/ftello64.c: New file.
* mingwex/lseek64.c: New file.
* mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
fseeko.64.c, ftello64.c, lseek64.c.
(STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
* include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
2004-04-22 Earnie Boyd <earnie@users.sf.net>
* DISCLAIMER: Add words about "free to use".
* README: Modify "Win32 runtime" to "Microsoft C Runtime".
* Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
(inst_docdir): New variable.
(INSTDOCS): Ditto.
(FLAGS_TO_PASS): Include inst_docdir.
(install-dirs): Add inst_docdir.
(install): Add loop for INSTDOCS.
* strncasecmp.c: Reword copyright and disclaimer. Move Contributors
section to CONTRIBUTORS file. Remove RCS tags.
2004-04-22 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/lround.c: Rewrite.
* mingwex/math/lroundf.c: Rewrite.
* mingwex/math/lroundl.c: Rewrite.
* mingwex/math/llround.c: Rewrite.
* mingwex/math/llroundf.c: Rewrite.
* mingwex/math/llroundl.c: Rewrite.
2004-04-20 Earnie Boyd <earnie@users.sf.net>
* CONTRIBUTORS: New file.
* DISCLAIMER: Ditto.
* CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
section to CONTRIBUTORS file. Remove RCS tags.
* CRTFmode.c: Ditto.
* CRTglob.c: Ditto.
* CRTinit.c: Ditto.
* crt1.c: Ditto.
* crtdll.dev: Ditto.
* dllcrt1.c: Ditto.
* dllmain.c: Ditto.
* gccmain.c: Ditto.
* init.c: Ditto.
* isascii.c: Ditto.
* iscsym.c: Ditto.
* iscsymf.c: Ditto.
* jamfile: Ditto.
* main.c: Ditto.
* msvcrt.def.in: Ditto.
* strcasecmp.c: Ditto.
* toascii.c: Ditto.
* wcscmpi.c: Ditto.
* include/assert.h: Ditto.
* include/conio.h: Ditto.
* include/ctype.h: Ditto.
* include/direct.h: Ditto.
* include/dirent.h: Ditto.
* include/dos.h: Ditto.
* include/errno.h: Ditto.
* include/excpt.h: Ditto.
* include/fcntl.h: Ditto.
* include/float.h: Ditto.
* include/io.h: Ditto.
* include/locale.h: Ditto.
* include/malloc.h: Ditto.
* include/math.h: Ditto.
* include/process.h: Ditto.
* include/setjmp.h: Ditto.
* include/share.h: Ditto.
* include/signal.h: Ditto.
* include/stdio.h: Ditto.
* include/stdlib.h: Ditto.
* include/string.h: Ditto.
* include/tchar.h: Ditto.
* include/time.h: Ditto.
* include/wchar.h: Ditto.
* include/sys/locking.h: Ditto.
* include/sys/param.h: Ditto.
* include/sys/stat.h: Ditto.
* include/sys/timeb.h: Ditto.
* include/sys/types.h: Ditto.
* include/sys/utime.h: Ditto.
* mingwex/dirent.c: Ditto.
2004-04-19 Earnie Boyd <earnie@users.sf.net>
* include/_mingw.h: Revert to primary release 3 and increment minor
release to 3.
* Makefile.in (VERSION): Ditto.
2004-04-01 Danny Smith <dannysmith@users.sourceforge.net>
* crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
_fmode if not __MSVCRT__.
2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/io.h: (_findfirst): Correct prototype.
2004-03-30 Hans Leidekker <hans@it.vu.nl>
* include/io.h: (_findnext, _findclose): Correct prototype.
2004-03-28 Hans Leidekker <hans@it.vu.nl>
* include/math.h (FP_*): Add defines.
2004-03-29 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/round.c: Rewrite.
* mingwex/math/roundf.c: Rewrite.
* mingwex/math/roundl.c: Rewrite.
2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.
* include/time.h (__time64_t): Add typedef.
(_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
(_ctime64): Likewise.
(_wctime64): Likewise.
(_gmtime64): Likewise.
(_localtime64): Likewise.
(wcsftime): Move into _WTIME_DEFINED block.
Regroup non-ANSI prototypes.
* include/io.h: Include <stdint.h>.
(__finddata64_t): Add struct definition.
(__wfinddata64_t): Likewise.
(_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
(_findnext64): Likewise.
(_wfindfirst64): Likewise.
(_wfindnext64): Likewise.
* include/sys/timeb.h (__timeb64): Add struct definition.
(_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
* include/sys/utime.h (__utimbuf64): Add struct definition.
(_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
(_futime64): Likewise.
(_wutime64): Likewise.
* include/sys/stat.h (__stat64): Add struct definition.
(_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
(_stat64): Likewise.
(_wstat64): Likwise.
* include/sys/types.h (__time64_t): Add typedef.
* include/wchar.h (__wfinddata64_t): Add structure definition.
(__stat64): Likewise.
(_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
(_wfindfirst64): Likewise.
(_wfindnext64): Likewise.
(_wutime64): Likewise.
(_wstat64): Likwise.
* include/malloc.h (_aligned_free): Add prototype for
__MSVCRT_VERSION__ >= 0x0700.
(_aligned_malloc): Likewise.
(_aligned_offset_malloc): Likewise.
(_aligned_offset_realloc): Likewise.
(_aligned_realloc): Likewise.
* include/string.h (_wcserror): Add prototype for
__MSVCRT_VERSION__ >= 0x0700.
(__wcserror): Likewise.
* include/math.h (_set_SSE2_enable): Add prototype for
__MSVCRT_VERSION__ >= 0x0701.
2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (_fsopen): Add prototype.
* include/tchar.h (_tfsopen): Add defines.
Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
2004-03-19 Danny Smith <dannysmith@users.sourceforge.net>
* msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
msvcr70.dll, and msvcr71.dll.
* Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant
using basename of output def file.
2004-03-13 Danny Smith <dannysmith@users.sourceforge.net>
* include/malloc.h: Remove __STRICT_ANSI__ guard.
2004-03-11 Brian Keener <bkeener@thesoftwaresource.com>
* include/process.h: Remove the #endif associated with removal of
__STRICT_ANSI__ guard from non-ANSI header.
2004-03-10 Danny Smith <dannysmith@users.sourceforge.net>
* include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
* include/direct.h: Ditto.
* include/dirent.h: Ditto.
* include/dos.h: Ditto.
* include/excpt.h: Ditto.
* inlude/fcntl,h
* include/io.h: Ditto.
* inlude/mem.h: Ditto.
* include/memory.h: Ditto.
* include/process.h: Ditto.
* inlude/search.h: Ditto.
* include/share.h: Ditto.
* include/unistd.h: Ditto.
* include/sys/fcntl.h: Ditto.
* include/file.h: Ditto.
* include/sys/locking.h: Ditto.
* include/sys/param.h: Ditto.
* include/sys/stat,h
* include/sys/time.h: Ditto.
* include/sys/timeb.h: Ditto.
* include/sys/types.h: Ditto.
* include/sys/unistd.h: Ditto.
* include/sys/utime.h: Ditto.
2004-02-21 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (__UNUSED_PARAM): Define macro.
* include/wchar.h (fwide): Use it.
(mbsinit): Ditto.
2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
NetBSD getopt_long.c.
2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
codes and handling of special chars.
2004-02-02 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (feof): Add inlined definition.
(ferror): Ditto.
2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
directly, rather than via scabnl.
2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/powl.c (powl): Return infinity if
extended precision multiplication of x by log2(y)
overflows.
2004-01-31 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
(__enan_NI16): Fix another one.
(__enan_NBITS): Tidy.
2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
types. (Thanks to John Maddock for report.)
2004-01-14 Greg Chicares <chicares@users.sourceforge.net>
* include/tchar.h (_puttchar): Define.
2003-12-13 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h:(_fileno): Define macro version after both
fileno and _fileno functions declared.
* include/stdio.h (_rmtmp, rmtmp): Add prototypes.
* moldnames.def.in (rmtmp) Add stub.
2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
* include/signal.h (SIG_SGE, SIG_ACK): Add defines.
2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h: Guard ISO C99 additions with __cplusplus
not __GLIBCPP__.
2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h: Define __attribute__((x)) to nothing
if not __GNUC__.
2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
* include/complex.h: New file.
* mingwex/complex: New directory.
* mingwex/complex/cabs.c: New file.
* mingwex/complex/cacos.c: New file.
* mingwex/complex/cacosh.c: New file.
* mingwex/complex/casin.c: New file.
* mingwex/complex/casinh.c: New file.
* mingwex/complex/catan.c: New file.
* mingwex/complex/catanh.c: New file.
* mingwex/complex/ccos.c: New file.
* mingwex/complex/ccosh.c: New file.
* mingwex/complex/cexp.c: New file.
* mingwex/complex/cimag.c: New file.
* mingwex/complex/clog.c: New file.
* mingwex/complex/cpow.c: New file.
* mingwex/complex/cproj.c: New file.
* mingwex/complex/creal.c: New file.
* mingwex/complex/csin.c: New file.
* mingwex/complex/csinh.c: New file.
* mingwex/complex/csqrt.c: New file.
* mingwex/complex/ctan.c: New file.
* mingwex/complex/ctanh.c: New file.
* mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
files.
(dist): Use it.
(COMPLEX_OBJS): New list of objects.
(LIB_OBJS): Include it in the library.
2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (cabs): Remove non-ISO prototype.
2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
Use GCC __builtin's if available.
(INFINITY, INFINITYF, INFINITYL): Likewise.
2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/s_erf.c (erf): Set errno to ERANGE if
beyond approximation limit.
* mingwex/math/sf_erf.c (erff): Likewise.
2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (getc): Cast result to unsigned char before
return.
(putc): Likewise
(getchar): Likewise.
(putchar): Likewise.
Thanks to M.Fujii <boochang@m4.kcn.ne.jp>
2003-10-10 Earnie Boyd <earnie@users.sf.net>
* include/_mingw.h: Increment version to 3.2.
* Makefile.in: Ditto.
2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
* include/sys/types.h: Revert last change.
2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
* include/sys/types.h (ssize_t): Correct the definition.
2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (_filbuf): Add prototype.
(_flsbuf): Add prototype.
(getc): Add inline version.
(putc): Likewise.
(getchar): Likewise.
(putchar): Likewise.
2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/dirent.c (_treaddir): Reset errno to 0 if end
of directory.
2003-09-29 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdlib.h: Guard non-ISO functions with
!__STRICT_ANSI__, throughout.
2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/io.h (_fileno): Remove prototype.
(fileno): Likewise.
(FILENAME_MAX): Define, if needed.
Don't include <stdio.h>.
* include/stdio.h (FILENAME_MAX): Protect against
prior definition.
(_fileno): Define macro implementation.
(fileno): Likewise.
2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/inttypes.h: Include _mingw.h.
2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (__CRT_INLINE): Define.
* include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
throughout
* include/inttypes.h: Likewise.
* include/math.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/string.h: Likewise.
* include/wchar.h: Likewise.
* include/wctype.h: Likewise.
2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
* mingwex/dirent.c (_topendir): Allocate enough memory for
DIR struct in UNICODE case too.
2003-09-15 Earnie Boyd <earnie@users.sf.net>
* include/_mingw.h: Increment version to 3.2.
* Makefile.in: Ditto.
2003-07-03 Earnie Boyd <earnie@users.sf.net>
* config.guess, config.sub: Update with versions from ftp.gnu.org.
2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
* mingwex/math/truncf.c (truncf): Likewise.
* mingwex/math/truncl.c (truncl): Likewise.
* mingwex/math/modff.c (modff): Likewise.
* mingwex/math/modfl.c (modfl): Likewise.
2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
* include/search.h: New file.
* include/stdlib.h: Add comment about qsort, bsearch in
search.h.
* test_headers.c: Include search.h.
* moldname.def.in (lfind, lsearch): Add.
2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
* include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
_execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
2003-07-01 Earnie Boyd <earnie@users.sf.net>
* include/_mingw.h (small, hyper): Change to __small and __hyper to
avoid user space name conflicts.
2003-07-01 Earnie Boyd <earnie@users.sf.net>
* include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
Note: Also added to w32api/include/basetyps.h.
* mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
Rename to Small (case difference).
2003-06-18 Earnie Boyd <earnie@users.sf.net>
* include/dirent.h (dirent): Make d_name and array instead of a pointer.
* mingwex/dirent.c: Modifications througout to fill d_name array.
* Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
libmsvcr71, including debug versions.
(msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
__pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
Mark as DATA.
Thanks to: Aaron W LaFramboise <AWLaFramboise@aol.com>
2003-05-30 Sascha Sommer <saschasommer@freenet.de>
* include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
2003-05-15 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
but still protect inline definition with __STRICT_ANSI__.
2003-05-14 Danny Smith <dannysmith@users.sourceforge.net>
* string_old.c: Remove, splitting into...
* strcasecmp.c: New file.
* strncasecmp.c: New file.
* wscmpi.c : New file.
* ctype_old.c: Remove, splitting into...
* isascii.c: New file.
* iscsym.c: New file.
* iscsymf.c: New file.
* toascii.c: New file.
* Makefile.in (MOLD_OBJS): Adjust.
(SRCDIST_FILES): Adjust.
2003-05-13 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (fabs) : Remove inline definition.
(fabsf): Likewise.
(fabsl): Likewise.
2003-05-06 Earnie Boyd <earnie@users.sf.net>
* include/_mingw.h: Change version to 3.0
* Makefile.in: Ditto.
2003-05-06 Earnie Boyd <earnie@users.sf.net>
* configure.in (W32API_INCLUDE): Need the -I switch in the value.
* mingwex/configure.in (W32API_INCLUDE): Ditto.
* profile/configure.in (W32API_INCLUDE): Ditto.
2003-05-06 Earnie Boyd <earnie@users.sf.net>
* configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
of multiply defined symbols if the symbols is defined locally. E.G.:
A local definition of malloc causes this problem.
* configure: Regenerate.
* profile/Makefile.in (W32API_INCLUDE): New variable.
(ALL_CFLAGS): Use W32API_INCLUDE value.
(ALL_CXXFLAGS): Ditto.
(gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
Thanks to Jeff Bonggren <jbon@users.sf.net>.
* profile/configure.in (W32API_INCLUDE): Set default value.
* profile/configure: Regenerate.
* mingwex/Makefile.in (W32API_INCLUDE): New variable.
(ALL_CFLAGS): Use W32API-INCLUDE value.
(ALL_CXXFLAGS): Ditto.
* mingwex/configure.in (W32API_INCLUDE): Set default value.
* mingwex/configure: Regenerate.
2003-05-05 Earnie Boyd <earnie@users.sf.net>
* Makefile.in (W32API_INCLUDE): New variable.
(ALL_CFLAGS): Use W32API_INCLUDE value.
(ALL_CXXFLAGS): Ditto.
* configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
(W32API_INCLUDE): Set default value.
* configure: Regenerate.
2003-04-11 Earnie Boyd <earnie@users.sf.net>
* configure.in (LIBM_A): Define for cygwin target.
* configure (LIBM_A): Ditto.
2003-04-07 Danny Smith <dannysmith@users.sourceforge.net>
* include/time.h (strftime): Remove duplicate declaration.
2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
* mingwex/strtoimax.c (strtoimax): Likewise.
* mingwex/wcstoimax.c (wcstoimax): Likewise.
* mingwex/wtoll.c (wtoll): Remove unnecessary ';'
* mingwex/fesentenv.c: Include float.h.
* mingwex/math/powl.c: Eliminate type punning/strict aliasing
warning.
* mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
constants.
* mingwex/math/tgammal.c: Likewise.
2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/utime.h: New file, forwarding to sys/utime.h.
2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/sys/param.h (MAXPATHLEN): Define.
2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/tchar.h: Ansi-fy a comment.
2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
* profile/profile.h (mcount): Use __builtin_return_address
rather than inline __asm statements.
* profile/Makefile.in: Remove special rule for mcount.o
Specify dependencies for mcount.o profil.o gmon.o.
2003-03-10 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdlib.h (qsort): Remove const from first parm.
Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
2003-03-03 Christopher Faylor <cgf@redhat.com>
* mingwex/getopt.c: Refresh from NetBSD sources.
2003-03-03 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/getopt.c: New file, copied from cygwin srcs.
* include/getopt.h: New file, copied from cygwin srcs.
* include/unistd.h: Include getopt.h.
* mingwex/Makefile.in (DISTFILES): Add getopt.c.
(POSIX_OBJS): Add getopt.o.
2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (vscanf): Add prototype.
(vfscanf): Ditto.
(vsscanf): Ditto.
(vwscanf): Ditto.
(vfwscanf): Ditto.
(vswscanf): Ditto.
* include/wchar.h (vwscanf): Add prototype.
(vfwscanf): Ditto.
(vswscanf): Ditto.
* mingwex/snprintf.c: Move to mingwex/stdio.
* mingwex/vsnprintf.c: Ditto.
* mingwex/snwprintf.c: Ditto.
* mingwex/vsnwprintf.c: Ditto.
* mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
(STDIO_DISTFILES): Add.
(DISTFILES): Adjust.
(STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
(LIB_OBJS): Adjust.
(dist): Adjust.
2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com>
* mingwex/stdio: New directory
* mingwex/stdio/vfscanf.c: New file.
* mingwex/stdio/vfwscanf.c: New file.
* mingwex/stdio/vscanf.c: New file.
* mingwex/stdio/vsscanf.c: New file.
* mingwex/stdio/vswscanf.c: New file.
* mingwex/stdio/vwscanf.c: New file.
2003-02-25 Earnie Boyd <earnie@users.sf.net>
* Makefile.in (libmsvcrt20.a): Remove target and dependencies.
(libmsvcrt40.a): Ditto.
2003-02-21 Earnie Boyd <earnie@users.sf.net>
Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
this patch.
* Makefile.in (libmsvcrtd.a): Add target library.
(libmoldnamed.a): Ditto.
(msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
template to create.
($(srcdir)): Remove explicit reference for depencies of object targets.
* moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
msvcrt20.def, msvcrt40.def: Remove.
* msvcrt.def.in: New file (Copy of previous msvcrt.def).
2003-02-20 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in: Make sure libmingwex.a from current build tree is used.
2003-02-14 Christopher Faylor <cgf@redhat.com>
* profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
ensure -mno-cygwin where appropriate. Filter out -O2.
2003-02-13 Danny Smith <dannysmith@users.sourceforge.net>
* profile/Makefile.in (mcount.o): Use -O1 optimization
switch to compile.
2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h: Remove _CRTIMP from pow() prototype,
unless __NO_ISOCEXT.
2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/cephes_emath.h: Don't redefine INFINITY.
2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (_CRTIMP): Define for __GNUC__ if
__declspec(dllimport) supported.
(__cdecl): Define if not already defined.
(__stdcall): Likewise.
* include/dirent.h: Qualify fuctions with __cdecl.
* include/fenv.h: Likewise.
* include/inttypes.h: Likewise.
* include/assert.h: Qualify fuctions with __cdecl. Qualify
CRT dll imports with _CRTIMP.
* include/conio.h: Likewise.
* include/ctype.h: Likewise.
* include/direct.h: Likewise.
* include/dos.h: Likewise.
* include/errno.h: Likewise.
* include/float.h: Likewise.
* include/io.h: Likewise.
* include/locale.h: Likewise.
* include/malloc.h: Likewise.
* include/math.h: Likewise.
* include/mbctype.h: Likewise.
* include/mbstring.h: Likewise.
* include/process.h: Likewise.
* include/setjmp.h: Likewise.
* include/signal.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/string.h: Likewise.
* include/time.h: Likewise.
* include/wchar.h: Likewise.
* include/wctype.h: Likewise.
* include/sys/stat.h: Likewise.
* include/sys/timeb.h: Likewise.
* include/sys/utime.h: Likewise.
* include/ctype.h: Guard ctype inlines with __NO_INLINE__.
* include/wctype.h: Guard wctype inlines with __NO_INLINE__.
* include/stdio.h (__VALIST): Guard against prior definition.
2003-02-08 Earnie Boyd <earnie@users.sf.net>
* include/_mingw.h: Change version to 3.0
* Makefile.in: Ditto.
2003-02-08 Earnie Boyd <earnie@users.sf.net>
* include/stdlib.h: Make words after #endif a comment.
2003-02-07 Danny Smith <dannysmith@users.sourceforge.net>
* include/locale.h: Include stddef.h for definition of NULL.
2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (tgamma): Correct typo in comment.
2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/mingw-fseek.c (INLINE): Remove define.
(__mingw_is_win9x): Remove static inline function.
(_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/llround.c: Correct function name and
change return value to long long.
2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
* include/ctype.h (__isascii): Don't cast arg to unsigned.
(iswascii): Likewise. Correct mask.
* include/wctype.h (iswascii): Don't cast arg to unsigned.
Correct mask
2003-01-03 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdlib.h (_osver, _winver, _winmajor,
_winminor): Declare as direct imports from dll if
__DECLSPEC_SUPPORTED.
2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
* pseudo-reloc.c (do_pseudo_reloc): Make static.
* pseudo-reloc-list.c: New file.
* crt1.c (_pei386_runtime_relocator): Declare.
(__mingw_CRTStartup): Call it.
* dllcrt1.c (_pei386_runtime_relocator): Declare.
(DllMainCRTStartup): Call it.
* Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to
libmingw32.a.
2003-01-01 Egor Duda <deo@logos-m.ru>
* pseudo-reloc.c: New file.
2002-12-20 Earnie Boyd <earnie@users.sf.net>
* include/_mingw.h: Increment version to 2.4.
Makefile.in: Ditto.
2002-12-12 Earnie Boyd <earnie@users.sf.net>
* include/malloc.h (_alloca): Add definition.
(alloca): Ditto.
2002-12-08 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/s_erf.c: New file.
* mingwex/math/sf_erf.c: New file.
* mingwex/Makefile.in (MATH_DISTFILES): Add new files.
(MATH_OBJS): Add new objects.
* include/math.h (erf[f]): Add prototypes.
(erfc[f]): Add prototypes.
2002-12-07 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h: Add traditional/XOPEN math constants.
2002-11-27 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/lgamma.c: New file.
* mingwex/math/lgammaf.c: New file.
* mingwex/math/lgammal.c: New file.
* mingwex/math/tgamma.c: New file.
* mingwex/math/tgammaf.c: New file.
* mingwex/math/tgammal.c: New file.
* mingwex/math/cephes_mconf (polevlf): Add float version.
(p1evlf): Likewise.
Define _CEPHES_USE_ERRNO.
* mingwex/Makefile.in (MATH_DISTFILES): Add new files.
(MATH_OBJS): Add new objects.
* include/math.h (lgamma[fl]): Add prototypes.
(tgamma[fl]): Add prototypes.
2002-11-26 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/strtold.c: New file.
* mingwex/wcstold.c: New file.
* mingwex/ldtoa.c: New file.
* mingwex/math/cephes_emath.h: New file.
* mingwex/math/cephes_emath.c: New file.
* mingwex/Makefile.in (DISTFILES): Add new files.
(MATH_DISTFILES): Ditto.
(STDLIB_OBJS): New. Define as strtold.c wcstold.c.
(MATH_OBJS): Add cephes_emath.o.
(LIB_OBJS): Add $(STDLIB_OBJS).
* include/stdlib.h (strtold, wcstold): Add prototypes.
* include/wchar.h (wcstold): Add prototype.
2002-11-09 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (sqrt): Remove inline definition.
(sqrtf): Replace inline definition with prototype.
(sqrtl): Likewise.
* mingwex/math/sqrtf.c (sqrtf): Set domain error if
argument less than zero.
* mingwex/math/sqrtf.c (sqrtl): Likewise.
2002-10-30 Guido Serassio <serassio@libero.it>
* include/stdio.h (_getmaxstdio): Add prototype.
(_setmaxstdio): Likewise.
2002-10-19 Kang Li <rubylith@users.sourceforge.net>
* include/fcntl.h (O_SEQUENTIAL): Correct typo.
2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
* crt1.c: Define new macro __IN_MINGW_RUNTIME before including
stdlib.h.
Define WIN32_MEAN_AND_LEAN before including windows.h
* include/stdlib.h (_fmode): Protect declaration as dllimported
variable with __IN_MINGW_RUNTIME.
2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu>
* crt1.c: Include stdlib.h.
2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
* Makefile.in (CRT0S): Add txtmode.o binmode.o.
(MINGW_OBJS): Add txtmode.o.
(SRCDIST_FILES): Add txtmode.c binmode.c.
crt1.c: Don't include fcntrl.h, stdlib.h.
(_fmode): Declare, without dllimport attribute.
(__p__fmode): Declare access function for dll's _fmode.
(_mingw32_init_fmode): Sync dll _fmode with staticly linked
_fmode for app.
* txtmode.c: New file.
* binmode.c: New file.
* samples/fmode/test2.c: New file.
* samples/fmode/jamfile: Add test2.exe target.
2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
macros work with C89.
(INTMAX_C, UINTMAX_C): Likewise.
2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
* include/string.h (strcasecmp): Make extern __inline__.
(strncasecmp): Likewise.
(wcscmpi): Likewise.
2002-10-08 Heiko Gerdau <hg@technosis.de>
* include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
_tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
mappings.
2002-10-07 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/powil.c: Rename powil to __powil.
* mingwex/math/powl.c: Adjust declaration and call
to __powil. Remove comment on powil.
* mingwex/math/powi.c: New file.
* mingwex/math/powif.c: New file.
* mingwex/math/pow.c: New file.
* mingwex/math/cephes_mconf.h. Add double and float
versions of constants.
(polevl): Add double precision function.
(p1evl): Likewise.
* mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
powi.c, powif.c.
(MATH_OBJS): Add pow.o, powi.o, powif.o.
2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
* include/cytpe.h (_imp____mbcur_max): Add missing ';'.
(_imp____mbcur_max_dll): Likewise.
2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
* include/fcntl.h (_fmode): Remove declarations and
compatibility defines.
(_setmode, setmode): Remove prototypes.
* include/stdlib (_fmode): Add declarations and
compatibility defines. Change type to int.
* include/io.h (_setmode, setmode): Add prototypes.
* samples/fmode/all.c: Adjust includes.
* samples/fmode/test.c: Likewise.
* crt1.c (_CRT_fmode): Declare as int.
* CRTfmode.c (_CRT_fmode): Likewise.
* include/stdlib: Remove comment about MB_CUR_MAX.
2002-10-02 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdlib.h (_imp____mbcur_max): Add missing ';'.
(_imp____mbcur_max_dll): Likewise.
2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/files.txt: Remove inadvertantly added file.
2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
* include/string.h (_strerror): Move into #ifndef
__STRICT_ANSI__ block.
2002-09-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/time.h (__need_NULL): Define before including
stddef.h. Thanks to: Rüdiger Dehmel <de@lmnet.de>.
2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
* include/stdio.h: Correct comment about directory separator.
2002-09-12 Danny Smith <dannysmith@users.sourceforge.net>
* include/sys/time.h (timeval): Add struct definition and
associated macros (copied from w32api/include/winsock.h).
2002-09-05 Earnie Boyd <earnie@users.sf.net>
* include/_mingw.h: Increment version to 2.3.
Makefile.in: Ditto.
2002-09-05 Earnie Boyd <earnie@users.sf.net>
* mingwex/fegetenv.c: Change to \n line endings.
* mingwex/vsnprintf.c: Ditto.
* mingwex/vsnwprintf.c: Ditto.
2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/hypotl.c: Replace with version based on cephes
library.
2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
* include/sys/param.h: Add ENDIAN defines.
* test_headers.c: Include sys/param.h.
2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
* test_headers.c: Don't include varargs.h.
* Makefile.in (test_headers): Don't use -std=xx
with -xc++.
2002-08-21 Earnie Boyd <earnie@users.sf.net>
* include/sys/param.h: New File.
2002-08-21 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (asm): Change to __asm__ throughout.
Expose ISO C99 functions if __GLIPCPP__.
(hypotf): Use hypot, not _hypot in stub.
2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
* include/tchar.h: Ansi-fy another comment.
2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
* include/tchar.h: Ansi-fy comment.
2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
* test_headers.c : New file.
* Makefile.in (test_headers): New target, using it,
(SRCDIST_FILES): Distribute it.
2002-08-20 Earnie Boyd <earnie@users.sf.net>
* include/_mingw.h: Increment version to 2.2.
Makefile.in: Ditto.
2002-08-14 Earnie Boyd <earnie@users.sf.net>
* include/unistd.h: Add include of process.h.
2002-08-03 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (_fcloseall): Add prototype.
2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
* include/tchar.h (_tfdopen): Correct typo.
2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
* moldname.def.in (chgsign,scalb,finite,fpclass,logb,
nextafter): Add non-underscored stubs.
* moldname-msvcrt.def: Regenerate.
* moldname-crtdll.def: Regenerate.
* mingwex/math: New directory.
* mingwex/rint.c: Move to mingwex/math.
* mingwex/rintf.c: Ditto.
* mingwex/rintl.c: Ditto.
* mingwex/round.c: Ditto.
* mingwex/roundf.c: Ditto.
* mingwex/roundl.c: Ditto.
* mingwex/rint.c: Ditto.
* mingwex/rintf.c: Ditto.
* mingwex/rintl.c: Ditto.
* mingwex/trunc.c: Ditto.
* mingwex/truncf.c: Ditto.
* mingwex/truncl.c: Ditto.
* mingwex/signbit.c: Ditto.
* mingwex/signbitf.c: Ditto.
* mingwex/signbitl.c: Ditto.
* mingwex/copysignl.S: Ditto.
* mingwex/fdim.c: Ditto.
* mingwex/fdimf.c: Ditto.
* mingwex/fdiml.c: Ditto.
* mingwex/fmin.c: Ditto.
* mingwex/fminf.c: Ditto.
* mingwex/fminl.c: Ditto.
* mingwex/fmax.c: Ditto.
* mingwex/fmaxf.c: Ditto.
* mingwex/fmaxl.c: Ditto.
* mingwex/fma.c: Ditto.
* mingwex/fmaf.c: Ditto.
* mingwex/fmal.c: Ditto.
* mingwex/fpclassify.c: Ditto.
* mingwex/fpclassifyl.c: Ditto.
* mingwex/fpclassifyl.c: Ditto.
* mingwex/isnan.c: Ditto.
* mingwex/isnanf.c: Ditto.
* mingwex/isnanl.c: Ditto.
* mingwex/fucom.c: Ditto.
* mingwex/fp_consts.c: Ditto. Split out float and long double
definitions.
* mingwex/math_stubs.c: Remove.
* mingwex/log2.c: Remove. Replaced by math/log2.S
* mingwex/log2f.c: Remove. Replaced by math/log2f.S
* mingwex/log2l.c: Remove. Replaced by math/log2l.S
* mingwex/math/acosf.c : New file.
* mingwex/math/acosl.c: New file.
* mingwex/math/asinf.c: New file.
* mingwex/math/asinl.c: New file.
* mingwex/math/atan2f.c: New file.
* mingwex/math/atan2l.c: New file.
* mingwex/math/atanf.c: New file.
* mingwex/math/atanl.c: New file.
* mingwex/math/cbrt.c: New file.
* mingwex/math/cbrtf.c: New file.
* mingwex/math/cbrtl.c: New file.
* mingwex/math/ceilf.S: New file.
* mingwex/math/ceill.S: New file.
* mingwex/math/cephes_ld.h: New file.
* mingwex/math/copysign.S: New file.
* mingwex/math/copysignf.S: New file.
* mingwex/math/cosf.S: New file.
* mingwex/math/coshf.c: New file.
* mingwex/math/coshl.c: New file.
* mingwex/math/cosl.S: New file.
* mingwex/math/exp2.S: New file.
* mingwex/math/exp2f.S: New file.
* mingwex/math/exp2l.S: New file.
* mingwex/math/expf.c: New file.
* mingwex/math/expl.c: New file.
* mingwex/math/fabs.c: New file.
* mingwex/math/fabsf.c: New file.
* mingwex/math/fabsl.c: New file.
* mingwex/math/floorf.S: New file.
* mingwex/math/floorl.S: New file.
* mingwex/math/fmodf.c: New file.
* mingwex/math/fmodl.c: New file.
* mingwex/math/fp_consts.h: Ditto.
* mingwex/math/fp_constsf.c: Ditto.
* mingwex/math/fp_constsl.c: Ditto.
* mingwex/math/frexpf.c: New file.
* mingwex/math/frexpl.S: New file.
* mingwex/math/hypotf.c: New file.
* mingwex/math/hypotl.c: New file.
* mingwex/math/ilogb.S: New file.
* mingwex/math/ilogbf.S: New file.
* mingwex/math/ilogbl.S: New file.
* mingwex/math/ldexpf.c: New file.
* mingwex/math/ldexpl.c: New file.
* mingwex/math/llrint.c: New file.
* mingwex/math/llrintf.c: New file.
* mingwex/math/llrintl.c: New file.
* mingwex/math/llround.c: New file.
* mingwex/math/llroundf.c: New file.
* mingwex/math/llroundl.c: New file.
* mingwex/math/log10f.S: New file.
* mingwex/math/log10l.S: New file.
* mingwex/math/log1p.S: New file.
* mingwex/math/log1pf.S: New file.
* mingwex/math/log1pl.S: New file.
* mingwex/math/log2.S: New file.
* mingwex/math/log2f.S: New file.
* mingwex/math/log2l.S: New file.
* mingwex/math/logb.c: New file.
* mingwex/math/logbf.c: New file.
* mingwex/math/logbl.c: New file.
* mingwex/math/logf.S: New file.
* mingwex/math/logl.S: New file.
* mingwex/math/lrint.c: New file.
* mingwex/math/lrintf.c: New file.
* mingwex/math/lrintl.c: New file.
* mingwex/math/lround.c: New file.
* mingwex/math/lroundf.c: New file.
* mingwex/math/lroundl.c: New file.
* mingwex/math/modff.c: New file.
* mingwex/math/modfl.c: New file.
* mingwex/math/nearbyint.S: New file.
* mingwex/math/nearbyintf.S: New file.
* mingwex/math/nearbyintl.S: New file.
* mingwex/math/nextafterf.c: New file.
* mingwex/math/powf.c: New file.
* mingwex/math/powl.c: New file.
* mingwex/math/powil.c: New file.
* mingwex/math/remainder.S: New file.
* mingwex/math/remainderf.S: New file.
* mingwex/math/remainderl.S: New file.
* mingwex/math/remquo.S: New file.
* mingwex/math/remquof.S: New file.
* mingwex/math/remquol.S: New file.
* mingwex/math/scalbn.S: New file.
* mingwex/math/scalbnf.S: New file.
* mingwex/math/scalbnl.S: New file.
* mingwex/math/sinf.S: New file.
* mingwex/math/sinhf.c: New file.
* mingwex/math/sinhl.c: New file.
* mingwex/math/sinl.S: New file.
* mingwex/math/sqrt.c: New file.
* mingwex/math/sqrtf.c: New file.
* mingwex/math/sqrtl.c: New file.
* mingwex/math/tanf.S: New file.
* mingwex/math/tanhf.c: New file.
* mingwex/math/tanhl.c: New file.
* mingwex/math/tanl.S: New file.
* mingwex/Makefile.in: Adjust VPATH for source files in
mingwex/math.
Adjust MATH_OBJS.
Add MATH_DISTFILES and use it to build source distro.
* include/ math.h: Add protypes for new functions and
reorganise to reflect ANSI,C99 status.
2002-06-19 Danny Smith <dannysmith@users.sourceforge.net>
* include/tchar.h (_getts): Define as _getws for _UNICODE.
(_putts): Define as _putws for _UNICODE.
Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report.
2002-06-18 Danny Smith <dannysmith@users.sourceforge.net>
* include/float.h: #include_next<float.h> before header guard.
2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
defining.
* include/excpt.h (): Include windef.h not windows.h.
* include/fcntl.h (_O_SHORT_LIVED): Add define.
(_chmod): Add prototype.
(_creat): Correct prototype.
(SH_DENY*): Rename defines to _SH_DENY*.
(SH_DENY*): Add Non-ANSI names for _SH_DENY*.
include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
_IOAPPEND): Add defines.
(_wfindfirst): Correct prototype.
(_wfdopen): Add prototype.
* include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
prototypes.
* include/string.h (_mbschr, _mbstok, _mbsncat): Remove
prototypes.
(_wcsdup): Correct prototype.
* include/mbstring.h: Remove comments about _mbschr, _mbstok,
_mbsncat being in string.h.
* include/wchar.h (_wfindfirst): Correct prototype.
* include/tchar.h (_tfdopen): Add _UNICODE mappings.
2002-06-15 Earnie Boyd <earnie@users.sf.net>
* include/_mingw.h: Increment to version 2.1.
* Makefile.in: Ditto.
2002-06-15 Earnie Boyd <earnie@users.sf.net>
* Makefile.in (conf_prefix): New variable.
(dist_prefix): Ditto. Conditionally set to $(conf_prefix).
(bindist): Use dist_prefix.
2002-06-13 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h: Increment version to 2.0.
* Makefile.in: Ditto.
Merge in mingwex branch.
2002-06-11 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (fdim, fdimf, fdiml): Add prototypes.
* mingwex/fdim.c: New file.
* mingwex/fdimf.c: New file.
* mingwex/fdiml.c: New file.
* mingwex/Makefile.in (DISTFILES): Add fdim.c, fdimf.c,
fdiml.c.
(MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
2002-05-23 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c.
2002-05-22 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/isnanl.c: New file.
2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdint.h: Include stddef.h to get
wchar_t and wint_t.
(WINT_MAX): Define to ((wint_t)-1).
2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
* include/wctype.h: Replace 'inline' with '__inline__'.
* include/inttypes.h: Likewise.
2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/_mingw.h (__MINGW_IMPORT): Put extern at start
to avoid warnings. Thanks to: Oscar Fuentes <ofv@wanadoo.es>.
2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/snprintf.c: Split out vsnprintf to....
* mingwex/vsnprintf.c: New file.
* mingwex/snwprintf.c: Split out vsnwprintf to...
* mingwex/vsnwprintf.c: New file.
* mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
2002-05-15 Pascal Obry <obry@gnat.com>
* include/dirent.h (DIR): Change dd_stat type to int.
(_WDIR): Likewise.
2002-05-07 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (vsnprintf): Change inline to __inline__;
(vsnwprintf): Likewise.
* include/wchar.h (vsnwprintf): Likewise.
(wcstof): Likewise.
(fwide): Likewise.
(mbsinit): Likewise.
2002-04-29 Danny Smith <dannysmith@users.sourceforge.net>
Change FP default precison from 53 to 64-bit mantissa.
* Makefile.in (CRT0S): Add CRT_fp8.o.
(MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o.
* include/float.h: Replace standard float.h defines with
#include_next<float.h> to use GCC's defines. Adjust comments
to reflect change.
2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/dos.h: Change prefix "__imp_" to "_imp__" for
__GNUC__ without __DECLSPEC_SUPPORTED.
* include/fnctl.h: Likewise.
* include/math.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/time.h: Likewise.
* include/wctype.h: Likewise.
* include/ctype.h: Likewise.
2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
Add atexit support for dlls.
* crt1.c (atexit): Force thunk to _imp__atexit.
(_onexit): Force thunk to _imp___onexit.
* dllcrt1.c (DllMainCRTStartup): Initialise private atexit
table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
(__dll_exit): New function to run atexit-registered functions
and flush output buffers on DLL_PROCESS_DETACH or failed
DLL_PROCESS_ATTACH.
(atexit): Force use of private atexit table via _dllonexit,
(_onexit): New function. Force use of private atexit table via
_dllonexit,
* msvcrt.def (atexit, _onexit): Add DATA keyword so that only
_imp_<_symbol> is visible in import lib.
* msvcrt20.def: Likewise.
* msvcrt40.def: Likewise.
* crtdll.def: Likewise.
2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/fenv.h: Change header guard macro to _FENV_H_.
(fenv_t, fexcept_t): Move into block protected by
#ifndef RC_INVOKED.
Cleanup some whitespace.
* include/inttypes.h: Change header guard macro to
_INTTYPES_H_.
2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (copysignl): Declare.
* mingwex/Makefile.in (DISTFILES): Add copysignl.S.
(MATHOBJS):Add copysignl.o.
2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (__signbitl, __isnanl): Declare.
2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (nanl, __fpcassifyl, fminl, fmaxl, rintl,
roundl, truncl, fmal, log2l): Declare.
Protect C99 declarations with _STDC_VERSION__ >= 199901L)
|| !defined __STRICT_ANSI__.
* mingwex/fmax.c (fmax): Call __isnan, not _isnan.
* mingwex/fmin.c (fmin): Likewise.
* mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan.
* mingwex/fminf.c (fminf): Likewise.
* mingwex/fmaxl.c: New file.
* mingwex/fminl.c: New file.
* mingwex/fpclassify.c (__fpclassifyf): Split out to ...
* mingwex/fpclassifyf.c: New file.
* mingwex/fpclassifyl.c: New file.
* mingwex/rint.c (rintf): Split out to...
* mingwex/rintf.c: New file.
* mingwex/rintl.c: New file.
* mingwex/round.c (roundf): Split out to...
* mingwex/roundf.c: New file.
* mingwex/roundl.c: New file.
* mingwex/trunc.c (truncf): Split out to...
* mingwex/truncf.c: New file.
* mingwex/truncl.c: New file.
* mingwex/signbit.c (signbitf): Split out to...
* mingwex/signbitf.c: New file.
* mingwex/signbitl.c: New file.
* mingwex/fmal.c: New file.
* mingwex/copysignl.S: New file.
* mingwex/log2l.c: New file.
* mingwex/fp_consts.c: Add nanl definition.
Comment out unused constants.
* mingwex/Makefile.in (DISTFILES): Add fmaxl.c, fminl.c,
fpclassifyf.c, fpclassifyl.c, rintf.c, rintl.c, roundf.c,
roundl.c, truncf.c truncl.c, signbitf.c signbitl.c,
fmal.c, log2l.c
(MATHOBJS): Add fmaxl.o, fminl.o, fpclassifyf.o,
fpclassifyl.o, rintf.o, rintl.o, roundf.o, roundl.o,
truncf.o truncl.o, signbitf.o signbitl.o, fmal.o,
log2l.o.
* mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo.
2002-04-23 Danny Smith <dannysmith@users.sourceforge.net>
Make wide char versions of opendir and friends.
* include/dirent.h (_wdirent, _WDIR): Define wide versions of
struct dirent, DIR.
(_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
_wseekdir): Add prototypes for wide versions of corresponding
standard functions.
* include/tchar.h; Add _UNICODE mappings for dirent.h
structures and functions.
* mingwex/dirent.c: Make _UNICODE neutral.
* mingwex/wdirent.c: New file to define _UNICODE before
including dirent.c.
* mingwex/Makefile.in (DISTFILES): Add wdirent.c.
(POSIX_OBJS): Add wdirent.o.
(wdirent.o): Specify dependency on dirent.c as well as
wdirent.c.
* samples/dirent/wtest.c: New file, wide version of test.c.
2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
* Makefile.in (INCLUDES): Add "-iwithprefixbefore include" to
ensure gcc include dir is searched despite -nostdinc.
* profile/Makefile.in (INCLUDES): Likewise.
* mingwex/Makefile.in (INCLUDES): Likewise.
* include/stdarg.h: Replace with stub that just guards the
real gcc system header with #ifndef RC_INVOKED
* include/varargs.h: Likewise.
* include/stddef.h: Likewise.
* include/stdio.h: Include stdarg.h after defining
__need___va_list.
(__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
Replace va_list with __VALIST throughout.
2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
* crt1.c: Revert changes of 2002-04-16. Use _fpreset again.
* msvcrt.def (_fpreset): Mark as DATA so that only
_imp___fpreset is exported.
* msvcrt20.def (_fpreset): Likewise.
* msvcrt40.def (_fpreset): Likewise.
* crtdll.def (_fpreset): Likewise.
* CRT_fp10.c (_fpreset): Overide library _fpreset with one
that calls fninit.
(fpreset): Add alias.
(__CRT_PC): Delete definition. _fpreset does it now.
* CRT_fp8.c (_fpreset): Force use of library _imp___fpreset.
(fpreset): Add alias.
(__CRT_PC): Delete definition.
* moldname.def.in: Comment out fpreset.
* moldname-msvcrt.def: Regenerate.
* moldname-crtdll.def: Regenerate.
* include/fenv.h (FE_DFL_ENV): Define as (fenv_t*)0.
* mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment
with the _fpreset determined by startup CRT_fp object.
2002-04-16 Danny Smith <dannysmith@users.sourceforge.net>
* CRT_fp8.c: New file.
* CRT_fp10.c: New file.
* crt1.c (__CRT_PC) Declare.
(__CRT_fesetenv): New static function, using _CRT_PC.
(__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset.
(_gnu_exception_handler): Likewise.
* Makefile.in (CRT0S): Add CRT_fp10.o.
(MINGW_OBJS): Add CRT_fp8.o.
(SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c.
Add CRT_fp8.o, CRT_fp10.o dependancies.
* include/float.h (_fpreset): Expand comment.
* include/fenv.h (FE_PC64_ENV): New define for Intel x87
(extended precison) environmemt.
(FE_PC53_ENV): New define for MSVCRT default environmemt.
(FE_DFL_ENV): Define as FE_PC53_ENV.
* mingwex/fesetenv.c: Use FE_PC53_ENV, FE_PC64_ENV to determine
precision control for default environment.
* include/math.h: Fix long comment line.
* profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
for mingw.
* profile/configure: Regenerate.
2002-04-12 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c.
2002-04-10 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/mingw-fseek.c: New file, based on Mumit Khan
mingw-local patch to binutils.
Sun Nov 7 04:27:07 1999 Mumit Khan <khan@xraylith.wisc.edu>
(__mingw_fseek): New function to work around Win9x f/lseek bug.
(__mingw_fwrite): Likewise.
(__mingw_is_win9x): New helper function.
* include/stdio.h (__USE_MINGW_FSEEK): New define,guarding...
(__mingw_fseek): New prototype and define to replace fseek.
(__mingw_fwrite): New prototype and define to replace fwrite.
* mingwex/Makefile.in: Add mingw-fseek.o to libmingwex.a.
* moldname-crtdll.def: Remove CR from end of line.
* moldname-msvcrt.def: Ditto.
2002-04-09 Danny Smith <dannysmith@users.sourceforge.net>
* profile/configure.in (CRT0S): Configure name of gcrt?.o
based on target, building gcrt0.o for cygwin -mno-cygwin.
* profile/configure: Regenerate.
* profile/Makefile.in (CRT0S): Use name from configure.
(gcrt0.o): New rule.
(ALL_CRT0S): New define, used to cleanup all gcrt?.o's.
2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (_controlfp, _control87, _clearfp, _statusfp, _fpreset,
_fpecode): Remove prototypes copied from float.h.
(nan, nanf): Move into block protected against RC_INVOKED
and __cplusplus.
* include/stdlib.h (_Exit): Change from static inline to
extern inline.
* mingwex/_Exit.c : New file.
* mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
Add libgmon.a and libmingwex.a for cygwin -mno-cygwin.
* configure.in (SUBDIRS): Add profile and mingwex to cygwin target.
(configdirs): Likewise.
(LIBGMON_A): Define for cygwin target as well.
* configure: Regenerate.
* profile/configure.in (THREAD_DLL): Remove define.
(LIBM_A): Remove define.
(LIBGMON_A): Define for cygwin target as well.
* profile/configure: Regenerate.
* profile/makefile.in (install): Install to inst_libdir and
inst_includedir.
* mingwex/makefile.in (CFLAGS): Move -fomit-frame-pointer to...
(OPTFLAGS): New define.
(ALL_CFLAGS): Add $(OPTFLAGS).
(ALL_CXXFLAGS): Same.
(.c.o:): Remove ALL_CXXFLAGS.
2002-03-29 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdint.h: Add missing newline at eof.
* include/stdio.h (snprintf): Add prototype.
(vsnprintf): Add prototype and inline definition.
(snwprintf): Add prototype.
(vsnwprintf): Add prototype and inline definition.
* include/wchar.h (snwprintf): Add prototype.
(vsnwprintf): Add prototype and inline definition.
* mingwex/Makefile.in: Add snprintf.o, snwprintf.o
to libmingwex.a.
* mingwex/snprintf.c: New file.
* mingwex/snwprintf.c: New file.
2002-03-22 Danny Smith <dannysmith@users.sourceforge.net>
* configure.in: Add mingwex as SUBDIRS and configdirs.
* configure: Regenerate.
* Makefile.in (MINGW_OBJS): Remove dirent.o.
(SRC_DIST_FILES): Remove dirent.c.
* dirent.c: Remove.
* include/stdlib.h (_Exit): Add static inline
function.
(struct lldiv_t): Define.
(lldiv): Add prototype.
(llabs): Add extern inline function.
(strtoll,strtoull): Add prototypes.
(wcstol, wcstoul, wcstod): Group together.
(strtof, wcstof): Add extern inline definitions.
(atoll,lltoa,ulltoa, wtoll, lltow ulltow): Add prototypes
and extern inline definitions.
* include/wchar.h (fwide, wcstoll,wcstoull, wmemchr
wmemcmp, wmemcpy, wmemmove, wmemset. mbsinit): Add
prototypes.
(wcstol, wcstoul,wcstod): Copy prototypes from stdlib.h.
(wcstof): Add extern inline definition.
* include/math.h (nan, nanf): Add prototypes.
(NAN, INFINITE): Define constants.
(fpclassify, isnan ,signbit): Add macros and supporting float
and double functions.
(isfinite, isinf, isnormal): Add macros.
(isgreater, isless, isgreaterequal, islessequal,islessgreater):
Add macros.
(rint, rintf, round, roundf, trunc. truncf, fmax, fmaxf,
fmin, fminf, fma, fmaf, log2, log2f): Add prototypes.
(copysign, logb, nextafter, scalb): Add prototypes and
inline stubs for underscored versions in msvcrt.dll.
* include/inttypes.h: New file.
* include/fenv.h: New file
Add new mingwex subdir and files.
* mingwex: New directory.
* mingwex/Makefile.in: New file.
* mingwex/configure.in: New file.
* mingwex/configure: Generate.
* mingwex/dirent.c: Moved here from parent dir.
* mingwex/atoll.c: New file.
* mingwex/feclearexcept.c: New file.
* mingwex/fegetenv.c: New file.
* mingwex/fegetexceptflag.c: New file.
* mingwex/fegetround.c: New file.
* mingwex/feholdexcept.c: New file.
* mingwex/feraiseexcept.c: New file.
* mingwex/fesetenv.c: New file.
* mingwex/fesetexceptflag.c: New file.
* mingwex/fesetround.o: New file.
* mingwex/fetestexcept.c: New file.
* mingwex/feupdateenv.c: New file.
* mingwex/fma.S: New file.
* mingwex/fmaf.S: New file.
* mingwex/fmax.c: New file.
* mingwex/fmaxf.c: New file.
* mingwex/fmin.c: New file.
* mingwex/fminf.c: New file.
* mingwex/fp_consts.c: New file.
* mingwex/fpclassify.c: New file.
* mingwex/fucom.c: New file.
* mingwex/fwide.c: New file.
* mingwex/imaxabs.c: New file.
* mingwex/imaxdiv.c: New file.
* mingwex/isnan.c: New file.
* mingwex/isnanf.c: New file.
* mingwex/lltoa.c: New file.
* mingwex/lltow.c: New file.
* mingwex/log2.c: New file.
* mingwex/log2f.c: New file.
* mingwex/math_stubs.c: New file.
* mingwex/mbsinit.c: New file.
* mingwex/rint.c: New file.
* mingwex/round.c: New file.
* mingwex/signbit.c: New file.
* mingwex/sitest.c: New file.
* mingwex/strtof.c: New file.
* mingwex/strtoimax.c: New file.
* mingwex/strtoumax.c: New file.
* mingwex/testwmem.c: New file.
* mingwex/trunc.c: New file.
* mingwex/ulltoa.c: New file.
* mingwex/ulltow.c: New file.
* mingwex/wcstof.c: New file.
* mingwex/wcstoimax.c: New file.
* mingwex/wcstoumax.c: New file.
* mingwex/wmemchr.c: New file.
* mingwex/wmemcmp.c: New file.
* mingwex/wmemcpy.c: New file.
* mingwex/wmemmove.c: New file.
* mingwex/wmemset.c: New file.
* mingwex/wtoll.c: New file.
2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
* include/mbstring.h: New file.
* include/mbctype.h: New file.
2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
* include/tchar.h (__TEXT): Make same as define in
w32api/include/winnt.h.
2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
* include/tchar.h (_tputenv): Add UNICODE mappings.
(_tsearchenv): Likewise.
(_tmakepath): Likewise.
(_tsplitpath): Likewise.
(_tfullpath): Likewise.
2002-04-18 Pascal Obry <obry@gnat.com>
* dirent.c (opendir): Convert given pathname to
absolute pathname.
2002-04-09 Earnie Boyd <earnie@users.sf.net>
* include/_mingw.h: Increment version.
* Makefile.in: Ditto.
2002-04-09 Earnie Boyd <earnie@users.sf.net>
* moldname-crtdll.def: Remove CR from end of line.
* moldname-msvcrt.def: Ditto.
* Makefile.in: Use bzip2 compression for Cygwin target.
2002-04-04 Danny Smith <dannysmith@sourceforge.users.net>
* include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
TLOSS, PLOSS): Move oldname defines back, following
the underscored names.
2002-03-29 Danny Smith <dannysmith@sourceforge.users.net>
* include/stdio.h (_snwprintf): Correct spelling.
(_vsnwprintf): Likewise.
* include/wchar.h (_snwprintf): Correct spelling.
(_vsnwprintf): Likewise.
2002-03-26 Danny Smith <dannysmith@users.sourceforge.net>
* moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__).
(wpopen): Add if !(__CRTDLL__).
* Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
preserve comments.
(moldname-crtdll.def rule): Likewise.
* moldname-msvcrt.def: Regenerate.
* moldname-crtdll.def: Regenerate.
* include/stdio.h (wpopen):Use prototype, not a define.
(_swnprintf): Add prototype.
(_vswnprintf): Likewise.
Tidy up whitespace.
* include/wchar.h (_swnprintf): Add prototype.
(_vswnprintf): Likewise.
Tidy up whitespace.
2002-01-28 Danny Smith <dannysmith@users.sourceforge.net>
* include/malloc.h (_heapinfo): Correct structure definition.
(_USEDENTRY,_FREEENTRY): Add defines.
Add comment on platform support for _heap* functions.
(_get_sbh_threshold): Add prototype.
(_set_sbh_threshold): Likewise.
(_expand): Likewise.
2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
* profile/profil.c: Update copyright info.
* profile/profil.h: Likewise.
* profile/gcrt0.c: Likewise.
2002-01-25 Pascal Obry <obry@gnat.com>
* profile/profil.h (PROFADDR): Cast idx to unsigned long long to
avoid overflow.
* profile/gmon.c: Define bzero as memset if mingw32.
(monstartup): Use it.
2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
* include/tchar.h (_TCHAR): Add missing ;.
2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
* include/tchar.h (_TCHAR): Add typedefs.
2002-01-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdlib.h (_onexit_t): Add typedef.
(_onexit): Add prototype.
2002-01-12 Danny Smith <dannysmith@users.sourceforge.net>
* msvcrt.def: Revert accidental change.
* include/stdlib.h: Ditto.
2001-12-07 Earnie Boyd <earnie@users.sf.net>
* Makefile.in: Increment VERSION.
* include/_mingw.h: Ditto.
2001-12-05 Earnie Boyd <earnie@users.sf.net>
* include/strings.h: New File.
2001-12-02 Danny Smith <dannysmith@users.sourceforge.net>
Apply patches from:
2001-06-21 Mumit Khan <khan@nanotech.wisc.edu>
* include/math.h (_FPCLASS* ): Add defines from float.h.
(IEEE recommended functions): Add declarations from float.h.
* include/float.h (_FPCLASS* ): Protect against redefinition.
2001-11-29 Wu Yongwei <adah@netstd.com>
* include/_mingw.h,assert.h,conio.h,ctype.h,dir.h,direct.h
dirent.h,dos.h,errno.h,excpt.h,fcntl.h,float.h,io.h,
limits.h,locale.h,malloc.h,math.h,process.h,setjmp.h,
share.h,signal.h,stdarg.h,stddef.h,stdint.h,stdio.h,
stdlib.h,string.h,tchar.h,time.h,varargs.h,wchar.h,
wctype.h,sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h:
Correct spelling of "disclaimed" in comments.
* include/excpt.h: Another spelling correction.
2001-11-08 Robert Collins <rbtcollins@hotmail.com>
* include/errno.h: Fix "errno is not a prototype" warning.
2001-11-07 Danny Smith <dannysmith@users.sourceforge.net>
* include/ctype.h (tolower, toupper,_tolower,_toupper): Comment
differences between ANSI and non-ANSI versions.
(_ctype[],_pctype): Declare vars.
(__ISCTYPE): New helper macro using _pctype.
(is* ctype functions): Use __ISCTYPE to define inline versions.
(_toupper, _tolower, __isascii, __toascii, __iscsym, __iscsymf):
Inline definitions.
(isw* ctype functions): Inline definitions.
* include/wctype.h (_ctype[],_pctype): Declare vars.
(isw* ctype functions): Inline definitions.
2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
* include/float.h (_clearfp, _statusfp, _fpreset, fpreset,
__fpecode): Use __STDC__ prototypes.
2001-11-06 Thomas Pfaff <tpfaff@gmx.net>
* mthr_stub.c (__mingwthr_remove_key_dtor) New.
* mthr_init.c (DllMain) Run dtors if a process terminates.
* mthr.c (__mingwthr_add_key_dtor) Removed.
(___mingwthr_add_key_dtor) New.
(___mingwthr_remove_key_dtor) New.
(__mingwthr_run_key_dtors) Complete rewrite.
(__mingwthr_remove_key_dtor) New.
2001-11-05 Egor Duda <deo@logos-m.ru>
* Makefile.in: Delete unused executable after creating base-files.
2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
* include/errno.h (_errno): Use __STDC__ prototype.
Thanks to: Jim Barton.
2001-11-04 "stefan" <stefan@lkcc.org>
* include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names.
2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/io.h (_commit): Add declaration.
Thanks to: "stefan" <stefan@lkcc.org>
2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/sys/stat.h: Make S_IS* macros safer.
2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdlib.h (EXIT_FAILURE): Change value to 1.
2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdlib.h (__p__environ, __p__wenviron): Use
__STDC__ prototypes.
2001-09-19 Earnie Boyd <earnie@SF.net>
* Makefile.in: Remove the /usr from the install target.
(VERSION): Increment.
include/_mingw.h: Ditto.
2001-09-17 Earnie Boyd <earnie@SF.net>
* Makefile.in: Increment version.
* include/_mingw.h: Ditto.
2001-09-10 Earnie Boyd <earnie@SF.net>
* dossh: Remove inadvertantly imported file.
2001-09-10 Danny Smith <dannysmith@users.sourceforge.net>
* dirent.c (opendir): Use GetFileAttributes rather than stat
to determine if input arg is dir.
2001-08-29 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdarg.h (va_list): Typedef as __builtin_va_list if
__GNUC__ >= 3.
* include/varargs.h (va_list): Ditto.
* include/stdio.h (va_list): Ditto.
2001-08-01 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
* include/stdio.h (_IORW): Change constant to 0x0080.
(TMP_MAX): Add new define.
(_P_tmpdir): Ditto.
(_wP_tmpdir): Ditto.
(L_tmpnam): Change constant to 16.
2001-06-28 Danny Smith <dannysmith@users.sourceforge.net>
* include/malloc.h: Fix non-ANSI comment after #endif.
2001-06-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
* profile/configure.in: Make msvcrt.dll version default.
* profile/makefile.in: Build both gcrt1.o and gcrt2.o.
* provile/configure: Regenerate.
2001-06-11 Mattia Barbon <mbarbon@dsi.unive.it>
* include/stdio.h (swscanf): Make first arugument const.
* include/wchar.h (swscanf): Ditto.
* include/tchar.h (_tfopen): New _UNICODE define.
(_tgetenv): Ditto.
(_tsetlocale): Ditto.
2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
* profile/Makefile.in (mkinstalldirs): Correct relative path.
2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
* include/_mingw.h: Change version to 1.0.
Makefile.in: Ditto.
2000-02-21 Earnie Boyd <earnie@users.sourceforge.net>
* include/tchar.h: (__TEXT): Remove undef.
(_TEXT): Ditto.
(_T): Ditto.
Fri Feb 2 10:34:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
* include/tchar.h: (__TEXT): Add private macro.
(_TEXT): Modify definition to use __TEXT.
(_T): Ditto.
This change allows the passing of a MACRO as an argument and have that
MACRO resolved first.
Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
Wed Jan 31 17:12:51 2001 Earnie Boyd <earnie@users.sourceforge.net>
* Makefile.in: Increment version to 0.5
* include/_mingw.h: Increment minor version
Tue Jan 30 13:01:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
* include/assert.h: (assert): Remove ; from end of definition
Thanks to: AJ Reins <tbisp@qwest.net>
Tue Jan 30 07:31:22 2001 Earnie Boyd <earnie@users.sourceforge.net>
* include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
Mon Jan 29 14:03:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
* time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
Sun Jan 28 13:01:08 2001 Earnie Boyd <earnie@users.sourceforge.net>
* include/wchar.h: The 2001.01.18 Change was incorrect. The functions
are actually C functions. These functions are resolved via the
-lmsvcp60 library and comments were placed in the header.
2001-01-28 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
* include/stdlib.h (__p__pgmptr): add prototype.
(__p__wpgmptr): likewise.
(_pgmptr_dll): move declaration from dos.h.
(_wpgmptr_dll): likewise.
(_pgmptr): conditional define (MSVCT/CRTDLL).
(_wpgmptr): likewise.
* include/dos.h (_base*_dll variables): declare only for CRTDLL.
(_os*_dll variables): likewise.
(_pgmptr_dll): remove declaration and associated defines to stdlib.h.
(_wpgmptr_dll): likewise.
2001-01-22 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
* include/stdint.h: New file.
Thu Jan 18 10:33:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
* include/wchar.h: Protect prototypes only declared in the C++ STL
from being declared unless __cplusplus is defined.
Tue Jan 16 11:37:31 2001 Earnie Boyd <earnie@users.sourceforge.net>
* include/stdlib.h: Apply Danny Smith patch 102730
2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
(_wgetenv) Correction to return type.
Tue Jan 16 09:41:41 2001 Earnie Boyd <earnie@users.sourceforge.net>
* include/locale.h: Apply Danny Smith patch 101834
2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
(LC_MIN) Add definition.
(LC_MAX) ditto.
(_wsetlocale) Add prototype.
2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
* Makefile.in: eliminate the need for RUNTIME and CRT_ID.
Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
Create a libcoldname.a for the oldname library for CRTDLL.
Restrict libmoldname.a for the oldname library for MSVCRT.
* configure.in: eliminate setting RUNTIME and CRT_ID variables.
Restructure the $target_os case logic.
Always name the MinGW thread dll helper mingwm.
Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
* configure: regenerate.
2000-11-22 Earnie Boyd <earnie_boyd@yahoo.com>
* Makefile.in: Fix bindist target to distribute the correct files.
Remove the use of SNAPSHOT variable and test SNAPDATE instead.
Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
2000-11-21 Earnie Boyd <earnie_boyd@yahoo.com>
* Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
Add variables and targets to control binary and source distributions.
Add variables and targets to control snapshot distribution.
* profile/gmon.h: Add missing #endif for #ifndef.
* profile/ChangeLog: Merge entries here and remove.
* profile/Makefile.in: Add variables and targets to control
distribution.
* README: Add.
* TODO: ditto.
* config.guess: ditto.
* config.sub: ditto.
* mkinstalldirs: ditto.
* install-sh: ditto.
* configure: regenerate.
* profile/configure: ditto.
2000-11-20 Earnie Boyd <earnie_boyd@yahoo.com>
* Merge in changes from
2000-10-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
* include/direct.h: add guard around MSVCRT-only prototytpes
* include/io.h: add __int64 struct definitions and function prototypes;
add guard for MSVCRT-only prototypes
* include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
* include/stdio.h: add wchar function prototypes (__MSVCRT__);
put wchar functions together to make sync with wchar.h easier
* include/stdlib.h: add wide char functions (__MSVCRT__)
* include/string.h: add string collation functions ( __MSVCRT__)
* include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
* include/tchar.h: add macros and macro function definitions
* include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
enclose more functions in __MSVCRT__ guard;
some oldname wide char function prototypes #if (0)'d
* profile/gmon.h: add guard around BSD-ish typedefs
Mon Nov 20 18:58:12 2000 Christopher Faylor <cgf@cygnus.com>
* Makefile.in: Use a different variable name for subdirectory since the
previous one was used by the top level make.
Sun Nov 19 20:50:51 2000 Christopher Faylor <cgf@cygnus.com>
* Makefile.in: Install mingw stuff in a subdirectory if building under
cygwin.
Sat Jun 17 21:48:23 2000 Christopher Faylor <cgf@cygnus.com>
* Makefile.in (subdirs): Eliminate for loop.
Sat Jun 17 18:27:59 2000 Christopher Faylor <cgf@cygnus.com>
* Makefile.in (subdirs): Previous change did not fix problem in
broken shells.
Sat Jun 17 13:49:12 2000 Christopher Faylor <cgf@cygnus.com>
* Makefile.in: Avoid installing dll if we're cross building and the
cross-host system isn't a Windows system.
* configure.in: Detect cross-hosting situation and set appropriate
variables in Makefile.in.
* configure: Regenerate.
Wed Apr 19 13:10:54 2000 Christopher Faylor <cgf@cygnus.com>
* configure.in: Change HEADER_SUBDIR to mingw32.
* configure: Regenerate.
Mon Apr 10 17:24:28 2000 Christopher Faylor <cgf@cygnus.com>
* include/string.h: Use proper prototype for _strerror.
2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
* Makefile.in (subdirs): Workaround for broken shells.
2000-02-03 Mumit Khan <khan@xraylith.wisc.edu>
* Snapshot 2000-02-03.
* include/{assert.h, conio.h, ctype.h, direct.h, dirent.h, fcntl.h,
float.h, io.h, locale.h, malloc.h, math.h, process.h, signal.h,
stdio.h, stdlib.h, string.h, time.h, wctype.h, sys/stat.h,
sys/timeb.h, sys/utime.h}: Remove parameter names to avoid namespace
pollution.
* Makefile.in (all): Build CRT0S first.
(libmingwthrd.a): Remove thread support DLL from dependency.
2000-01-21 Mumit Khan <khan@xraylith.wisc.edu>
* Snapshot 2000-01-21.
2000-01-20 Mumit Khan <khan@xraylith.wisc.edu>
Merge in changes from Cygwin:
* configure.in (HEADER_SUBDIRS): New variable. Substitute.
(SUBDIRS): Likewise.
* Makefile.in (HEADER_SUBDIRS): New variable.
(install): Use to install Mingw headers to a subdirectory if building
under Cygwin.
(DLL_CC_STUFF): Add DLL entry point.
* configure: Regenerate.
2000-01-19 Mumit Khan <khan@xraylith.wisc.edu>
* include/stdio.h (fsetpos): Fix prototype.
(fpos_t): Fix for MSVCRT.
* include/float.h (fpreset): Add prototype.
* include/limits.h: Define UINT_MAX, USHRT_MAX and ULONG_MAX with
constant values.
* include/time.h: Don't define tzname as a macro for CRTDLL, and
export using libmoldname.a.
* crtdll.def: Add DATA tags.
* msvcrt.def: Likewise.
* moldname.def.in: Likewise. Add fpreset. Export tzname for
both MSVCRT and CRTDLL.
* moldname-crtdll.def: Regenerate.
* moldname-msvcrt.def: Regenerate.
Tue Dec 21 02:22:14 1999 Mumit Khan <khan@xraylith.wisc.edu>
* Snapshot 1999-12-21.
* include/wctype.h: New file.
* include/ctype.h (MB_CUR_MAX): Define.
(wctype_t): Guard.
* include/stdlib.h (MB_CUR_MAX): Define.
* include/wchar.h: Define stat, _stat structures here as well.
* include/float.h: Add invalid subconditions (_SW) and floating
point error (_FPE) macros.
* include/time.h (_CLOCK_T): Rename macro to _CLOCK_T_DEFINED.
(_TIME_T): Rename macro to _TIME_T_DEFINED.
* include/sys/types.h: Likewise.
Thu Nov 18 00:22:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
* profile/profil.c (profile_on): Set the profiler thread priority to
be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
* Snapshot 1999-11-18.
Sun Nov 7 02:50:09 1999 Mumit Khan <khan@xraylith.wisc.edu>
Released 1999-11-07.
* Makefile.in (CRT0S): Add crtst.o.
(install): Install in subdirs as well.
* dirent.h (struct _stat): Rename from struct stat.
* include/tchar.h: Add some new macros. Thanks to
Eric Kohl <ekohl@abo.rhein-zeitung.de>.
* profile/Makefile.in (install): Fix target.
Thu Nov 4 14:32:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
* Makefile.in: Add support for profile directory.
* configure.in: Likewise.
* configure: Regenerate.
* profile: Imported profiling sources from winsup-19991026 snapshot.
* profile/Makefile.in: New file.
* profile/configure.in: New file.
* profile/configure: Generate.
* profile/gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
* profile/gmon.h (u_char, u_short, u_int, u_long): Likewise.
* profile/gmon.c (unistd.h): Include conditionally.
(sys/param.h): Likewise.
* profile/mcount.c (sys/param.h): Likewise.
* profile/profil.c (profile_on): thread id is DWORD, not int.
Wed Nov 3 16:26:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
* include/stdlib.h: Add wide character version of argv/environ.
Formatting changes.
* include/wchar.h: More wide character prototypes.
* include/sys/stat.h: Likewise. Add struct stat as well as _stat.
* dllcrt1.c (init.c): Don't include.
(DllMainCRTStartup): Don't call _mingw32_init_mainargs().
* Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists.
Sat Oct 30 03:06:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
* moldname.def: Remove file.
* moldname.def.in: And add this.
* moldname-msvcrt.def: Generate from moldname.def.in.
* moldname-crtdll.def: Likewise.
* mthr.c: New file for -mthread (thread-safe C++ EH) support.
* mthr_init.c: New file for -mthread (thread-safe C++ EH) support.
* mthr_stub.c: New file for -mthread (thread-safe C++ EH) support.
* Makefile.in: Update.
* configure.in: Likewise. Also add *cygwin* target for building
under Cygwin winsup.
* configure: Regenerate.
Fri Oct 1 11:10:30 1999 Mumit Khan <khan@xraylith.wisc.edu>
* include/_mingw.h: Add version macros.
* include/direct.h (_diskfree_t, getdiskfree, getdrives): Add.
Also add wide character versions shared with wchar.h.
* include/dos.h (_diskfree_t, getdiskfree, getdrives): Add.
* include/io.h (sopen, _sopen): Fix prototype.
Add wide character prototypes.
* include/wchar.h: Likewise.
* include/stdlib.h (beep, seterrormode, sleep): Remove non-
underscored versions. Potential incompatibility.
* include/time.h (daylight, timezone, tzname): Fix MSVCRT cases.
Add wide character prototypes.
* include/sys/timeb.h (struct _timeb): Don't use macro, but real
definition.
Wed Aug 18 18:38:39 1999 Mumit Khan <khan@xraylith.wisc.edu>
* configure.in (RUNTIME, CRT_ID): Add to differentiate between
crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
macros.
* configure: Rengerate.
* Makefile.in (RUNTIME, CRT_ID): Use to generate the correct
dll name and crt's. CRTDLL and MSVCRT are meant to created
separately, so remove all the *-msvcrt* targets.
(libmingwthr.a): New target. Dummy thread support archive.
(LIBS): Add libmingwthr.a.
(CRT0S): Use CRT_ID. Add crtmt.o.
(MINGW_OBJS): Add crtst.o.
* main.c (WinMain): Fix prototype.
* crtmt.c: New file.
* crtst.c: New file.
* include/process.h (_beginthreadex): Fix prototype.
* include/_mingw.h (__int64): Define for __GNUC__.
* include/tchar.h (_ttol): Add macro.
* include/stdlib.h (_wtoi, _wtol, _i64toa, _ui64toa, _atoi64,
_i64tow, _ui64tow, _wtoi64): Add prototypes.
Reported by Emanuele Aliberti <ea@iol.it>:
* include/tchar.h (_ttoi): Add macro.
Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
* include/stdio.h (_snprintf): Add prototype.
(_vsnprintf): Likewise.
Sat Aug 7 18:00:00 1999 Mumit Khan <khan@xraylith.wisc.edu>
Reported by Tor Lillqvist <tml@iki.fi>:
* include/stdlib.h (__p___argv): Fix return type.
Fri Jul 30 22:07:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
Add UWIN support.
* include/errno.h (errno): It's linked in from startup, not imported.
* include/stdlib.h (errno): Likewise.
* include/io.h: Guard against conflicting macros and prototypes in
system headers.
* include/stdlib.h: Likewise.
* include/string.h: Likewise.
* include/time.h: Likewise.
Fri Jul 30 13:47:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
* include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans.
* include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT.
* Makefile.in (INCLUDES): Remove old windows32 include directory.
* crt1.c (_gnu_exception_handler): Fix prototype.
(__mingw_CRTStartup): New function based on mainCRTStartup.
(mainCRTStartup): Set the app type for MSVCRT and call
__mingw_CRTStartup.
(WinMainCRTStartup): Likewise.
* init.c (_startupinfo): Define.
(_getmainargs): Add 5th parameter.
(_mingw32_init_mainargs): Use.
* ALL *.c files: Reformat according to GNU coding style.
Fri Jul 16 00:46:04 1999 Mumit Khan <khan@xraylith.wisc.edu>
* Makefile.in (INCLUDES): Add w32api include directory.
* include/_mingw.h: New file.
* include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h,
errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h,
math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h,
stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h,
sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and
use the macros __DECLSPEC_SUPPORTED and __MINGW_IMPORT.
* include/stdlib.h (atexit): Fix prototype.
Mon Jun 14 18:38:49 1999 Mumit Khan <khan@xraylith.wisc.edu>
* include/stdio.h (_tempnam): Fix prototype.
(tempnam): Likewise.
* include/stdlib.h: Replace with GCC's version, and guard
with RC_INVOKED.
From Anders Norlander <anorland@hem2.passagen.se>:
* include/stdlib.h (__argc): Declare.
(__argv): Likewise.
Mon Apr 5 13:49:17 1999 Mumit Khan <khan@xraylith.wisc.edu>
* crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
contribution.
* Makefile.in (_libm_dummy.o): New target.
(libm.a): Use.
Tue Mar 16 18:15:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
* Released 1999-03-16 along with egcs-1.1.2.
Wed Feb 17 17:15:56 1999 Mumit Khan <khan@xraylith.wisc.edu>
* Makefile.in (LIBS): Add libm.a.
(libm.a): Dummy libm.a.
* Makefile.in: Update from winsup 1999-02-08 snapshot.
Preserve local changes.
(mkinstalldirs): In ../, not ../../.
(INCLUDES): Point to local windows32api headers and use -nostdinc.
(LIBGCC): Delete.
(LIBS): Add libmoldname-msvc.a.
(libmoldname-msvc.a): Add target.
(distclean): Add target.
Tue Feb 9 00:26:05 1999 Mumit Khan <khan@xraylith.wisc.edu>
* include/dir.h: Reintroduce as an obsolescent header.
* crt1.c (signal.h): Include.
(_gnu_exception_handler): New function to properly handle win32
asynchronous signals.
(mainCRTStartup): Use.
Sun Jan 3 23:52:25 1999 Mumit Khan <khan@xraylith.wisc.edu>
* include/direct.h: Include io.h instead of dir.h
* include/dirent.h: Likewise.
* include/dos.h: Likewise.
* include/stdio.h: Replace reference to dir.h with io.h.
Thu Dec 31 16:04:55 1998 Mumit Khan <khan@xraylith.wisc.edu>
* 1999-01-01 release bundled with egcs-1.1.1.
* include/io.h: Incorporate dir.h.
* include/dir.h: Remove.
* include/signal.h: Move RC_INVOKED up a bit.
Tue Dec 29 15:04:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
* include/signal.h (sig_atomic_t): Define.
(NSIG): Define.
* include/malloc.h: Import defs from deprecated alloc.h.
* include/alloc.h: Remove.
From "Daniel J. Rodriksson" <djr@dit.upm.es>:
* include/sys/types.h (_dev_t): Should be unsigned int for MSVCRT.
* include/sys/stat.h (struct stat): st_uid is of type short. Use
_off_t instead of long for st_size.
Thu Sep 10 22:28:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
* include/errno.h (sys_errlist, sys_nerr): Move from here ...
* include/stdlib.h: Here.
* include/netdb.h: Remove.
* include/arpa/inet.h: Remove.
* include/netinet/in.h: Remove.
* include/sys/socket.h: Remove.
Fri Sep 4 15:09:11 1998 Mumit Khan <khan@xraylith.wisc.edu>
* Release egcs-1.1.
* include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h,
sys/utime.h}: Protect stddef.h in RC_INVOKED macro.
Thu Sep 3 10:43:29 1998 Mumit Khan <khan@xraylith.wisc.edu>
* setjmp.h (_JBTYPE, _JBLEN): Define correctly.
(jmpbuf): typedef using above.
(setjmp, longjmp): Prototype using jmpbuf.
Merge with Colin Peters' 980701 snapshot. I've ignored changes to
obsolescent imported names, ie., from __imp__ to _imp___.
Also ignored empty include/sys/param.h and incorrect
include/sys/times.h.
* CRTinit.c: New file.
* include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef
instead of #if.
* include/io.h (umask): Fix prototype.
* include/stdlib.h (OS constants): Replace with Colin's.
* include/time.h (tzset, daylight, timezone): Replace with Colin's.
* include/sys/state.h: Merge.
Thu Sep 3 09:49:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
* include/assert.h (assert): Lose the trailing semicolon.
Thu Jul 30 21:18:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
* include/math.h (matherr): Declare.
* include/stdio.h (fileno, _fileno): Declare.
* include/stdlib.h (environ, _environ): Fix to use runtime DLL.
From Earnie Boyd:
* include/stdio.h (fdopen, _fdopen): Add const.
(getw, putw): Declare.
* include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix.
Sat Jun 13 18:19:41 1998 Mumit Khan <khan@xraylith.wisc.edu>
* include/time.h (_timezone): Undefine.
* include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
* include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
__cdecl for MSVCRT.
* include/stdlib.h (environ): Use DLL version.
* init.c (environ): Undefine it before use.
Sun Mar 22 19:59:30 1998 Mumit Khan <khan@xraylith.wisc.edu>
* Update to 980309 snapshot from Colin Peters.
* include/utime.h: remove
* include/stdlib.h (__imp__osver_dll, __imp__winver_dll,
__imp__winmajor_dll, __imp__winminor_dll): Apply Jan-Jaap's
patches to define these.
* include/time.h (CLK_TCK): Renamed from CLK_TICK.
(_daylight, _timezone, _tzname, _tzset): Define.
* include/netdb.h: Add from Colin's windows32api changes.
* include/sys/socket.h: Likewise.
* include/arpa/inet.h: Likewise.
* include/netinet/in.h: Likewise.
Wed Feb 4 14:16:44 1998 Mumit Khan <khan@xraylith.wisc.edu>
* Update to 980128 snapshot from Colin Peters.
Sat Dec 6 21:30:35 1997 Mumit Khan <khan@xraylith.wisc.edu>
* configure.in (AC_INIT): Use dllmain.c instead of defunct
oldnames.c
* configure: Regenerate.
Fri Dec 5 15:57:36 1997 Mumit Khan <khan@xraylith.wisc.edu>
* Update to 971205 snapshot from Colin Peters. Lots of changes.
Files renamed and include hierarchy loses directories named
nonansi.
* include/dos.h: from Jan-Jaap.
Thu Dec 4 21:48:13 1997 Mumit Khan <khan@xraylith.wisc.edu>
Changes to conform to FSF tree.
* crt1.c: Renamed from mcrt0.c.
* dllcrt1.c: Renamed from dllcrt0.c.
* Makefile.in: Update above. Also renamed libmoldnames.a to
libmoldname.a.
Mon Dec 1 16:51:30 1997 Mumit Khan <khan@xraylith.wisc.edu>
* crtdll.def: Export all functions but the ones with funny names.
* moldnames.def: Add fdopen since fileno is already there.
* include/nonansi/dos.h: New file from Jan-Jaap.
* include/errno.h: Add extern decl + various additions from JJ.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/nonansi/io.h: Likewise.
* include/nonansi/process.h: Likewise.
* include/sys/types.h: Likewise.
Tue Nov 4 14:51:01 1997 Mumit Khan <khan@xraylith.wisc.edu>
* include/time.h (CLK_TCK): Renamed from CLK_TICK.
(CLK_TICK): Delete.
* include/stdlib.h (free): Fix prototype to return void, not void*.
* include/nonansi/process.h: Add P_* and WAIT_* defs.
* dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
* mcrt0.c: Likewise.
* Makefile.in (LIBS): Delete moldnames.dll from target libs.
(libmoldnames.a): Add explicit rule to create it.
Fri Aug 15 18:23:43 1997 Rob Savoye <rob@cygnus.com>
New directory for the minimalist cygwin environment.
* crtglob.c: New file. Turn on file globbing support.
* crt_noglob.c: New file. Turn off file globbing support.
* ctype_old.c: New file. Wrappers for functions that don't
have an underscore.
* dirent.c: New file. Directory routines readdir, opendir, closedir.
* dllcrt0.c: New file. Initialization code to use crtdll.dll.
* dllmain.c: New file. A stub DllMain function.
* hugeval.c: New file. A gross hack to define HUGE_VAL.
* init.c: New file. Common code to initialize standard file
handles and command line arguments.
* main.c: New file. A main for programs that only call WinMain.
* mcrt0.c: New file. Default crt0 for mingw32.
* oldnames.c: New File. Wrappers for functions that don't
have an underscore.
* string_old.c: New File.
* include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h
math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h
string.h,tchar.h,time.h,wchar.h}: New header files for mingw.
* include/sys/types.h: New header file for mingw.
* include/nonansi/{alloc.h,conio.h,dir.h,direct.h,dirent.h
fcntl.h,io.h,malloc.h,mem.h,memory.h,process.h,share.h,unistd.h
utime.h,values.h,varargs.h}: New header files for mingw.
* include/nonansi/sys/{fcntl.h,locking.h,stat.h,time.h
timeb.h,unistd.h}: New header files for mingw.
* Makefile.in,configure.in: Build and configure support.
* configure: Generated from autoconf 2.12 with Cygnus patches.
|