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
|
Thu Sep 3 17:31:13 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/unix/bsd/setgroups.S: New file. How did this manage not
to exist already??
* Version 1.04.
* sysdeps/generic/memmem.c (memmem): Fixed loop condition not to
use nonexistent variable.
* string/string.h (memmem): Put const qualifier on args.
* sysdeps/stub/sigaltstack.c (sigaltstack): Fix arg type.
* setjmp/sigsetjmp.c: #undef sigsetjmp before defining the function.
Wed Sep 2 16:43:58 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* misc/Makefile (headers): Add syscall.h.
* sysdeps/unix/Makefile: Only generate syscall.h if it would
otherwise come from stub.
* sysdeps/stub/syscall.h: New file.
* time/Makefile (routines): Add stime.
* io/Makefile (routines): Add fchdir.
* signal/Makefile (routines): Add sigaltstack.
* string/Makefile (routines): Add memmem.
* setjmp/Makefile (routines): Add sigsetjmp, _setjmp.
* misc/Makefile (routines): Add getpass.
* Makefile (distribute): Add NEWS.
* Makerules (ar-it) [! objdir]: Pass `ru' instead of `u' to ar.
Use $(..)libc.a instead of $(libc.a).
* sysdeps/unix/sysv/i386/linux/sysdep.h (PSEUDO): Call numbers are
SYS_*, not __NR_*.
* sysdeps/unix/sysv/i386/linux/__wait.S: Prepend extra _ to
`__waitpid' for jmp.
* Makerules (check): New rule; alias for `tests'.
* sysdeps/stub/__setregid.c: Args are gid_t, not int.
* sysdeps/posix/readv.c: #include <string.h>.
* sysdeps/generic/printf_fp.c: If LDBL_DIG or LDBL_MAX_10_EXP is
defined by float.h, #define each to DBL_*.
Tue Sep 1 16:29:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/unix/Makefile (syscall.h): Add missing backslashes.
* Makeconfig [!objdir && !..] (common-objpfx): Define as
`sysdeps/..'; The Almighty KludgeMeister 2000 wins again.
* Makerules (sysdep-Makefile): Rename to sysd-Makefile.
* Makeconfig (CC): Don't use -pipe by default.
* configure (switches): Put quotes around os-release and
os-version values.
Mon Aug 31 19:33:15 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/stub/cbrt.c: New file.
* sysdeps/generic/cabs.c: New file.
* sysdeps/generic/ceil.c: New file, split from floor.c.
* sysdeps/generic/__rint.c: Replaced with code split from floor.c.
* sysdeps/generic/Makefile (routines): Don't remove ceil, __rint.
Thu Aug 27 15:58:13 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* malloc/malloc.h [! __STDC__] (ptrdiff_t): #define.
Wed Aug 26 18:15:47 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* malloc/free.c (__free): Rename to _free_internal.
(free), malloc/malloc.c (morecore): Change callers.
* malloc/malloc.h: Change decl.
Tue Aug 18 17:38:13 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/generic/__copysign.c: New file.
* sysdeps/unix/sysv/sysdep.h: #include <syscall.h>, not
<sys/syscall.h>. Don't #define _SYS_SYS_S; should no longer be
necessary.
* sysdeps/unix/Makefile (syscall.h): Replaced simple code to just
find the file in any of several places, with hairier code to find
it and massage it.
* malloc/Makefile (obstack.%): Remove rule.
(gpl2lgpl): Define this instead.
* posix/Makefile (gpl2lgpl): Define to include getopt source files.
* Makerules ($(gpl2lgpl)): New rule to snarf code and frob its
copying notices.
Fri Aug 14 13:28:39 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* Makeconfig (common-objdir, common-objpfx): Define new vars.
(libc.a): Define in terms of $(common-objpfx).
Find config.make with $(common-objpfx), not $(objpfx).
* Makerules (common-objdir-compile): Define canned sequence.
(native-compile): Use $(@D)/$(@F) instead of stripping off $(objpfx).
* sysdeps/unix/Makefile, sysdeps/unix/bsd/Makefile,
sysdeps/generic/Makefile: Use it.
Use $(common-objpfx) for generated things not specific to one subdir.
* sysdeps/unix/Makefile (sysdep_headers): Add
$(sys/param.h-includes) to this instead of to headers.
Thu Aug 13 18:30:58 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* posix/glob.c: Always #include <sys/types.h>.
[! USG]: Don't do it here.
[STDC_HEADERS]: Test this instead of __STDC__ for size_t.
[HAVE_STRCOLL]: Test this instead of ANSI_STRING for strcoll.
* posix/glob/Makefile.in (Makefile): Remove rule.
Wed Aug 12 16:12:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/sparc/jmp_buf.h: Deansideclized.
* sysdeps/generic/make_siglist.c: #undef HAVE_SYS_SIGLIST, not
SYS_SIGLIST_MISSING.
* sysdeps/generic/signame.[ch]: Re-symlinked from /gd/gnu/lib.
Who's been removing random things from my source tree??
Tue Aug 11 15:01:50 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* posix/getconf.c (main): Cast printf field with arg to int.
* Makefile (distribute): Remove ansidecl, ansidecl.m4.
* posix/glob.c [_AIX]: Don't declare alloca.
Mon Aug 10 17:09:40 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/m68k/fpu/__math.h (__expm1): Define just like expm1.
* sysdeps/unix/ioctls-tmpl.c [SMIOSTATS, SMIOGETREBOOT0,
ZIOCBCMD]: Include headers for these.
Fri Aug 7 16:01:43 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* string/tester.c (main): Use sys_nerr and sys_errlist, not _sys_*.
* stdio/stdio.h [__USE_GNU] (_sys_nerr, _sys_errlist): Declare.
* string/strerror.c, stdio/perror.c
[HAVE_GNU_LD] (_sys_errlist, _sys_nerr): Remove decls.
* stdio/memstream.c (enlarge_buffer): Notice when target is -1 and
don't treat it as a huge value.
* stdio/tst-printf.c: #if 0 code that tickles printf_fp bugs.
* grp/testgrp.c: Don't bomb if uid not in passwd file.
* stdlib/tst-strtol.c (tests): C-t on LONG_MIN and LONG_MIN-1 elts.
* stdlib/strtol.c: Use int flag NEGATIVE instead of char 1/-1 SIGN.
Fixed checking for overflow of long int that fits in unsigned long
int--must cast LONG_MIN before negating!
Thu Aug 6 18:46:24 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* stdio/bug3.c (main): Define ansideclifily.
* sysdeps/unix/bsd/sun/sparc/__pipe.S: Define __pipe, not ___pipe.
* math/test-math.c (main): Remove unused vars.
* io/flock.c: #include <sys/file.h>, and not fcntl.h or sys/types.h.
* sysdeps/m68k/fpu/__math.h (__rint): Define just like rint.
* math/math.h (__rint): Declare.
* configure (esix*): base_os=unix/sysv.
* dirent/getdents.c: #include <dirent.h>.
* Rules (subdir): Avoid TAB before # at end of defn.
* sysdeps/unix/bsd/bsd4.4/__wait3.c: Last arg type is struct rusage *.
Tue Aug 4 18:19:43 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/ieee754/Makefile: Removed.
* math/math.h: Declare __expm1.
Mon Aug 3 13:02:05 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/ieee754/cabs.c (cabs, z_abs): Members of structure have __.
* sysdeps/unix/bsd/seq386: Remove directory.
Thu Jul 30 15:42:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/unix/bsd/sun/sparc/sigcontext.h: Deansideclized.
* sysdeps/unix/bsd/sun/sunos4/__wait4.c: Make last arg struct rusage
instead of PTR.
* sysdeps/unix/morecore.c (__default_morecore): Make arg ptrdiff_t.
* sysdeps/ieee754/cabs.c (cabs, z_abs): Use `struct __complex' for arg.
* sysdeps/generic/pow.c: #include <limits.h>.
* sysdeps/generic/mathimpl.c: #include <math.h> before frobnication.
* misc/getusersh.c (okshells): Make const.
(initshells): Properly declare static.
* sysdeps/unix/bsd/__tcgetatr.c: Cast sg_[io]speed to (unsigned char)
to avoid gcc warnings.
* math/bsd/common/atan2.c, math/bsd/common/tan.c,
math/bsd/common/sincos.c, math/bsd/common/trig.h,
math/bsd/common_source/__expm1.c, math/bsd/common_source/fmod.c,
math/bsd/common_source/acosh.c, math/bsd/common_source/log.c,
math/bsd/common_source/asincos.c, math/bsd/common_source/asinh.c,
math/bsd/common_source/log1p.c, math/bsd/common_source/atan.c,
math/bsd/common_source/log__L.c, math/bsd/common_source/atanh.c,
math/bsd/common_source/mathimpl.h, math/bsd/common_source/cosh.c,
math/bsd/common_source/exp.c, math/bsd/common_source/sinh.c,
math/bsd/common_source/exp__E.c, math/bsd/common_source/tanh.c,
math/bsd/common_source/floor.c: Moved to sysdeps/generic.
* math/bsd/ieee/{cabs,cbrt,support}.c: Moved to sysdeps/ieee754.
* All above + sysdeps/generic/mathimpl.h, sysdeps/generic/pow.c: New
code from 4.4/net2.
* sysdeps/generic/ffs.c: #include <string.h>, not <bstring.h>.
* posix/glob/Makefile.in (Makefile): Depend on config.status; invoke
it directly instead of using $(SHELL).
* posix/glob.c [! USG]: #include <sys/types.h> before <sys/dir.h>.
Tue Jul 28 17:54:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/unix/bsd/ultrix42: Renamed to ultrix4.
* sysdeps/unix/sysv/isc2.2/__rename.S: New.
* configure (isc*): base_os=unix/sysv.
* Makefile, Makerules, Rules, math/Makefile, ctype/Makefile: Use
"export foo := $(foo)" instead of ifdef have_export_directive.
* Makeconfig (have_export_directive): Remove; move .NOEXPORT down.
Mon Jul 27 18:01:30 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* configure: Remove redundant test to set os_used.
Sun Jul 26 17:03:31 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* README.template: Don't mention Q+A.
* Makefile (distribute): Remove Q+A.
* Makefile, Makerules, Rules, math/Makefile, ctype/Makefile: Put
"ifdef have_export_directive" around uses of `export' directive.
They are only needed for dist and tags anyway.
* Makeconfig (have_export_directive): Add commented-out defn, and
comment to explain.
(.NOEXPORT): Add special target for old versions of GNU make.
* posix/glob.c [_AIX]: #pragma alloca first thing.
[ANSI_STRING]: Remove #define's for index et al.
Thu Jul 23 21:49:53 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* misc/getpass.c: New.
* posix/unistd.h (getpass): Declare.
* posix/unistd.h (getusershell, setusershell, endusershell): Declare.
* misc/Makefile (routines): Add getusersh.
* misc/getusersh.c: New.
Tue Jul 14 20:03:57 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* stdlib/Makefile (tests): Add testdiv.
* stdlib/testdiv.c: New.
* sysdeps/unix/sysv/i386/linux/{rename,__mkdir,__rmdir,__dup2,
getpgrp,__setpgrp,setsid}.S: New files.
* sysdeps/unix/__getppid.S: If SYS_getppid is defined, use it rather
than alternate value of getpid.
* __gete[ug]id.S: Similar.
* sysdeps/unix/sysv/i386/linux/__waitpid.S: New file.
* sysdeps/unix/sysv/i386/linux/__wait.S: New file.
* sysdeps/posix/__wait3.c: New file.
* sysdeps/unix/sysv/i386/linux/socket.S: New file.
* bind.S, connect.S, listen.S, accept.S, getsockname.S,
getpeername.S, socketpair.S: Also new (and trivial).
Mon Jul 13 17:41:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/unix/sysv/i386/linux/sysdep.[hS]: New files.
* configure (linux*): base_os=unix/sysv
(gnu*, linux*): Always set --with-gnu-ld and --with-gnu-as.
* stdio/obstream.c: #include <string.h>
(obstack_vprintf): Use bzero rather than memset.
* stdio/glue.c (unix_FILE.glue): Add two members, which will overlap
get_limit and put_limit in GNU stdio.
(_iob): Initialize them to same as `streamp'.
Thu Jul 9 21:27:39 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* stdio/stdio.h (open_obstack_stream, obstack_printf,
obstack_vprintf): Declare.
* posix/glob.c [STDC_STRINGS]: Don't test this.
[! ANSI_STRING]: Put memcpy, strrchr, memset defns here instead.
* posix/glob/Makefile.in (glob.o, fnmatch.o): / after $(srcdir).
Tue Jul 7 03:11:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* stdio/Makefile (routines): Add obstream.
* Makerules (%.o: %.S, %.o: %.c): If using gcc, put the file name
before the options on the command line.
* malloc/Makefile (dist-routines): Define with routines for malloc.tar.
(routines): Define with that plus the rest.
(nodist): Remove.
(routines): Add obstack.
(headers): Add obstack.h.
(obstack.%): New rule.
* stdio/glue.c: Add comments.
* stdio/printf.h (struct printf_info.spec): Make unsigned char.
* stdio/stdio.h (__validfp): Fixed glued-stream snarfing.
Mon Jul 6 20:00:47 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/i386/jmp_buf.h: Deansideclized.
* sysdeps/posix/Makefile (objdir-CPPFLAGS): Define; if in parent
dir, add ..s to -Is.
(mk-stdiolim): Use it in place of $(CPPFLAGS).
Sat Jul 4 20:44:42 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* posix/glob/Makefile.in (glob.o, fnmatch.o): Put $(srcdir) on deps.
Wed Jul 1 00:13:40 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/generic/strstr.c: If NEEDLE is "", return end of HAYSTACK.
* string/tester.c (main): Remove decls of sys_nerr and sys_errlist.
* configure: Accept --prefix=*, --exec_prefix=* options.
Set values in config.make and config.status.
* io/umask.c: Fixed return type in fn alias.
* posix/glob.c [! ANSI_STRING]: #define strcoll to strcmp.
Remove extra decls of free, qsort, malloc, and realloc.
* dirent/alphasort.c: #include <string.h>, and not <stdlib.h>.
* sysdeps/unix/bsd/i386/__wait3.S: Load SYS_wait into %eax before
trapping. Use literal .byte instead of lcall to avoid gas bug.
Use 0(REG), not (REG), for register-indirect addressing.
* configure: Make config.status executable.
Tue Jun 30 21:14:53 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* configure: Add --os-release=* and --os-version=* options. Record
settings (which might be automagically guessed) in config.status.
* misc/mknod.c: Use __mode_t for arg in fn alias.
* posix/unistd.h (setregid): Declare to take __gid_t args.
* sysdeps/unix/bsd/i386/__wait3.S: Don't use lcall insn gas barfs on.
* posix/vfork.c: Move to sysdeps/generic/.
* Rules (others, tests): Export them.
* io/umask.c, io/mkdir.c, io/chmod.c: Use mode_t not int in arg decls.
* sysdeps/i386/ffs.c: #include <string.h>, not <bstring.h>.
* stdio/vfscanf.c: Use function_alias.
* stdio/vsscanf.c: Use va_list, not PTR, in arg decl in fn alias.
* sysdeps/unix/i386/sysdep.h (PSEUDO): Enough backslashes and
semicolons.
* stdio/stdio.h: For __gnuc_va_list, #test __GNUC_VA_LIST, not
__va_list_defined.
* stdio/fmemopen.c: Use memchr to find NUL for append mode.
* stdio/memstream.c (enlarge_buffer): Double the buffer size, rather
than adding 100. Don't clobber *INFO->bufsize when called with the
put limit reset. If the target has been set, extend and zero-fill
the buffer.
(seek): New function.
(open_memstream): Use it for seek io fn. Call fmemopen with "w+" mode.
Sun Jun 28 19:01:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* stdio/fseek.c: Fail with EINVAL for a negative file pos.
Fri Jun 26 00:07:53 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* Makeconfig (stdarg.h): New variable.
* Makefile (headers): Add $(stdarg.h).
* stdio/stdio.h: Change __va_list to __gnuc_va_list in decls.
* sysdeps/unix/morecore.c: Include malloc.h #ifndef _MALLOC_INTERNAL.
Don't include <stdio.h>.
(NULL): Define to 0 if not defined.
* sysdeps/i386/bzero.c: Include string.h, not bstring.h.
Thu Jun 25 21:01:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* stdio/perror.c, string/strerror.c (_sys_errlist, _sys_nerr): Don't
declare #ifndef HAVE_GNU_LD.
* stdio/fwrite.c: Cast arg to write io func to const char * (from uns).
* sysdeps/unix/Makefile: If syscall.h doesn't exist in
$(sysincludedir), look for sys/syscall.h and create $(objpfx)syscall.h
to #include it.
* sysdeps/unix/morecore.c (__default_morecore): Deansideclized.
* malloc/*.c: Only #include <malloc.h> #ifndef _MALLOC_INTERNAL.
Wed Jun 24 19:09:04 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/unix/snarf-ioctls: Avoid looking at a few particular
headers which tend to mislead us.
* Makefile (distribute): Add COPYING.
* configure (Makefile): When invoking make in srcdir, set ARCH
rather than objdir on the cmd line.
* posix/glob.c [DIRENT] (direct): Don't define to dirent.
[! DIRENT] (direct): Define to dirent.
* Make-dist [!subdir] (+tsrcs): Don't include $(distribute). It was
already included above.
Mon Jun 22 16:58:34 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* Makerules (sysdep_routines): Export it.
Wed Jun 17 17:58:05 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* posix/glob.c (my_realloc): Test only __GNU_LIBRARY__. Can't trust
STDC_HEADERS.
Tue Jun 16 20:20:01 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* resource/sys/resource.h (enum __rlimit_resource): Added MEMLOCK,
NPROC, OFILE.
* posix/Makefile (glob.tar): Include Makefile.in & configure, and not
Makefile.
(glob/configure): New rule.
* posix/glob/Makefile: Moved to posix/glob/Makefile.in.
(VPATH, srcdir, CPPFLAGS): Define to be replaced by autoconf.
* posix/glob.c: Rearranged conditionals for use with autoconf.
Thu Jun 11 15:47:43 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/unix/bsd/sun/sparc/start.c: Added alias for start -> __start.
Tue Jun 9 20:15:12 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/posix/rename.c: Return failure and don't remove the old
link if the link failed with other than EEXIST.
* posix/glob/Makefile: Fixed copyright notice.
(realclean): Don't remove ~ backup files.
Thu Jun 4 16:41:56 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* time/Makefile (install-data): Don't include zoneinfo/.
Makerules already makes sure the necessary directories exist.
* setjmp/setjmp.h (sigsetjmp) [__GNUC__]: Use typeof hackery to
construct the type of the temporary var for the arg.
(_setjmp) [__FAVOR_BSD]: Make same as setjmp.
* malloc/malloc.h (mtrace): Declare.
* malloc/malloc.h, malloc/calloc.c, malloc/free.c, malloc/malloc.c,
malloc/mcheck.c, malloc/memalign.c, malloc/mstats.c,
malloc/mtrace.c, malloc/realloc.c, malloc/valloc.c: Deansideclized;
changed copyright notices to be independent of libc.
* malloc/Makefile (glob/%.c, glob/%.h): Don't need to ansideclificate.
* io/ftw.h, io/ftw.c: New.
* io/Makefile (headers): Added ftw.h.
(routines): Added ftw.
Tue Jun 2 21:49:22 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/unix/bsd/signum.h (SIG_ERR, SIG_DFL, SIG_IGN): Use
__sighandler_t.
* posix/glob.c (__ptr_t): Define.
Thu May 28 06:57:14 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/m68k/jmp_buf.h: Don't use PTR.
Wed May 27 18:09:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* posix/{glob,fnmatch}.[ch]: Deansideclized; changed copyright
notice to be independent of libc.
* posix/Makefile (glob/%.c, glob/%.h): Don't need to ansideclificate.
* posix/unistd.h (_SC_2_FORT_RUN, _SC_2_LOCALDEF): Define.
* posix/unistd.h: Define _POSIX2_* without #ifdef __USE_POSIX2.
* posix/unistd.h (_POSIX2_FORT_DEV): Removed.
* posix/fnmatch.h (FNM_FILE_NAME): Alias for FNM_PATHNAME.
Tue May 26 00:39:39 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* time/Makefile (install-data): Include zoneinfo/, so the directory
gets made.
* Makeconfig (+gcc-nowarn): Define to -w if using gcc.
* time/Makefile (tz-cc): Use it to suppress warnings for grody code.
* posix/Makefile (libposix.a), math/Makefile (libm.a): Make archive
containing /dev/null instead of nothing; ar won't create an empty
archive.
* Makerules (%/): Added generic mkdir rule.
* posix/Makefile (install-lib): Define to libposix.a.
(libposix.a): Create empty archive.
* posix/Makefile (distribute): Added utsnamelen.h.
* ctype/ctype.c (tolower, toupper): If the arg doesn't fit in a
char, return it unchanged.
* ctype/ctype.h (tolower, toupper): Don't define as macros.
[__GNUC__]: Define as extern inline functions.
* sysdeps/unix/bsd/sun/sunos4/utsnamelen.h,
sysdeps/unix/bsd/sun/sunos4/uname.S: New.
* configure: Only do hacking to snarf uname info if the config uses
the generic uname implementation.
* Makeconfig (+defines): Define to include $(gnu_ld), rather than
-DHAVE_GNU_LD.
* configure: Write config.make with gnu_ld/gnu_as defns.
* sysdeps/unix/bsd/sun/sunos411: Renamed back to .../sunos4.
* sysdeps/unix/bsd/bsd44: Renamed to .../bsd4.4.
* Makeconfig: include $(objpfx)configparms instead of
$(objdir)/Makeconfig.
Define objpfx as soon as objdir is defined, so we can use it.
* sysdeps/generic/uname.c: Use UNAME_* from config-name.h.
Mon May 25 19:33:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* configure: Accept all standard GNU configure options.
Expect to be run in object directory, and find source directory
elsewhere.
Write config.status as a shell script that can be run to recreate
the configuration.
Grok os names containing dots by trying each successively
less-precise substring.
Write Sysnames and config-name.h in current directory.
Write #define's for uname sysname, release, version, and machine
elts in config-name.h. Hackery to intuit release and version info.
* stdio/vsnprintf.c, stdio/vsprintf.c, stdio/vasprintf.c,
stdio/vdprintf.c, stdio/vfscanf.c, stdio/vscanf.c,
stdio/__vsscanf.c: Take arg list as va_list, not PTR.
* stdio/stdio.h: Replaced #include <stdarg.h> with magic.
Properly use __va_list in prototypes.
* Makeconfig (exec_prefix): Define.
(libdir, includedir, bindir): Use it.
* sysdeps/unix/sysv/Makefile [subdir==io] (sysdep-routines): Removed
__utssys.
* sysdeps/unix/sysv/Dist: Removed __utssys.S.
* sysdeps/unix/sysv/__utssys.S, sysdeps/unix/sysv/uname.c: Removed.
* sysdeps/unix/sysv/uname.S, sysdeps/unix/sysv/utsnamelen.h: New.
* posix/sys/utsname.h (_UTSNAME_LENGTH): Don't define; instead,
#include <utsnamelen.h> to define it.
* sysdeps/generic/utsnamelen.h: New.
Sun May 24 00:07:45 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/generic/inet-cvt.h: Deansideclized.
* string/string.h (memfrob): First arg is __ptr_t, not char *.
* misc/sys/cdefs.h (__ptr_t): Made #define rather than a typedef.
Fri May 22 01:52:04 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* Makefile, Rules, Makerules: Remove all rules for ansideclificating
headers.
* posix/glob.h, posix/fnmatch.h: Use explicit cruft for C++.
Define __P and const for C++/ANSI vs old C ourselves, to avoid
dependence on <sys/cdefs.h>.
* inet/Makefile: Remove cruft to snarf things from bsd/.
* inet/bsd/*.c: Moved to inet/.
* Makerules: Install headers from source directories into
$(includedir), rather than ansidecl madness.
* Makeconfig (ansi-incldir, trad-incldir): Removed.
(includedir): Define instead.
* assert/assert.h, ctype/ctype.h, dirent/dirent.h, grp/grp.h,
locale/locale.h, locale/localeinfo.h, math/math.h,
misc/sys/file.h, misc/sys/ioctl.h, misc/sys/ptrace.h,
misc/sys/uio.h, misc/sgtty.h, misc/nlist.h, posix/gnu/types.h,
posix/sys/wait.h, posix/sys/types.h, posix/sys/times.h,
posix/sys/utsname.h, posix/unistd.h, posix/tar.h, posix/utime.h,
posix/wordexp.h, posix/glob.h, posix/fnmatch.h, pwd/pwd.h,
resource/sys/resource.h, resource/sys/vlimit.h,
resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h,
signal/gnu/signal.h, socket/sys/socket.h, stdio/stdio.h,
stdio/printf.h, stdlib/alloca.h, stdlib/stdlib.h, string/string.h,
termios/termios.h, time/sys/time.h, time/time.h, io/sys/stat.h,
io/fcntl.h, errno.h, stddef.h, malloc/malloc.h:
Deansideclized. Use <sys/cdefs.h> macros instead of ansidecl and
C++ cruft.
* features.h: #include <sys/cdefs.h>.
* string/string.h (strfry, memfrob): Declare.
* string/Makefile (routines): Added strfry and memfrob.
* string/strfry.c, string/memfrob.c: New.
* locale/C-ctype_ct.c: Made BS be isspace.
* sysdeps/generic/strstr.c: Return HAYSTACK, not its end, if NEEDLE
is the empty string.
* sysdeps/generic/strncase.c: Fixed for case of empty string.
Wed May 20 02:36:09 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* io/sys/stat.h (fchmod): Declare, rather than two __fchmod decls.
* configure (sysv, bsd): Don't make base_os=unix; unix/{sysv,bsd}
instead.
Set os_used if base_os is used.
Tue May 19 21:00:11 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* crypt/*: New files from glad.
* stdio/stdio.h (sys_nerr, sys_errlist): Don't declare const.
Sun May 17 15:50:00 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* io/Makefile (headers): Remove gnu/stat.h; add sys/stat.h.
* posix/glob.c (glob): Don't let us fall off the end without returning.
* sysdeps/stub/setenv.c, sysdeps/posix/setenv.c: New.
* stdlib/stdlib.h [__USE_BSD] (setenv): Declare.
* stdlib/Makefile (routines): Add setenv.
* malloc/mtrace.c (old_{free,malloc,realloc}_hook): Renamed to tr_&
to not conflict with mcheck.c when combined into gmalloc.c.
Fri May 15 19:07:54 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* socket/sys/socket.h (PF_NBS, AF_NBS): Removed.
(PF_ISO, PF_OSI, PF_APPLETALK, PF_ROUTE, PF_LINK): Define.
(PF_MAX): Increase accordingly.
* inet/bsd/*.c: Snarfed latest code from 4.4.
* misc/sys/cdefs.h (__BEGIN_DECLS, __END_DECLS): Define cruft for C++.
Thu May 14 01:45:12 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* posix/glob.h (GLOB_MAGCHAR): Check user feature-test macros,
rather than __USE_BSD, so we don't depend on features.h.
* sysdeps/stub/__wait4.c: Last arg is struct rusage *, not PTR.
* math/bsd/common_source/mathimpl.h: Don't #define const.
#include <sys/cdefs.h> instead.
* Makefile (+other_dirs): Add crypt, but only if it exists at run time.
* crypt/GNUmakefile: New file.
* sysdeps/sparc/Makefile, sysdeps/m68k/Makefile (crypt):
Define to use machine-dependent assembly code in crypt/crypt.*.S.
* crypt: New directory.
* find-sysdirs: Don't lose if there are no sysnames.
* termios/Makefile (headers): Added sys/termios.h.
* termios/sys/termios.h: New file; just #include <termios.h>.
* stdlib/qsort.c: Define _quicksort rather than qsort.
* stdlib/msort.c: New file; defines qsort function that does merge
sort. Falls back to _quicksort if it fails to allocate a temp array.
* stdlib/Makefile (routines): Added msort.
* string/string.h (memccpy, strdup): Also declare #ifdef __USE_BSD.
[__USE_BSD] (index, rindex, bcmp, bzero, ffs): Declare.
* string/strings.h: Just #include <string.h>.
* string/Makefile (headers): Removed bstring.h.
* misc/Makefile (routines): Removed swab.
* string/Makefile (routines): Put it here instead.
* misc/swab.c: Moved to string/swab.c.
* stdio/stdio.h [__USE_BSD] (sys_nerr, sys_errlist): Declare.
* grp/grp.h (setgrent, endgrent, getgrent): Also do #ifdef __USE_BSD.
* posix/glob.h [__USE_BSD] (GLOB_MAGCHAR): Declare.
(glob_t): Added member `gl_flags'.
* posix/glob.c (glob, glob_in_dir): Set gl_flags member to FLAGS;
or in GLOB_MAGCHAR if any metachars are seen.
* sysdeps/unix/bsd/bsd44/readdir.c: New.
* sysdeps/unix/bsd/sun/readdir.c: Don't need to declare
__getdirentries here. Use off_t and ssize_t.
* misc/Makefile (routines): Removed getdents and __getdents.
* dirent/Makefile (routines): Put them here instead.
* misc/getdents.c: Moved to dirent/getdents.c.
* dirent/dirent.h [__USE_BSD] (__getdirentries, getdirentries):
Declare.
* dirent/Makefile (routines): Added scandir and alphasort.
* dirent/scandir.c, dirent/alphasort.c: New.
* dirent/dirent.h [__USE_BSD] (scandir, alphasort): Declare.
* sysdeps/unix/bsd/nice.c, sysdeps/unix/sysv/nice.S,
sysdeps/stub/nice.c: New.
* resource/Makefile (routines): Added nice.
* misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): #define to
__ versions, for the sake of 4.4 header files.
Wed May 13 00:35:12 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* stdlib/tst-strtol.c: Fixed typo in test table.
* stdlib/strtol.c: Fixed checking for overflow of long int that fits
in unsigned long int.
* misc/Makefile (headers): Added ttyent.h.
(routines): Added getttyent.
* misc/ttyent.h, misc/getttyent.h: New; snarfed from 4.4.
* posix/sys/wait.h [__USE_BSD]: Added forward decl for struct rusage.
(__wait4, __wait3): Declare arg as struct rusage, not PTR.
* inet/arpa/*.h, inet/protocols/*.h, inet/netdb.h, inet/resolv.h:
New files from 4.4.
* inet/Makefile (headers): Snarf *.h from arpa/ and protocols/.
* sysdeps/m68k/fpu/__math.h, assert/assert.h: #include <sys/cdefs.h>
and use its macros rather than rolling our own.
* misc/sys/cdefs.h: New file.
* misc/Makefile (headers): Add it.
* Makerules: Moved check for headers coming from env to Rules.
Tue May 12 01:04:10 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* sysdeps/generic/strsep.c: New.
* string/string.h [__USE_BSD] (strsep): Declare.
* string/Makefile (routines): Added strsep.
* sysdeps/unix/sysv/__settod.c, sysdeps/unix/sysv/stime.S,
sysdeps/unix/bsd/stime.c, sysdeps/stub/stime.c: New.
* time/time.h [__USE_SVID] (stime): Declare it.
* sysdeps/unix/bsd/bsd44/__getdents.S: New.
* posix/wordexp.h, posix/utime.h, posix/unistd.h, time/time.h,
termios/termios.h, posix/tar.h, string/strings.h, string/string.h,
stdlib/stdlib.h, signal/signal.h, stdio/stdio.h, misc/sgtty.h,
setjmp/setjmp.h, inet/resolv.h, pwd/pwd.h, stdio/printf.h,
misc/nlist.h, inet/netdb.h, math/math.h, malloc/malloc.h,
locale/locale.h, grp/grp.h, posix/glob.h, posix/getopt.h,
posix/fnmatch.h, io/fcntl.h, errno.h, dirent/dirent.h,
ctype/ctype.h, string/bstring.h, assert/assert.h, stdlib/alloca.h,
misc/a.out.h [__cplusplus]: Added stupid cruft for losing C++.
Mon May 11 01:40:49 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* math/Makefile (headers): Added huge_val.h and nan.h.
* io/Makefile (headers): Changed gnu/stat.h to statbuf.h.
* time/Makefile (install-data): Include $(localtime-file) and
$(posixrules-file) if they are relative.
(install-others): Include them if absolute.
($(posixrules-file), $(localtime-file)): Define rules to install if
absolute file names.
* Makerules (+install): Include $(install-others) verbatim.
* Makeconfig (localtime-file): Made default /etc/localtime.
* sysdeps/generic/Makefile (endian.h): Only generate if would
otherwise use stub version.
* sysdeps/stub/endian.h, sysdeps/i386/endian.h: New.
* Rules, Makefile: Export distribute and dont_distribute.
* Make-dist: Export sysdep_dirs. Unexport things rather than
clobbering their values.
* misc/sys/ptrace.h: Fixed typo.
* stdio/stdio.h (__io_read, __io_write, __io_seek, __io_close):
Added comments.
* stdio/internals.c (flushbuf): If in append mode, don't do aligned
writing, seek to the target, or update the offset.
* posix/unistd.h (lseek): Doc fix.
* misc/swab.c: New.
* misc/Makefile (routines): Added swab.
Wed May 6 12:32:18 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* math/Makefile, inet/Makefile (source_dirs): Export it.
* MakeTAGS (all-dirs): Include $(source_dirs).
* Makefile (TAGS): Removed dep on subdir_TAGS.
(+subdir_targets): Removed subdir_TAGS.
* MakeTAGS [! subdir] (TAGS): Depend on subdir_TAGS.
[! subdir] (subdir_TAGS): Recurse on subdirectories.
* Makerules (headers): Don't take value from the environment.
* Makerules (sysdirs, sysdep_dir): Export them.
* MakeTAGS: New makefile.
* Makefile (distribute): Include it.
* Makefile (TAGS), Rules (TAGS): Removed rules.
* Makerules (TAGS): New rule that uses MakeTAGS.
* Makefile (TAGS): Depend on subdir_TAGS.
* Makerules (install, install-lib, install-data, routines, aux):
Don't bother removing these if they come from the environment, since
they won't with make >= 3.62.8.
* Rules (distribute, headers): Ditto.
(subdir): Export it.
* Makerules (sources, headers): Export these.
* Makefile (subdirs): Export it.
* Rules (+tags_sources): Removed.
* Makerules (tags-sources): Define here.
* ctype/Makefile (tags-sources): Redefine to give headers precedence
over sources.
* Rules (TAGS), Makefile (TAGS): Rewrote rules.
* Makeconfig (+ctags): Removed.
(ETAGS): Define.
* sysdeps/posix/getcwd.c: Don't closedir twice.
* sysdeps/unix/bsd/hp/m68k/__wait3.S: Define __wait3, not ___wait3.
* posix/sys/types.h [__USE_BSD] (fsid_t): Define.
* posix/gnu/types.h (__fsid_t): Define.
* io/fcntl.h (F_GETLK): Define.
Tue May 5 18:36:46 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* misc/Makefile (routines): Added seteuid and setegid.
* sysdeps/stub/sete[ug]id.c, sysdeps/unix/bsd/bsd44/sete[ug]id.S: New.
* posix/unistd.h [__USE_BSD] (seteuid, setegid): Declare.
* sysdeps/unix/bsd/tcsendbrk.c: #include <sys/types.h>
* Makerules: Strip whitespace from $(headers) so ifdef wins.
* sysdeps/unix/bsd/bsdtty.h: #undef a bunch more things.
* sysdeps/unix/bsd/bsd44/errnos.h: New, hacked from 4.4 <sys/errno.h>.
* sysdeps/unix/Makefile (ioctls.h, errnos.h): Only generate if
the files that would be used otherwise are the stub versions.
* sysdeps/unix/bsd/tcflow.c: Don't write VSTOP or VSTART if it is
_POSIX_VDISABLE.
* sysdeps/unix/bsd/tcflush.c: Use FREAD|FWRITE for TCIOFLUSH.
* sysdeps/unix/bsd/usleep.c: Use select rather than itimers to wait.
* sysdeps/unix/bsd/tcsendbrk.c: Use select rather than itimers to wait.
* termios/cfmakeraw.c: New.
* termios/Makefile (routines): Added cfmakeraw.
* sysdeps/unix/bsd/bsd44/ioctls.h: New file, hacked from 4.4
<sys/ioctl.h>.
* sysdeps/unix/bsd/bsd44/__tcgetatr.c: New.
* sysdeps/unix/bsd/bsd44/tcsetattr.c: New.
* sysdeps/unix/bsd/bsd44/tcdrain.c: New.
* termios/sys/ttydefaults.h: New, snarfed from 4.4.
* termios/Makefile (headers): Define.
* termios/termios.h [__USE_BSD]: #include <sys/ttydefaults.h>
* sysdeps/posix/getcwd.c: Removed unused variable.
* time/__tzset.c: Cast string literal to (char *).
* setjmp/sigjmp_save.c: Declare properly to return void.
* sysdeps/ieee754/nan.h: Created; somehow it disappeared.
Mon May 4 18:30:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/unix/bsd/bsd44/__wait4.S: New.
* sysdeps/unix/bsd/4.4: Renamed to sysdeps/unix/bsd/bsd44.
* signal/gnu/signal.h (__SA_DISABLE, __SA_NOCLDSTOP): Use same bits
4.4 uses.
Sun May 3 13:57:25 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* stdio/fwrite.c: Use unsigned char to avoid sign extension.
* stdlib/__random.c (randtbl): Replaced default constants so they
match the state produced by "srandom (1)".
* stdlib/mbtowc.c: Test for S == "" before testing for no mbchars.
* stdlib/Makefile (tests): Added testrand.
* stdlib/testrand.c: New test for rand.
* stdlib/testmb.c: Added 2 mblen tests.
* stdlib/wcstombs.c: Don't do anything strange for EOF.
Copy non-MB characters as they are.
Properly increment S after writing.
* stdlib/testmb.c: Added test case for wcstombs.
* signal/signal.h (SA_DISABLE): Define.
* signal/gnu/signal.h (__SA_DISABLE): Define.
* signal/signal.h (struct sigaltstack): Define new type.
(sigaltstack): Declare new fn.
* sysdeps/stub/sigaltstack.c: New.
* sysdeps/unix/bsd/4.4/sigaltstack.S: New.
* misc/Makefile (routines): Added reboot.
* posix/unistd.h (reboot): Declare.
* sysdeps/stub/reboot.c: New.
* sysdeps/unix/bsd/ulimit.c [! HAVE_GNU_LD]: #define _etext -> etext.
* sysdeps/unix/bsd/sun/sparc/sethostid.S: #define _ERRNO_H before
#include <errnos.h>.
* configure (newos*): base_os=unix/bsd.
Fri May 1 12:21:47 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* io/gnu/stat.h: Moved to sysdeps/unix/bsd/statbuf.h.
* sysdeps/unix/bsd/statbuf.h: Define struct stat, not struct __stat.
* io/stat.c: Use struct stat, not struct __stat.
* sysdeps/stub/statbuf.h: New.
* io/sys/stat.h: #include <statbuf.h> instead of gnu/stat.h.
(stat, fstat, lstat, chmod, fchmod, umask, mkdir, mknod): Don't
#define; declare as fns instead.
* sysdeps/unix/sysv/stat.h: New.
* sysdeps/unix/sysv/sysv_stat.h, sysdeps/unix/sysv/sys_stat.S,
sysdeps/unix/sysv/sys_fstat.S: Removed.
* sysdeps/unix/sysv/Makefile (sysdep_routines): Removed sys_stat,
sys_fstat.
* sysdeps/unix/sysv/Dist: Removed sys_stat.S, sys_fstat.S.
* sysdeps/unix/bsd/__stat.S, sysdeps/unix/bsd/__fstat.S: Moved to
sysdeps/unix.
* sysdeps/m68k/fpu/switch/Makefile: Refer to dirs fpu and
fpu/switch, not 68881 and 68881-switch.
* sysdeps/m68k/fpu/switch/switch.c: #include <68881-sw.h>, not
68881-switch.h.
* sysdeps/m68k/fpu/__expm1.c, sysdeps/m68k/fpu/__rint.c,
sysdeps/m68k/fpu/asin.c, sysdeps/m68k/fpu/atan.c,
sysdeps/m68k/fpu/atanh.c, sysdeps/m68k/fpu/ceil.c,
sysdeps/m68k/fpu/cos.c, sysdeps/m68k/fpu/cosh.c,
sysdeps/m68k/fpu/exp.c, sysdeps/m68k/fpu/fabs.c,
sysdeps/m68k/fpu/floor.c, sysdeps/m68k/fpu/log.c,
sysdeps/m68k/fpu/log10.c, sysdeps/m68k/fpu/log1p.c,
sysdeps/m68k/fpu/sin.c, sysdeps/m68k/fpu/sinh.c,
sysdeps/m68k/fpu/sqrt.c, sysdeps/m68k/fpu/tan.c,
sysdeps/m68k/fpu/tanh.c: #include <acos.c> without explicit path
(which has changed).
* sysdeps/unix/bsd/sun/sparc/start.c: #include <syscall.h>.
(syscall): Removed C function; define all inside asm instead.
(init_shlib): Cast return value of syscall to right types.
Thu Apr 30 01:15:33 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* sysdeps/unix/bsd/sun/sparc/start.c: Added code to use dynamic
linker from trq@dionysos.thphys.ox.ac.uk.
* sysdeps/unix/bsd/sun/sunos4: Renamed to sunos411.
* setjmp/setjmp.h (sigsetjmp): Don't declare as a function.
Define as a macro instead.
(__sigjmp_save): Declare; internal fn used by sigsetjmp macro.
(_setjmp), [__FAVOR_BSD] (setjmp): Always define as a macro.
* setjmp/sigjmp_save.c: New file.
* setjmp/_setjmp.c, setjmp/sigsetjmp.c: Removed.
* Makefile (routines): Removed _setjmp, sigsetjmp; added sigjmp_save.
* misc/bsd-compat.c (setjmp): Don't define.
* configure (sysv, bsd): base_os=unix
* configure: Fatal error if the machine or os did not generate any
sysdep dirs.
* configure: No error message after config.sub fails.
* sysdeps/mips, sysdeps/unix/bsd/ultrix42: New port from
brendan@cs.widener.edu.
* Reorganized sysdeps:
unix/bsd/
hp9k3bsd -> hp/m68k
news -> sony/m68k
sun/
sun3/os3 -> sunos3/m68k
sun3 -> m68k
sun4 -> sparc
unix/sysv/
r4 -> sysv4
m68k/
68881 -> fpu
68881/68881-switch -> fpu/switch
* sysdeps/unix/bsd/sony/m68k/start.c: Changed #include.
* configure: Use config.sub to canonicalize name.
Then use combinations of machine, vendor, and os (with special
hacks for os flavors) for sysdep dirs to try.
* Makefile (distribute): Added config.sub.
Wed Apr 29 23:06:06 1992 Brendan Kehoe (brendan@churchy.gnu.ai.mit.edu)
* sysdeps/unix/bsd/hp9k3bsd/sysdep.h,
sysdeps/unix/bsd/sun/sun3/sysdep.h, sysdeps/unix/bsd/sun/sun4/sysdep.h,
sysdeps/unix/bsd/vax/sysdep.h,sysdeps/unix/i386/sysdep.h,
sysdeps/mach/i386/sysdep.h: Change all definitions of movl/mov to
MOVE(s, d), for insn sets with d,s instead of s,d move insns.
* sysdeps/unix/__getegid.S, sysdeps/unix/__geteuid.S,
sysdeps/unix/__getppid.S: Use that in each of these.
Wed Apr 29 17:58:21 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* io/getwd.c: Default PATH_MAX if not defined.
* sysdeps/unix/getlogin.c, sysdeps/posix/ttyname.c: Make buffers
only as big as needed, avoiding PATH_MAX.
* sysdeps/posix/getcwd.c: Dynamically extend the buffer as we go,
not afterwards; default PATH_MAX if not defined.
* posix/execvp.c: Dynamically allocate an array on the stack for the
path name, rather than using a fixed-size array.
* pwd/putpwent.c: Print pw_dir field.
* sysdeps/posix/mktemp.c: If the pid has changed, update OLDPID.
Tue Apr 28 19:25:21 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* malloc/valloc.c [emacs]: #include "config.h"
Thu Apr 23 13:55:34 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* sysdeps/m68k/68881/__drem.c: Define __drem, not drem.
Call ____drem, not __drem.
* malloc/realloc.c, malloc/malloc.c: Don't #define memcpy or memset
if already #define'd.
Tue Apr 21 04:16:56 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* malloc/Makefile: Moved include ../Rules after malloc.tar rules.
They need $(routines), which Rules clears.
* malloc/realloc.c (MIN): Renamed to min. Conflicted with HPUX
system header files.
* Makefile (sysdep-subdirs): Is not called +sysdep-subdirs.
* configure: Don't try to create config.status if . is not writable.
* sysdeps/generic/printf_fp.c: Fixed padding loop condition for zero
case.
* math/math.h: Don't #include <float.h> for HUGE_VAL.
Instead, #include <huge_val.h>.
* stdlib/stdlib.h: Ditto.
* math/math.h [__USE_GNU]: #include <nan.h> to get NAN value.
* float.h: Removed.
* Makefile (headers): Removed float.h and fl.h.
* sysdeps/ieee754/huge_val.h, sysdeps/ieee754/nan.h,
sysdeps/stub/huge_val.h, sysdeps/stub/nan.h, sysdeps/vax/huge_val.h:
Created (from old fl.h files).
* math/bsd/common_source/pow.c (pow_p): When checking if Y is an
integer, don't let it overflow a `long int'.
(pow): Check for NaN with __isnan, not (X != X).
Tue Apr 21 02:26:19 1992 Brendan Kehoe (brendan@cs.widener.edu)
* sysdeps/unix/bsd/sun/sun4/__pipe.S,
sysdeps/unix/bsd/vax/__wait3.S, sysdeps/unix/bsd/hp9k3bsd/__wait3.S:
Use the ENTRY macro for each beginning
* sysdeps/unix/sysdep.h, sysdeps/unix/bsd/hp9k3bsd/sysdep.h,
sysdeps/unix/bsd/sun/sun3/sysdep.h,
sysdeps/unix/bsd/sun/sun4/sysdep.h, sysdeps/unix/bsd/vax/sysdep.h,
sysdeps/unix/i386/sysdep.h, sysdeps/unix/sysdep.h,
sysdeps/unix/sysv/sysdep.h [SYSCALL, SYSCALL__, PSEUDO]: Modify to
also receive the number of args the syscall takes; added for future
ports that will require this information.
* sysdeps/unix/i386/__pipe.S, sysdeps/unix/bsd/vax/__pipe.S,
sysdeps/unix/bsd/sun/sun4/__pipe.S,
sysdeps/unix/bsd/hp9k3bsd/__pipe.S, sysdeps/unix/i386/__brk.S,
sysdeps/unix/bsd/sun/__getdents.S, sysdeps/unix/i386/__fork.S,
sysdeps/unix/bsd/vax/__fork.S, sysdeps/unix/bsd/sun/sun4/__fork.S,
sysdeps/unix/__setgid.S, sysdeps/unix/__setuid.S,
sysdeps/unix/bsd/sun/sun3/__vfork.S,
sysdeps/unix/bsd/sun/sun4/__vfork.S,
sysdeps/unix/bsd/vax/__wait.S, sysdeps/unix/bsd/hp9k3bsd/__wait.S,
sysdeps/unix/i386/__wait.S,
sysdeps/unix/bsd/sun/sunos4/sys_wait4.S,
sysdeps/unix/bsd/sun/sun3/sethostid.S,
sysdeps/unix/bsd/sun/sun4/sethostid.S,
sysdeps/unix/bsd/__sigvec.S, sysdeps/unix/bsd/sun/sun4/__sigvec.S,
sysdeps/unix/sysv/i386/__sigret.S, sysdeps/unix/__getppid.S,
sysdeps/unix/bsd/__access.S, sysdeps/unix/sysv/signal.S,
sysdeps/unix/__getegid.S, sysdeps/unix/__geteuid.S,
sysdeps/unix/bsd/bsd_getgrp.S, sysdeps/unix/bsd/__dup2.S,
sysdeps/unix/bsd/__fchmod.S, sysdeps/unix/bsd/__fchown.S,
sysdeps/unix/bsd/__flock.S, sysdeps/unix/bsd/__fstat.S,
sysdeps/unix/bsd/__lstat.S, sysdeps/unix/bsd/__mkdir.S,
sysdeps/unix/bsd/__readlink.S, sysdeps/unix/bsd/__rmdir.S,
sysdeps/unix/bsd/__stat.S, sysdeps/unix/bsd/__symlink.S,
sysdeps/unix/bsd/4.4/chflags.S, sysdeps/unix/bsd/4.4/fchflags.S,
sysdeps/unix/bsd/4.4/sstk.S, sysdeps/unix/bsd/4.4/setlogin.S,
sysdeps/unix/bsd/__getdtsz.S, sysdeps/unix/bsd/__getpgsz.S,
sysdeps/unix/bsd/__setregid.S, sysdeps/unix/bsd/__setreuid.S,
sysdeps/unix/bsd/__utimes.S, sysdeps/unix/bsd/ftruncate.S,
sysdeps/unix/bsd/readv.S, sysdeps/unix/bsd/truncate.S,
sysdeps/unix/bsd/vhangup.S, sysdeps/unix/bsd/writev.S,
sysdeps/unix/bsd/__getpgrp.S, sysdeps/unix/bsd/__setpgrp.S,
sysdeps/unix/bsd/__getrusag.S, sysdeps/unix/bsd/getprio.S,
sysdeps/unix/bsd/getrlimit.S, sysdeps/unix/bsd/setprio.S,
sysdeps/unix/bsd/__sigblock.S,
sysdeps/unix/bsd/__sigpause.S, sysdeps/unix/bsd/__sigstmsk.S,
sysdeps/unix/bsd/killpg.S, sysdeps/unix/bsd/sigstack.S,
sysdeps/unix/bsd/rename.S, sysdeps/unix/bsd/__adjtime.S,
sysdeps/unix/bsd/__setitmr.S, sysdeps/unix/bsd/__settod.S,
sysdeps/unix/sysv/sys_stat.S, sysdeps/unix/sysv/sys_fstat.S,
sysdeps/unix/sysv/__utssys.S, sysdeps/unix/sysv/utime.S,
sysdeps/unix/sysv/__times.S, sysdeps/unix/sysv/i386/time.S,
sysdeps/unix/sysv/alarm.S, sysdeps/unix/sysv/pause.S,
sysdeps/unix/sysv/ulimit.S, sysdeps/unix/__chdir.S,
sysdeps/unix/__chmod.S, sysdeps/unix/__chown.S,
sysdeps/unix/__close.S, sysdeps/unix/__dup.S,
sysdeps/unix/__fcntl.S, sysdeps/unix/__link.S,
sysdeps/unix/__lseek.S, sysdeps/unix/__open.S,
sysdeps/unix/__read.S, sysdeps/unix/__umask.S,
sysdeps/unix/__unlink.S, sysdeps/unix/__write.S,
sysdeps/unix/__ioctl.S, sysdeps/unix/__mknod.S,
sysdeps/unix/acct.S, sysdeps/unix/chroot.S, sysdeps/unix/fsync.S,
sysdeps/unix/ptrace.S, sysdeps/unix/swapon.S, sysdeps/unix/sync.S,
sysdeps/unix/__execve.S, sysdeps/unix/__getgid.S,
sysdeps/unix/__getpid.S, sysdeps/unix/__getuid.S,
sysdeps/unix/_exit.S, sysdeps/unix/__kill.S,
sysdeps/unix/inet/__gethstnm.S, sysdeps/unix/inet/__select.S,
sysdeps/unix/inet/gethostid.S, sysdeps/unix/inet/sethostid.S,
sysdeps/unix/inet/sethostnam.S, sysdeps/unix/inet/accept.S,
sysdeps/unix/inet/bind.S, sysdeps/unix/inet/connect.S,
sysdeps/unix/inet/getpeernam.S, sysdeps/unix/inet/getsocknam.S,
sysdeps/unix/inet/getsockopt.S, sysdeps/unix/inet/listen.S,
sysdeps/unix/inet/recv.S, sysdeps/unix/inet/recvfrom.S,
sysdeps/unix/inet/recvmsg.S, sysdeps/unix/inet/send.S,
sysdeps/unix/inet/sendmsg.S, sysdeps/unix/inet/sendto.S,
sysdeps/unix/bsd/vax/__wait3.S, sysdeps/unix/bsd/hp9k3bsd/__wait3.S,
sysdeps/unix/inet/setsockopt.S, sysdeps/unix/inet/shutdown.S,
sysdeps/unix/inet/socket.S, sysdeps/unix/inet/socketpair.S: Added the
argument count to every use of SYSCALL, SYSCALL__ or PSEUDO.
Tue Apr 21 00:06:52 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* limits.h [__GNUC__ >= 2]: Use #include_next to get GCC's <limits.h>.
* sysdeps/posix/sysd-stdio.c (__stdio_read, __stdio_write,
__stdio_errmsg) [EINTR && EINTR_REPEAT]: Do EINTR looping.
* sysdeps/unix/sysv/sysd-stdio.c: New.
#define EINTR_REPEAT and #include posix/sysd-stdio.c.
* stdlib/mbstowcs.c: Copy non-MB chars verbatim, instead of error.
* sysdeps/generic/printf_fp.c: Note sign of exponent and take its
absolute value for arithmetic.
* stdlib/testmb.c: New.
* stdlib/Makefile (tests): Added testmb.
* sysdeps/generic/frexp.c [NAN]: If VALUE is infinite, return NAN.
If VALUE is NAN, set errno to EDOM and return VALUE.
If VALUE is zero, return it. In all special cases, clear *EXP.
* stdio/test-fseek.c: New.
* stdio/Makefile (tests): Added test-fseek.
* stdio/fseek.c: Position returned from io_funcs.seek is absolute,
not EOF-relative when using SEEK_END.
* sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Set errno to
EEXIST when we run out.
* sysdeps/posix/sysd-stdio.c (exists): Use stat rather than open, so
we don't need read access.
* sysdeps/posix/mk-stdiolim.c (TMP_NAM): is 62 ** 3.
Mon Apr 20 23:08:02 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Don't return
the same name twice when the file doesn't exist.
* stdio/vfprintf.c (%c format): Tests of LEFT for padding were
reversed.
* sysdeps/generic/printf_fp.c: If we have written some fractional
digits, write zeros up to the precision.
* sysdeps/unix/bsd/sun/sun4/start.c: Don't clear the FP until just
before calling main.
Wed Apr 15 01:43:38 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* Makerules (libc.a): Don't depend on libc.a(...); only on lib.
(lib-noranlib): Depend on libobjs.
(+libobjs): New var.
(libobjs): Depend on $(+libobjs).
* Rules (others, tests): Don't depend on lib; on libc.a instead.
* locale/C-numeric.c: grouping is "".
* locale/localeconv.c: Set int_frac_digits.
* locale/setlocale.c: Accept "" to mean "C".
* sysdeps/unix/sysv/r4/bsddir.h: Protect against multiple inclusion.
* sysdeps/unix/sysv/r4/Dist: Created; includes bsddir.h and
sys_getdents.S.
* sysdeps/unix/i386/sysdep.h [! HAVE_SYSCALLS]: Don't #inlcude
unix/sysdep.h.
* sysdeps/unix/sysv/sysdep.h, sysdeps/unix/sysdep.h
(HAVE_SYSCALLS): #define.
* sysdeps/unix/sysv/i386/sysdep.h: #include unix/sysv/sysdep.h, then
unix/i386/sysdep.h.
* sysdeps/unix/sysv/Makefile: Fixed typos.
* sysdeps/unix/sysv/Dist: Add utmp.h.
* sysdeps/posix/Makefile (mk-stdiolim): Explicit commands, to
compile it without normal gcc flags.
* configure (i386-sysv): unix/i386/sysv -> unix/sysv/i386.
(i386-sysvr4): New configuration.
Tue Apr 14 16:47:47 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* setjmp/setjmp.h: Put sigjmp_buf before typedef for jmp_buf, which
needs sigjmp_buf #ifdef __FAVOR_BSD.
* posix/unistd.h (getgroups): Don't #define.
* sysdeps/stub/ptrace.c: #include <stdarg.h>; declare AP in fn.
Avoid "PTR a, b".
* sysdeps/posix/sigintr.c: New; sets global sigset_t `_sigintr'.
* sysdeps/posix/signal.c: Use SA_RESTART unless SIG is in _sigintr.
* signal/sigintr.c: Removed.
* sysdeps/stub/sigintr.c: New.
* sysdeps/posix/sysd-stdio.c (__stdio_read, __stdio_write,
__stdio_errmsg): Don't treat EINTR specially.
* sysdeps/unix/Makefile (sys/param.h): Touch the target after mv'ing
from the tmp file, so the file is newer than the directory.
* sysdeps/generic/strcasecmp.c: Simplified loop; fixed returning
wrong value on equal comparison.
* stdlib/bsearch.c: Don't lose if NMEMB is zero.
* sysdeps/unix/bsd/__times.c (timeval_to_clock_t): Microseconds are
not milliseconds.
Mon Apr 13 18:25:17 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/generic/strncase.c: New.
* string/Makefile (routines): Add strncase.
* string/string.h [__USE_GNU]: Declare strncasecmp.
* time/__tzset.c: Correctly default DST offset to one hour later
than standard offset.
* time/__tzset.c (tz_rule): Made `name' not be const.
* string/tester.c [! HAVE_GNU_LD]: #define _sys_nerr and
_sys_errlist to sys_nerr and sys_errlist.
* stdio/test_rdwr.c: Fixed printf call missing arg.
* posix/getgrps.c: #undef getgroups first.
* misc/brk.c: Declare __brk.
* misc/sbrk.c: Declare __sbrk.
* misc/setreuid.c, misc/setregid.c: #include <unistd.h>.
Fixed types in DEFUN in fn alias.
* misc/getpgsz.c, misc/getdtsz.c, misc/gethstnm.c: #include <unistd.h>.
* misc/getdents.c: Declare __getdirentries.
* misc/mknod.c: #include <sys/stat.h>.
* posix/unistd.h: Declare many __ versions of things.
[__OPTIMIZE__]: Many #define foo(...) -> __foo(...).
* io/fcntl.c: #include <sys/file.h>.
* sysdeps/unix/Makefile: New hair to install other headers the
system sys/param.h #includes.
* time/__tzset.c (__tzfile_default): Declare.
* time/sys/time.h (timezone): #define to __timezone.
* sysdeps/ieee754/printf_fp.c: #undef outchar before #including
generic/printf_fp.c.
* stdio/__vfscanf.c: For %c, don't lose the first char.
For %s, properly consume the last char when we hit max width.
* posix/gnu/types.h (__dev_t, __mode_t): Made int rather than short.
* io/gnu/stat.h (struct stat): Made st_dev, st_rdev, and st_mode use
{,unsigned} short int instead of __dev_t/__mode_t.
Fri Apr 10 13:55:07 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* setjmp/setjmp.h: Rearranged so that jmp_buf is defined before any
prototypes are used.
(longjmp): Declare with jmp_buf, not __jmp_buf, to win in BSD mode.
(_longjmp): #define as __longjmp, not longjmp.
(_longjmp, _setjmp): Take jmp_buf args, not __jmp_buf.
Call sig{set,long}jmp with SAVEMASK==0, rather than __{set,long}jmp.
* _longjmp.c, _setjmp.c: #define _BSD_SOURCE before all else.
(_setjmp): Call sigsetjmp, not __setjmp.
* io/sys/stat.h (__fchmod, __mknod): Fixed arg types.
* io/fchmod.c: Fixed typo.
* time/Makefile (\n): Renamed to nl.
* Makerules (native-compile): New variable.
* sysdeps/generic/Makefile, sysdeps/unix/Makefile,
sysdeps/unix/bsd/Makefile: Use it in cmds for generator progs.
* sysdeps/unix/sysv/sysv_termio.h (_SYSV_TAB3): New; same as XTABS.
* sysdeps/unix/sysv/setrlimit.c: Removed extern decl of etext (unused).
* sysdeps/unix/sysv/__tcgetatr.c, sysdeps/unix/sysv/tcdrain.c,
sysdeps/unix/sysv/tcflow.c, sysdeps/unix/sysv/tcflush.c,
sysdeps/unix/sysv/tcgetpgrp.c, sysdeps/unix/sysv/tcsendbrk.c,
sysdeps/unix/sysv/tcsetattr.c, sysdeps/unix/sysv/tcsetpgrp.c:
#include <sys/ioctl.h>
* sysdeps/unix/sysv/__rmdir.c, sysdeps/unix/sysv/__mkdir.c,
sysdeps/posix/writev.c: #include <string.h>.
* sysdeps/posix/clock.c: Removed unused variable.
Thu Apr 9 01:49:39 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* Version 1.03.
* grp/testgrp.c: Print members correctly.
* stdio/test-popen.c: Pipe to cat rather than more, and then check
output file. Better error checking.
* setjmp/tst-setjmp.c: Notice if we didn't jump the right number of
times.
* signal/tst-signal.c, string/testcopy.c, stdio/bug[12345].c: Print
msgs that more clearly say whether we won or lost. Better error
checking.
* sysdeps/generic/printf_fp.c: Completely rewritten from scratch.
Now uses Steele & White's "Dragon4" algorithm to do things right.
Wed Apr 8 01:08:41 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/i386/__longjmp.c: Test for VAL==0 before clobbering regs.
Wire V to AX, rather than DX. Use "a" constraint on unused operand
in jmp asm, rather than global reg var, to force value into AX.
Tue Apr 7 17:51:25 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* posix/Makefile (headers): Added tar.h.
* posix/tar.h: New file, from djm.
Mon Apr 6 01:39:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* time/tzfile.c (struct ttinfo): Made `isstd' member be unsigned
char instead of 1-bit bitfield.
* time/tzfile.c (__tzfile_default): New function.
* time/__tzset.c: Call it when no rule is given.
* time/Makefile: Install posixrules just like localtime.
* time/Makeconfig (posixrules, posixrules-file): New config vars.
* time/time.h (struct tm): Add `tz_gmtoff', `tz_zone'.
* time/localtime.c: Set those members.
* sysdeps/ieee754/__drem.c: XOR the signs of X and the result,
rather than setting the sign of the result to that of X.
* sysdeps/unix/bsd/make-local_lim.c: Don't do MAXUPRC or MAXLINK if
<sys/param.h> didn't define them.
* sysdeps/posix/__sigvec.c: Fixed braino: SA_ONSTACK should be
SA_RESTART.
* pwd/getpw.c, pwd/putpwent.c: Use %u fmt for uid and gid (which are
unsigned).
* time/time.h (tzname, daylight, timezone): Don't #define to __.
* time/tzfile.c, time/__tzset.c, time/localtime.c, time/strftime.c
[! HAVE_GNU_LD]: #define __ to plain for above three vars.
Thu Apr 2 03:39:04 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* locale/Makefile (routines): Add localeconv.
* sysdeps/i386/jmp_buf.h: Removed `__dx' elt; replaced with `__pc'.
__bp and __sp are PTRs.
* sysdeps/i386/setjmp.c: Rewritten. Use global reg vars to save regs.
Use arithmetic on address of arg to get caller's PC, BP, and SP.
* sysdeps/i386/__longjmp.c: Rewritten. Use global reg vars to
restore regs.
Wed Apr 1 23:13:57 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* Moved sysdeps/unix/i386/{bsd,sysv} to
sysdeps/unix/{bsd,sysv}/i386, and updated Implies files.
Implied dirs come before parents, and we want unix/i386 before
unix/{sysv,bsd}.
* io/chown.c: Fixed types in fn alias.
Wed Apr 1 14:18:58 1992 Torbjorn Granlund (tege@mole.gnu.ai.mit.edu)
* sysdeps/generic/memcmp.c
(memcmp_common_alignment, memcmp_not_common_alignment):
Move back do0 label to its original position, after the loop.
Add comment before do0 labels.
* sysdeps/generic/wordcopy.c (_wordcopy_fwd_aligned): Indentation.
Add comment before do0 labels.
Wed Apr 1 02:16:19 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/unix/sysv/Makefile [subdir==misc]: Generate sysdep header
termio.h from sysv_termio.h.
* sysdeps/generic/make_siglist.c: New file.
* sysdeps/generic/signame.[ch]: Symlink'd from /gd/gnu/lib.
* sysdeps/generic/Makefile: Generate siglist.c with above.
* sysdeps/generic/Dist: Add make_siglist.c, signame.[ch].
* sysdeps/unix/bsd/Makefile (before-compile): Define properly as a
variable.
* sysdeps/unix/bsd/make_siglist.c: Generate #define _sys_siglist
sys_siglist #ifndef HAVE_GNU_LD.
* stdio/psignal.h, string/strsignal.h [! HAVE_GNU_LD]:
#define _sys_siglist sys_siglist.
* sysdeps/unix/sysv/signum.h (SIGCHLD): Changed #.
(SIGUSR1, SIGUSR2, SIGPWR): Added.
(_NSIG): Updated.
* sysdeps/unix/sysv/utmp.h: New.
* sysdeps/unix/bsd/getlogin.c: Moved to sysdeps/unix/getlogin.c.
* sysdeps/unix/sysv/r4/bsddir.h, sysdeps/unix/sysv/r4/readdir.c,
sysdeps/unix/sysv/r4/closedir.c, sysdeps/unix/sysv/r4/rewinddir.c,
sysdeps/unix/sysv/r4/opendir.c, sysdeps/unix/sysv/r4/sys_getdents.S,
sysdeps/unix/sysv/r4/Makefile: New.
* sysdeps/unix/sysv/tcflow.c: New.
* sysdeps/unix/sysv/sysv_termio.h: Add lots of bits; VMIN and VTIME
elts of c_cc.
* sysdeps/unix/sysv/__tcgetatr.c, sysdeps/unix/sysv/tcsetattr.c: Use
VMIN and VTIME elts from sysv termio struct.
* sysdeps/unix/sysv/__gethstnm.c: New.
* sysdeps/unix/sysv/local_lim.h (NGROUPS_MAX): Define as 0.
* sysdeps/unix/sysv/fcntlbits.h (struct __flock): Changed l_pid to
short; added l_sysid.
* sysdeps/unix/sysv/__sigact.c: New.
* sysdeps/unix/sysv/r4/__access.S: New; just #include bsd/__access.S.
* sysdeps/unix/sysv/Makefile: Fixed typo: sysdep-routines =>
sysdep_routines.
* sysdeps/unix/i386/sysv/__sigret.S,
sysdeps/unix/i386/sysv/signal.S: New.
* signal/Makefile (routines): Added sigret, __sigret.
* signal/sigret.c: New; fn alias to __sigreturn.
* sysdeps/stub/__sigret.c: New.
* sysdeps/unix/i386/sysdep.h (PSEUDO): Use hard-coded numbers for
lcalls insn--GAS bug.
* sysdeps/unix/bsd/readdir.c (D_NAMLEN): New macro; define if not
already defined, to return length of a direct elt.
* sysdeps/stub/__getgrps.c: #include <limits.h>; if NGROUPS_MAX is
defined as 0, always return 0, and no stub warning.
* sysdeps/posix/system.c: Don't fail if sigprocmask fails with ENOSYS.
* sysdeps/posix/sysd-stdio.c, sysdeps/stub/sysd-stdio.c: Doc fix.
* sysdeps/posix/__gettod.c: Use CONST where appropriate and not
where not.
* sysdeps/i386/memchr.c, sysdeps/i386/strlen.c: Changed `repnz' to
`repne'.
* stdio/fgets.c: Notice returned char from __fillbf in length calc.
* misc/sys/ioctl.h: Always define `struct sgttyb'.
* stdlib/alloca.h: #undef __alloca, too.
Always #define alloca == __alloca.
* signal/signal.h (__kill): Fixed type in decl.
* posix/unistd.h (setgid): Fixed type in decl.
* posix/setpgid.c, posix/setgid.c, signal/kill.c, posix/fork.c,
posix/vfork.c, posix/getpid.c, posix/getppid.c, posix/setsid.c:
Fixed DEFUNs in fn aliases.
* pwd/getpw.c: Fixed type in defn.
Mon Mar 30 17:06:54 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/generic/printf_fp.c: In %f, decrement PREC for each
leading zero in the fractional part.
* sysdeps/ieee754/ieee754.h: Made all elts unsigned.
* sysdeps/ieee754/__drem.c: Return NAN if Y is zero.
* sysdeps/ieee754/ldexp.c: Rewritten.
* sysdeps/ieee754/__logb.c: Handle denormalized numbers.
* posix/sys/wait.h: #include <endian.h>
* sysdeps/ieee754/fl.h: Fixed NAN and HUGE_VAL bit patterns; added
code for little endian.
* sysdeps/generic/frexp.c: Add one to exponent to give the result a
digit before the point. Use negative exponent rather than division.
* math/__finite.c: Return zero for NaN.
* math/math.h: Doc fix for same.
* stdio/__getdelim.c: Correctly notice when the buffer is full.
* sysdeps/unix/bsd/opendir.c: Pass arg to fcntl F_SETFD by value,
not by reference.
* time/__tzset.c: Correct default rule: M4.1.0,M10.5.0.
* time/__tzset.c: Move ptr past Mfoobar syntax after parsing it.
* time/__tzset.c: Properly parse the DST offset (or its absence).
* sysdeps/unix/make_errlist.c: Write an #ifdef HAVE_GNU_LD, rather
than testing it when compiling make_errlist.
* time/tzfile.c (__tzfile_read): Convert transitions to host byte
order.
* Makeconfig (localtime-file): New config var.
* time/Makefile (tzfile.o, zic.o): Use it for TZDEFAULT.
* stdio/Makefile (tests): Added tstgetline.
* stdio/tstgetline.c: New; test for getline.
* Makeconfig (sysincludedir): Define and document.
* sysdeps/unix/snarf-ioctls, sysdeps/unix/Makefile: Use
${sysincludedirs} in place of hard-coded /usr/include.
Fri Mar 27 13:33:37 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* string/Makefile (headers): Added endian.h.
* sysdeps/ieee754/__drem.c: Fixed typo which made X and Y be the
same location.
* sysdeps/generic/__lstat.c: #include <gnu-stabs.h>
* stdio/internals.c (flushbuf): Increment target as well as offset
when we write out the single char.
* grp/Makefile (tests): Add testgrp (formerly bug1).
Thu Mar 26 14:59:45 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* stdio/fread.c: Don't read directly when we need to seek first.
Wed Mar 25 02:34:49 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* sysdeps/unix/bsd/alarm.c: There are 1000000 usecs in a sec.
* sysdeps/unix/bsd/sun/ptrace.c: Removed.
* stdio/fgets.c: For unbuffered stream, don't return EOF after
reading some data.
Added missing parens.
Tue Mar 24 18:31:07 1992 Torbjorn Granlund (tege@hal)
* sysdeps/i386/memset.c: Move code that puts C in all four nibbles of
X inside `if' statement. Include sysdeps/i386/memset.c (not bzero).
* sysdeps/i386/memchr.c: Rewrite to be faster. Include
sysdeps/generic/memchr.c (not bzero).
Tue Mar 24 01:21:32 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* io/Makefile (routines): Add getdirname.
* posix/unistd.h [__USE_GNU]: Declare getdirname.
* io/getdirname.c: New.
* Makeconfig (stddef.h): Define and document.
* Makefile (headers): Use $(stddef.h) for stddef.h.
Mon Mar 23 18:04:56 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* sysdeps/posix/mktemp.c: Do PID % 100000 for 5 digits.
* time/Makefile (tzfiles): Remove pacificnew; it won't compile.
(distribute): Put it here instead.
* stdio/printf-prs.c [HAVE_LONGLONG]: Fixed missed var name change
from code snarf.
* stdio/fgets.c: Return NULL when we get EOF.
* posix/execvp.c, sysdeps/posix/putenv.c [! HAVE_GNU_LD]: Define
__environ as environ.
* sysdeps/unix/bsd/Makefile, sysdeps/unix/Makefile: In rules to
compile generator programs, cd into $(objdir) first to avoid
braindead cc clobbering foo.o in cwdir.
* sysdeps/m68k/setjmp.c: Deref fpregs array in asm.
* time/Makefile (zones-%): Fixed generated rules.
* math/Makefile (libm.a): Use r cmd to ar.
* time/Makefile (zones-%): In echo commands, put \\\\n outside of
quotes instead of \\n inside single quotes. SysV echo is braindead.
* io/fchown.c, io/fchmod.c, misc/bsd-compat.c: Fixed DEFUNs in fn
aliases.
* time/Makefile (echo-zonenames): New target; tell user what all
timezones defined in all zone files are.
* Makeconfig (localtime): Comment about using above.
Sun Mar 22 18:34:02 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* time/australasia (NZ): Updated rules.
Sat Mar 21 01:00:49 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* stdio/printf-prs.c [__GNUC__]: Define HAVE_LONGLONG.
Fri Mar 20 00:35:36 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* Version 1.02.
* stdio/Makefile (routines): Add __getdelim, __getline.
* sysdeps/unix/i386/start.c: No ../ in #include file name.
* sysdeps/posix/sysd-stdio.c, sysdeps/stub/sysd-stdio.c
(__stdio_seek): Doc fix.
* sysdeps/posix/mk-stdiolim.c: Add one to L_tmpnam, for the null
terminator.
* sysdeps/posix/__dup2.c: Use an extra fcntl call to check that the
first fd is valid. Close the second fd before doing the dup.
* pwd/pwdread.c, grp/grpread.c: Use __getline. Ignore lines
beginning with #.
* Makeconfig (objdir): If $(ARCH) starts with a slash, don't prepend
$(..).
Thu Mar 19 21:36:57 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* Makefile (install-lib): Add Mcrt1.o.
(Mcrt1.o): Create empty file.
Wed Mar 18 16:00:18 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* Makeconfig (+link): Use $(libdir) for gnulib.
Tue Mar 17 20:12:35 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* math/bsd/common_source/mathimpl.h: Include <endian.h>.
[__LITTLE_ENDIAN]: #define national.
* stdio/__vfscanf.c: EOF at end of string is not
an error.
* stdio/tstscanf.c: Added new sscanf test.
* stdio/vfprintf.c: For %#x, print 0x after padding 0s, not before.
* stdio/fputs.c: Reverse size args to fwrite and test for returning
LEN, rather than 1, so 0-length wins.
* io/gnu/fcntl.h: Moved to sysdeps/unix/bsd/fcntlbits.h.
* io/Makefile (headers), io/fcntl.h: gnu/fcntl.h -> fcntlbits.h.
* sysdeps/stub/fcntlbits.h, sysdeps/unix/sysv/fcntlbits.h: New.
* stdio/fopen.c (__getmode): Don't fall through in switch after 'a'
case.
* locale/C-ctype_ct.c (__ctype_b_C): Use symbolic constants.
9..12 are not _NOgraph.
Tue Mar 17 19:04:01 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* string/testcopy.c: Fix typo in comment.
Tue Mar 17 19:57:49 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/generic/strstr.c, string/string.h, string/tester.c
(strstr): Arguments were reversed.
Tue Mar 17 18:52:39 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* sysdeps/i386/memcopy.h (WORD_COPY_BWD): Divide nbytes by 4.
* sysdeps/i386/memchr.c: Rewrite. Handle zero length correctly.
Don't ask gcc to allocate eax to two regs.
Tue Mar 17 17:31:06 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* posix/unistd.h (getpagesize): Declare as size_t.
* Makeconfig (CC): Define unless origin is default.
* stdio/__getdelim.c: Be sure to leave room for the terminating null.
* string/testcopy.c: New version from tege.
* malloc/dist-README: Changed mailing list addr to bug-glibc.
* sysdeps/unix/bsd/__sigproc.c: Use right mask for SIG_UNBLOCK.
* Makefile, Rules (clean, mostlyclean): Put - before rm commands.
Tue Mar 17 11:14:40 1992 Torbjorn Granlund (tege@hal.gnu.ai.mit.edu)
* sysdeps/rs6000/memcopy.h (BYTE_COPY_BWD): Assign __nbytes.
* sysdeps/m68k/memcopy.h (WORD_COPY_BWD): Copy memory, not just
pointers. Clean up switch expression.
Mon Mar 16 05:09:23 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* posix/wordexp.c: New.
* time/tzfile.c (__tzfile_read): Don't die if some of the sections
of the datafile are empty.
* stdio/getline.c, stdio/getdelim.c: Moved to
__getline.c/__getdelim.c.
New files with fn aliases.
* stdio/stdio.h (__getline, __getdelim): Declare.
* time/Makefile (zonenames): Hair to find the names of zones
described by $(tzfiles).
(install-data): Install zoneinfo/$(zonenames).
Rules to make zones from tzfiles.
[localtime] (zoneinfo/localtime): Make from zoneinfo/$(localtime).
* Makeconfig (localtime): New user-frobbable variable.
Sun Mar 15 00:01:05 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* Makerules (sysdep-Makefile): Do if ... else true to avoid bogus
nonzero status.
* Makefile: Denewlinify +sysdep-subdirs after including sysd-dirs.
* sysdeps/vax/__infnan.c [!__GNUC__]: Error.
* zic.c, scheck.c, emkdir.c, ialloc.c, private.h, tzfile.h: Snarfed
from localtime3 dist.
* time/Makefile (others): Added zic.
(distribute): Added private.h, emkdir.c, ialloc.c, scheck.c.
(install): Defined: zic, zdump.
* Makeconfig (bindir): Define.
* Makerules: Add rule to install $(install) in $(bindir).
(+install): Include $(install) in $(bindir).
* sysdeps/unix/Makefile: Moved siglist.c rules to unix/bsd/Makefile.
* sysdeps/unix/make_siglist.c: Moved to bsd/.
* sysdeps/unix/Dist: Remove it.
* sysdeps/unix/bsd/Dist: Add it.
* malloc/Makefile (malloc/gmalloc.c): Depend on headers and sources.
* sysdeps/unix/bsd/sun/sun4/__sigvec.S: Doc fix.
* sysdeps/stub/stty.c, sysdeps/stub/gtty.c: Include <stddef.h>.
* sysdeps/unix/sysv/__fstat.c: Include sysv_stat.h.
* misc/bsd-compat.c: Define _BSD_SOURCE rather than __FAVOR_BSD.
(longjmp): Use function_alias_void.
* time/Makefile (tzfile.o): Compile with
-DTZDIR='"$(datadir)/zoneinfo"'.d
Sat Mar 14 23:26:46 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* Makeconfig (INSTALL_DATA, INSTALL_PROGRAM, INSTALL): Don't define
if already defined.
* setjmp/longjmp.c: Use function_alias_void.
* gnu-stabs.h (function_alias_void): New macro.
* gnu-stabs.h [!HAVE_GNU_LD] (function_alias): Fixed not to loop.
Fri Mar 13 17:20:19 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Include null
terminator in length calculation.
* stdio/fgets.c: Be sure to return NULL on error/eof for unbuffered
stream. If N==1, don't write the first char if !seen.
When the buffer is empty, notice the effect of __fillbf after
calling it, avoiding a (costly) no-op iteration.
Don't return NULL for reading no chars; only for EOF or error.
Don't write terminator at beginning of S if eof on first char.
* malloc/Makefile (libmcheck.a), Makefile (crt0.o): Remove target
first; don't use -f to ln.
* posix/execl.c, posix/execv.c, sysdeps/posix/getenv.c,
sysdeps/posix/system.c [HAVE_GNU_LD]: #define __environ environ
* posix/unistd.h [__OPTIMIZE__] (execv): Removed defn. Can't know
whether to use __environ or environ.
* io/fchown.c, io/chown.c, io/open.c, misc/select.c,
signal/sigvec.c, time/adjtime.c: Fixed DEFUNs in fn aliases.
* time/__tzset.c: Don't dereference NULL if getenv returns it.
Thu Mar 12 16:01:33 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/ieee754/sqrt.c: Replaced undefined var ref `k' with constant.
* sysdeps/i386/__longjmp.c: #include <stdlib.h>.
* time/tzfile.c (__tzfile_compute): Use types[0] if TIMER falls
between transitions[0] and transitions[1].
Always set __tzname[INFO->isdst] to the name for INFO.
* sysdeps/i386/__longjmp.c: Changed register names for gcc; eax/%eax
-> ax.
* sysdeps/unix/snarf-ioctls: Avoid infinite recursion.
Wed Mar 11 00:16:18 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* Version 1.01.
* Makefile (munch-init.c): Made $(objpfx)munch-init.c.
* signal/sigvec.c, signal/sigaction.c, stdio/vsscanf.c: Fixed DEFUNs
in fn aliases.
* sysdeps/m68k/68881/68881-switch/switch.c: Merged vars have_fpu and
test_fpu into one.
* sysdeps/mach/i386/start.c, sysdeps/vax/setjmp.c,
sysdeps/vax/__longjmp.c, sysdeps/vax/__infnan.c,
sysdeps/unix/start.c, sysdeps/unix/bsd/sun/sun4/sigtramp.c,
sysdeps/unix/bsd/sun/sun4/start.c,
sysdeps/unix/bsd/hp9k3bsd/start.c, sysdeps/sparc/sqrt.c,
sysdeps/rs6000/ffs.c, sysdeps/m88k/ffs.c, sysdeps/m68k/setjmp.c,
sysdeps/m68k/__longjmp.c, sysdeps/m68k/68881/printf_fp.c,
sysdeps/m68k/68881/atan2.c, sysdeps/m68k/68881/__logb.c,
sysdeps/m68k/68881/68881-switch/switch.c, sysdeps/m68k/ffs.c,
sysdeps/i386/memset.c, sysdeps/i386/memchr.c, sysdeps/i386/ffs.c,
sysdeps/i386/bzero.c, sysdeps/i386/__longjmp.c, sysdeps/am29k/ffs.c
[! __GNUC__]: Either include the generic (or in some cases, ieee754)
version, or do a #error.
* Rules: Null out `objects' at end to shrink environment some.
(+objs): Define with := from $(objects).
(clean): Use that instead of $(objects).
* sysdeps/i386/setjmp.c: Doubled % where it wanted to be literal.
* posix/getgrps.c, io/flock.c, io/mkdir.c, io/read.c, io/write.c,
io/stat.c, misc/getdents.c, misc/mknod.c, misc/utimes.c: Fixed
DEFUNs in fn aliases.
* sysdeps/unix/bsd/hp9k3bsd/sysdep.S: Use # instead of kludge cookie.
* posix/getegid.c: Fixed type in DEFUN.
* time/tzfile.c (__tzfile_compute): If TIMER is before any
transition in the file, use the first non-DST type, rather than the
type of the first transition in the file.
Tue Mar 10 20:01:55 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* configure: Take optional -nfp arg.
(news, sun3, hp300): Prepend m68k/68881 unless -nfp is given.
* sysdeps/unix/bsd/hp9k3bsd/Implies: Don't specify 68881.
* stdio/getdelim.c: When the buffer is empty, notice the effect of
__fillbf after calling it, avoiding a (costly) no-op iteration.
* sysdeps/vax/__memccpy.c: Fixed comments.
* stdio/fmemopen.c: Set all fns and seen bit before we might call
something that would care (fclose).
* configure (sun3, sun-3): Mean sun3os4, not sun3os3.
(sun3os3): Use just unix/bsd/sun/sun3/os3.
* sysdeps/unix/bsd/sun/sun3/os3: New directory.
(sysdeps/unix/bsd/sun/sunos3/__wait.S): Moved to there.
* sysdeps/unix/bsd/sun/sun3/sysdep.h: Fixed; took hp9k3bsd/sysdep.h
and changed movel foo, d0 to pea foo for syscall no.
* sysdeps/unix/bsd/sun/sun3/__brk.S: Fixed pea addr mode.
* sysdeps/unix/bsd/sun/sun3/sethostid.S: errnos.h, not gnu/errno.h.
Use .stabs directly, not gnu-stabs.h (which uses `asm').
* sysdeps/m68k/setjmp.c: Changed asm for first moveml, so it works
on sun3.
* sysdeps/unix/bsd/sun/sun3/start.c: Removed ../ from #include path.
Sun Mar 8 16:33:33 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* misc/makefile (headers): Added stab.h, stab.def.
* Many files: Changed __GNU_STAB__ to HAVE_GNU_LD.
Sat Mar 7 21:21:10 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* time/mktime.c: Normalize the struct values before checking for out
of range values.
Fri Mar 6 11:43:35 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/ieee754/ldexp.c: New.
* stdio/internals.c (flushbuf): When priming the stream for writing,
advance the target pos to account for chars gotten from the buffer.
* sysdeps/generic/Makefile: For math routines, don't filter out
__finite.
* sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Fixed bugs.
* misc/Makefile (routines): Remove flock.
* stdlib/strtod.c: Fixed typo in checking for exponent overflow.
Do set *ENDPTR on overflow or underflow.
* sysdeps/sparc/fl.h: Removed. Should use ieee754 version.
* sysdeps/generic/Makefile: For math routines, don't filter out
__copysign, __scalb, __drem and __logb; and don't add support.
* sysdeps/ieee754/__drem.c: New.
* sysdeps/ieee754/sqrt.c: New.
* sysdeps/stub/__drem.c: New.
* sysdeps/stub/sqrt.c: New.
* sysdeps/stub/__logb.c: New.
* sysdeps/ieee754/__logb.c: New.
* sysdeps/ieee754/__infnan.c: Include <float.h> and use NAN macro
rather than cooking one up by hand.
* sysdeps/unix/bsd/getlogin.c: Open /dev/tty, rather than using stdin.
Make sure the name is always null-terminated.
Thu Mar 5 17:11:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/m68k/68881/__scalb.c: Removed.
* sysdeps/m68k/68881/__math.h: Removed defn of __scalb.
* math/math.h [__OPTIMIZE__]: Define __scalb to be ldexp.
* math/__scalb.c: New; fn alias for ldexp.
* stdio/Makefile (tests): Added bug4 and bug5.
* stdio/bug4.c, stdio/bug5.c: Test cases from reported bugs just fixed.
* stdio/internals.c (flushbuf): If nothing was written by the user,
but there is previously gotten data, don't write anything out.
* stdio/internals.c (seek_to_target): Call __stdio_check_offset first.
* sysdeps/unix/sysv/sysv_termio.h: New file.
* sysdeps/unix/sysv/Dist: Include it.
* sysdeps/unix/sysv/tcsetattr.c, sysdeps/unix/sysv/tcsetpgrp.c,
sysdeps/unix/sysv/tcsendbrk.c, sysdeps/unix/sysv/tcgetpgrp.c,
sysdeps/unix/sysv/tcflush.c, sysdeps/unix/sysv/tcdrain.c,
sysdeps/unix/sysv/__tcgetatr.c: New files.
* stdio/internals.c (fillbuf): Don't set the put_limit on writable
streams. Wait for first write attempt to prime them, so we don't
flush the unchanged data unnecessarily.
* stdlib/exit.c: Look for NULL terminator on ld set, rather than
using length word.
* Makefile (headers): Remove stdarg.h and varargs.h.
Users will get them from GCC.
* stdio/printf.h: Include <stdarg.h> to use va_list.
* stdio/stdio.h: Don't include <stdarg.h> with magic.
Use PTR in place of __va_list in prototypes.
* stdio/__vsscanf.c, stdio/vscanf.c, stdio/vfscanf.c,
stdio/__vfscanf.c, stdio/vdprintf.c, stdio/vasprintf.c,
stdio/vsprintf.c, stdio/vsnprintf.c, stdio/vprintf.c,
stdio/vfprintf.c: Fixed DEFUNs.
* sysdeps/ieee754/ieee754.h: New file; declares union ieee754_double.
* sysdeps/ieee754/Dist: Add it.
* sysdeps/ieee754/__copysign.c, sysdeps/ieee754/__infnan.c,
sysdeps/ieee754/__isinf.c, sysdeps/ieee754/__isnan.c,
sysdeps/ieee754/__printf_fp.c: Use it.
* sysdeps/unix/sysv/uname.c: New.
* sysdeps/unix/sysv/__utssys.S: New.
* sysdeps/unix/sysv/Makefile (routines): Add __utssys.
* sysdeps/unix/sysv/Dist: Add __utssys.S.
* sysdeps/unix/sysv/__rmdir.c: New; runs `rmdir' shell command.
* sysdeps/unix/sysv/__mkdir.c: New; runs `mkdir' shell command.
* sysdeps/generic/__lstat.c: New; fn alias for __stat.
* sysdeps/unix/sysv/__gethostname.c: New; uses uname.
* sysdeps/unix/Makefile (sys/params.h): Protect with
_GNU_SYS_PARAM_H, in case the system's file uses _SYS_PARAM_H itself.
* stdio/internals.c (__stdio_check_offset): Call init_stream to make
sure we have fns.
* stdio/fread.c: Don't call __fillbf if the put_limit is past the
beginning of the buffer; only if !seen, no buffer, or pushed back.
* stdio/fopen.c (__getmode): Set create bit for "a" mode.
* io/mkdir.c: #undef mkdir before fn alias.
* time/tzfile.c (__tzfile_compute): Don't decrement I if it's zero.
* Makefile (crt0.o): Use ln -f.
* math/Makefile (install): Install libm.a.
(libm.a): Make an empty archive.
Wed Mar 4 19:54:50 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* README.template: Added note about long filenames in dist.
* io/Makefile (routines): flock -> __flock
* flock.c: New file, fn alias.
* sysdeps/unix/bsd/flock.S: Renamed to sysdeps/unix/bsd/__flock.S;
made __flock.
* sysdeps/mach/hurd/flock.c: Renamed to sysdeps/mach/hurd/__flock.c;
made __flock.
* sysdeps/stub/flock.c: Renamed to sysdeps/stub/__flock.c; made
__flock.
* time/time.h (__isleap): Fixed; every 400th year is not a leap
year, not every 1000th.
* stdio/internals.c (flushbuf): Increment the target position the
amount the user wrote into the buffer, not the amount we wrote out
to the file (which is greater if we read a block and modified it
in the middle).
* stdio/internals.c (flushbuf): Set get_limit to the beginning of
the buffer for all streams, except when we have just read in a block.
Sat Feb 29 15:56:22 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* posix/Makefile (others): Removed logname, id.
* time/Makefile (others): Removed date.
* sysdeps/unix/bsd/sun/sun4/start.c: Make an alias called `start'
(no leading underscore, so it can't conflict with C symbols) for
`_start'.
Thu Feb 27 14:32:20 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* set-init.c: Look for NULL terminator on set. ld is broken and
doesn't set the length word correctly.
* setjmp/_longjmp.c, signal/sigaction.c, signal/sigvec.c,
signal/ssignal.c, string/bcmp.c, time/setitmr.c, posix/execve.c,
posix/getegid.c, posix/geteuid.c, posix/getgid.c, posix/getuid.c,
posix/getgrps.c, posix/setuid.c, posix/wait3.c, posix/wait4.c,
posix/waitpid.c, io/lseek.c, io/open.c, io/read.c, io/write.c,
resource/getrusage.c, misc/getpgsz.c, misc/gethstnm.c,
misc/select.c: Fixed DEFUNs in fn aliases.
Wed Feb 26 00:20:25 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* sysdeps/generic/Makefile (routines): Add asincos.
* time/tzfile.c (__tzfile_compute): Set __tzname properly, so isdst
is the right index into it.
Tue Feb 25 01:42:16 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* sysdeps/unix/bsd/sun/sun4/sysdep.h (ENTRY): .align 2, not .align 4.
This one is powers of two.
* time/__tzset.c: If TZ is :FILE, try FILE and if __tzfile_read
fails, then use defaults.
* sysdeps/generic/Makefile (routines): Add sincos.
* sysdeps/posix/cuserid.c: Set the result to the empty string on
failure.
* string/string.h, string/strings.h, sysdeps/i386/memchr.c: Fixed
spelling in comment.
* string/makefile (tests): Include (uncomment) testcopy. We do have
papers for it from tege.
* malloc/dist-README: Fixed mailing list addr.
* resource/sys/vtimes.h (struct vtimes): Renamed vm_outblk to
vm_oublk; fixed comment.
* sysdeps/generic/vtimes.c: Renamed here too.
* Make-dist (README): Depend on version.c.
Tue Feb 18 18:14:50 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* Version 1.00.
* time/tzfile.c (__tzfile_compute): Fixed transition comparison.
* sysdeps/unix/bsd/sun/sun3/Makefile: Fixed typo.
Mon Feb 17 05:04:00 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* Version 0.6.
* Makefile (distribute): Add Q+A.
* Q+A: New doc file from rich@cygnus.com.
* malloc/Makefile (distribute): Add mcheck-init.c.
Mon Feb 17 00:39:38 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* sysdeps/unix/sysv/utime.c: Removed.
* sysdeps/unix/sysv/utime.S: New file.
* sysdeps/unix/sysv/signum.h: New file.
* sysdeps/unix/sysv/local_lim.h: New file.
* sysdeps/unix/sysv/sysv_stat.h: New file.
* sysdeps/unix/sysv/__stat.c, sysdeps/unix/sysv/__fstat.c: New files.
* sysdeps/unix/sysv/Makefile: New file.
(+sysdep-routines): Define to sys_stat and sys_fstat.
* sysdeps/unix/sysv/sys_stat.S, sysdeps/unix/sysv/sys_fstat.S: New
files.
* sysdeps/unix/sysv/Dist: Created to include sysv_stat.h,
sys_stat.S, and sys_fstat.S.
* sysdeps/stub/__setreuid.c: Include <sys/types.h>.
* sysdeps/posix/__sigblock.c: Fixed typo.
* stdio/internals.c (__flshfp): Don't return EOF if at EOF; only
for errors.
* signal/gnu/signal.h: Move #include <signum.h> outside repeat #ifdef.
* sysdeps/unix/sysv/filebits.h: Created.
* misc/Makefile (distribute): Define to bsd-compat.c.
* misc/Makefile (headers): Remove filebits.h.
* io/Makefile (headers): Put it here.
* Makefile (+posix_dirs): Add io.
* io/Makefile: New file for new subdir.
Contains many headers and routines moved from posix.
* posix/Makefile: Remove many headers and routines now in io.
* Moved many files from posix to io.
* stdlib/alloca.h: Get size_t from stddef.h.
* misc/bsd-compat.c (getgroups): Removed. Not needed, because gid_t
is now the same size as int.
* Makefile (distribute): Include NOTES.
* NOTES: New file, infoized node from intro.texinfo about the
feature-test macros.
* README.template: Mention NOTES.
* sysdeps/unix/bsd/sun/sun3/Makefile: include hp9k3bsd version.
* Makeconfig: Use $(..) for config.status.
* configure (i386-sysv): unix/i386/sysv, not unix/sysv/i386.
* unix/i386/sysv/Implies: unix/sysv, not unix/i386.
Sun Feb 16 00:42:53 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* Version 0.5.
* posix/Makefile (headers): Remove confstr.h.
(distribute): Define this instead to contain it.
* ansidecl: Added copyright notice.
* stdio/getdelim.c: New file.
* stdio/getline.c (getsome): Renamed to getdelim and moved there.
* stdio/Makefile (routines): Add getdelim.
* stdio/stdio.h: Declare getdelim.
* misc/gnu/file.h: Moved to sysdeps/unix/bsd/filebits.h.
* sysdeps/stub/filebits.h: New file.
* misc/Makefile: gnu/file.h is now filebits.h.
* posix/fcntl.h: Changed #include.
* stdio/getline.c (getsome): If MAX_CANON isn't defined, use a default.
Don't leak old *LINEPTR storage if *N < 2.
Don't bang *LINEPTR to NULL if realloc fails.
* Makerules: Don't use override when nulling out sources, routines,
and aux if they came from the environment. Better not make with -e.
* Makefile (sysdirs, Sysnames): Put outside of ifndef sysdirs.
* string/Makefile (tests): No testcopy, pending papers.
* Makefile (headers): No sysdep.h.
(distribute): Here instead.
(no-install): No longer needed.
Sat Feb 15 17:10:38 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* Makefile (distribute): Add INSTALL.
* Make-dist (INSTALL): Make from manual/maint.texinfo.
(README): Make from README.template.
* Makefile (+other-dirs): Removed inet.
* sysdeps/unix/inet/Subdirs: Created, adding inet.
* sysdeps/unix/sysv/setrlimit.c: Include stddef and errno.h.
* math/drem.c, setjmp/longjmp.c, malloc/cfree.c, string/bcmp.c,
time/getitmr.c, misc/ioctl.c: Fixed defuns in function_alias.
* Makefile (headers): Put sysdep.h back.
(no-install): And define this to it.
* Makerules (+install): Filter out $(no-install) from the list.
* string/testcopy.c: New test program for bcopy from tege.
* string/Makefile (tests): Add it.
* Makefile (sysdep-subdirs): Renamed to sysd-dirs.
* Make-dist (tardir): Omit the release name; it made names too long.
Sat Feb 15 12:53:02 1992 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu)
* sysdeps/rs6000/memcopy.h (WORD_COPY_FWD, WORD_COPY_BWD):
Use CTR register for looping (speed enhancement). Don't emit
labels, jump relative from `$' instead (makes multiple expansions
possible). Clean up indentation of asm code (were different in each
macro).
* sysdeps/rs6000/memcopy.h (WORD_COPY_BWD):
Add asm output specs (were missing completely).
* sysdeps/generic/{memcpy.c,memmove.c}: Make DSTP and SRCP unsigned
(safer with non-ANSI compilers).
Fri Feb 14 01:52:12 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* Version 0.4.1.
* Makefile, Rules: Changed clean and clobber targets into
mostlyclean, clean, and realclean.
* Makeconfig: Added comments describing objdir/Makeconfig and
editting Makeconfig.
(prefix, libdir, INSTALL, INSTALL_DATA): New variables for installing.
* Makerules (install): New target.
* Makefile (+subdir_targets): Add subdir_install.
(install): Depend on subdir_install.
(install-lib): Define variable to install libc.a and crt0.o.
* misc/Makefile (install-lib): Install bsd-compat.
* malloc/Makefile (install-lib): Install mcheck-init.
* Version 0.4.
Thu Feb 13 21:39:31 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* sysdeps/unix/glue-ctype.c: Moved to unix/bsd.
* sysdeps/unix/Makefile: Moved glue-ctype stuff to unix/bsd/Makefile.
* sysdeps/unix/Dist: No glue-ctype.
* sysdeps/unix/bsd/Dist: Here instead.
* sysdeps/sparc/divrem.m4: Don't use insn aliases Sun as doesn't grok.
Wed Feb 12 12:12:12 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* sysdeps/m68k/setjmp.c: Use m, rather than g, constraint when
saving fp regs.
* Renamed oodles of files, changed all the relevant Makefiles (I
think). File names now fit in 14 chars for losing System V. Gag me
with a death star.
See =longnames for translations, and =shorten.el for method.
* grp/initgroups.c: Removed redundant test.
* malloc/mtrace.c: Use %p fmt for pointers.
Tue Feb 11 02:04:39 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* stdlib/alloca.h: New file.
* stdlib/stdlib.h: Moved alloca decls there; #include <alloca.h>
instead.
* stdlib/Makefile (headers): Added alloca.h.
* stdio/getline.c (getsome): Fixed bugs.
* math/bsd/common_source/mathimpl.h: #define expm1 __expm1.
* math/bsd/common_source/expm1.c: Renamed to __expm1.c
* math/bsd/mc68881/expm1.s: Renamed to __expm1.s; renamed fn too.
* math/expm1.c: New file, fn alias expm1 -> __expm1.
* math/Makefile (routines): Add __rint.
* math/rint.c: New file, fn alias rint -> __rint.
* math/bsd/common_source/floor.c (rint): Renamed to __rint.
* sysdeps/generic/Makefile: Remove __rint, not rint.
* math/Makefile (BSDmath-files): Always include it, and don't depend
on undependable things.
* Makerules (sysdep-Makefile): Always include it, and make it
without depending on make vars that might not be right yet.
Mon Feb 10 00:55:58 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* stdlib/stdlib.h: #undef alloca before declaring it.
* sysdeps/sparc/__longjmp.S: Use be instead of bz.
* sysdeps/unix/bsd/Dist: Add bsdtty.h.
* tzfile.c (__tzfile_read): Don't allocate space for 0 leaps.
Don't loop infinitely.
* sysdeps/unix/Makefile (make-errnos.c): Use tr to eat newlines in
errnos file.
* sysdeps/unix/bsd/sun/sun4/__brk.S: Fix andn arg order.
* posix/Makefile: Don't get getopt by vpath. Turns out to be too
much hassle for dist. Just made symlinks in posix/ instead.
* manual/Makefile: Renamed summary.out to summary.texinfo.
* manual/summary.awk: New file, to make summary.out.
Replaces `process-definitions.el'.
* manual/Makefile (summary.out): Create using summary.awk.
* manual/Makefile: Created.
* Makefile, Make-dist: Use it to format and distribute the manual.
Mon Feb 10 00:32:17 1992 Jim Meyering (meyering@churchy.gnu.ai.mit.edu)
* All Makefiles:
Whenever using shell redirection to create a target,
do not create the target directly like this
foo: bar
process $< > $@
That loses when `process' fails (interrupt, disk full, ...)
and bar exists and looks up-to-date, but isn't.
This sort of failure is particularly insidious when
the initial error message is obscured by lots of subsequent
output (echoed commands etc).
Instead use rules like this
foo: bar
process $< > $@-tmp
mv $@-tmp $@
Using this paradigm, as long as process returns non-zero
whenever it fails, the target won't be touched.
Sun Feb 9 22:58:51 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* posix/unistd.h (getopt): Fixed prototype.
* sysdeps/generic/memset.c, stdio/vdprintf.c: Fixed DEFUNs.
* Makerules (lib): Use $(RANLIB) for ranlib.
* Makeconfig: Define it.
* configure: Create config.status to set ARCH, if successful.
* Makeconfig: include config.status ifndef ARCH.
Thu Feb 6 20:57:10 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* ansidecl.h (INCLUDE, STARTCOMMENT, ENDCOMMENT): New magic words.
* sysdeps/m68k/68881/fl.h: Use new magic to snarf ieee754/fl.h during
ansideclification.
* sysdeps/ieee754/fl.h: New file, taken mostly from the old
68881 file. HUGE_VAL redone to be machine independent.
(NAN): New macro for an IEEE NaN, done like HUGE_VAL.
* sysdeps/m68k/68881/fl.h: Now #includes ieee754/fl.h, and overrides
FLT_ROUNDS for 68881 magic. NB: the #include is a prob. for install.
Wed Jan 29 17:11:25 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* sysdeps/posix/getcwd.c: Don't use chdir; use a long ../../../...
path name instead.
Fri Jan 17 02:51:10 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* posix/Makefile (headers): Added getopt.h.
(routines): Added getopt1.
Get getopt* from /home/gd/gnu/lib by vpath.
* Makerules (+ansideclificate): Don't assume . is in PATH.
Thu Jan 16 18:43:05 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* posix/glob.c [sgi]: No alloca.h, after all.
Wed Jan 15 14:17:37 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* termios/termios.h: Reworked to be compatible with 4.4BSD.
* termios/speed.c, sysdeps/unix/bsd/{__tcgetattr,tcsetattr}.c: Store
speeds as their own values (B9600==9600, etc.) and translate to BSD
values only for ioctl.
* termios/cfsetpseed.c: New fn to set both speeds at once (from 4.4).
Tue Jan 14 21:18:10 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* sysdeps/unix/i386/__brk.S: __end, not ___end.
Get the arg off the stack correctly.
* sysdeps/unix/Makefile: Allow errnos like EL3HLT.
* sysdeps/posix/{readv,writev}.c: Typos.
* sysdeps/posix/__sigpause.c: Rewritten to know that sigset_t is a
mask, and to pass a (sigset_t *) instead of sigset_t to sigsuspend.
* sysdeps/i386/memset.c: Include <memcopy.h>.
* sysdeps/generic/uname.c (uname): Save and restore errno if
gethostname gets ENOSYS.
* stdio/perror.c (perror): Check correctly for S == "".
Check correctly for ERRNUM being in range.
* find-sysdirs: Don't use fgrep -s, since USG apparently doesn't
have that flag. Just >/dev/null instead.
Mon Jan 13 17:00:15 1992 Torbjorn Granlund (tege at mole.gnu.ai.mit.edu)
* sysdeps/generic/wordcopy.c (all four functions): Move do0 label to
the ultimate store statement at the end of each function. (Used to
be in the loop.)
Tue Jan 7 18:40:18 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* resource/sys/resource.h (struct rusage): Change `ru_outblock' to
`ru_oublock'.
* sysdeps/generic/stpcpy.c: Fixed off-by-one bug.
Thu Jan 2 15:19:01 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* sysdeps/sparc/Dist: Add umul.S and mul.S.
Tue Dec 31 15:33:39 1991 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* signal/signal.h [__USE_GNU]: Add user-visible `sighandler_t' ==
__sighandler_t.
* termios/speed.c (speedtab): Made const.
* posix/Makefile (routines): Add flock.
Tue Dec 31 03:38:30 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
* termios/speed.c: Accept and return speeds as actual baud rates.
* termios/termios.h (B110, etc.): Define B110 as 110, etc.
Likewise for _B110, etc.
Thu Oct 24 16:19:49 1991 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* ansidecl: Put `M4OPTS=+quiet' in the environment make GNU m4 quiet.
Sun Oct 20 19:31:28 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* Make-dist (tardir): Define as `libc-RELEASE-VERSION', strings
snarfed from version.c.
($(..)$(tardir)): Add rule to make as symlink to . (parent dir).
[subdir] (dist), [parent] (dist.tar): Depend on that.
[subdir] (tarsources), [parent] (+tsrcs): Add $(tardir)/ to files.
* sysdeps/sparc/Makefile (distribute): Move data into Dist file.
Fri Oct 18 15:27:58 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* Makefile (subdirs): Add $(sysdep-subdirs), so sysdep makefiles can
add subdirs.
* posix/glob.c [sgi]: Use <sys/dir.h>.
* stdio/fopen.c: If not appending, initialize the offset to 0.
* sysdeps/generic/strcasecmp.c: Fixed losing braindead code.
Tue Oct 8 15:27:54 1991 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* Version 0.1.
* This ChangeLog is lacking much information.
* After this release, I hope to maintain the log well.
Fri Jul 26 18:02:57 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* stdio/Makefile (routines): Remove _cleanup.
Thu Jul 25 23:12:45 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* stdio/memstream.c (close_memstream): Removed.
(trim_buffer): New fn to be io_funcs->__close for memstreams.
(open_memstream): Take arg char **BUFLOC. Stuff it in
stream->__fd, and store the location of the initial buffer in
*BUFLOC.
(enlarge_buffer): Keep *(char **) stream->__fd updated to be the
location of the buffer.
Tue Jul 23 14:11:29 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* posix/glob.c: Don't #include <stddef.h> #ifdef sun.
Is there anyone on the face of the planet other than me capable of
implementing the ANSI C standard to spec????
* posix/glob.c [DIRENT]: #include <sys/types.h> before <dirent.h>
#ifdef USG.
Mon Jul 22 17:06:24 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/posix/make-stdio_limits.c: #include <posix1_limits.h>,
not <posix_limits.h>.
* README: Refer to COPYING.LIB, not COPYING.
* config.libc: Renamed to `configure'.
Local Variables:
mode: change-log
End:
|