1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
|
2001-01-08 Ulrich Drepper <drepper@redhat.com>
* elf/rtld.c (process_envvars): Place output files for profiling
in SUID binaries in /var/profile.
* elf/dl-load.c (_dl_map_object): Don't look in cache for
preloading in SUID binaries.
* elf/dl-profile.c (_dl_start_profile): Open the output file with
O_NOFOLLOW if possible.
* sysdeps/generic/segfault.c (install_handler): Check output file
name with access().
2000-09-10 David S. Miller <davem@redhat.com>
* sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
frame pointer offset for non-fast path.
2000-08-31 Ulrich Drepper <drepper@redhat.com>
* time/getdate.c (__getdate_r): Add extra access test.
2000-08-27 Ulrich Drepper <drepper@redhat.com>
* intl/dcgettext.c (DCGETTEXT): Remove _nl_find_language in code
to determine invalid locale name.
* locale/findlocale.c (_nl_find_locale): Likewise.
2000-05-03 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
real unsetenv implementation from 1999-07-29 [PR libc/1714].
2000-08-21 Ulrich Drepper <drepper@redhat.com>
* catgets/catgets.c (catopen): Filter out env_var values with / if
necessary.
* locale/findlocale.c (_nl_find_locale): Move test for unusable
locale name after all getenvs.
2000-07-29 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
acount that elf/rtld's main program might remove some varibales
from the environment if we're trying to be secure. Move the Hurd
startup data if necessary, or, if we there is no startup data,
make sure the magical convention that ARGV[0] is stored just after
the environment list.
2000-06-01 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/elf/setjmp.S: Work around change is recent
binutils. gas now emits a jump through the PLT instead of a
relative jump if the jump target is an exported symbol.
2000-05-26 Andreas Jaeger <aj@suse.de>
* sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
Closes PR libc/1573, reported by Bradley White
<bww@laurelnetworks.com>.
2000-05-12 Andreas Jaeger <aj@suse.de>
* inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
Reported by tmoestl@gmx.net, closes PR libc/1732.
2000-05-08 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
getpagesize syscall if available.
2000-05-08 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
set errno.
2000-05-06 Ulrich Drepper <drepper@redhat.com>
* po/ko.po: Update from translation team.
2000-04-26 Jakub Jelinek <jakub@redhat.com>
* Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
* Makerules (full_config_sysdirs): Likewise.
* MakeTAGS (full_config_sysdirs): Likewise.
2000-05-03 Ulrich Drepper <drepper@redhat.com>
* libio/stdio.h: Make fseeko and ftello prototypes available is
__USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
* po/gl.po: Update from translation team.
2000-04-18 H.J. Lu <hjl@gnu.org>
* posix/globtest.sh: Properly apply the patch by Ulrich Drepper
<drepper@redhat.com> on 2000-04-13.
2000-04-18 Ulrich Drepper <drepper@redhat.com>
* po/cs.po: Update from translation team.
2000-04-13 Ulrich Drepper <drepper@redhat.com>
* posix/globtest.sh: Work around inconsistency with expanding ~/
in shell (PR libc/1690). Reported by patsmith@pobox.com.
2000-04-12 Ulrich Drepper <drepper@redhat.com>
* libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
mode is invalid.
* libio/oldiopopen.c (_IO_old_proc_open): Likewise.
Patch by Bart Veer <bartv@redhat.com>.
2000-04-06 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
kernel does not allow relative seeks on descriptors associated
with directories. Go back to get the position in the directory
every time we enter the function. Return -1 and set errno if one
entry could be read from the kernel but does not fit into the
buffer passed in by the user.
1999-10-29 Ulrich Drepper <drepper@cygnus.com>
* stdlib/strtod.c: Handle hexadecimal numbers with leading digit
!= 1 correctly and more than one digit before decimal point.
2000-03-16 Mark Kettenis <kettenis@gnu.org>
* sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
2000-04-04 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to
enum values and macros for register names.
2000-03-31 Andreas Schwab <schwab@suse.de>
* string/strfry.c: Declare STATE as array of char instead of int
and do not initialize it (done by initstate_r). Pass correct
size.
2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
* malloc/malloc.c: Declare bit flags UL so that they will not
default to int size when being inverted.
2000-03-30 Ulrich Drepper <drepper@redhat.com>
* posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
(PR libc/1677).
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
an initial value of 1024 instead of RLIM_INFINITY.
2000-03-24 Scott Bambrough <scottb@netwinder.org>
* sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
_FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
and _FPU_IEEE. Change _FPU_RESERVED.
2000-03-24 Scott Bambrough <scottb@netwinder.org>
* sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
2000-03-24 Geoff Clare <gwc@unisoft.com>
* stdlib/strfmon.c: Corrected problems with missing signs and
missing or extra spaces; allow for sign strings longer than
one character; add padding to ensure positive and negative
formats are aligned when a left precision is used.
2000-03-26 Ulrich Drepper <drepper@redhat.com>
* stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
Patch by John Mizel <John.Mizel@msdw.com>.
2000-03-22 Ulrich Drepper <drepper@redhat.com>
* db2/os/os_dir.c (__os_dirlist): Close directory if out of
memory. Reported by Jeff Nowland <jnowland@openport.com>.
2000-03-19 Geoff Clare <gwc@unisoft.com>
* sysdeps/generic/glob.c: Correct handling of patterns
containing escaped wildcards (and no unescaped ones)
GLOB_ERR flag was being ignored in some situations.
2000-03-19 Ulrich Drepper <drepper@redhat.com>
* include/stdlib.h: Add prototype for __cxa_atexit.
2000-03-20 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/segfault.c: Also install handler for SIGTRAP.
2000-03-17 Cristian Gafton <gafton@redhat.com>
* elf/Makefile ($(rtld-version-installed-name)): Delay
replacing existing rtld-installed-name.
($(rtld-installed-name)): Request libc-$(version) be installed too.
replace existing rtld-installed-name using $(symbolic-link-prog).
2000-03-16 Thorsten Kukuk <kukuk@suse.de>
* nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
* nis/nss_compat/compat-initgroups.c: Likewise.
* nis/nss_nis/nis-initgroups.c: Likewise.
* nis/nss_nis/nis-netgrp.c: Likewise.
* nis/nss_nis/nis-proto.c: Likewise.
* nis/nss_nis/nis-rpc.c: Likewise.
* nis/nss_nis/nis-service.c: Likewise.
* nis/ypclnt.c: Likewise.
2000-03-16 Andreas Jaeger <aj@suse.de>
* manual/Makefile: MAKEINFO is set to `:' from configure if it
doesn't exist, correct checks. Fixes PR libc/1649.
2000-03-16 Thorsten Kukuk <kukuk@suse.de>
* nscd/hstcache.c: Restore correct UID.
* nscd/pwdcache.c: Likewise.
Patch from Gabor Gombas <gombasg@inf.elte.hu>.
2000-03-15 Cristian Gafton <gafton@redhat.com>
* db2/mutex/alpha.gcc (TSL_SET): Backport from db3.
* sysdeps/alpha/Makefile (CPPFLAGS): Define for db2 directory.
* db2/mutex/mutex.c: Include alpha.gcc ifdef HAVE_ASSEM_ALPHA_GCC.
2000-03-16 Ulrich Drepper <drepper@redhat.com>
* misc/sys/mman.h: Define off_t and mode_t.
* posix/sys/types.h: Allow definition of key_t elsewhere.
* streams/stropts.h: Define gid_t and uid_t.
* sysdeps/generic/bits/msq.h: Define msgqnum_t and msglen_t and use
them in struct msqid_s.
* sysdeps/gnu/bits/msq.h: Likewise.
* sysdeps/generic/bits/stropts.h (I_GWROPT): Renamed from I_GWRSET.
Define FLUSHBAND, PROTMASK, SNDPIPE, and MUXID_ALL only if __USE_GNU.
(struct strpeek): Use t_uscalar_t.
(struct strfdinsert): Likewise.
(struct strioctl): Use gid_t and uid_t. Rename fill to __fill.
* sysdeps/gnu/bits/ipc.h: Define IPC_INFO only if __USE_GNU.
* sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
Define IPCOP_* constants only if __USE_GNU.
* sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
* sysvips/sys/ipc.h: Define uid_t, gid_t, and mode_t.
* sysvips/sys/msg.h: Define pid_t and ssize_t.
(struct msgbuf): Rename mtype to __mtype and mtext to __mtext if not
__USE_GNU.
(msgsnd): Mark second parameter as const.
* sysdeps/generic/msgsnd.c: Mark second parameter as const.
* sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
2000-03-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
2000-03-07 H.J. Lu <hjl@gnu.org>
* locale/C-ctype.c (_nl_C_LC_CTYPE): Fix the initializer order
for _NL_CTYPE_TOXXXER32_EX.
2000-03-14 Ulrich Drepper <drepper@redhat.com>
* timezone/africa: Update from tzdata2000d.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* po/fr.po: Update from translation team.
* po/de.po: Likewise.
* elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
last parameter. Move code to add map to global scope from here...
* elf/dl-open.c (dl_open_worker): ...here.
* elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
* elf/rtld.c: Adjust call to _dl_map_object_deps.
2000-03-14 Andreas Jaeger <aj@suse.de>
* locale/localeconv.c (localeconv): Fix typo.
Reported by Andre Charbonneau <andrec@corel.com>.
2000-03-03 Andreas Jaeger <aj@suse.de>
* sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
2000-03-03 Andreas Jaeger <aj@suse.de>
* sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
cases.
(xdr_int64_t): Correctly handle lower half.
Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
2000-03-03 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
call. It should not be necessary and is harmful for Alpha.
2000-03-01 Andreas Jaeger <aj@suse.de>
* time/getdate.c (check_mday): Fix check for february.
Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
<yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
2000-02-28 David S. Miller <davem@redhat.com>
* sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
2000-02-27 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/configure.in: Treat also "/usr/" as
prefix especially.
2000-02-27 Ulrich Drepper <drepper@redhat.com>
* po/de.po: Update from translation team.
* po/ko.po: Likewise.
2000-02-24 Ulrich Drepper <drepper@redhat.com>
* locale/C-ctype.c (_nl_C_LC_CTYPE): Move comma to correct place
for big endian machines.
2000-02-24 Andreas Jaeger <aj@suse.de>
* locale/programs/ld-ctype.c (ctype_output): Add missing &.
2000-02-24 Ulrich Drepper <drepper@cygnus.com>
* locale/C-ctype.c: Add table pointer for both endianesses.
2000-02-23 Ulrich Drepper <drepper@redhat.com>
* posix/wordexp.c: Use $HOME to expand ~ (if set); fix off-by-one
error in expansion of ~user; correct handling of WRDE_APPEND and
WRDE_DOOFFS; return WRDE_SYNTAX for syntax errors in command
substitutions; limit removal of newlines to those that are
really `trailing'; allow for current word to continue after
a command substitution (e.g. "a$(echo b)c"); restore pwordexp
members properly on error returns.
Patch by Geoff Clare <gwc@unisoft.com>.
* stdlib/stdlib.h (putenv): Don't declare argument as const.
* sysdeps/generic/putenv.c: Likewise.
2000-02-24 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/sys/param.h: Add comment.
2000-02-23 Ulrich Drepper <drepper@redhat.com>
* locale/programs/ld-ctype.c (allocate_arrays): Make sure the end
of width table is 4-byte aligned.
(ctype_output): Write out the entire width array.
* sysdeps/unix/sysv/linux/bits/waitflags.h: Add __WALL.
2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
argument type, for 2000-02-22 change in signal/signal.h declaration.
* iconv/loop.c: Don't include <sys/param.h>. On Hurd it includes
<signal.h> -> <sys/ucontext.h> defines ES, conflicting with
iconvdata/iso646.c's (unrelated) ES.
(MIN): New macro, just define it here instead to avoid that conflict.
* string/argz-stringify.c (__argz_stringify): Fix loop termination
conditions so as not to clobber the final '\0' when there is only one
element in the vector.
2000-02-22 Ulrich Drepper <drepper@redhat.com>
* libio/stdio.h: Define macros stdin, stdout, and stderr.
* dirent/dirent.h [__USE_XOPEN]: Define ino_t and ino64_t.
* posix/sys/types.h: Allow ino64_t be defined elsewhere.
* dlfcn/dlfcn.h (RTLD_DEFAULT): Don't use NULL.
* stdlib/fmtmsg.h (MM_NULL*): Don't use NULL.
* posix/glob.h [_XOPEN_SOURCE]: Define size_t.
* iconv/iconv.h (iconv): Fix prototype.
* misc/libgen.h: Include <features.h>.
* misc/search.h (struct entry): Fix type of element data.
* posix/unistd.h (getpagesize): Declare as const function.
* sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Define SA_NOCLDWAIT.
* sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
* signal/signal.h [__USE_XOPEN]: Define uid_t.
(sigstack): Correct type of first parameter.
* sysdeps/generic/sigstack.c (sigstack): Likewise.
* sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
* po/de.po: Update from translation team.
1999-12-31 Martin Buchholz <martin@xemacs.org>
* FAQ.in: Fix typos.
* argp/argp-help.c: Likewise.
* argp/argp.h: Likewise.
* elf/dl-object.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/elf.h: Likewise.
* elf/rtld.c: Likewise.
* iconv/gconv_open.c: Likewise.
* locale/programs/ld-collate.c: Likewise.
* localedata/tst-fmon.data: Likewise.
* localedata/tst-rpmatch.sh: Likewise.
* login/programs/xtmp.h: Likewise.
* manual/arith.texi: Likewise.
* manual/charset.texi: Likewise.
* manual/creature.texi: Likewise.
* manual/ctype.texi: Likewise.
* manual/filesys.texi: Likewise.
* manual/llio.texi: Likewise.
* manual/math.texi: Likewise.
* manual/memory.texi: Likewise.
* manual/message.texi: Likewise.
* manual/search.texi: Likewise.
* manual/signal.texi: Likewise.
* manual/socket.texi: Likewise.
* manual/stdio.texi: Likewise.
* manual/string.texi: Likewise.
* manual/sysinfo.texi: Likewise.
* manual/time.texi: Likewise.
* manual/users.texi: Likewise.
* manual/examples/argp-ex2.c: Likewise.
* manual/examples/argp-ex3.c: Likewise.
* manual/examples/argp-ex4.c: Likewise.
* manual/examples/mkfsock.c: Likewise.
* math/libm-test.c: Likewise.
* math/test-fenv.c: Likewise.
* nscd/nscd_gethst_r.c: Likewise.
* nss/test-netdb.c: Likewise.
* posix/regex.c: Likewise.
* scripts/test-installation.pl: Likewise.
* stdlib/canonicalize.c: Likewise.
* stdlib/fmtmsg.c: Likewise.
* string/argz-replace.c: Likewise.
* string/argz.h: Likewise.
* string/bits/string2.h: Likewise.
* sysdeps/generic/glob.c: Likewise.
* sysdeps/generic/setenv.c: Likewise.
* sysdeps/i386/memcmp.S: Likewise.
* sysdeps/posix/waitid.c: Likewise.
* time/tzset.c: Likewise.
2000-02-21 Ulrich Drepper <drepper@redhat.com>
* sysdeps/alpha/fpu/fpu_control.h: Update comment.
* po/gl.po: Update from translation team.
* timezone/antarctica: Update from tzdata2000b.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* malloc/malloc.c (vALLOc): Call ptmalloc_init before mEMALIGn
call to initialize malloc_getpagesize.
(pvALLOc): Likewise.
2000-02-20 Ulrich Drepper <drepper@redhat.com>
* po/it.po: Update from translation team.
2000-02-20 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/mmap64.S: Fix off by one error.
2000-02-20 Ulrich Drepper <drepper@redhat.com>
* po/de.po: Update from translation team.
2000-02-19 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Add definition of
_libc_fpreg and _libc_fpstate and use it to define fpregset_t.
* sysdeps/unix/sysv/linux/i386/sys/procfs.h (prgregset_t): Define
using elf_gregset_t.
(prfpregset_t): Define using elf_fpregset_t.
* sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Include
<sys/user.h>. Make fpregset_t definition compatible with
definition in 2.1.2 and before.
(struct ucontext): Use fpregset_t.
* sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Define
as pointer to fpregset_t.
2000-02-18 Ulrich Drepper <drepper@redhat.com>
* string/bits/string2.h (strnlen): Add cast to prevent warning.
* nscd/connections.c (handle_request): Don't abort() if unknown
command is sent.
2000-02-17 Ulrich Drepper <drepper@redhat.com>
* nscd/hstcache.c (cache_addhst): Don't cache name->record entries
if more than one IP address is available.
2000-02-17 Ulrich Drepper <drepper@cygnus.com>
* locale/programs/ld-ctype.c (ctype_startup): Correct
initialization of class_collection256.
2000-02-17 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel.
2000-02-16 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct prototype for
__syscall_mmap2.
* sysdeps/unix/sysv/linux/execve.c: Rewrite __syscall_execve
prototype to avoid warnings.
* po/it.po: New file.
* po/pl.po: Update from translation team.
2000-01-27 Geoff Keating <geoffk@cygnus.com>
* sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add
s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64,
s_truncate64.
* sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file.
2000-02-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/sigwait.c: Don't look for signal 0 since it does
not exist. Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1601).
* sysdeps/libm-i387/s_nearbyint.S: Disable raising exception, not
enable it. Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1600).
* sysdeps/libm-i387/s_nearbyintf.S: Likewise.
* sysdeps/libm-i387/s_nearbyintl.S: Likewise.
2000-02-14 Andreas Jaeger <aj@suse.de>
* elf/rtld.c (dl_main): Fix check for references to dynamic linker.
2000-02-14 Scott Bambrough <scottb@netwinder.org>
* sysdeps/unix/sysv/linux/arm/ioperm.c (_iopl, _ioperm): Add
Rebel-NetWinder to platform table so _ioperm platform lookup via
/proc/cpuinfo works on later version NetWinders.
2000-02-13 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/fpu/s_cosf.S: Domain of opcode is not large enough
so test for overflow and handle it.
* sysdeps/i386/fpu/s_sinf.S: Likewise.
* sysdeps/i386/fpu/s_tanf.S: Likewise.
Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1563).
2000-02-12 Ulrich Drepper <drepper@redhat.com>
* ctype/ctype-info.c (__ctype32_tolower, __ctype32_toupper): New
variables.
* locale/langinfo.h: Add _NL_CTYPE_TOUPPER32_EB,
_NL_CTYPE_TOLOWER32_EB, _NL_CTYPE_TOUPPER32_EL, and
_NL_CTYPE_TOLOWER32_EL.
* locale/C-ctype.c: Add initializers for new elements.
* locale/lc-ctype.c: Initialize __ctype32_toupper and
__ctype32_tolower.
* locale/programs/linereader.c (get_symname): Start looking for
numeric value at the right position.
* locale/programs/charset.c (charset_new_char): Remove third parameter.
* locale/programs/charset.h (charset_new_char): Likewise.
* locale/programs/charmap.c (parse_charmap): Update charset_new_char
call.
* locale/programs/ld-ctype.c: Many many changes to generate wide
character classification and mapping tables correctly.
* locale/programs/locales.h: Update prototypes of ctype_class_from,
ctype_class_to, ctype_map_from, and ctype_map_to.
* locale/programs/locfile.c (locfile_read): Initialize
locfile->repertoire. Pass repertoire to ctype_class_from,
ctype_class_to, ctype_map_from, and ctype_map_to calls.
* locale/programs/locfile.h (struct localedef_t): Add repertoire
element.
* locale/programs/repertoire.c (repertoire_find_value): New function.
(repertoire_read): Remove third parameter from charset_new_char call.
* locale/programs/repertoire.h (repertoire_find_value): Declare.
* wctype/wcfuncs.c: Use __ctype32_tolower and __ctype32_toupper.
* wctype/wcfuncs_l.c: Likewise.
* locale/nl_langinfo.h: Add casts to prevent warnings.
2000-02-09 Andreas Jaeger <aj@suse.de>
* time/strptime.c (strptime_internal): Fix pointer dereference.
Patch by Juergen Heinzl <juergen@monocerus.demon.co.uk>, closes PR
libc/1591.
2000-02-08 Andreas Jaeger <aj@suse.de>
* locale/programs/locale.c (write_locales): Fix handling of
whitespace lines.
Fixes PR libc/1588, reported by Miroslav Holcak
<miroslav.holcak@vitkovice.cz>.
2000-02-07 Thorsten Kukuk <kukuk@suse.de>
* config.make.in: Add infodir.
* sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel
header files.
2000-02-11 Ulrich Drepper <drepper@redhat.com>
* posix/getopt.c: Suppress messages if first character of
optstring is a colon (PR libc/1584).
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants
and elf_* types to interpret values passed up from the kernel.
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
* locale/nl_langinfo.c: Correct return value in error case. Don't
set errno (PR libc/1582).
* manual/locale.texi: Update to reflect change.
* iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5.
Reported by Bruno Haible <haible@ilog.fr>.
2000-02-03 Jakub Jelinek <jakub@redhat.com>
* stdlib/canonicalize.c (canonicalize): Zero terminate
path to copy on error.
2000-02-01 Cristian Gafton <gafton@redhat.com>
* misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM.
2000-01-31 Philip Blundell <philb@gnu.org>
* sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit.
2000-01-31 Andreas Jaeger <aj@suse.de>
* inet/inet_net.c (inet_network): Don't overwrite memory or allow
to great last digits.
2000-02-02 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/readlink.c (__readlink): Don't clobber original
LEN value with io_read result; save it and compare them just in case
the server bogusly returns more than we asked for.
* sysdeps/mach/hurd/recv.c (recv): Likewise for socket_recv.
* sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
* hurd/fd-read.c (_hurd_fd_read): Likewise for io_read.
Initialize NREAD before the RPC. I think this must only have failed
to bomb before because all the servers always return ool data(?).
* sysdeps/mach/hurd/getsockopt.c (getsockopt): Fix inverted sense of
test: *OPTLEN gets BUFLEN iff BUFLEN is lesser. Move that test out of
BUF != OPTVAL condition, since it is a separate issue. Short-circuit
the memcpy and dealloc for BUFLEN==0.
* hurd/hurdlookup.c (CHECK_ELOOP): New macro does SYMLOOP_MAX check;
deallocate *RESULT before returning ELOOP.
Don't conditionalize on SYMLOOP_MAX, we always better have one.
Move the check after case of empty retryname, which should not do it.
Use CHECK_ELOOP for absolute symlinks and other FS_RETRY_MAGICAL cases.
2000-01-31 Andreas Jaeger <aj@suse.de>
* inet/inet_net.c (inet_network): Synch with bind 8.2.2. Fixes PR
libc/1567.
2000-01-30 Ulrich Drepper <drepper@redhat.com>
* sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to
the standard.
* sysdeps/alpha/fpu/fesetround.c: Likewise.
* sysdeps/arm/fpu/feholdexcpt.c: Likewise.
* sysdeps/arm/fpu/fesetround.c: Likewise.
* sysdeps/generic/feholdexcpt.c: Likewise.
* sysdeps/generic/fesetround.c: Likewise.
* sysdeps/i386/fpu/feholdexcpt.c: Likewise.
* sysdeps/i386/fpu/fesetround.c: Likewise.
* sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
* sysdeps/m68k/fpu/fesetround.c: Likewise.
* sysdeps/mips/fesetround.c: Likewise.
* sysdeps/powerpc/feholdexcpt.c: Likewise.
* sysdeps/powerpc/fesetround.c: Likewise.
* sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
* sysdeps/sparc/fpu/fesetround.c: Likewise.
Patch by Miloslav Trmac <mitr@volny.cz>.
2000-01-29 Ulrich Drepper <drepper@redhat.com>
* catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly.
* catgets/gencat.c (read_input_file): Remove messages correctly.
* catgets/open_catalog.c (__open_catalog): Handle trailing colons and
adjacent colons correctly. Correct loops to read territory and
and codeset part.
Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1559).
* rt/aio_misc.c (get_elem): Assign pointer to new row to correct
pool entry.
Patch by Jens Moeller <jens.moeller@waii.com> (PR libc/1558).
2000-01-27 Scott Bambrough <scottb@netwinder.org>
* sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for
resource directory.
* sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for
versioning setrlimit and getrlimit.
2000-01-28 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdselect.c (_hurd_select): Don't allocate D as a
variable-sized automatic. Instead, use alloca after capping
number of elements (NFDS) to a reasonable upper bound.
2000-01-27 Roland McGrath <roland@baalperazim.frob.com>
* hurd/set-host.c (_hurd_set_host_config): Pass O_WRITE in flags to
dir_mkfile, so we will be permitted to do the io_write!
2000-01-05 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS.
2000-01-25 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h.
* sysdeps/unix/sysv/linux/Dist: Remove sys/io.h.
* nscd/hstcache.c: Don't use NS_* names.
* posix/fnmatch.c: Fix problem with FNM_LEADING_DIR.
2000-01-24 Paul Eggert <eggert@twinsun.com>
* posix/fnmatch.c (internal_fnmatch): Use locale's collating
sequence when deciding whether a character falls within a
character range.
2000-01-24 Paul Eggert <eggert@twinsun.com>
* posix/fnmatch.c (internal_fnmatch): When matching [A-Z] and
folding case, lower-case A too.
2000-01-23 Paul Eggert <eggert@twinsun.com>
* posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits.
2000-01-23 Paul Eggert <eggert@twinsun.com>
* posix/regex.c (compile_range): When matching a character
range, use the current collating sequence, as POSIX requires.
2000-01-25 Ulrich Drepper <drepper@cygnus.com>
* string/argz-stringify.c: Handle case of missing \0 at the end of
the given argz.
2000-01-18 Ulrich Drepper <drepper@cygnus.com>
* nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
address. Suggested by Philip Blundell.
2000-01-13 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/backtrace.c: Include signal.h which
sigcontextinfo.h headers are used to expect.
* sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
(register_dump): Fix a typo in the printout.
Avoid using reg_window, so that asm/ptrace.h is not necessary.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
(ADVANCE_STACK_FRAME): Likewise.
2000-01-23 Ulrich Drepper <drepper@cygnus.com>
* string/bits/string2.h (__strndup, strndup): Remove optimization.
__strndup is not exported.
2000-01-23 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/unix/sysv/linux/i386/getrlimit.c: Removed.
* sysdeps/unix/sysv/linux/i386/setrlimit.c: Removed.
* sysdeps/unix/sysv/linux/i386/getrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/i386/setrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/arm/getrlimit.c: Removed.
* sysdeps/unix/sysv/linux/arm/setrlimit.c: Removed.
* sysdeps/unix/sysv/linux/arm/getrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/arm/setrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/i386/Dist: Remove oldgetrlimit64.c and
oldsetrlimit64.c
* sysdeps/unix/sysv/linux/i386/Makefile: Remove oldget[sr]limit64.c.
* sysdeps/unix/sysv/linux/i386/Versions: Remove new 2.1.3 VERSION.
* sysdeps/unix/sysv/linux/i386/bits/resource.h: Change back old
RLIM_INFINITY value.
2000-01-23 Ulrich Drepper <drepper@cygnus.com>
* string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU)
(PR libc/1553).
2000-01-22 Thorsten Kukuk <kukuk@suse.de>
* sunrpc/xdr_rec.c: Don't set frag_sent if no more data,
fixes part 2 of bug 1549.
* sunrpc/rpc_des.h: Remove unused defines.
2000-01-22 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h.
* sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h.
* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sys/io.h: Move from here ...
* sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb
and other inline functions for port access.
* sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port
access functions.
2000-01-23 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv_simple.c: Fix two problems in UTF-8 decoder.
Patch by Bruno Haibe <haible@ilog.fr>.
2000-01-20 Ulrich Drepper <drepper@cygnus.com>
* manual/getopt.texi (Using the getopt function): Fix description of
return value for format string starting with '-' (PR libc/1551).
Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>
* sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
Patch by jens.moeller@westgeo.com (PR libc/1550).
2000-01-19 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/libm-ieee754/s_modfl.c: Correct handling of arguments
with exponent >31 and < 63 (PR libc/1548).
* time/strptime.c: Change buffer handling to fix recursive calls
with locales (PR libc/1546).
* stdlib/strfmon.c: Don't report an error if final NUL is at the
end of the buffer. Set errno correctly if floating-point number
would overflow buffer.
2000-01-18 Ulrich Drepper <drepper@cygnus.com>
* wcsmbs/wcrtomb.c: Compute result correctly for successful call
with s == NULL.
* wcsmbs/mbsrtowcs.c: Compute return value correctly after change
in gconv function.
* wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only
incomplete but correct.
* iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses.
Remove done variable and all uses.
* iconv/skeleton.c: Update comment for *written modification.
* iconv/gconv_int.h (__gconv): Update comment.
Reported by Bruno Haible.
2000-01-18 Jakub Jelinek <jakub@redhat.com>
* dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
2000-01-18 Ulrich Drepper <drepper@cygnus.com>
* timezone/antarctica: Update from tzdata2000a.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.
2000-01-18 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/generic/bits/socket.h
(__ss_aligntype, struct sockaddr_storage): Make these like Linux
version, replacing old type name `__ss_align'.
2000-01-18 Ulrich Drepper <drepper@cygnus.com>
* posix/TESTS: Fix expected result for test cases with * with no
leading expression.
* inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
* sysdeps/posix/getaddrinfo.c: Correct modifications done for
PR1515. Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
* posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
* posix/regex.c (regex_compile): Return appropriate errors for
unterminated brace expressions. Detect invalid characters
in brace expressions.
* posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
* sysdeps/posix/sysconf.c: Include regex.h.
Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
2000-01-17 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
AI_NUMERICHOST flag is set, return an error.
Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
2000-01-09 Philip Blundell <philb@gnu.org>
* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
resolution if the hints included AI_NUMERICHOST.
2000-01-13 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
mmap2 is available when compiling but no at runtime.
2000-01-12 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
Reported by Bruno Haible <haible@ilog.fr>.
2000-01-10 Thorsten Kukuk <kukuk@suse.de>
* nss/getent.c: Add ipv6 support for hosts.
2000-01-05 Philip Blundell <pb@futuretv.com>
* sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
getrlimit64, setrlimit64 for GLIBC_2.1.3.
* sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
oldsetrlimit.
* sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
* sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
* sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
* sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
(sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
[subdir=misc] (sysdep_headers): Add sys/elf.h.
2000-01-09 Philip Blundell <philb@gnu.org>
* sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
(dl_platform_init): Allow _dl_platform to be NULL.
* sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
last change.
2000-01-08 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function.
(setitimer_locked): Use it to quantize the timer values. Use
quantized timer values to check if the timeout changed.
1999-12-21 Andreas Schwab <schwab@suse.de>
* include/unistd.h: Declare __libc_lseek.
1999-12-19 Andreas Jaeger <aj@suse.de>
* include/fcntl.h: Declare __libc_fcntl.
* include/unistd.h: Move __libc_open and __libc_open64 to ...
* include/fcntl.h: ...here.
2000-01-05 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
and oldsetrlimit64.c.
* sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
sys/procfs.h.
2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64.
(__lseek64, lseek64): Make these weak aliases for __libc_lseek64.
* sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek.
(__lseek, lseek): Make these weak aliases for __libc_lseek.
* sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl.
(__fcntl, fcntl): Make these weak aliases for __libc_fcntl.
* sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open.
(__open, open): Make these weak aliases for __libc_open.
* sysdeps/generic/bits/socket.h (enum __socket_type): Remove
trailing comma.
(anonymous enum for MSG_*): Likewise.
(anonymous enum for SO_*): Likewise.
2000-01-05 Ulrich Drepper <drepper@cygnus.com>
* manual/texinfo.tex: Updated from latest official version.
* debug/Makefile (distribute): Add frame.h.
2000-01-05 Philip Blundell <philb@gnu.org>
* sysdeps/arm/frame.h: New file.
* sysdeps/generic/frame.h: Likewise.
* sysdeps/generic/segfault.c (struct layout): Delete definition;
include the above file instead.
* sysdeps/generic/backtrace.c (struct layout): Likewise.
(__backtrace): Use ADVANCE_STACK_FRAME.
* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
(ADVANCE_STACK_FRAME): New macro.
(GET_FRAME): Apply above to returned value.
* sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
them all at the end, eliding the final comma.
* sysdeps/mach/hurd/bits/errno.h: Regenerated.
2000-01-05 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
* io/ftw.c (process_entry): Cache object dev/inode only for
directories (PR libc/1514).
2000-01-05 Andreas Schwab <schwab@suse.de>
* iconv/iconv_prog.c (process_block): Add cast to avoid warning.
2000-01-05 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/unix/sysv/linux/alpha/sys/io.h: Follow change from
glibc 2.2 and don't include <asm/io.h>.
* sysdeps/unix/sysv/linux/sys/io.h: Likewise.
2000-01-05 Andreas Jaeger <aj@suse.de>
* intl/locale.alias: Add lithunian entry.
Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR
libc/1507.
2000-01-04 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/mmap64.S: Don't include
kernel-features.h.
2000-01-02 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
to obtain port mapping information. Avoid use of mprotect.
2000-01-03 Andreas Schwab <schwab@suse.de>
* sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
needed for change in common symbol handing in newer binutils.
2000-01-04 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/mmap.S (mmap64): Remove weak alias.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (s_ugetrlimit):
Remove.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
O_NOFOLLOW): Protect by ifdef __USE_GNU.
(O_LARGEFILE): Define depending on architecture size.
* sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
Renamed from have_no_truncate64.
* sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
Likewise.
2000-01-03 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
kernel without mmap2 syscall.
2000-01-03 Philip Blundell <philb@gnu.org>
* sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
* sysdeps/arm/fpu/bits/mathdef.h: New file.
2000-01-03 Ulrich Drepper <drepper@cygnus.com>
* string/bits/string2.h (__strsep_g): Don't handle empty __S special.
2000-01-02 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
call before handling error.
* sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
* iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
0xa2e6 and 0xa2e7.
(__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
* iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
mappings.
* sysdeps/unix/sysv/linux/llseek.c: Formulate warning message
stronger.
* iconvdata/gconv-modules: Remove BALTIC. It's the same as
ISO-8859-13.
* iconvdata/Makefile (distribute): Remove baltic.c.
(modules): Remove BALTIC.
(gen-8bit-gap-modules): Remove baltic.
* iconvdata/baltic.c: Removed.
* sysdeps/posix/system.c: Correct return value for LINE == NULL.
* signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
2000-01-02 Philip Blundell <philb@gnu.org>
* sysdeps/generic/bits/mathdef.h: Test __USE_ISOC9X not
__USE_ISOC99.
1999-12-29 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for
llseek.
Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1999-12-14 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
2.3.32.
1999-12-29 Geoffrey Keating <geoffk@cygnus.com>
* sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
(OPCODE_LWZU): New macro.
(OPCODE_ADDIS_HI): New macro.
(OPCODE_LIS_HI): New macro.
(__elf_machine_runtime_setup): Change PLT code-generation scheme
for thread safety even with very large PLTs, better efficiency,
and to fix a cache-flushing bug.
(__elf_machine_fixup_plt): Likewise.
(__process_machine_rela): Don't use elf_machine_fixup_plt.
1999-12-28 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
and oldsetrlimit definitions.
1999-12-27 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
mappings.
* iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
0x2312, and 0x2500..0x254b.
1999-12-17 Andreas Jaeger <aj@suse.de>
* stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
1999-12-16 Mark Mitchell <mark@codesourcery.com>
* stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
* stdlib/exit.h (flavor): Add ef_cxa.
(exit_function): Add cxa variant.
* stdlib/exit.c (exit): Handle ef_cxa exit functions.
* stdlib/cxa_atexit.c: New file.
* stdlib/cxa_finalize.c: New file.
1999-12-27 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
Unicode tables.
1999-12-22 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
Remove ugetrlimit.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
1999-12-18 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
syscall if available.
* sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
* sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
1999-12-08 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/truncate64.c: New file.
* sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
1999-12-26 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
cancelation wrapper.
* sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/bits/resource.h: Remove inclusion
of <asm/resource.h>.
* sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
1999-12-26 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86. Set
argument count for `syscall' to 7.
* sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
with more than five arguments.
(DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
1999-12-24 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/posix/system.c (__libc_system): Check whether command
processor is available if LINE is NULL. Don't return immediately
if wait call returned with EINTR.
Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
1999-12-23 Ulrich Drepper <drepper@cygnus.com>
* locale/iso-4217.def: Add NAD. Remove a few obsolete entries.
* sysdeps/generic/glob.c (glob): Pass alternate file access functions
also in recursive call. Patch by Joe Orton <joe@orton.demon.co.uk>.
1999-12-21 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
Patch by Scott Bambrough <scottb@netwinder.org>.
1999-12-21 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/i386/getrlimit.c: Only put versions on
exported symbols.
* sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1999-12-21 Ulrich Drepper <drepper@cygnus.com>
* resolv/netdb.h: Remove getnodebyname declaration (PR libc/1494).
1999-12-20 Ulrich Drepper <drepper@cygnus.com>
* include/ucontext.h: New file.
1999-12-20 Andreas Schwab <schwab@suse.de>
* manual/install.texi (Running make install): Clearify that
install_root should be an absolute file name.
1999-12-20 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv.c (__gconv): Deal with outbuf being NULL.
* iconv/iconv.c (iconv): Allow omitting output buffer if no input
buffer is given to place conversion descriptor in initial state.
* iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
CSPC862LATINHEBREW.
* iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
(according to IANA registry).
Reported by Bruno Haible <haible@ilog.fr>.
* iconvdata/johab.c: Correct completely broken conversion to JOHAB.
1999-12-19 Ulrich Drepper <drepper@cygnus.com>
* locale/langinfo.h: Always define CODESET.
(CODESET): Define also as macro.
* stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
generate mantissa output in using malloc if it is larger than
20000 characters.
Reported by Jim Meyering <meyering@ascend.com>.
1999-12-18 Ulrich Drepper <drepper@cygnus.com>
* include/unistd.h: Declare __libc_open64, __libc_lseek64,
__libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
* io/Versions: Export __libc_open64 and __libc_lseek64.
* posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
and __libc_pwrite64.
* sysdeps/generic/open64.c: Define __libc_* variant for cancelation
wrapper.
* sysdeps/generic/pread.c: Likewise.
* sysdeps/generic/pread64.c: Likewise.
* sysdeps/generic/pwrite.c: Likewise.
* sysdeps/generic/pwrite64.c: Likewise.
* sysdeps/posix/open64.c: Likewise.
* sysdeps/posix/pread.c: Likewise.
* sysdeps/posix/pread64.c: Likewise.
* sysdeps/posix/pwrite.c: Likewise.
* sysdeps/posix/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/llseek.c: Likewise.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
* sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
* sysdeps/posix/open64.c: Help gcc generating better code.
* sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
instead of __open.
1999-12-11 H.J. Lu <hjl@gnu.org>
* sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
instead of __fcntl.
1999-12-18 Ulrich Drepper <drepper@cygnus.com>
* include/features.h: Recognize _ISOC99_SOURCE as well.
1999-12-10 Jakub Jelinek <jakub@redhat.com>
* stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
where appropriate.
1999-12-18 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/isiri-3342.c: New file.
* iconvdata/Makefile (modules): Add ISIRI-3342.
(distribute): Add isiri-3342.c.
(gen-8bit-gap-modules): Add isiri-3342.
* iconvdata/gconv-modules: Add entries for ISIRI-3342.
* malloc/Versions: Export __libc_freeres for GLIBC_2.1.
1999-12-14 Thorsten Kukuk <kukuk@suse.de>
* nis/ypclnt.c: Correct handling of cached client handles.
* nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
* nis/nss_compat/compat-initgroups.c: Likewise.
* nis/nss_compat/compat-spwd.c: Likewise.
* nis/nss_nis/nis-alias.c: Likewise.
* nis/nss_nis/nis-ethers.c: Likewise.
* nis/nss_nis/nis-grp.c: Likewise.
* nis/nss_nis/nis-hosts.c: Likewise.
* nis/nss_nis/nis-netgrp.c: Likewise.
* nis/nss_nis/nis-publickey.c: Likewise.
* nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename.
Map if available, optimize query if name/port and protocol is known.
1999-12-18 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/bits/resource.h: Don't depend on the
unreliable kernel headers.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
* sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
1999-12-17 Ulrich Drepper <drepper@cygnus.com>
* string/bits/string2.h (__strsep): Help gcc optimizing string access.
* sysdeps/generic/bits/mathdef.h: Protect definitions for math.h
against double inclusion.
* sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
* sysdeps/i386/fpu/bits/mathdef.h: Likewise.
* sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
* sysdeps/powerpc/bits/mathdef.h: Likewise.
* sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
* sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
that different?).
* sysdeps/generic/shmget.c: Correct type of size parameter.
* sysdeps/unix/sysv/linux/shmget.c: Likewise.
* sysvips/sys/shm.h: Likewise.
1999-12-18 Andreas Jaeger <aj@suse.de>
* config.make.in (datadir): Added.
Closes PR libc/1491. Patch by dervishd@jazzfree.com.
1999-12-17 Scott Bambrough <scottb@netwinder.org>
* sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
cache flush.
* elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
after .text segment fixups.
1999-12-17 Andreas Jaeger <aj@suse.de>
* rt/aio.h (struct aiocb64): Add member __next_prio to sync the
struct with aiocb.
* rt/Makefile (tests): Added tst-aio64.
Added dependency rules for tst-aio64.
* rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
64bit tests.
1999-12-17 Thorsten Kukuk <kukuk@suse.de>
* string/bits/string2.h: Fix patch from 1999-12-07.
1999-12-16 Andreas Jaeger <aj@suse.de>
* rt/aio.h: Remove erroneous __restrict declarations.
1999-12-18 Ulrich Drepper <drepper@cygnus.com>
* scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
do the job if it is there neither.
Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
1999-12-16 Andreas Jaeger <aj@suse.de>
* sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
duplicate definition with function __nan.
Closes PR libc/1487 reported by <diana@kai.com>.
1999-12-15 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
old value (signed long).
* sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
long RLIM_INFINITY.
* sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
* sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
* sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
* sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
* sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
* sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
* sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
1999-12-16 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/strsep.c: If delim string has only one character
don't run over end of string.
1999-12-15 Andreas Schwab <schwab@suse.de>
* rt/aio.h: Fix typo. Reported by Kurt Garloff
<kurt@garloff.de>.
1999-12-09 Andreas Jaeger <aj@suse.de>
* nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
errno to ENOENT when returning NSS_STATUS_NOTFOUND.
Reported by Christian Starkjohann <cs@obdev.at>.
1999-12-05 Wolfram Gloger <wg@malloc.de>
* malloc/malloc.c (arena_get2): If generating a new arena fails,
try to generate a minimal one and hope for mmap_chunk() to succeed
later.
1999-11-07 Wolfram Gloger <wg@malloc.de>
* malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
mutex_t work as an `in-use' flag even without threads.
* malloc/malloc.c (USE_ARENAS): New feature flag, controls support
for multiple arenas separately from NO_THREADS.
(mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
fall back to an mmap()ed arena when sbrk() has failed.
1999-12-09 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/Versions: Remove getrlimit, setrlimit,
getrlimit64, setrlimit64 for GLIBC_2.1.3.
* sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
getrlimit64, setrlimit64 for GLIBC_2.1.3.
* sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
oldgetrlimit and oldsetrlimit.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
oldsetrlimit.
* sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
oldsetrlimit rules into 32-bit arch subdirs.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1999-12-08 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv_db.c: Correctly transfer last patch from 2.2 branch.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
only IPv6 address. Reported by Artur Frysiak <wiget@pld.org.pl>.
1999-12-07 Jakub Jelinek <jakub@redhat.com>
* string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
__stpcpy_small): Cast switch expressions to int to shut up compiler
warnings.
1999-12-07 Scott Bambrough <scottb@netwinder.org>
* sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
relocs if possible.
1999-12-07 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
pointers if character is illegal.
Reported by Bruno Haible <haible@ilog.fr>.
* iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
(increment_counter): New function. Broken out of find_derivation.
(find_derivation): No need for a lock. Increment counter only when
the derivation was already available.
* iconv/gconv_dl.c (known_compare): We have to use strcmp.
Reported by Bruno Haible <haible@ilog.fr>.
1999-12-06 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
* iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
* iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
* iconvdata/gconv-modules: Correct ISO646-PT2 alias. Add
SHIFT_JIS alias.
Reported by Bruno Haible <haible@ilog.fr>.
1999-12-03 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/bits/stropts.h: Update with LiS types and
values. Patch by David Grothe <dave@gcom.com>.
* sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
Make long types.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1999-12-01 Ulrich Drepper <drepper@cygnus.com>
* malloc/set-freeres.c: Really use already_called variable.
1999-12-01 Andreas Jaeger <aj@suse.de>
* scripts/test-installation.pl (installation_problem): Filter out
libpthread_db.
1999-12-01 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
* sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
* sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
new kernel version. Add symbol versions.
* sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
oldgetrlimit.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
and s_ugetrlimit.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/getrlimit.c: New file.
* sysdeps/unix/sysv/linux/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/setrlimit64.c: New file.
* sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
file.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
__rlim_t and __rlim64_t.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1999-11-29 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/gconv-modules: Correct alias for ISO-8859-10. This
standard was issued in 1992.
Reported by Bruno Haible <haible@ilog.fr>.
1999-11-29 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Backport from 2.2.
* sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
SIGCLD as SIGCHLD.
1999-11-29 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
Patch by Bruno Haible <haible@ilog.fr>.
1999-11-28 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
gconv-modules.
1999-11-26 Ulrich Drepper <drepper@cygnus.com>
* inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
1999-11-26 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/gnu/siglist.h: If SIGPWR == SIGLOST, don't include SIGPWR
message.
* sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
asm/ptrace.h, since this will not be done with 2.3.xx automatically.
* sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1999-11-26 Andreas Jaeger <aj@suse.de>
* inet/rcmd.c: Include stdlib for declaration of free.
Declare iruserok.
1999-11-26 Thorsten Kukuk <kukuk@suse.de>
* Makeconfig: Look in all subdirs for shlib-versions files.
1999-11-25 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv.c (__gconv): Always initialize
cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
* iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
written bytes.
* iconvdata/iso-2022-jp.c: Likewise.
1999-11-15 Andreas Jaeger <aj@suse.de>
* misc/sys/mman.h: Correct prototype to use __off64_t.
1999-11-25 Ulrich Drepper <drepper@cygnus.com>
* iconv/iconv_prog.c (process_block): For stateful charsets write
out byte sequence to get to initial state at the end of the file.
1999-11-25 Andreas Schwab <schwab@suse.de>
* Makeconfig: Include sys-dirs and sys-sorted earlier.
($(common-objpfx)soversions.mk): Wait until subdirs is complete.
($(common-objpfx)sysd-sorted): Emit marker when this file is
complete.
1999-11-23 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
1999-11-23 Thorsten Kukuk <kukuk@suse.de>
* iconv/skeleton.c: Don't access next_step->fct if data->is_last
is true.
1999-11-22 Andreas Jaeger <aj@suse.de>
* sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
Patch by Jerry Perkins <jrperkins@iname.com>, closes PR
libc/1456+1457.
1999-11-22 Jakub Jelinek <jakub@redhat.com>
* stdlib/longlong.h: Avoid UDIV_TIME redefinition.
* sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
libraries from statically linked programs.
Patches by David S. Miller <davem@redhat.com>.
* sysdeps/generic/siglist.h: Avoid declaring the same field
twice if SIGPWR is defined to SIGLOST.
* sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
not signed, so we should not special case it for negative args.
* sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
memmove, use the one provided in memcpy.S.
* sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
copies like memmove, while the previous version worked like memcpy.
Implement optimized assembly memmove.
* sysdeps/sparc/sparc64/memmove.c: New file.
1999-11-23 Ulrich Drepper <drepper@cygnus.com>
* po/cs.po: Update from translators.
1999-11-19 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
the rlimits structure passed in.
1999-11-19 Andreas Jaeger <aj@suse.de>
* include/sys/resource.h (__setrlimit): Add prototype.
1999-11-19 Thorsten Kukuk <kukuk@suse.de>
* nis/ypclnt.c (__xdr_ypresp_all): Call callback function for
errors, too, like Solaris does.
1999-11-19 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-load.c (_dl_init_paths): Allocate correct number of
entries for rtld_search_dirs[0].
Patch by David Mosberger <davidm@hpl.hp.com>.
1999-11-18 Ulrich Drepper <drepper@cygnus.com>
* time/strptime.c (day_of_the_week): Make sure result is never
negative.
(strptime_internal): Allow %C without %y.
1999-11-18 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
comments.
* sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
of defining *_SUPER_MAGIC.
* sysdeps/unix/sysv/linux/grantpt.c: Likewise.
1999-11-09 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
* sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
* sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
1999-11-18 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
nonzero, use cthread_fork to create the signal thread.
* hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
_hurd_msgport_thread here (to self).
* sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
is zero, instead compute child signal thread's starting SP from parent
signal thread's current SP and the threadvar_stack variables.
* hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
These are now referenced weakly by _hurdsig_init.
* hurd/report-wait.c (_S_msg_report_wait): Fix typo:
&_hurd_itimer_thread not &_hurd_msgport_thread.
1999-11-17 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
1999-11-07 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
defines from Linux scsi_ioctl.h header.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
scsi_ioctl.h.
* sysdeps/unix/sysv/linux/Dist: Likewise.
* sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
pretty printed.
* sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
sync with Linux 2.3.26.
1999-11-15 Ulrich Drepper <drepper@cygnus.com>
* timezone/asia: Update from tzdata1999j.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.
1999-11-14 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
1999-11-15 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
__syscall_setrlimit.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
Its presence lets librpcsvc compile ok. This from Mark Kettenis.
We don't install this file for users.
* sysdeps/mach/hurd/Dist: Add it.
* sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
Append nfs/nfs.h here.
1999-11-14 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
* sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
prototype.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
* sysdeps/powerpc/stackinfo.h: New file.
Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
1999-11-13 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/setrlimit.c: Remove glibc 2.2 features.
1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
* hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
hurd_directory_name_split.
* Versions.def (libc): Add GLIBC_2.1.3.
1999-11-09 Roland McGrath <roland@baalperazim.frob.com>
* hurd/report-wait.c (describe_port): Return char * and use __stpcpy
to return the location of the null byte written into the string.
(describe_number): Likewise.
(describe_number): Remove assert, not always used with #.
If FLAVOR is null, don't use it.
(describe_number): Take signed argument and print a - if negative.
(_S_msg_report_wait): Report system call number for system calls that
aren't mach_msg. Soup up reporting for mach_msg: If destination port
matches SS->intr_port, bracket port description with [...] to indicate
a Hurd interruptible RPC; if destination port is null, examine the
receive port and report that state; if receive port is also null,
check for timeout and report its value.
* sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
zero iff we managed to examine the stack; take new args RCV_NAME,
SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
* hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
MACH_PORT_DEAD specially.
1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdlookup.c (__hurd_directory_name_split): New function.
(__directory_name_split): New function.
* hurd/hurd.h: Declare them.
* sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
__file_name_split, so we ignore trailing slashes properly.
* sysdeps/mach/hurd/rename.c: Likewise.
1999-11-13 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Sync with
header files from other architectures.
* sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
from current kernel headers.
* sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
SO_PASSCRED defined.
1999-11-12 Thorsten Kukuk <kukuk@suse.de>
* nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
* sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
i386 version.
* sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
1999-11-12 Ulrich Drepper <drepper@cygnus.com>
* intl/locale.alias: Add Estonian entries.
Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
1999-09-06 Andreas Schwab <schwab@suse.de>
* time/tzset.c (compute_change): Replace slow loop to compute T by
simple algorithm.
1999-11-10 Andreas Jaeger <aj@suse.de>
* string/strsignal.c (strsignal): Correct check for snprintf
return value.
* argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
* misc/efgcvt_r.c (APPEND): Correct check for too small buffer
according to changed snprintf return value.
Reported by Lawrence K. Chen <lchen@opentext.com>.
* misc/tst-efgcvt.c (special): Add tests for a too small buffer
for ecvt_r and fcvt_r.
1999-11-09 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
directory with the reference since this is as secure as using the
object with the dependency.
(_dl_dst_substitute): Likewise.
* elf/dl-load.c (_dl_dst_count): Change strings in first two
strncmp calls to allow reuse.
(_dl_dst_substitute): Likewise.
1999-11-01 Arnold D. Robbins <arnold@skeeve.com>
* posix/regex.c (init_syntax_once): move below definition of
ISALNUM etc., then use ISALNUM to init the table, so that
the word ops will work if i18n'ed.
(SYNTAX): And subscript with 0xFF for 8bit character sets.
1999-11-09 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
implementation for ttyname_r call; fix inverted condition; return
ut_user. Closes PR libc/1438.
1999-11-09 Ulrich Drepper <drepper@cygnus.com>
* timezone/checktab.awk: Update from tzcode1999h.
* timezone/africa: Update from tzdata1999i.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/zone.tab: Likewise.
* sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
macros. Patch by brg@csua.berkeley.edu [PR libc/1439].
1999-11-09 Andreas Schwab <schwab@suse.de>
* misc/syslog.c: For LOG_PERROR only append a newline if
necessary.
1999-08-30 Ulrich Drepper <drepper@cygnus.com>
* timezone/test-tz.c: Use setenv instead of putenv.
1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* timezone/tst-timezone.c (main): Don't pass const strings to
putenv to avoid warnings.
1999-11-09 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
implementation for ttyname_r call; fix inverted condition; return
ut_user. Closes PR libc/1438.
1999-11-09 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
macros. Patch by brg@csua.berkeley.edu [PR libc/1439].
1999-11-09 Andreas Schwab <schwab@suse.de>
* misc/syslog.c: For LOG_PERROR only append a newline if
necessary.
1999-11-08 Andreas Jaeger <aj@suse.de>
* locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
this fixes a memory leak (closes PR libc/1435).
* intl/l10nflist.c (_nl_normalize_codeset): Update comment to
reflect memory allocation.
* intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
allocation in _nl_explode_name.
1999-11-06 Andreas Jaeger <aj@suse.de>
* time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
to initialize it.
Reported by wes@surety.com, closes PR libc/1432.
1999-11-05 Geoff Keating <geoffk@cygnus.com>
* sysdeps/powerpc/bits/fenv.h: Don't put commas at the end of
enumerator lists (-pedantic complains).
(feraiseexcept): Use i#*X as the constraint. Fix a bug in the
test for 'one bit set'.
(feclearexcept): Likewise.
1999-11-05 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/setrlimit.c: New file.
* sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
for kernel changes.
* sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
unsigned.
1999-10-04 Tim Waugh <twaugh@redhat.com>
* posix/wordexp.c (wordexp): Explicit null words should be kept.
1999-11-02 Andreas Jaeger <aj@suse.de>
* manual/header.texi (Library Summary): The command @indexfonts
doesn't exist anymore, use @smallfonts instead.
1999-11-02 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
instead of duplicating definitions.
1999-11-01 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
by the debugger.
* sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
1999-10-29 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Added missing
N_* constants.
* sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
new constant from Linux 2.3.25pre1.
* sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
1999-10-27 Andreas Jaeger <aj@suse.de>
* stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
shifted a bit too much.
Reported by Eugen Dedu <dedu@ese-metz.fr>.
1999-10-25 Ulrich Drepper <drepper@cygnus.com>
* resolv/gethnamaddr.c: Account bytes needed for alignment in
buflen. Patch by Olaf Kirch <okir@lst.de>.
* md5-crypt/md5test.c: Correct names of MD5 functions after
removing of public names.
1999-10-25 Thorsten Kukuk <kukuk@suse.de>
* md5-crypt/md5.h: Remove prototypes for public interface. md5 is
used only internal.
* md5-crypt/md5-crypt.c: Use internal names for md5 functions,
remove weak alias for public names.
* md5-crypt/md5.c: Remove weak aliase.
1999-10-24 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/libm-i387/s_nextafterl.c: Define aliases __nexttowardl
and nexttowardl.
1999-10-19 Bruno Haible <haible@ilog.fr>
* sysdeps/mach/sleep.c (__sleep): If we slept longer than requested,
return 0, not UINT_MAX.
1999-10-18 Ulrich Drepper <drepper@cygnus.com>
* inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
Patch by J. Richard Sladkey <jrs@world.std.com>.
1999-10-18 Andreas Jaeger <aj@suse.de>
* iconv/iconv_prog.c (process_block): Save errno value from iconv call.
Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
1999-10-18 Ulrich Drepper <drepper@cygnus.com>
* po/gl.po: New file.
1999-10-18 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
returns now NaN + i NaN.
* sysdeps/generic/s_cprojf.c (__cprojf): Likewise
* sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
1999-10-16 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
1999-10-14 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
seconds.
1999-10-12 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
register names unconditionally, only if __USE_GNU.
* iconvdata/gbk.c: Fix names which are different in 2.2.
1999-10-12 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
generic Linux version.
1999-10-11 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/Makefile: Add support for gbk.
* iconvdata/gbk.c: New file.
1999-10-10 Philip Blundell <philb@gnu.org>
* sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
__BYTE_ORDER.
1999-10-11 Cristian Gafton <gafton@redhat.com>
* sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
SA_SIGINFO.
1999-10-11 Mark Kettenis <kettenis@gnu.org>
* sysdeps/unix/sysv/linux/configure.in: Fix typo.
1999-10-10 Ulrich Drepper <drepper@cygnus.com>
* stdlib/atexit.c (initial): New variable. Use to initialize
__exit_funcs.
* stdlib/exit.c (exit): Beware to not free statically allocated
list element [PR libc/1305].
* stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
slash before the basename [PR libc/1383].
1999-10-14 Cristian Gafton <gafton@redhat.com>
* string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
1999-10-08 Ulrich Drepper <drepper@cygnus.com>
* po/cs.po: Fix typos.
* nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
handling of empty entries.
Patch by Thorsten Kukuk <kukuk@suse.de>.
1999-10-05 Ulrich Drepper <drepper@cygnus.com>
* po/cs.po: Update.
1999-10-04 Andreas Jaeger <aj@suse.de>
* configure.in: Allow makeinfo 4.*.
1999-10-04 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/vfprintf.c: Correct last patch and use outchar
instead of PUTC to output single characters.
1999-10-01 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
without HURD_DPORT_USE to clean up warnings.
* hurd/dtable.c (get_dtable_port): Likewise.
* hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
(install_ctty): Do the changing of the cttyid port cell here, inside
the critical section while we holding the dtable lock.
(_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
the port cell and calling rectty_dtable.
(_hurd_locked_install_cttyid): New function, split out of install_ctty.
(install_ctty): Use it inside a critical section, with the lock held.
* sysdeps/mach/hurd/setsid.c (__setsid): Use
_hurd_locked_install_cttyid to effect the cttyid and dtable changes
after proc_setsid, having held the dtable lock throughout.
* hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
cttyid port for null and bail out early if so. The dtable lock
serializes us after any cttyid change and its associated dtable update.
1999-10-01 Andreas Jaeger <aj@suse.de>
* intl/finddomain.c (_nl_find_domain): Add cast to avoid warning.
1999-09-30 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
1999-09-30 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
* sysdeps/i386/rshift.S: Likewise.
* sysdeps/i386/strchrnul.S: Likewise.
* sysdeps/i386/strchr.S: Likewise.
Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
PR libc/1339.
1999-10-01 Ulrich Drepper <drepper@cygnus.com>
* timezone/checktab.awk: Update from tzcode1999g.
* timezone/tzselect.ksh: Likewise.
* timezone/africa: Update from tzdata1999g.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/zone.tab: Likewise.
1999-09-26 Ulrich Drepper <drepper@cygnus.com>
* nscd/Makefile: Update from main branch.
* nscd/cache.c: Likewise.
* nscd/grpcache.c: Likewise.
* nscd/hstcache.c: Likewise.
* nscd/nscd.h: Likewise.
* nscd/nscd_nischeck: Likewise.
* nscd/pwdcache.c: Likewise.
1999-09-26 Thorsten Kukuk <kukuk@suse.de>
* nscd/connections.c: Invalidate caches on request.
* nscd/nscd-client.h: Add INVALIDATE to request_type.
* nscd/nscd.c: Add invalidate cache option.
* nscd/nscd.conf: Change log directory to /var/log (FHS).
1999-06-14 Thorsten Kukuk <kukuk@suse.de>
* nscd/connections.c (handle_request): Only root is allowed to
send GETSTAT request in non secure mode.
* nscd/nscd.c: Print error message if other then root try to
use getstat.
1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
1999-07-17 and adjust len parameter.
* nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
* nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
1999-07-17 Ulrich Drepper <drepper@cygnus.com>
* resolv/netdb.h: Adjust parameters of gethostbyaddr and
gethostbyaddr_r.
* include/netdb.h: Likewise.
* inet/gethstbyad.c: Correct type of len parameter.
* inet/gethstbyad_r.c: Likewise.
1999-09-25 Ulrich Drepper <drepper@cygnus.com>
* time/strptime.c [!_LIBC] (__mon_yday): Fix typo in definition.
1999-09-24 Ulrich Drepper <drepper@cygnus.com>
* nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
not ovverwrite last group member with NULL pointer.
Reported by Thomas Winder <thomas.winder@newlogic.at>.
1999-09-12 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/vfprintf.c: Remove limitation on size of precision
for integers.
1999-09-24 Andreas Schwab <schwab@suse.de>
* math/bits/mathcalls.h: Fix last change. Also declare __finite.
1999-09-24 Andreas Jaeger <aj@suse.de>
* intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
1999-09-23 Mark Kettenis <kettenis@gnu.org>
* sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
variable. Define MORECORE_CLEARS to 2.
* malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
doesn't clear the contents of memory that is reallocated after
decrementing the break value first. Update comment about
MORECORE_CLEARS, explaining the meaning of the values it can be
set to.
1999-09-23 Ulrich Drepper <drepper@cygnus.com>
* nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
one more case.
* sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
(log): Likewise.
(log10): Likewise.
(log1p): Likewise.
(log2): Likewise.
1999-09-22 Andreas Schwab <schwab@suse.de>
* stdio-common/vfscanf.c: Fix width handling when scanning floats.
1999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
* nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
returned errno value in some cases.
1999-09-19 Ulrich Drepper <drepper@cygnus.com>
* stdlib/isomac.c: Add va_copy to allowed macros.
* po/pl.po: Updated.
1999-09-17 Andreas Schwab <schwab@suse.de>
* Makefile (clean): Also remove $(postclean) files.
1999-09-17 Andreas Schwab <schwab@suse.de>
* Makefile (clean): Also remove $(postclean) files.
1999-09-15 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
function definition to avoid a compilation failure.
1999-09-15 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
signal definitions to let glibc compile with older Linux versions
(2.0.10 to 2.1.100 or so).
1999-09-18 Ulrich Drepper <drepper@cygnus.com>
* nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
returned errno value in some cases.
1999-09-18 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
return zero to indicate no children died yet (assuming WNOHANG).
* sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
1999-09-17 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
to override user settings.
1999-09-17 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
using a pointer to it.
1999-09-17 Roland McGrath <roland@baalperazim.frob.com>
* hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
* sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
Return _hurd_pgrp instead of 0.
1999-09-16 Ulrich Drepper <drepper@cygnus.com>
* time/getdate.c (__getdate_r): Pass correct year to check_mday.
Reported by Vern Staats <staatsvr@asc.hpc.mil>.
1999-08-09 Scott Bambrough <scottb@netwinder.org>
* sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
'unsigned char ftype[8]', and 'unsigned int init_flag' to
struct user_fp. Tnese were added in version 2.2.12 of the
ARM Linux kernel.
* sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
* sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
The generic procfs.h included <asm/elf.h>. This causes
structure redefinition errors when <sys/user.h> and <sys/procfs.h>
are included in the same source file. Found when building GDB.
1999-09-12 Ulrich Drepper <drepper@cygnus.com>
* version.h (VERSION): Bump to 2.1.3.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): if res_search
fails don't rely on errno value.
(getanswer_r): Sett *ERRNOP in error cases.
* sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
(gaih_inet_serv): Return EIA_NODATA if name is known but has no
associated data. Test for matching numeric address and family.
(getaddrinfo): Remember EAI_NODATA result and return this in case
everything fails.
Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
1999-09-07 Cristian Gafton <gafton@redhat.com>
* sysdeps/unix/sysv/linux/sys/raw.h: New file
* sysdeps/unix/sysv/linux/Dist: Add raw.h.
* sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/install.texi (Configuring and compiling): Mention GCC 2.95.
1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* configure.in: Fix make version test for make 3.77.95 and later
versions.
Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
1999-09-10 Ulrich Drepper <drepper@cygnus.com>
* wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
* sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
WINT_MAX values.
* wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
1999-09-09 Andreas Schwab <schwab@suse.de>
* elf/link.h: Fix comment.
1999-09-10 Ulrich Drepper <drepper@cygnus.com>
* math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
* math/math.h: Pretty print.
1999-09-10 Andreas Schwab <schwab@suse.de>
* sysdeps/generic/getenv.c (getenv): Fix lookup for single
character variable on bigendian platforms without unaligned memory
access.
1999-09-06 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
1999-09-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm-test.c (j0_test): Add some deltas for m68k.
(jn_test): Likewise.
1999-09-06 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
escape sequences out even if the character itself does not fit
into the buffer.
* iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
1999-08-30 H.J. Lu <hjl@gnu.org>
* db2/common/db_region.c (__db_rdetach): Unmap the region if necessary.
1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
1999-09-03 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
fork from __syscall_fork to __libc_fork.
* posix/Versions: Add __libc_fork and __vfork to version
GLIBC_2.1.2.
1999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* io/ftwtest-sh: Set LC_ALL and LANG to fix locale
dependencies in sort.
1999-09-01 H.J. Lu <hjl@gnu.org>
* sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
* sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
<sys/user.h> instead of <asm/user.h>.
1999-08-31 Scott Bambrough <scottb@netwinder.org>
* sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
#ifdef statement to prevent it from being included twice.
* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
#include <bits/armsigctx.h>.
1999-08-30 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
compiling for i386 to avoid i686-like GOT pointer computation.
1999-08-28 H.J. Lu <hjl@gnu.org>
* nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
memory for buffer.
1999-08-28 Ulrich Drepper <drepper@cygnus.com>
* malloc/malloc.c (ptmalloc_init): Don't use variables to set
thresholds for SUID binaries. [PR libc/1277]
1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/install.texi (Running make install): Give examples for
timezone and locale installation.
1999-08-28 Zack Weinberg <zack@bitmover.com>
* glibcbug.in: Get CCVERSION from autoconf substitution.
* configure.in: Calculate and substitute CCVERSION.
1999-08-27 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
kernel.
* inet/netinet/in.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1999-08-25 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
unsigned to avoid warning. [PR libc/1271].
1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
* sysdeps/unix/sysv/linux/sparc/bits/types.h: Define always __qaddr_t.
__ino64_t should be 32bit unsigned type on sparc32.
Define __off64_t to __quad_t instead of __int64_t.
Make __pic_pid_t unsigned on sparc32.
1999-08-25 Ulrich Drepper <drepper@cygnus.com>
* misc/search.h: Avoid namespace pollution.
* db2/Makefile: Link db_dump185 against libdb1.
1999-08-25 Mark Kettenis <kettenis@gnu.org>
* sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
really dealing with a master pseudo terminal, and really returning
the name of the associated slave pseudo terminal by checking the
device number.
1999-08-23 Mark Kettenis <kettenis@gnu.org>
* hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
1999-08-24 Ulrich Drepper <drepper@cygnus.com>
* libio/iofopncook.c: Update for changed cookie definitions in
libio.h. Patch by Joel Klecker.
1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
Linux 2.3.15.
1999-08-24 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
syscall.
1999-08-23 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
SIGCONTEXT_EXTRA_ARGS.
* sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
* sysdeps/generic/sigcontextinfo.h: Likewise.
* sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1999-08-23 Andreas Schwab <schwab@suse.de>
* posix/regex.c (re_match_2_internal): Correct check for charset
after exactn in loop.
1999-08-22 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
Patch by Joel Klecker.
* libio/libio.h: Define documented cookie types.
1999-08-22 Mark Kettenis <kettenis@gnu.org>
* hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
* hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
installing PORT in the descriptor cell.
1999-08-19 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/execve.c: Add weak alias execve.
* sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
type. [PR libc/1269]
* posix/execvp.c: Allocate array name of correct size.
* sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
_FILE_OFFSET_BITS=64.
1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/getdirentries.c: Copy over missing patches
from mainline.
* elf/rtld.c (_dl_start): Add missing declaration of cnt.
1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* dirent/dirent.h: Fix typo in last change.
1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
TIMEOUT as outputs of the asm to indicate that the signal thread
might mutate them.
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
mach_msg if only sending or only receiving (i.e., not an RPC). When
making an RPC that might get interrupted, save OPTION and the portion
of the message buffer that gets clobbered by an EINTR reply message,
and properly restore them before attempting to retry the request
message send.
1999-08-19 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
all threads [PR libc/1223].
* elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
[PR libc/1165].
* dirent/dirent.h: Redirect getdirentries to getdirentries64 if
compiled with _FILE_OFFSET_BITS=64.
1999-08-19 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
after we have the lock.
* sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
Patch by Richard Henderson.
1999-08-18 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
* dirent/dirent.h: Define ino_t and ino64_t if not done already.
(seekdir): Fix type of second parameter.
* sysdeps/generic/seekdir.c: Likewise.
* sysdeps/mach/hurd/seekdir.c: Likewise.
* sysdeps/unix/seekdir.c: Likewise.
1999-08-17 Ulrich Drepper <drepper@cygnus.com>
* dirent/dirent.h (telldir): Change return type to long int.
* sysdeps/generic/telldir.c: Likewise.
* sysdeps/mach/hurd/telldir.c: Likewise.
* sysdeps/unix/telldir.c: Likewise.
* sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/install.texi (Configuring and compiling): Clarify ix86
situation.
1999-08-17 Ulrich Drepper <drepper@cygnus.com>
* timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
case for new tzdata.
* sysdeps/libm-ieee754/s_erf.c: Correct type in performance increase
rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
* timezone/private.h: Update from tzcode1999e.
* timezone/zic.c: Likewise.
* timezone/africa: Update from tzdata1999e.
* timezone/antarctica: Likewise.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* stdio-common/vfprintf.c (process_arg): Correct last patch and
write correct number of bytes in case of %ls with precision.
1999-08-16 Ulrich Drepper <drepper@cygnus.com>
* nscd/nscd.init: Test for kernel version and make LSB compliant.
Patch by Christian Gafton.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
O_RSYNC. Patch by Christian Gafton.
* stdio-common/vfprintf.c (process_arg): Correct %ls handling wrt
to precision.
1999-08-15 Ulrich Drepper <drepper@cygnus.com>
* wcsmbs/wcsnlen.c: Correct decrement maxlen.
1999-07-20 Geoff Keating <geoffk@cygnus.com>
* math/libm-test.c: Tweak deltas for a clean run on ppc.
1999-08-15 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
1999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/job.texi (Process Group Functions): Document getpgid,
getsid.
1999-08-15 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
initialize si_pid from it.
* sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
parameter.
* rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
* rt/aio_misc.h (struct waitlist): Add caller_pid element.
(struct requestlist): Likewise.
Adjust prototypes of __aio_notify_only and __aio_sigqueue.
* rt/notify.c (__aio_notify_only): Take extra parameter. Pass it
to __aio_sigqueue.
(__aio_notify): Pass caller PID to __aio_notify_only.
* rt/aio_suspend.c: Initialize caller_pid.
* rt/lio_listio.c: Likewise.
* rt/lio_listio64.c: Likewise.
* rt/lio_listio.c: If nothing has to be done free mutex before
signalling.
* rt/lio_listio64.c: Likewise.
1999-08-10 H.J. Lu <hjl@gnu.org>
* resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-
buffer handling.
1999-08-15 Ulrich Drepper <drepper@cygnus.com>
* intl/locale.alias: Add catalan.
1999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/install.texi (Configuring and compiling): Mention
CFLAGS.
1999-08-15 Ulrich Drepper <drepper@cygnus.com>
* po/pt_BR.po: New file.
1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm-test.c (yn_test): Adjust deltas for i386.
(ccosh_test): Likewise.
(jn_test): Likewise.
1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* configure.in: install-sh lives now in scripts subdir.
PR libc/1255 (bug 4).
11999-08-13 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
exponent.
1999-08-13 Ulrich Drepper <drepper@cygnus.com>
* po/fr.po: Update.
1999-08-09 Scott Bambrough <scottb@netwinder.org>
* elf/elf.h: Added definition of ELFOSABI_ARM.
* elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
object's header and ABI values are acceptable.
(VALID_ELF_HEADER): New macro; provide default definition.
(VALID_ELF_OSABI): New macro; provide default definition.
(VALID_ELF_ABIVERSION): New macro; provide default definition.
* sysdeps/arm/dl-machine.h Define ARM specific versions of
VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
1999-08-08 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/ieee754/ieee754.h: Handle platforms with special
__FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
* string/bits/string2.h: Mark void* operations as extensions.
* sysdeps/i386/i486/bits/string.h: Likewise.
1999-08-06 Ulrich Drepper <drepper@cygnus.com>
* resolv/res_send.c (res_send): Recompute timeout for poll for
each jump to `wait'.
* inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
braces to avoid warnings.
(IN6ADDR_LOOPBACK_INIT): Likewise.
* sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
MSG_DONTWAIT).
1999-08-06 H.J. Lu <hjl@gnu.org>
* malloc/malloc.c: Initialize __libc_pagesize early.
1999-08-06 Ulrich Drepper <drepper@cygnus.com>
* resolv/res_send.c (res_send): Don't test file descriptor for
range, we use poll now. [PR libc/1240]
1999-08-05 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
Define.
1999-08-04 Ulrich Drepper <drepper@cygnus.com>
* rt/aio_read.c: Fix return value.
* rt/aio_read64.c: Likewise.
Reported by Christian Gafton.
* rt/aio_write.c: Fix return value.
* rt/aio_write64.c: Likewise.
* rt/aio_fsync.c: Likewise.
* rt/aio_misc.c: Set errno at correct place.
* rt/aio_fsync.c: Test OP parameter for correct values.
1999-08-04 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
Initialize result to one.
(GET_NPROCS_CONF_PARSER): Likewise.
1999-08-02 Thorsten Kukuk <kukuk@suse.de>
* nis/nis_callback.c: Fix port problem on big-endian machines.
* sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
fields are always 32 bit.
Patches from Paul Mackerras <paulus@cs.anu.edu.au>
* nis/nss_nis/nis-service.c: Remove htons, port is always in
network-byte-order.
* nis/nss_nisplus/nisplus-service.c: Rename number to port.
1999-08-01 Ulrich Drepper <drepper@cygnus.com>
* dlfcn/dlerror.c: Make code thread-safe.
1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
initializer in CHECK: a bit size, not the type code repeated!
1999-07-31 H.J. Lu <hjl@gnu.org>
* string/bits/string2.h (__strcpy_small): Fix a typo.
1999-07-31 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
* sysdeps/i386/fpu/e_powf.S: Likewise.
* sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
* sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
* sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
1999-07-30 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
definition.
(__get_nprocs): Use it.
(__get_nprocs_conf): Define as separate function if
GET_NPROCS_CONF_PARSER is defined.
* sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
* include/sys/sysinfo.h: New file.
* sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
interface.
* sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
1999-07-30 Andreas Schwab <schwab@suse.de>
* Makerules: Put sysd-versions and Versions.all on
postclean-generated instead of common-generated.
1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/time.texi (Basic CPU Time): Note that clock_t can wrap
around and CLOCKS_PER_SEC is 1e6.
1999-07-29 Andreas Schwab <schwab@suse.de>
* misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
all floating point formats supported by gcc. Error out for
unhandled precisions.
* misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
* misc/qefgcvt.c (NDIGIT_MAX): Likewise.
* misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
1999-07-29 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/setenv.c: Move setenv code in new function
__add_to_environ. Add new parameter specifying already
constructed string for the environment.
(setenv): Call __add_to_environ with new parameter set to NULL.
(unsetenv): Really test all elements for duplicated name. Missed those
cases where the two are following each other.
* sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
* include/stdlib.h: Add prototype of __add_to_environ.
* stdlib/tst-environ.c: New file.
* stdlib/Makefile (tests): Add tst-environ.
* sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
* nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
argument in realloc call.
* nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
Likewise.
Reported by Danny Braniss <danny@cs.huji.ac.il>.
1999-07-28 Ulrich Drepper <drepper@cygnus.com>
* misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
to print.
* misc/efgcvt_r.c: Likewise.
* misc/qefgcvt.c: Likewise.
* misc/qefgcvt_r.c: Likewise.
1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/math.texi (FP Function Optimization): Mention drawbacks.
1999-07-28 Ulrich Drepper <drepper@cygnus.com>
* stdlib/mblen.c: Use static state.
Reported by Bruno Haible <haible@ilog.fr>.
* stdlib/mbtowc.c: Reset state for s == NULL.
* stdlib/wctomb.c: Likewise.
Reported by Bruno Haible <haible@ilog.fr>.
* stdlib/mbstowcs.c: Do not use global state.
Reported by Bruno Haible <haible@ilog.fr>.
1999-07-27 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
assembler code to switch stacks and call init1 outside this
function. Inside `init' the code was optimized away by gcc
2.95 since it was "clearly" unreachable.
* sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
Do something similar for the trampoline code.
1999-07-27 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/Makefile [stdio-common]: Set inhibit-siglist.
(The code this disables is entirely gone in the main branch,
so this change does not need to be propagated from the 2.1 branch.)
1999-07-27 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
for the hinted protocol.
1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* README.template (configurations): The crypt add-on has a new
ftp site.
* manual/install.texi (Installation): Likewise.
1999-07-26 Ulrich Drepper <drepper@cygnus.com>
* stdlib/wcstombs.c: Do not use global state.
Reported by Bruno Haible <haible@ilog.fr>.
* wcsmbs/wctob.c: Avoid sign extension when returning character.
Reported by Bruno Haible <haible@ilog.fr>.
* wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
of wide characters to convert do it right and don't overestimate
by multiplying with MB_CUR_MAX.
Reported by Bruno Haible <haible@ilog.fr>.
1999-07-25 Ulrich Drepper <drepper@cygnus.com>
* libio/iofclose.c (_IO_new_fclose): Only fall back on
_IO_old_fclose if doing versioning.
* libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
them appropriately.
* libio/oldiofclose.c (_IO_old_fclose): Likewise.
* misc/mntent_r.c: Allow spaces and tabs in entry names by
encoding these characters.
* misc/tst-mntent.c: Add test case for addmntent and getmntent.
* string/bits/string2.h: Fix aliasing problems.
* sysdeps/i386/i486/bits/string.h: Likewise.
* sysdeps/i386/bits/string.h: Likewise.
1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
in bash 2.03.
1999-07-25 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
1999-07-24 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
accesses.
* resolv/res_send.c: Add locks for res_send and res_close use.
1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
1999-07-21 Andreas Schwab <schwab@suse.de>
* libio/fileops.c (_IO_new_file_underflow): Set error indicator
when reading from write-only stream.
* libio/oldfileops.c (_IO_old_file_underflow): Likewise.
1999-07-20 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/_strerror.c: Include <libintl.h>.
1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdsig.c (_hurd_internal_post_signal): If a
hurd_signal_preemptor matches but its `preemptor' field is null, use
its `handler' field directly. This is to comply with behavior
documented in <hurd/sigpreempt.h>.
1999-07-19 Andreas Schwab <schwab@suse.de>
* iconvdata/Makefile (distribute): Don't distribute CVS
directory.
* sysdeps/generic/Dist: Add siglist.h.
* sysdeps/mach/hurd/Dist: Add siglist.h.
1999-07-18 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
1999-07-17 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
1999-07-14 Andreas Schwab <schwab@suse.de>
* Makerules (common-generated): Don't prepend $(common-objpfx).
1999-07-12 Andreas Schwab <schwab@suse.de>
* elf/rtld.c (dl_main): When putting back the interpreter object
handle the case where a missing object might occur in the list of
objects but not in the search list when in trace mode.
1999-07-15 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
* malloc/mallo.c: Add missing chunk of patch from 1999-07-04.
* stdio-common/bug1.c: Avoid memory leak.
* sysdeps/libm-i387/e_pow.S: Use addl instead of pop/pop to keep
program deterministic.
* sysdeps/libm-i387/e_powf.S: Likewise.
* sysdeps/libm-i387/e_powl.S: Likewise.
1999-07-15 Philip Blundell <pb@nexus.co.uk>
* sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
_outw, _outl): Added to GLIBC_2.1.2.
1999-07-15 Ulrich Drepper <drepper@cygnus.com>
* posix/unistd.h: Use __PMT for exit.
1999-07-13 Andreas Schwab <schwab@suse.de>
* elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
inlining. Fixes PR libc/1198.
1999-07-14 Ulrich Drepper <drepper@cygnus.com>
* time/strptime.c (get_number): Handle number parsing more
consistent with strftime. Only parse a given number of digits.
(get_alt_number): Fix implementation. Was broken.
(strptime_internal): Add third parameter to get_number and
get_alt_number calls.
1999-07-12 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
connections without a hostname set address to localhost address.
1999-07-11 H.J. Lu <hjl@gnu.org>
* nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
nscd's own strong version of the get[a-z]*_r function.
* nscd/hstcache.c: Likewise.
* nscd/pwdcache.c: Likewise.
1999-07-12 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Recognize 2.95 as gcc version number.
Patch by Joel Klecker <jk@espy.org>.
1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/brk.c (static_data_start): New variable.
(_hurd_set_brk, init_brk): Use that instead of &__data_start.
Initialize it from &__data_start if defined, or else &_end.
1999-07-09 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
compilers.
(__memset_cc): Likewise.
* sysdeps/generic/libc-start.c: For SUID binaries check whether
the standard file descriptors are open.
Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
* sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
* sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
range of mmap. If not fail.
Patches by Daniel Jacobowitz <dan@debian.org>.
1999-07-09 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
1999-07-09 H.J. Lu <hjl@gnu.org>
* Versions.def (GLIBC_2.1.2): Added.
* nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
old one as GLIBC_2.0.
* nss/getXXbyYY_r.c: Likewise.
* grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
GLIBC_2.1.2.
* inet/Versions (getaliasbyname_r, getaliasent_r,
gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
getnetgrent_r, getprotobyname_r, getprotobynumber_r,
getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
getservbyname_r): Likewise.
* pwd/Versions (getpwent_r, getpwuid_r): Likewise.
* shadow/Versions (getspent_r, getspnam_r): Likewise.
1999-07-09 Ulrich Drepper <drepper@cygnus.com>
* elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
before the relocation happened.
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
add `memory' clobber; optimise for constant `val'.
(atomic_add): Likewise.
(test_and_set): Remove `volatile'; add `memory' clobber; be more
like the original `test_and_set'.
(compare_and_swap): Remove `volatile'; add `memory' clobber;
optimise for constant `oldval'.
(always_swap): Remove `volatile'; add `memory' clobber.
1999-07-08 Andreas Schwab <schwab@suse.de>
* libio/iofopncook.c (fopencookie): Set _fileno to -2.
* libio/libioP.h (_IO_file_is_open): Only check for -1, not all
negative numbers.
* libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
EOF.
* libio/oldfileops.c (_IO_old_file_close_it): Likewise.
1999-07-08 Andreas Schwab <schwab@suse.de>
* libio/fileno.c: Return -1 instead of EOF and set errno if the
stream is not a real file stream.
1999-07-08 Andreas Schwab <schwab@suse.de>
* manual/charset.texi: Fix typos.
1999-07-07 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/setenv.c: Describe problem.
* malloc/malloc.c (request2size): Also set errno if failing.
* malloc/malloc.c (request2size): Take care of overflow in
addition.
* sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
(NULL, != 0) correctly.
* sysdeps/posix/getcwd.c: When resizing buffer make sure new size
is large enough.
1999-07-07 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
(_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
(_PATH_DEVPTMX): Use _PATH_DEV.
1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
doesn't belong in the tests, but in the wordexp implementation.
* posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
split fields.
1999-07-06 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
motherboards.
Patch by Jay Estabrook.
* sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
ldd for SPARC.
* /sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
Patch by Cristian Gafton.
1999-07-02 Cristian Gafton <gafton@redhat.com>
* sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
instead of "return NULL" to make C++ happy.
1999-07-04 Mark Kettenis <kettenis@gnu.org>
* libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
allowed by the file access mode of the open file.
1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
* malloc/malloc.c (request2size): Check for overflow and return
NULL whenever it is encountered.
1999-07-01 Cristian Gafton <gafton@redhat.com>
* time/strptime.c (strptime): Initialize the tm struct first to avoid
returning bogus results on incomplete data.
(strptime_internal): day_of_the_week() requres bith tm_mon and
tm_mday to be initializaed.
Computer them first if they are not given.
(strptime_internal): (have_mon, have_mday): New variables.
1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* inet/rcmd.c (__icheckhost): Fix typo in last patch.
1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
* wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* posix/wordexp.c (parse_tilde): Handle failing call to
get.*_r functions correctly for non-existing entry.
* sysdeps/posix/cuserid.c (cuserid): Likewise.
* sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
1999-06-30 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
getxxbyYY_r functions correctly for non-existing entry.
* sunrpc/getrpcport.c: Likewise.
* sunrpc/clnt_simp.c: Likewise.
* inet/rexec.c: Likewise.
* sunrpc/clnt_gen.c: Likewise.
* inet/rcmd.c: Likewise.
* sysdeps/generic/glob.c: Likewise.
1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
correctly.
1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/arith.texi (System V Number Conversion): Fix the
description which confused pointer and value to pointer.
Reported by Andries.Brouwer@cwi.nl.
1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* pwd/getpw.c (__getpw): Check for NULL result pointer.
1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/users.texi (Lookup User): Document POSIX return
semantics for getpwuid_r and getgrgid_r.
* manual/socket.texi (Host Names): Document that the result
pointer is null in case of error or host not found and fix a
typo. Give a small example.
1999-06-30 Ulrich Drepper <drepper@cygnus.com>
* pwd/getpw.c: Add warning since no buffer size is given and
therefore no overrun tests are possible.
1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* pwd/pwd.h: Add getpw prototype declaration.
1999-06-30 Ulrich Drepper <drepper@cygnus.com>
* wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
* wcsmbs/wcschr.c: Likewise.
1999-06-28 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
function correctly.
* sunrpc/getrpcport.c: Test for gethostbyname_r function
correctly.
* sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
* sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
functions correctly.
* inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
* inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
file reading a bit.
* sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
1999-06-28 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
returns.
* sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
* sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/string.texi (Copying and Concatenation): Mention that
strndup is a GNU extension.
1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* pwd/getpw.c (__getpw): Fix check for error return.
1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* elf/dl-deps.c (_dl_map_object_deps): When looking for the next
occurence of the aux object start with the current list entry, not
the new one. Adjust tail pointer in the unique list. Explain how
the meaning of the variables changes.
1999-06-25 Ulrich Drepper <drepper@cygnus.com>
* string/bits/string2.h (strnlen): Remove extra prototype.
1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
_EXTERN_INLINE, use a macro specific to each file,
_HURD_FD_H_EXTERN_INLINE and the like.
* hurd/Makefile (inline-headers): New variable.
(routines): Remove hurdinline. Add $(inlines).
(inlines): New variable.
($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
(generated): Append those here.
* hurd/hurdinline.c: File removed.
* sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
* mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
1999-06-24 Ulrich Drepper <drepper@cygnus.com>
* misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
1999-06-24 Thorsten Kukuk <kukuk@suse.de>
* nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
* nscd/pwdcache.c: Likewise.
* nscd/hstcache.c: Likewise.
1999-06-23 Ulrich Drepper <drepper@cygnus.com>
* manual/arith.texi: Document restriction of ndigit parameter of
ecvt and friends.
* misc/efgcvt.c: Define NDIGIT_MAX.
(gcvt): Limit precision in sprintf call to NDIGIT_MAX.
Do not dynamically allocate the static buffers. They are small enough.
* misc/efgcvt_r.c: Define NDIGIT_MAX.
(fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
* misc/qefgcvt.c: Define NDIGIT_MAX.
* misc/qefgcvt_r.c: Likewise.
* misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
1999-06-23 Ulrich Drepper <drepper@cygnus.com>
* stdio/fputc.c: Don't define alias if fputc is defined as a
macro.
* stdio/putc.c: Define weak alias here since it is not done
anymore in fputc.c.
1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
bits of two words differ.
1999-06-18 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/alpha/atomicity.h: Correct counting of subsections.
1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* libio/oldiopopen.c (_IO_old_proc_open): Apply change from
1999-03-29 to iopopen also here.
Reported by Richard Braakman <dark@xs4all.nl>.
1999-06-18 Ulrich Drepper <drepper@cygnus.com>
* sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/unix/sysv/linux/siglist.c: Moved to ...
* sysdeps/gnu/siglist.c: ... here.
Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
* sysdeps/gnu/siglist.h: New file, contents from linux version.
Add entry for SIGLOST protected by #ifdef.
* sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
and define OLD_SIGLIST_SIZE_STR.
* sysdeps/mach/hurd/siglist.h: New file, likewise.
1999-06-18 H.J. Lu <hjl@gnu.org>
* localedata/Makefile (charmaps): Exclude SCCS.
(locales): Likewise.
(repertoiremaps): Likewise.
1999-06-18 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
* sysdeps/generic/bsd-setjmp.c: Likewise.
1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
disciplines.
1999-06-17 Ulrich Drepper <drepper@cygnus.com>
* nss/getXXbyYY_r.c: Return error code not -1.
* nss/getXXent_r.c: Likewise.
* nss/getXXbyYY.c: Expect return alue to be ERANGE if buffer is too
small.
* nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
value > 0 for error.
* nscd/nscd_gethst_r.c: Likewise.
* nscd/nscd_getpw_r.c: Likewise.
1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
word order.
* sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
* sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
1999-06-17 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
always when oact is NULL.
Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm-test.c (jn_test): Adjust delta.
1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* elf/dl-load.c (_dl_init_paths): Add one more element to aelem
to not write beyond allocated memory.
Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
1999-06-17 Ulrich Drepper <drepper@cygnus.com>
* malloc/mtrace.c: Keep lock while printing output lines.
Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
1999-06-15 H.J. Lu <hjl@gnu.org>
* Make-dist (sysdep_dirs): Exclude SCCS.
* MakeTAGS (sysdep_dirs): Likewise.
1999-06-15 Ulrich Drepper <drepper@cygnus.com>
* posix/regex.c (re_error_msgid): Remove extra commas.
1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
* stdlib/strtol.c: It is not generally true that if
(unsigned)a*(unsigned)b overflows, then the result is
less than 'a'.
1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
functions for gcc <= 2.7.x.
1999-06-13 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
definitions to calm down gcc.
1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
change.
1999-06-12 Mark Kettenis <kettenis@gnu.org>
* Makeconfig (static-start-installed-name): Set to
$(start-installed-name) if not defined.
(+link-static): Use $(static-start-installed-name) instead of
$(start-installed-name).
* sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
Set to crt0.o.
1999-06-12 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
inserting a send right into the child instead of unconditionally
copying the send right.
1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
MSG_* flags from Linux 2.2.9.
1999-06-12 Ulrich Drepper <drepper@cygnus.com>
* locale/lc-time.c: Add free_mem function to free if necessary
statically allocated memory.
1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
* sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
bias from the raw exponent.
1999-06-11 Ulrich Drepper <drepper@cygnus.com>
* inet/arpa/tftp.h: Move attribute declaration in right position.
1999-06-11 Ulrich Drepper <drepper@cygnus.com>
* resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
of user-provided buffer.
1999-06-10 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/printf-parse.h (parse_one_spec): Add support for a
and A format.
* shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
returning after last entry.
* pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1999-06-09 Ulrich Drepper <drepper@cygnus.com>
* pwd/fgetpwent_r.c: Set errno in the correct way.
* shadow/fgetspent_r.c: Likewise.
* pwd/fgetpwent.c: Handle long lines correctly. Little
optimizations. Free static buffer when debugging memory handling.
* shadow/fgetspent.c: Likewise.
* grp/fgetgrent.c: Little optimization in loop.
1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
* stdlib/longlong.h: gas changed sethi handling when without
%hi(). Fix assembly.
1999-06-08 Ulrich Drepper <drepper@cygnus.com>
* misc/daemon.c: Call fork.
* grp/fgetgrent.c (buffer): Make file local variable.
(free_mem): New function. Call for malloc debugging.
1999-06-08 Ulrich Drepper <drepper@cygnus.com>
* ctype/ctype.h: Protect __tobody code by __extension__.
1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/if_index.c: Replace SIOG* with SIOCG*.
1999-06-07 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
parameters.
1999-06-06 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
function handling.
* sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
1999-06-06 Andi Kleen <ak@muc.de>
* sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
SA_RESTORER flag.
1999-06-05 Philip Blundell <philb@gnu.org>
* sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
problems with GOT addressing.
1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
* stdlib/longlong.h: Define UDIV_TIME on sparc64.
1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
(from Linux 2.3.4).
1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/stdio.texi: Fix some typos.
1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/stdio.texi (Formatted Output Functions): Mention
semantics of snprintf in glibc 2.0.
Reported by Ben Pfaff <pfaffben@msu.edu>.
1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* malloc/malloc.h: Properly handle future GCC versions.
1999-05-25 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
1999-06-11 Mark Kettenis <kettenis@gnu.org>
* hurd/hurdsock.c (max_domain): Initialize to `-1'.
(_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
1999-06-07 Ulrich Drepper <drepper@cygnus.com>
* grp/fgetgrent.c (fgetgrent): Remember position of stream before
reading and reset in case the buffer was too small.
* grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
of EOF.
1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
* db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
be POSIX compliant. Prior definition was broken for Hurd.
Reported by Mark Kettenis <kettenis@gnu.org>.
1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
the precision if the mantissa is zero.
1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* manual/lang.texi (Floating Point Parameters): GCC already
supports long double for a long time.
1999-06-07 Ulrich Drepper <drepper@cygnus.com>
* math/libm-test.c: Update from mainline branch.
1999-06-06 Ulrich Drepper <drepper@cygnus.com>
* malloc/malloc.c: Introduce local variable __libc_getpagesize to
avoid multiple calls to getpagesize() which might be a syscall.
1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/install.texi (Running make install): Correct typo in
dynamic linker invocation.
1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
* malloc/malloc.c (check_action): Change into bitmap so that both
diagnostic and abort can be requested by setting it to 3.
(mALLOC_SET_STATe): Disable malloc checking if necessary.
1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* Makerules: Set LC_ALL explicitly to archieve correct sorting of
map files. Closes PR libc/1147.
1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
Patch by mhagger@dera.gov.uk [PR libc/1145].
* math/libm-test.c (y1_test): New tests.
(y0_test): Likewise.
(j1_test): Likewise.
(j0_test): Likewise.
(main): Added new tests.
1999-06-02 David S. Miller <davem@redhat.com>
* nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
pointers properly.
1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/socket.texi (Host Names): Remove statement that h_errno
needs to be declared since this isn't true anymore.
Closes PR libc/1138.
1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
* stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
Optimized sparc64 routines.
1999-05-25 Ulrich Drepper <drepper@cygnus.com>
* version.h (VERSION): Bump to 2.1.2.
1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
* sysdeps/sparc/bits/wordsize.h: New file.
* sysdeps/sparc/bits/fenv.h: New file.
* sysdeps/sparc/fpu_control.h: New file.
* sysdeps/sparc/gmp-mparam.h: New file.
* sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
* sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
* sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
* sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
* sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
* sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
* sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
* sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
1999-05-24 Ulrich Drepper <drepper@cygnus.com>
* login/openpty.c (openpty): Make sure pty does not because
controlling TTY.
* ctype/ctype.h: Don't optimize toupper/tolower for C++.
1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
* hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
Do proper error return.
1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
of __P in the rest of glibc; define __MALLOC_PMT and use it.
Reported by Stephan Kulow <coolo@kde.org>.
1999-05-23 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
* sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
names to protect from user's macro namespace.
* sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
* sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
* sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
* sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
* sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
Adapted.
* sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
sysdeps/arm/fpu/fesetenv.c: Likewise.
* sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
* sysdeps/mips/fesetenv.c: Likewise.
1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
1999-05-20 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Recognize and allow gcc 2.95.
1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
* sysdeps/generic/bits/elfclass.h: Version common to
wordsize-32 and wordsize-64.
* sysdeps/generic/bits/environments.h: Ditto.
* sysdeps/generic/stdint.h: Ditto.
* sysdeps/generic/inttypes.h: Ditto.
* sysdeps/generic/bits/wordsize.h: New file.
* stdlib/Makefile: Add bits/wordsize.h to headers.
* sysdeps/sparc/sparc64/bits/wordsize.h: New file.
* sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
headers to be used for 32bit and 64bit ABI compilations.
* sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
* sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
* sysdeps/wordsize-64/bits/elfclass.h: Remove.
* sysdeps/wordsize-64/bits/environments.h: Remove.
* sysdeps/wordsize-64/stdint.h: Remove.
* sysdeps/wordsize-64/inttypes.h: Remove.
* sysdeps/wordsize-64/bits/wordsize.h: New file.
* sysdeps/wordsize-32/bits/elfclass.h: Remove.
* sysdeps/wordsize-32/bits/environments.h: Remove.
* sysdeps/wordsize-32/stdint.h: Remove.
* sysdeps/wordsize-32/inttypes.h: Remove.
* sysdeps/wordsize-32/bits/wordsize.h: New file.
1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
* sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
__align_cpy_16): New functions.
(__align_cpy_2, __align_cpy_1): New aliases to memcpy.
* sysdeps/sparc/sparc32/Versions: New file.
* sysdeps/sparc/sparc64/Versions: New file.
* sysdeps/sparc/Versions: Remove.
1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
* sysdeps/unix/sysv/linux/configure.in:
On sparc64-*-linux*, set slibdir to /lib64 if prefix
is /usr, plus set libdir to ${exec_prefix}/lib64.
* sysdeps/unix/sysv/linux/configure: Regenerated.
* config.make.in: Propagate libdir settings from configure
to the Makefiles.
* shlib-versions: sparc64-*-linux* dynamic linker is
/lib64/ld-linux.so.2.
1999-05-18 Thorsten Kukuk <kukuk@suse.de>
* nis/nis_lookup.c (nis_lookup): If we run out of memory, close
RPC connection.
1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
* sysdeps/sparc/sparc64/rawmemchr.S: New file.
* sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
* sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
contains garbage in bits 8-63.
* sysdeps/sparc/sparc64/memset.S: Ditto.
* sysdeps/sparc/sparc64/strchr.S: Ditto.
1999-05-18 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
1999-05-17 David S. Miller <davem@redhat.com>
* sysdeps/sparc/sparc32/atomicity.h: New file.
* sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
* sysdeps/sparc/sparc64/atomicity.h: New file.
* sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
sysdep-CFLAGS.
1999-05-18 Richard Henderson <rth@twiddle.net>
* sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
* argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
posix/sys/types.h: Handle the case of __GNUC__=3,
__GNUC_MINOR__=(anything).
1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
if _FORCE_INLINES.
1999-05-17 Ulrich Drepper <drepper@cygnus.com>
* elf/Makefile (distribute): Remove dl-origin.h.
Add dl-dst.h and gen-trusted-dirs.awk.
1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/i386/i486/Versions: New file with inline functions from
sysdeps/i386/i486/bits/string.h for now.
* sysdeps/i386/Versions: Add inline functions from
sysdeps/i386/bits/string.h.
* string/Versions: Add inline functions from <bits/string2.h>.
* string/Makefile (routines): Add string-inlines.
* string/string-inlines.c: New file, used for implementation of
extern inline functions.
* sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
non inlined versions of functions.
* string/bits/string2.h: Likewise.
* sysdeps/i386/bits/string.h: Likewise.
1999-05-17 Ulrich Drepper <drepper@cygnus.com>
* inet/arpa/tftp.h: Add second packed attribute.
1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
* malloc/malloc.c: Cleanup to bring in line with released
stand-alone version `ptmalloc'. Update some comments.
(internal_function): Move fallback definition so that the source
compiles outside of libc, and use it in more places.
(malloc_atfork): Fix when malloc_check is in use.
1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* stdlib/tst-strtod.c: Fix typo.
1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* elf/dl-close.c (_dl_close): Add cast to avoid warning about
const incorrectness.
1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
1999-05-16 Thorsten Kukuk <kukuk@suse.de>
* sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
* sunrpc/key_call.c: Fix memory leak, close file handle.
* nis/nis_creategroup.c: Use malloc instead of calloc,
set ctime and mtime.
* nis/nis_subr.c: Check for realloc result.
* nis/nis_file.c: Fix memory leak.
* nis/nis_table.c: Pretty print.
* nis/nis_getservlist.c: Likewise.
* nis/nis_ismember.c: Likewise.
* nis/nis_lookup.c: Likewise.
* nis/nis_ping.c: Likewise.
* nis/nis_removemember.c: Likewise.
* nis/nis_util.c: Likewise, check calloc result.
1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
* sysdeps/generic/sys/socketvar.h: ... here.
* sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
* sysdeps/generic/netinet/in_systm.h: ... here.
* sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
sys/socketvar.h.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
* inet/Makefile (headers): Add netinet/in_systm.h here.
* socket/Makefile (headers): Add sys/socketvar.h here.
1999-05-15 Ulrich Drepper <drepper@cygnus.com>
* stdlib/strtol.c: Optimize inner loop of long long versions.
* sysdeps/gnu/utmpx.h: Add needed type definitions according to
Unix98. Add forward declaration of struct utmp.
1999-05-14 Ulrich Drepper <drepper@cygnus.com>
* nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
calloc.
* nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
* nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
memory allocation results.
1999-05-14 Mark Kettenis <kettenis@gnu.org>
* sysdeps/generic/getutmp.c: Include <string.h>
(getutmp): Rewrite to only copy those members that are really
present in `struct utmp'.
* sysdeps/generic/getutmpx.c: Likewise.
1999-05-14 Ulrich Drepper <drepper@cygnus.com>
* nss/getXXbyYY.c: Add free_mem function which disposes all
statically allocated memory when debugging.
* nss/getXXent.c: Likewise.
* nss/nsswitch.c: Likewise.
1999-05-13 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/gnu/getutmpx.c: New file.
* sysdeps/gnu/getutmp.c: New file.
1999-05-13 H.J. Lu <hjl@gnu.org>
* login/Versions (getutmpx): Added to GLIBC_2.1.1.
(getutmp): Likewise.
* sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
getutmpx for login.
* sysdeps/gnu/utmpx.h (getutmp): Added.
(getutmpx): Likewise.
* sysdeps/generic/getutmp.c: New file.
* sysdeps/generic/getutmpx.c: New file.
1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* glibcbug.in (BUGGLIBC): Change address to
libc-alpha@sourceware.cygnus.com.
1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* resolv/arpa/nameser.h: Add C++ protectors.
1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* iconvdata/gconv-modules: Fix alias for CP1255. Reported by
Elad Tsur <eladts@post.tau.ac.il>.
1999-05-11 Ulrich Drepper <drepper@cygnus.com>
* elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
* elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
lazily if LD_BIND_NOW is not set.
* elf/dl-support.c (_dl_lazy): New variable.
(non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
* elf/rtld.c (_dl_lazy): new global variable.
( dl_main): Remove lazy, replace it by _dl_lazy.
1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* locale/setlocale.c (new_composite_name): Check also whether the
first category name differs.
1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
the generic one.
1999-05-11 Philip Blundell <pb@nexus.co.uk>
* sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
structure; storage suitable for any socket address.
* sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
Likewise.
* sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
sockaddr_storage): Likewise.
* inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
platform.
1999-05-10 Ulrich Drepper <drepper@cygnus.com>
* hesiod/Versions: Change _nss_hesiod_getpwuid and
_nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
_nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
1999-05-09 Mark Kettenis <kettenis@gnu.org>
* hurd/get-host.c (_hurd_get_host_config): Return an empty value
if the file is empty.
1999-05-07 Ulrich Drepper <drepper@cygnus.com>
* elf/do-lookup.h: Fix typo in comment.
* sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
f_bsize to help some broken programs.
* stdio-common/tst-printf.c: Add test case for last _itoa problem.
* stdio-common/vfprintf.c: Fix typo.
1999-05-06 Ulrich Drepper <drepper@cygnus.com>
* elf/link.h (struct link_map): New field l_phdr_allocated.
* elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
the program header being part of any loaded segment. If it is not
allocate memory and set l_phdr_allocated flag.
* elf/dl-close.c (_dl_close): Free l_phdr if necessary.
* nss/digits_dots.c: Correct return value interpretation of
inet_ntoa. Fix PR libc/1109.
1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
* sysdeps/sparc/sparc32/sparcv9/Dist: New file.
1999-05-06 Thorsten Kukuk <kukuk@suse.de>
* stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
* stdlib/fpioconst.c: Move #endif before end of struct.
1999-05-05 Ulrich Drepper <drepper@cygnus.com>
* Versions.def (ld.so): Add GLIBC_2.1.1.
* elf/Makefile (routines): Add dl-origin.
(tests): Add origtest. Add dependencies for the program.
* elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
_dl_platformlen, _dl_dst_count and _dl_dst_substitute.
* elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
(_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
DT_AUXILIARY, and DT_FILTER filenames.
* elf/dl-load.c (expand_dynamic_string_token): Explode into
two functions and three macros.
(_dl_dst_count, _dl_dst_substitute): New functions.
* elf/dl-dst.h: New file.
* elf/dl-open.c (_dl_open): Take extra parameter with address of
caller. Pass address in args structure.
(dl_open_worker): Recognize and expand DSTs in filename.
* elf/ldsodefs.h (_dl_open): Adapt prototype.
* elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
(__dlopen_check): Pass caller address to dlopen_doit in args.
* elf/dlopendoit.c: Likewise.
* iconv/gconv_dl.c: Adapt call of _dl_open.
* nss/nsswitch.c: Likewise.
* elf/origtest.c: New file.
* sysdeps/generic/dl-origin.h: Moved to...
* sysdeps/generic/dl-origin.c: ...here.
* sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
* sysdeps/unix/sysv/linux/dl-origin.c: ...here.
* stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
with specific bases and only few bits set in second word.
* timezone/Makefile (install-others): Create target directory
before creating tzfiles.
1999-05-05 Thorsten Kukuk <kukuk@suse.de>
* nis/nis_file.c (readColdStartFile): Allocate memory only after
the file is opened successfully.
* nis/nis_table.c: Fix some memory leaks.
1999-05-04 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
variable.
* elf/dl-load.c (expand_dynamic_string_token): Recognize { }
around DST. Correctly ignore ORIGIN IN SUID binaries.
1999-05-03 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
* sysdeps/generic/strtok.c: Likewise.
* string/tester.c: Add test of rawmemchr.
* sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
specification. It's not necessary.
* elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
* elf/gen-trusted-dirs.awk: New file.
* elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
from SYSTEM_DIRS macro.
(system_dirs_len): New variable. Contains lengths of system_dirs
strings.
(fillin_rpath): Rewrite for systems_dirs being a simple string.
Improve string comparisons. Change parameter trusted to be a flag.
Change all callers.
(_dt_init_paths): Improve using new format for system_dirs.
* elf/dl-load.c (expand_dynamic_string_token): Don't expand
$ORIGIN for SUID binaries.
* sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sunrpc/Makefile: Generate dependencies for all flavors of
librpcsvc objects.
(rpcgen-cmd): Pass -Y flag here and remove it from the macro
invocations.
1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* elf/dlopenold.c: Move #if down after includes to get
dependencies right.
1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/generic/bzero.c: Undefine __bzero.
1999-05-02 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
* sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
* sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
Patch by Craig Small <csmall@scooter.eye-net.com.au>.
* sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
parameter to struct gaih_servtuple *. Adapt appropriately.
(gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
This fixes a memory leak.
Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
* sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
and fpregset_t definition. They are defined in ucontext.h.
1999-04-14 Scott Bambrough <scottb@netwinder.org>
* sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
and struct ether_header must be packed on the ARM. The default
alignment constraints add padding to the end of the structures.
1999-04-14 Scott Bambrough <scottb@netwinder.org>
* inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
default alignment constraints add padding to the end of the
structure and between members.
1999-05-02 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
_dl_cache_libcmp instead of strcmp.
* sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
fails on a file.
Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
1998-03-30 Joel Klecker <espy@debian.org>
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
(sysdep-others,install-bin): Add lddlibc4.
1999-05-02 H.J. Lu <hjl@gnu.org>
* timezone/zic.c (dolink): Remove the symlink destination first.
* catgets/open_catalog.c (__open_catalog): Set catalog->status
to "nonexisting" if failed to open the file.
1999-05-01 Ulrich Drepper <drepper@cygnus.com>
* string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
gcc3.
* sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
Prevent warnings from multiplication with 0x01010101 by another cast.
1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* string/bits/string2.h (memset): Revert to previous version if
unaligned writes are not available.
1999-04-30 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
better code in presence of the asm.
1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* stdlib/fmtmsg.c (keywords): Increase array size for faster
indexing.
* locale/localeinfo.h (_nl_category_names): Increase array element
size for faster indexing.
* locale/setlocale.c (_nl_category_names): Adjusted.
1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* iconv/gconv_conf.c (add_alias): Remove wrong cast.
1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/m68k/stackinfo.h: New file.
1999-04-30 Ulrich Drepper <drepper@cygnus.com>
* string/tester.c (test_strchrnul): New function.
(test_memset): Test one more special case.
* sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
25% of all cases.
* sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
base types.
* string/bits/string2.h: Fix bugs I introduced in last change.
* sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
register stall.
Extend memset optimization.
Correct i686 version of memchr.
1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/i386/bzero.c: Add #undef __bzero.
* hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
exec server simulated a SIGTRAP before we even started up, so gdb is
already happy.
1999-04-30 Ulrich Drepper <drepper@cygnus.com>
* nss/digits_dots.c: Always initialize not_ok.
1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* string/bits/string2.h (memset): Avoid arithmetic overflow at
compile time, which produces obnoxious warnings. If GCCv2 is
in use, map __bzero to __builtin_memset to enable that
optimization.
1999-04-29 Ulrich Drepper <drepper@cygnus.com>
* string/bits/string2.h: Add more memset optimizations.
* resolv/inet_addr.c (inet_aton): Optimize switch statement away.
* resolv/inet_pton.c (inet_pton4): Little optimizations.
(inet_pton6): Likewise.
* nss/getXXbyYY_r.c: Include assert.h.
* nss/getXXbyYY.c: Likewise.
1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* termios/tcgetsid.c (tcgetsid): Rename variable to
tiocgsid_does_not_work.
1999-04-29 Ulrich Drepper <drepper@cygnus.com>
* inet/getnameinfo.c (nrl_domainname): Fix last patch.
1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
This allows e.g. gethostbyname to accept "10.1234".
Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
* nss/test-netdb.c (test_hosts): Add test for gethostbyname and
non quad IPv4 numbers.
1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
1999-04-28 Ulrich Drepper <drepper@cygnus.com>
* argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
* argp/argp-parse.c (_argp_hang): Likewise.
* argp/argp-pv.c (argp_program_version): Likewise.
* argp/argp-pvh.c (argp_program_version_hook): Likewise.
* inet/ether_hton.c (ether_hton, startp): Likewise.
* inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
* inet/getnetgrent_r.c (setup, startp): Likewise.
* intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
* intl/localealias.c (string_space, string_space_act, string_space_max,
nmap, maxmap): Likewise.
* libio/iopopen.c (proc_file_chain): Likewise.
* libio/oldiopopen.c (old_proc_file_chain): Likewise.
* locale/lc-collate.c (__collate_table, __collate_extra,
__collate_element_hash, __collate_element_strings,
__collate_element_values): Likewise.
* malloc/mcheck.c (mcheck_used): Likewise.
* malloc/mtrace.c (added_atexit_handler): Likewise.
* malloc/set-freeres.c (already_called): Likewise.
* misc/getpass.c (getpass) [buf, bufsize]: Likewise.
* misc/syslog.c (LogStat, LogTag): Likewise.
* nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
* nss/getXXbyYY_r.c (startp): Likewise.
* posix/getopt.c (optarg, __getopt_initialized): Likewise.
* posix/regex.c (init_syntax_once) [done]: Likewise.
(debug): Likewise.
* string/strfry.c (init): Likewise.
* sunrpc/svc_run.c (svc_top): Likewise.
* posix/euidaccess.c (have_ids): Likewise.
* sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
* sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
* time/getdate.c (getdate_err): Likewise.
* time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
Likewise.
* time/tzset.c (old_tz, is_initialized): Likewise.
* inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
of static data with zero.
* signal/allocrtsig.c (init): Likewise.
* string/Makefile (routines): Add strchrnul.
* string/Versions [GLIBC_2.1.1]: Add strchrnul.
* string/string.c: Add strchrnul prototype.
* include/string.h: Add __strchrnul prototype.
* sysdeps/generic/strchrnul.c: New file.
* sysdeps/i386/strchrnul.S: New file.
* sysdeps/i386/bits/string.c: Add strchrnul optimization.
* sysdeps/i386/i486/bits/string.c: Likewise.
* argp/argp-help.c (argp_args_usage): Use __strchrnul.
* inet/ether_line.c (ether_line): Likewise.
* nscd/nscd_conf.c (nscd_parse_file): Likewise.
* nss/nsswitch.c (nss_parse_file): Likewise.
* posix/execvp.c (execvp): Likewise.
* posix/fnmatch.c (internal_fnmatch): Likewise.
* resolv/res_hconf.c (_res_hconv_init): Likewise.
* resolv/res_init.c (res_init): Likewise.
* stdlib/fmtmsg.c (init): Likewise.
* stdlib/getsubopt.c (getsubopt): Likewise.
* catgets/catgets.c (catopen): Only allocate one memory block.
(catclose): Only one free call necessary.
* catgets/open_catalog.c (__open_catalog): Simplify handling of
file descriptor.
* ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
of real functions. Simplify _tolower and _toupper.
* grp/initgroups.c (compat_call): Remove unnecessary use of pointer
variable.
* iconv/gconv.h (struct gconv_info): Change data element from pointer
to array of size 0.
* iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
* iconv/gconv_close.c (__gconv_close): Don't free data.
* iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
insert new alias.
* iconv/gconv_db.c (add_derivation): More efficient copying. Check
for error while inserting in tree.
* include/time.h: Pretty print.
* inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
in table and lots of relocations.
* posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
string pointers in table and lots of relocations.
* intl/finddomain.c: Remove definition of strchr macro.
* io/ftw.c (nftw_arr, ftw_arr): Make const.
* locale/loadlocale.c (_nl_load_locale): Optimize string copying.
* locale/localeinfo.h (_nl_category_names): Change into an array with
fixed width char string elements.
* locale/setlocale.c (_nl_category_names): Likewise.
(_nl_current): Make global.
* locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
* malloc/Makefile (distribute): Add stackinfo.h.
* sysdeps/generic/stackinfo.h: New file.
* sysdeps/i386/stackinfo.h: New file.
* posix/execl.c: Use stackinfo.h in optimizing alloca use.
* posix/execle.c: Likewise.
* posix/execlp.c: Likewise.
* nis/nis_table.c (__create_ib_request): Always use realloc.
* posix/execvp.c (execute): Rename to script_execute and keep only
code to execute using shell.
(execvp): Call execv directly and only fall back on script_execute.
* resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
and always use xdigits instead.
* resolv/res_init.c (res_init): Use rawmemchr instead of strchr
where appropriate.
* stdlib/fpioconst.h (__tens): New declaration.
(struct mp_power): Remove array, add arrayoff element.
* stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
__tens array and add in _fpioconst_pow10 offsets into __tens.
* stdio-common/printf_fp.c: Rewrite to use new __tens array.
* stdlib/strtod.c: Likewise.
* stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
* stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
of the list.
* stdlib/atexit.c (__exit_funcs): Don't initialize.
* stdlib/fmtmsg.c (keywords): Make name element fixed width array.
* sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
a single and an array with offsets.
* sunrpc/des_soft.c (partab): Make it const.
* sunrpc/key_call.c (trytimeout, tottimeout): Make const.
(__key_encryptsession_pk_LOCAL): Don't initialize with 0.
(__key_decryptsession_pk_LOCAL): Likewise.
(__key_gendes_LOCAL): Likewise.
(MESSENGER): Mark const.
(key_call_private_main): Don't initialize with 0.
(use_keyenvoy): Don't initialize with 0.
(key_call): Rewrite to reverse logic of use_doors variable.
* sunrpc/netname.c (OPSYS): Define as array, not pointer.
(startp): Don't initialize with zero.
* sunrpc/openchild.c (_openchild): Make first argument const.
* sunrpc/pmap_rmt.c (timeout): Mark const.
* sunrpc/xcrypt.c (hex): Likewise.
* sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
initialization of global variables.
* sysdeps/unix/sysv/linux/getpt.c: Likewise.
* sysdeps/unix/sysv/linux/if_index.c: Likewise.
* termios/tcgetsid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
fxsr to osfxsr.
* time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
block. Add function to free memory if wanted.
* time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
* wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
* wcsmbs/wmemset.c: Little code optimization.
1999-04-23 Paul Eggert <eggert@twinsun.com>
* stdlib/strtoull.c: Surround strong_alias and weak_alias with
ifdef _LIBC.
1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
implementation and just always fail with ENOSYS. This entry point is
obsolete. Add link warning to that effect.
1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
* hurd/get-host.c: Include <hurd/lookup.h>.
1999-04-28 Ulrich Drepper <drepper@cygnus.com>
* malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
is != NULL.
1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
ISO C9x and Unix98.
1999-04-28 Ulrich Drepper <drepper@cygnus.com>
* libio/iofopncook.c (_IO_cookie_seek): Correct return value.
Patch by Peter Miller <millerp@canb.auug.org.au>.
1999-04-27 Thorsten Kukuk <kukuk@suse.de>
* sunrpc/pmap_clnt.c: Add own get_myaddress function, which
prefers loopback device.
1999-04-28 Ulrich Drepper <drepper@cygnus.com>
* posix/fnmatch.c (internal_fnmatch): Finish incomplete
no_leading_period change.
* posix/testfnm.c: More test cases.
1999-04-27 Ulrich Drepper <drepper@cygnus.com>
* include/dirent.h: Remove __getdirentries declaration, add __getdents
and __getdents64.
* sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
* sysdeps/unix/readdir_r.c: Likewise.
* sysdeps/unix/sysv/linux/readdir64.c: Likewise.
* sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
* sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
__getdirentries. Remove fourth argument.
* sysdeps/unix/sysv/linux/getdirentries.c: New file.
* sysdeps/unix/sysv/linux/getdirentries64.c: New file.
* sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
Add getdirentries and getdirentries64.
* sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
* posix/fnmatch.c (internal_fnmatch): Correctly reset string
pointer in case of an invalid [[: expression.
* posix/testfnm.c: Add more test cases.
1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
set, pass EXEC_SIGTRAP flag in exec RPC.
1999-04-26 Ulrich Drepper <drepper@cygnus.com>
* posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
extra parameter. Fix several more bugs involving wildcard and
ranges.
(fnmatch): New function. Call internal_fnmatch.
* posix/testfnm.c: More test cases.
1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/install.texi (Configuring and compiling): Explain that
files are changed in the source directory.
Closes PR libc/981.
(Configuring and compiling): Explain situation with PARALLELMFLAGS
in the source directory.
1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* locale/programs/ld-ctype.c: Spelling fixes.
(ctype_finish): Fix argument of error message format.
* locale/programs/ld-messages.c: Spelling fixes.
* locale/programs/ld-monetary.c: Spelling fixes.
* locale/programs/ld-time.c (time_finish): Make sure that name and
format of era_entries are adjacent.
(time_output): Reduce the size of the io vector.
1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* manual/filesys.texi (Attribute Meanings): Move a misplaced
paragraph.
1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* locale/programs/ld-collate.c (collate_output): Convert
undefined_offset to an array index. Fix computation of other
endian extra table.
1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
* hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
return success with empty value.
1999-04-26 Ulrich Drepper <drepper@cygnus.com>
* posix/fnmatch.c: Include string.h also for glibc.
(fnmatch, case '?'): Optimize if cascades a bit.
(fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
* posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
1999-04-24 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
* iconv/gconv_int.h: Declare UTF16 functions.
* iconv/gconv_simple.c: Add UTF16 conversion functions.
1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* posix/wordexp.c (parse_param): Fix type of offset to allow it to
be used correctly as parameter for parse_dollars/parse_tilde.
1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* manual/conf.texi (Utility Limits): Remove duplicate description
of BC_DIM_MAX.
1999-04-19 Ulrich Drepper <drepper@cygnus.com>
* wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
outbufend for dst==NULL.
1999-04-18 Ulrich Drepper <drepper@cygnus.com>
* wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
for dst==NULL.
Fixes PR libc/1084.
* socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
Fixes PR libc/1083.
1999-04-18 Thorsten Kukuk <kukuk@suse.de>
* sunrpc/Makefile: Remove special handling of bootparam.x,
add rpcsvc/bootparam.h to headers.
* sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
* sunrpc/rpcsvc/bootparam.x: Renamed to...
* sunrpc/rpcsvc/bootparam_prot.x: ...this.
1999-04-18 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
detect and handle invalid descriptors.
1999-04-17 Thorsten Kukuk <kukuk@suse.de>
* timezone/zic.c (dolink): Append complete path not only filename
to ../ list.
1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
1999-04-17 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/gconv-modules: Rename CP874 to IBM874.
* iconvdata/Makefile: Likewise.
* iconvdata/cp874.h: Removed.
* iconvdata/cp874.c: Renamed to...
* iconvdata/ibm874.c: ...this.
1999-04-16 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/bits/types.h: Correct
signed/unsigned-ness of blkcnt and fsblkcnt.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
SOL_AAL, and SOL_IRDA.
1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
include "linux_fsinfo.h".
Based on a patch by H.J. Lu <hjl@gnu.org>.
1999-04-16 Thorsten Kukuk <kukuk@suse.de>
* sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
1999-04-16 Ulrich Drepper <drepper@cygnus.com>
* nscd/cache.c (prune_cache): Only disable file checking for
future if the file does not exist.
Update file_mtime if cache was flushed.
1999-04-15 David S. Miller <davem@redhat.com>
* sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
* sysdeps/sparc/sparc32/strcpy.S: Likewise.
1999-04-15 Scott Bambrough <scottb@netwinder.org>
* sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
compilation of file.
1999-04-15 Ulrich Drepper <drepper@cygnus.com>
* Versions.def: Add GLIBC_2.1.1 to libpthread.
* iconvdata/Makefile (modules): Add KOI8-U.
(distribute): Add koi8-u.c.
(gen-8bit-gap-modules): Add koi8-u.
* iconvdata/gconv-modules: Add KOI8-U entries.
* iconvdata/koi8-u.c: New file.
1999-04-13 Thorsten Kukuk <kukuk@suse.de>
* sunrpc/auth_des.c: 64bit fixes, security fixes.
* sunrpc/auth_none.c: Pretty print.
* sunrpc/auth_unix.c: Likewise.
* sunrpc/authdes_prot.c: Likewise.
* sunrpc/authuxprot.c: Likewise.
* sunrpc/bindrsvprt.c: Likewise.
* sunrpc/clnt_gen.c: Likewise.
* sunrpc/rpc/xdr.h: Likewise.
* sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
* sunrpc/rpc_cmsg.c: Don't use *long pointers.
* sunrpc/rtime.c: Use new rpc_timeval.
* sunrpc/svc_authux.c: Don't use *long pointers.
* sunrpc/svcauth_des.c: Likewise + security fixes.
* sunrpc/xdr_mem.c: Don't use *long pointers.
* sunrpc/xdr_rec.c: Likewise.
* sunrpc/xdr_sizeof.c: Likewise.
* sunrpc/xdr_stdio.c: Likewise.
1999-04-15 Ulrich Drepper <drepper@cygnus.com>
* sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
so that it is redone for each sending.
1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
1999-04-15 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv_db.c (__gconv_find_transform): If conversion is
known to not exist don't try to load shared objects.
Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
* nscd/cache.c (prune_cache): The table might not be unused. In
this case do nothing.
* catgets/gencat.c (read_input_file): Don't drop white spaces
between number/identifier and string.
Patch by Dima Barsky <dima@pwd.hp.com>.
If no white space at all follows number/identifier remove existing
message with the number/identifier.
1999-04-14 H.J. Lu <hjl@gnu.org>
* sunrpc/clnt_udp.c (is_network_up): New function.
(clntudp_call): Call is_network_up () to check if any network
interface is up in case of timeout.
1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* wctype/test_wcfuncs.c: New file, tests towlower and towupper.
* wctype/Makefile (tests): Add test_wcfuncs.
1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
* scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
architectures.
* sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
instead of CFLAGS.
* sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
instead of CFLAGS. For gnulib and string directories use
-Wa,-Av9a gcc ASFLAGS.
* sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
* shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
the same way as sparc-*.
1999-04-14 Ulrich Drepper <drepper@cygnus.com>
* locale/programs/locfile.c (locfile_read): Fix typo.
Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
1999-04-14 Scott Bambrough <scottb@netwinder.org>
* sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
restarted after being interrupted by a signal. The parameters on
the stack were corrupted by the signal handler.
* sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
restarted after being interrupted by a signal. The parameters on
the stack were corrupted by the signal handler.
1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* wctype/wcfuncs.c (towlower): Use __ctype_tolower.
Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp-test.c: In field-splitting test cases where
subshells were involved, unset IFS first: some shells (ash) use
IFS even when no expansion is performed.
1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* libio/obprintf.c (_IO_obstack_overflow): Put the write end at
the real end of the chunk, not some random point inbetween.
(_IO_obstack_xsputn): Likewise. Actually copy the data into the
obstack when growing. Use fast version of obstack_blank when
shrinking.
(struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
allocating the vtable pointer.
(_IO_obstack_vprintf): Adjust for above change and avoid
unnecessary casts. Use fast version of obstack_blank when
shrinking.
Fixes PR libc/1075.
1999-04-12 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/gconv-modules: Fix typo. Add UJIS alias.
Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp.c (wordexp): Fix a leak when an invalid character
is seen, as well as fixing semantics. Don't reset the word count
to zero when an invalid character is seen, but leave it as it was
(this makes a difference with WRDE_APPEND).
* posix/wordexp-test.c: More test cases.
* posix/wordexp.c (parse_param): In words like ${var#pattern},
always expand pattern when it is needed. Also, handle quoting in
pattern properly.
1999-04-12 Philip Blundell <philb@gnu.org>
* elf/elf.h: Update ARM definitions to match current gas2.
* sysdeps/arm/bits/endian.h: Support big endian operation.
* sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
Don't bother range checking the port number.
* sysdeps/unix/sysv/linux/arm/vfork.S: New file.
* sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
the syscall name in assembler output for ease of debugging.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
compiler behaviour.
* sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
(sysdep_routines): Add sigrestorer.
* string/tester.c (test_strcpy): Add new tests for unaligned
arguments.
* sysdeps/arm/bits/string.h: Delete inline implementations of
strcpy and stpcpy.
1999-04-11 Ulrich Drepper <drepper@cygnus.com>
* libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
1999-04-10 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/Dist: Add clk_tck.c.
1999-04-10 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/Makefile (modules): Add TIS-620.
(distribute): Add tis-620.c.
(gen-8bit-gap-modules): tis-620.
* iconvdata/tis-620.c: New file.
* iconvdata/gconv-modules: Add TIS-620 entries.
* iconvdata/asmo_449.c: Correct comment.
1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/install.texi (Configuring and compiling): Comment out
description of --disable-static since this doesn't work currently
(see change by Ulrich Drepper on 1998-12-07 for configure.in).
1999-04-10 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
use binary search.
Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* scripts/test-installation.pl (installation_problem): Skip
libnss1_* libraries from glibc-compat add-on.
1999-04-07 H.J. Lu <hjl@gnu.org>
* io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
libstdc++ 2.7.2.
* posix/Versions (__waitpid): Likewise.
1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/install.texi (Reporting Bugs): Add section about reported
bugs and correct email address of glibcbug script.
1999-04-01 Thorsten Kukuk <kukuk@suse.de>
* sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
* sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
xdr_u_longlong_t. Based on patch from Dan Shechter
<damageboy@isdn.net.il>.
* sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
* sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
* nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
directly if getdents returns with error set.
1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* locale/langinfo.h (THOUSEP): Rename second occurence of
THOUSANDS_SEP to THOUSEP.
Reported by Roman Belenov <roman@nstl.nnov.ru>.
1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
* hurd/STATUS: File removed. Moved items that are still relevant into
TODO list in hurd source.
1999-03-26 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/bits/time.h: New file.
* sysdeps/mach/hurd/getrusage.c: New file.
* sysdeps/mach/hurd/clk_tck.c: New file.
* sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
* sysdeps/mach/hurd/Makefile [$(subdir) = posix]
(sysdep_routines): Add clk_tck.
* sysdeps/mach/hurd/times.c: Removed, since getrusage is now
implemented.
1999-04-02 Ulrich Drepper <drepper@cygnus.com>
* misc/syslog.c (closelog_internal): Do not reset LogTag here.
(closelog): But instead here.
Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* elf/Makefile (CFLAGS-multiload.c): Change to allow building in
the source directory. Fixes PR libc/1059.
1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1999-04-01 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
* iconvdata/testdata/ISO-8859-14: New file.
* iconvdata/testdata/ISO-8859-14..UTF8: New file.
* iconvdata/testdata/ISO-8859-15: New file.
* iconvdata/testdata/ISO-8859-15..UTF8: New file.
1999-03-31 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/testdata/CP1258: New file.
* iconvdata/testdata/CP1258..UTF8: New file.
* iconvdata/TESTS: Add CP1258 entry.
* iconvdata/cp874.h (to_ucs4): Add Euro sign.
* timezone/africa: Update from tzdata1999d.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.
1999-03-31 Mark Kettenis <kettenis@gnu.org>
* login/programs/pt_chown.c (main): Save effective user ID before
dropping priviliges and use this to check if the program is
properly installed.
1999-03-31 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/testdata/CP1254: Update for charmap changes.
* iconvdata/testdata/CP1254..UTF8: Likewise.
* iconvdata/testdata/CP1255: Likewise.
* iconvdata/testdata/CP1255..UTF8: Likewise.
* iconvdata/testdata/CP1256: Likewise.
* iconvdata/testdata/CP1256..UTF8: Likewise.
* iconvdata/testdata/CP1257: Likewise.
* iconvdata/testdata/CP1257..UTF8: Likewise.
* iconvdata/Makefile (distribute): Remove cp1258.h.
(gen-8bit-gap-modules): Add cp1258.
* iconvdata/cp1258.h: Removed.
1999-03-30 Ulrich Drepper <drepper@cygnus.com>
* timezone/tst-timezone.c (tests): Add more cases.
(check_tzvars): Mark errors clearer.
(main): Likewise.
1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
* login/programs/pt_chown.c: Drop privileges if invoked with
arguments. Don't close the master pty.
1999-03-30 Ulrich Drepper <drepper@cygnus.com>
* time/tzfile.c (__tzfile_read): Process transitions from the rear.
Minor optimization.
1999-03-29 Ulrich Drepper <drepper@cygnus.com>
* elf/rtld.c (process_envvars): Do not automatically prevent lazy
relocation for SUID binaries.
1999-03-29 Paul Eggert <eggert@twinsun.com>
* libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
while in child process.
1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
* sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
* sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
* sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
* sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
* sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
* sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
* sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
* sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
* sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
* sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
* sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
* sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
* sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
* sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
* sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
* sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
* sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
* sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
* sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
* sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
* sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
* sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
* sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
* sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
* sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
* sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
* sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
* sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
* sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
* sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
* sysdeps/sparc/sparc32/bcopy.c: New file.
* sysdeps/sparc/sparc32/bzero.c: New file.
* sysdeps/sparc/sparc32/memchr.S: New file.
* sysdeps/sparc/sparc32/memcpy.S: New file.
* sysdeps/sparc/sparc32/memmove.c: New file.
* sysdeps/sparc/sparc32/memset.S: New file.
* sysdeps/sparc/sparc32/stpcpy.S: New file.
* sysdeps/sparc/sparc32/strchr.S: New file.
* sysdeps/sparc/sparc32/strrchr.c: New file.
* sysdeps/sparc/sparc32/strcpy.S: New file.
* sysdeps/sparc/sparc32/strlen.S: New file.
* sysdeps/sparc/sparc32/strcat.S: New file.
* sysdeps/sparc/sparc32/strcmp.S: New file.
* sysdeps/sparc/sparc64/bcopy.c: New file.
* sysdeps/sparc/sparc64/bzero.c: New file.
* sysdeps/sparc/sparc64/memchr.S: New file.
* sysdeps/sparc/sparc64/memcmp.S: New file.
* sysdeps/sparc/sparc64/memcpy.S: New file.
* sysdeps/sparc/sparc64/memset.S: New file.
* sysdeps/sparc/sparc64/stpcpy.S: New file.
* sysdeps/sparc/sparc64/strcat.S: New file.
* sysdeps/sparc/sparc64/strchr.S: New file.
* sysdeps/sparc/sparc64/strcmp.S: New file.
* sysdeps/sparc/sparc64/strcpy.S: New file.
* sysdeps/sparc/sparc64/strcspn.S: New file.
* sysdeps/sparc/sparc64/strlen.S: New file.
* sysdeps/sparc/sparc64/strncpy.S: New file.
* sysdeps/sparc/sparc64/strpbrk.S: New file.
* sysdeps/sparc/sparc64/strrchr.c: New file.
* sysdeps/sparc/sparc64/strspn.S: New file.
* sysdeps/sparc/sparc64/stpncpy.S: New file.
* sysdeps/sparc/sparc64/strncmp.S: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
Append -fPIC, don't replace.
* configure.in: Recognize sparcv8plus / sparcv9.
1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* malloc/obstack.h (obstack_free): Explicitly convert __obj to
char * to avoid C++ warning.
Patch by yasushi@cs.washington.edu [PR libc/1035].
1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/filesys.texi (Temporary Files): mktemp and mkstemp are
declared in stdlib.h, correct return value of mkstemp.
Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
from Linux 2.2.5.
1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* misc/regexp.h (compile): Cast some pointers to (char *) to avoid
C++ warning.
* ctype/ctype.h (tolower, toupper): Add __THROW declaration to
inline functions. Closes PR libc/1049.
1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* timezone/README: Update from tzdata1999c and tzcode1999c.
* timezone/africa: Update from tzdata1999c.
* timezone/antarctica: Likewise.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.
* timezone/zic.c: Update from tzcode1999c.
1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* Makerules: Add $(common-objpfx)Versions.all to common-generated
outside of ifndef avoid-generated.
* libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
in iofdopen.c.
* libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
iofopen.c.
* libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
in iofclose.c.
* libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
_IO_old_file_seekoff): Bring over recent changes in fileops.c.
1999-03-26 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
if we build the profiled library.
1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* math/Makefile (gmp-objs): Add inlines. Reported by Andreas
Jaeger <aj@arthur.rhein-neckar.de>
1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
* sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
(CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
* Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
works properly in subdirs.
1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/Makefile: Undo last change.
[$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
[$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
* mach/Machrules (+preinit, +postinit, +interp,
LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
linked just like other shared libraries.
(interface.so): Fix typo in defn, so it works.
($(objpfx)$(interface.so)): Make it depend on libc.so.
1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
$(link-rpcuserlibs).
1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
$(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
targets if not building shared libraries.
1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* configure.in: Also look in $PATH when searching for
install-info. Remove autoconf bug workaround and require autoconf
2.13.
1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* db/Makefile: Don't try to install shared library link if not
building with shared libs.
1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* rt/Makefile: Link against static library if no shared lib is
available.
* localedata/Makefile: The shells scripts implementing the test
require the dynamic linker which is not available with
--disable-shared. Skip the test if --disable-shared is given.
* linuxthreads/Makefile: Link test against static libpthread if no
shared lib is available.
* iconvdata/Makefile (tests): Run iconv-test only if we're
building shared libraries.
* elf/Makefile (tests): Likewise for elf tests.
* posix/Makefile: The test frameworks globtest and wordexp-test
require the dynamic linker which is not available with
--disable-shared. Skip the test if --disable-shared is given.
* grp/Makefile (otherlibs): For static nss build link against
necessary libs.
1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* debug/Makefile (install-bin): Install and build catchsegv only
if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
libc/965].
1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* time/tzfile.c (__tzfile_read): Handle the case where there are
transitions but no DST.
1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
* mach/Machrules (extra-libs-others): Add $(interface-library) here
too, so it gets built in the others pass rather than the lib pass.
This is necessary since the RPC libraries need to be linked against
libc.
1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
_itoa_word decl.
* sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
($(link-rpcuserlibs)): New static pattern rule; link intermediate
versions of lib{mach,hurd}user.so without reference to libc.so,
then link libc.so against that to get deps and symbol versions, then
finally link real lib*user.so against libc.so.
* sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
Support whole-file locking (only) by using the file_lock RPC. This
has very wrong semantics, but is better than nothing for the time
being. (Correct POSIX.1 locking will require new RPCs in the Hurd
protocols that will be somewhat hairy to specify.)
1999-03-17 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/ptsname.c: New file.
1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* timezone/asia: Fix rule in Asia/Nicosia entry.
1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/getopt.texi (Using Getopt): Explain "::" in option
string. Reported by Yuri Niyazov <yuricake@geocities.com>.
1999-03-18 Thorsten Kukuk <kukuk@suse.de>
* sunrpc/clnt_unix.c: Fix creation of parameters for
sendmsg/recvmsg on non intel platforms.
* sunrpc/svc_unix.c: Likewise.
1999-03-18 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
implementation.
1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* timezone/africa: Update from tzdata1999b.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.
* timezone/README: Mention tzdata1999b.
1999-03-17 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/segfault.c (write_strsignal): New function.
(catch_segfault): Use it instead of calling strsignal.
1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* iconv/gconv.c (__gconv): Change type of last_start to unsigned
char to avoid warning.
1999-03-15 Ulrich Drepper <drepper@cygnus.com>
* iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
* iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
outbuf to unsigned char to avoid warning.
1999-03-11 David S. Miller <davem@redhat.com>
* sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
masks.
* sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1999-03-15 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv.h (gconv_fct): Change parameter from `char' to
`unsigned char'.
(gconv_step_data): Likewise.
* iconv/gconv_int.h (__gconv): Likewise.
(__BUILINT_TRANS): Likewise.
* iconv/gconv.c (__gconv): Likewise.
* iconv/iconv.c (iconv): Add casts for call of __gconv.
* iconv/skeleton.c: Change local parameters and variable from `char' to
`unsigned char'. Remove casts from calls into modules.
* iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
`char' to `unsigned char'.
* wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
* wcsmbs/mbrtowc.c: Likewise.
* wcsmbs/mbsnrtowcs.c: Likewise.
* wcsmbs/mbsrtowcs.c: Likewise.
* wcsmbs/wcrtomb.c: Likewise.
* wcsmbs/wcsnrtombs.c: Likewise.
* wcsmbs/wcsrtombs.c: Likewise.
* wcsmbs/wctob.c: Likewise.
1999-03-15 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
__hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
__hurd_sigthread_variables, __hurd_threadvar_stack_mask,
__hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
__getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
__xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
1999-03-15 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
_hurd_select if TIMEMOUT is -1.
1999-03-15 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
1999-03-15 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-load.c: Compute rtld_search_dir array size correctly.
Reported by Yasushi Saito <yasushi@cs.washington.edu>.
1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* manual/libc.texinfo: Undo last change for now.
1999-03-15 Ulrich Drepper <drepper@cygnus.com>
* intl/locale.alias: Add entries for Croatian.
Patch by Tomislav Vujec <tvujec@CARNet.hr>.
1999-03-13 Mark Kettenis <kettenis@gnu.org>
* sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
if the opened master pty really is a pty. `isatty' checks for
tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
if we are out of pty's.
1999-03-13 Mark Kettenis <kettenis@gnu.org>
* sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
opened file is closed on exec.
* login/utmp_daemon.c (setutent_daemon): Likewise for the just
opened socket.
1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/llio.texi (File Position Primitive): Reformat @end
command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
1999-03-14 Ulrich Drepper <drepper@cygnus.com>
* nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
entry is found.
* nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
* nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
* locale/programs/localedef.c (main): Initialize `cat' to please
the compiler.
1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
check for root-owned symlinks and reject them too.
1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* stdio-common/printf_fphex.c: Move to ...
* sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
extended precision number.
* sysdeps/m68k/printf_fphex.c: New file.
1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* manual/stdio.texi: Fix typos.
1999-03-09 Ulrich Drepper <drepper@cygnus.com>
* version.h (VERSION): Bump to 2.1.1.
1999-03-09 Thorsten Kukuk <kukuk@suse.de>
* nis/ypclnt.c: Try only twice to connect to NIS server.
1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* stdlib/strtod.c (round_and_return): Fix rounding of denormals.
(DENORM_EXP): New define. Use it as the exponent for a denormal.
* stdlib/strtold.c: Moved to ...
* sysdeps/generic/strtold.c: ... here.
* sysdeps/m68k/strtold.c: New file.
1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
point if the precision is zero, even if the mantissa is non-zero.
1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
arguments into the request message buffer inside `send_rpc'
subfunction. We must repeat the marshalling when retrying the RPC
after a SIGTTOU delivery.
* hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
path when there is no ctty port.
* hurd/ctty-output.c (_hurd_ctty_output): Likewise.
Move sigstate check inside loop so we recheck after handling a signal.
1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
O_EXLOCK are BSD extensions.
Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
1999-03-08 Ulrich Drepper <drepper@cygnus.com>
* manual/signal.texi (Termination in Handler): Correct example.
Install default handler before reraising the signal.
Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
null, in which case send an empty string.
1999-03-02 Mark Kettenis <kettenis@gnu.org>
* Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
backward compatibility EH functions to be linked when using
gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
/dev/pts status may change during runtime.
1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
change. /dev/pts status can change during runtime.
1999-03-07 Thorsten Kukuk <kukuk@suse.de>
* sunrpc/svc_tcp.c (readtcp): go into fatal error state if
poll reports error.
* nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
add some more sanity checks.
* nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
parser prototype.
1999-03-05 Thorsten Kukuk <kukuk@suse.de>
* sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
* sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
* sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
* sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
for x_getint32.
* sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
* nis/nis_print.c: Fix ctime argument for platforms where
sizeof (time_t) != sizeof (int).
1999-03-07 Mark Kettenis <kettenis@gnu.org>
* sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
CLOCKS_PER_SEC instead of CLK_TCK.
1999-03-05 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
whether /dev/pts is available.
* sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
dev_pts_available.
* posix/globtest.sh: Make common_objpfx path absolute and and db2
and hesiod directory to library path [PR libc/1007].
1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* resolv/inet_addr.c (inet_aton): Don't allow componets >
255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
DT_PLTGOT has already been relocated.
(__elf_machine_fixup_plt): Likewise.
Minor cleanups.
1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
1999-03-03 Ulrich Drepper <drepper@cygnus.com>
* wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
and fold string to uppercase [PR libc/1005].
1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* elf/dl-load.c (lose): Fix return type.
1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/bits/fcntl.h
[__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
* hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
set O_NOTRANS as well.
(__hurd_file_name_lookup_retry): At successful end of lookup,
if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
it is a translated node not owned by root.
(__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
on the file name passed to LOOKUP.
1999-03-02 Ulrich Drepper <drepper@cygnus.com>
* manual/time.texi (High Resolution Timer): Correct computation in
example. Reported by jjf@devel.cemsys.com.
1999-03-02 Philip Blundell <pb@nexus.co.uk>
* sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
entry is already relocated.
1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
uc_link which is the right name according to Unix98.
Reported by Craig Metz [PR libc/1001].
* sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
* sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
* sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
* sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
* sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
@ifinfo.
1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* iconvdata/Makefile: Always include iconv-rules, but disable rule
to regenerate it if avoid-generated.
* Makeconfig: Always include sys-dirs, but disable rule to
regenerate it when avoid-generated.
* sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
rule to generate sysd-syscalls.
* elf/Makefile (generated): Remove $(objpfx) from names.
1999-02-28 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
actual length if the adress length is smaller than the input
value. Change type of *LEN paramater to socklen_t.
* sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
* sysdeps/mach/hurd/accept.c (accept): Likewise.
* sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
* sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
paramater to socklen_t.
1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
with the RPC.
1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
__get_phys_pages): Cast &HBI to silence warning.
* hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
* hurd/hurdchdir.c: New file.
* hurd/hurdfchdir.c: New file.
* sysdeps/mach/hurd/chroot.c: Call
_hurd_change_directory_port_from_name to do the work.
* sysdeps/mach/hurd/chdir.c: Likewise.
* sysdeps/mach/hurd/fchdir.c: Call
_hurd_change_directory_port_from_fd to do the work.
* hurd/fchroot.c: Likewise.
* hurd/hurd.h: Declare them.
1999-02-27 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-load.c (lose): Add more comments to explain the `why'.
(_dl_map_object): Remove redundant test.
1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
try to _hurd_port_free a lower-numbered descriptor that was not in any
fd_set.
1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
declaration for ____wcstod_l_internal.
* stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
__strtod_internal prototype.
* stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
(____strtold_l_internal): Add prototype declaration.
(__strtold_l): Call correct function.
1999-02-24 Ulrich Drepper <drepper@cygnus.com>
* elf/elf.h: Add 32bit HPPA definitions.
1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
non-checked heap is restored when malloc checking was requested by
the user.
(struct malloc_state): Add using_malloc_checking.
(MALLOC_STATE_VERSION): Increment minor.
(using_malloc_checking, disallow_malloc_check): New variables.
(__malloc_check_init): Use them.
(mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
that it can the chunk is properly instrumented when malloc
checking is enabled. Set the new using_malloc_checking field.
(malloc_hook_ini): Correct signature when _LIBC is not defined.
1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/unix/sysv/linux/i386/dl-librecon.h
(DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
time.
* elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
Don't call elf_get_dynamic_info and _dl_setup_hash a second time
if ld.so is the main program.
1999-02-23 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/vfprintf.c (vfprintf): If precision or width is too
large for work_buffer, allocate new buffer.
(printf_unknown): Likewise. [PR libc/988]
1999-02-22 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
instead of stat and fstat.
* sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* elf/dl-error.c (_dl_signal_cerror): New function.
(_dl_signal_error): Don't call receiver function.
* elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
instead of _dl_signal_error when reporting references to undefined
symbols or versions.
(_dl_lookup_versioned_symbol): Likewise.
(_dl_lookup_versioned_symbol_skip): Likewise.
* elf/dl-version.c (match_symbol): Likewise.
* elf/ldsodefs.h: Declare _dl_signal_cerror.
1999-02-22 Ulrich Drepper <drepper@cygnus.com>
* misc/getttyent.c (getttyent): Release lock on stream later to
also protect global variable zapchar.
* sysdeps/unix/sysv/linux/clock.c: Don't test return value of
__times [PR libc/990].
1999-02-21 David S. Miller <davem@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
parentheses in Feb 2 changes.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/generic/glob.c (glob): Save previous errno.
1999-02-21 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
lookup functions if it is too small.
1999-02-20 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
for tracing to the scope lists.
* elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
DT_SYMTAB is always available according to ELF spec.
* elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
call test whether there is any scope left.
(_dl_lookup_versioned_symbol_skip): Likewise.
* elf/Makefile (distribute): Add do-lookup.h.
* elf/do-lookup.h: New file. Split out from dl-lookup.c.
* elf/dl-lookup.c: Move do_lookup function in separate file and
include the file twice, for handling versioning and without it.
* sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
entry is already relocated.
* sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
* sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
* sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
Likewise.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
Likewise.
* sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
Likewise.
* elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
(_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
rel and rela relocations can both happen and skip one test if this
is not possible.
(ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
appropriately.
* elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
already relocated.
* elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
relocated.
* elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
(_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
(_dl_map_object): DT_STRTAB entry is already relocated.
* elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
already relocated.
* elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
relocated.
* elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
DT_VERSYM entries are already relocated.
(profile_fixup): Likewise.
* elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
all users.
(match_symbol): DT_STRTAB entry is already relocated.
(_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
* elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
* elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
(find_needed): DT_STRTAB entry is already relocated.
(dl_main): Pass extra argument to elf_get_dynamic_info.
DT_STRTAB entry is already relocated.
* sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
DT_PLTGOT entries are already relocated.
(elf_machine_rela): Likewise for DT_SYMTAB.
* sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
relocated.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
* sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
* sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
(elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
* sysdeps/mips/mips64/dl-machine.h: Likewise.
* grp/initgroups.c (initgroups): If function in current module was
successful don't stop but continue to process to get all the groups.
* elf/dl-load.c (_dl_map_object_from_fd): Use global
_dl_pf_to_proot array to convert p_flags value.
* elf/dl-reloc.c (_dl_relocate_object): Likewise.
* elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
loop to clear `info'.
* sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
do the work and don't use inline assembler.
1999-02-19 Ulrich Drepper <drepper@cygnus.com>
* elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
* elf/dl-load.c (lose): Make it a function at the toplevel, mark as
noreturn, and prevent it from being inlined.
Define LOSE appropriately.
(_dl_map_object_from_fd): Compare all bytes in e_ident at once.
Optimize decoding of p_flags for certain platforms.
1999-02-19 Philip Blundell <pb@nexus.co.uk>
* Makeconfig (link-libc): When doing a static link, make sure that
libgcc.a is included both before and after libc.a.
1999-02-18 Thorsten Kukuk <kukuk@suse.de>
* nis/nss_compat/compat-spwd.c: Fix handling of default values for
sp_warn, sp_inact, sp_expire and sp_flag.
1999-02-18 Ulrich Drepper <drepper@cygnus.com>
* elf/link.h (link_map): Add l_dev and l_ino.
* elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
loaded shared object with all loaded objects. Initialize l_ino
and l_dev in case it's new.
* elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
object.
* elf/Makefile: Compile and run new test.
* elf/multiload.c: New file.
* nss/nsswitch.h (service_user): Change name field from const char *
to char[0].
(name_database_entry): Likewise.
* nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
for change of `service_user'.
(nss_getline): Adjust memory allocation for change of
`name_database_entry'.
* catgets/catgets.c: Correctly handle NLSPATH from environment
[PR libc/980].
* io/Makefile (routines): Add lock64.
* io/Versions: Add lockf64 for GLIBC_2.1.1.
* sysdeps/generic/lockf64.c: New file.
1999-02-16 Ulrich Drepper <drepper@cygnus.com>
* string/bits/string2.h: Only use strncmp optimization if count
argument is constant.
1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/revoke.c: New file.
1999-02-16 Ulrich Drepper <drepper@cygnus.com>
* wctype/wctype.h (_ISwbit): Cast result of shift operations to
int to avoid warning about `ISO C restricts enumerator values to
range of `int''.
1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* elf/dlfcn.h: Fix typo.
* sysdeps/generic/bits/dlfcn.h: Likewise.
* sysdeps/mips/bits/dlfcn.h: Likewise.
1999-02-16 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
for the case N == 0.
* db2/Makefile (distribute): Add LICENSE.
1999-02-03 Jeff Bailey <jbailey@nisa.net>
* sysdeps/unix/make_errlist.c: Add i18n and copyright to
generated files.
* sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
1999-02-16 Ulrich Drepper <drepper@cygnus.com>
* time/mktime.c: Use ISO C form for function definitions and
remove unnecessary prototypes.
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
* time/time.h: Avoid unneccesary #ifdef.
1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
* stdio-common/_itoa.c (_itoa): Correct parameters to
udiv_qrnnd_preinv.
1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* misc/sys/cdefs.h: Undefine __PMT since it might be defined
before (e.g. in glob.h).
Closes PR libc/959.
1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/mips/fpu_control.h: Fix typo.
Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
Remove __setfpucw.
1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
the "unused" ends of the sockets. Let pipes be bidirectional.
1999-02-15 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
invalid ai_flags.
1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
* manual/setjmp.texi (Non-Local Exits and Signals): Fix
typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
1999-02-15 Ulrich Drepper <drepper@cygnus.com>
* string/Versions: Add __strverscmp to GLIBC_2.1.1.
1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* misc/syslog.c (vsyslog): Remember errno for %m format. Fix
check for priority mask.
1999-02-14 Ulrich Drepper <drepper@cygnus.com>
* resolv/netdb.h (AI_NUMERICHOST): Change to 4.
Reported by Craig Metz <cmetz@inner.net> .
1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* stdio-common/Makefile (tests): tllformat added.
* stdio-common/tllformat.c: New program, based on tiformat.c with
examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* posix/test-vfork.c: Fix exit status test.
1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
of separare explicit comparisons.
1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
defined.
* sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
defined.
1999-02-09 Ulrich Drepper <drepper@cygnus.com>
* po/el.po: Update from translation team.
1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* intl/locale.alias: Fix slovenian entry [PR libc/948].
1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* elf/sprof.c: assert.h isn't used anymore, remove inclusion.
* inet/ruserpass.c: Likewise.
* locale/programs/stringtrans.c: Likewise.
* locale/programs/localedef.c: Likewise.
* nscd/grpcache.c: Likewise.
* nss/nss_files/files-XXX.c: Likewise.
* stdlib/canonicalize.c: Likewise.
* sysdeps/posix/sigwait.c: Likewise.
1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
even on 64 bit platforms.
* sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
1999-02-09 Ulrich Drepper <drepper@cygnus.com>
* intl/dcgettext.c: Include locale.h is available.
1999-02-08 Ulrich Drepper <drepper@cygnus.com>
* po/nl.po: Update from translation team.
* sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
* Makefile: Allow calling goals for po subdir.
* sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
signal definitions.
* po/el.po: New file.
1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
when processing DT_SYMBOLIC objects.
1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* elf/dl-load.c (_dl_map_object_from_fd): When looking for the
program headers without PT_PHDR only require that they are
contained within one of the loaded segments. Don't use assert,
since that would be a bug in the object, not the dynamic linker.
1999-02-08 Richard Henderson <rth@cygnus.com>
* sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
restore all call-clobbered fp regs.
1999-02-08 Ulrich Drepper <drepper@cygnus.com>
* po/cs.po: New file.
* resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
SUID binaries.
1999-02-07 Ulrich Drepper <drepper@cygnus.com>
* signal/signal.h: Don't declare __libc_allocate_rtsig.
* include/signal.h: Declare __libc_allocate_rtsig here.
* elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
point functions, not do_lookup since the later can be called more
than once.
1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
* sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
macro, so that architectures which need to add some special
offset to stack pointer can share this file.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
between sparc32 and sparc64.
* sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
* sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
between sparc32 and sparc64.
* sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
* sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
between sparc32 and sparc64.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
* sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
between sparc32 and sparc64.
1999-02-07 Ulrich Drepper <drepper@cygnus.com>
* Versions.def: New version GLIBC_2.1.1 for libc.
* stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
* stdlib/labs.c: Moved to...
* sysdeps/generic/labs.c: ...here.
* stdlib/llabs.c: Moved to...
* sysdeps/generic/llabs.c: ...here.
* stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
header. Declare _Exit.
* sysdeps/generic/_exit.c: Add alias _Exit.
* sysdeps/mach/hurd/_exit.c: Likewise.
* sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
* sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
* sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
* sysdeps/unix/_exit.c: Likewise.
* sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
imaxdiv and imaxabs. Declare lldiv_t if necessary.
* sysdeps/wordsize-64/inttypes.h: Likewise.
* sysdeps/wordsize-32/llabs.c: New file.
* sysdeps/wordsize-32/lldiv.c: New file.
* sysdeps/wordsize-64/labs.c: New file.
* sysdeps/wordsize-64/ldiv.c: New file.
* manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
* manual/startup.texi: Document _Exit.
1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
1999-02-06 Ulrich Drepper <drepper@cygnus.com>
* Versions.def: Add versions for ld.so.
* csu/Versions: Remove __libc_stack_end here.
* elf/Versions: Split libc definitions in libc and ld.so definitions.
* elf/Makefile (ld-map): Change to ld.so.map.
* scripts/versions.awk: Recognize dot in library names.
* ctype/ctype.h: Remove definitions of __tolower and __toupper.
Don't use __tolower and __toupper in inline functions.
Add optimizing macros for tolower and toupper.
* ctype/ctype-extn.c (_tolower): Don't use __tolower.
(_toupper): Don't use __toupper.
* ctype/ctype.c (tolower): Don't use __tolower.
(toupper): Don't use toupper.
* nscd/cache.c (prune_cache): Correct printing of debugging messages.
* resolv/Versions (libresolv): Export __ns_name_unpack and
__ns_name_ntop.
* resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
make it global. Change all users. Similar for ns_name_ntop.
* resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
directly to detect too small buffer.
* resolv/nss_dns/dns-network.c: Likewise.
* stdio-common/Makefile (tests): Add scanf12.
* stdio-common/scanf12.c: New file.
* stdio-common/scanf12.input: New file.
* stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
floating-point correctly if the number is invalid.
* stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
functions.
* stdio-common/printf_fp.c: Likewise.
* stdio-common/printf_fphex.c: Likewise.
* stdio-common/vfprintf.c: Likewise.
See ChangeLog.9 for earlier changes.
|