summaryrefslogtreecommitdiff
path: root/old/sh-utils/ChangeLog
blob: ed84c68afcd910c572cab1cdcaa1e3d0562e3716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
1999-08-14  Jim Meyering  <meyering@ascend.com>

	* Version 2.0.

	* tests/stty/basic-1: Fail-77 if stdin is not a tty.
	* tests/stty/row-col-1: Likewise.
	Suggestion from Volker Borchert.

1999-08-07  Jim Meyering  <meyering@ascend.com>

	* Version 1.16m.

	* Makefile.maint (po-check): New rule.
	(alpha): Make it.

	* po/POTFILES.in: Add the following from lib/: argmatch.c, closeout.c,
	error.c, getopt.c, human.c, long-options.c, version-etc.c, xmalloc.c.
	Add these from src/: false.c, hostid.c, true.c.

	* lib/getdate.y (OtherTable[]): Use tDAY_UNIT for `tomorrow,'
	`yesterday,' `today,' and `now' rather than tMINUTE_UNIT.  Of course
	with correspondingly smaller numbers for tomorrow and yesterday.
	This change does not change the way the code works, since the
	grammar rules for the two symbols are analogous.
	From Tadayoshi Funaba.

1999-08-04  Jim Meyering  <meyering@ascend.com>

	false and true once again generate --help and --version output
	* src/true.c: Honor --help and --version once again, bug ignore
	those options when POSIXLY_CORRECT is set.
	* src/false.c: Fail even for --help and --version.
	* src/Makefile.am (false.c): Generate automatically from true.c.
	(BUILT_SOURCES): Add false.c.
	* man/Makefile.am (EXTRA_DIST): Remove false.1in and true.1in.
	* man/Makefile.summ: Remove the rules added on 1999-07-31.
	* man/Makefile.maint: Likewise.
	* man/true.1in: Removed.
	* man/false.1in: Removed.

	* configure.in: Remove getline-testing code.  Now it's in m4/.

1999-08-01  Jim Meyering  <meyering@ascend.com>

	* src/date.c (usage): Correct description of %S; (00..60, not 00..61).
	From Ken Pizzini.

1999-08-01  Paul Eggert  <eggert@twinsun.com>

	* configure.in (AC_SYS_LARGEFILE): Renamed from AC_LFS.

1999-07-31  Jim Meyering  <meyering@ascend.com>

	* Version 1.16l.

	false and true are now C programs rather than shell scripts
	* src/true.c: New file.
	* src/false.c: New file.
	* src/true.sh: Removed.
	* src/false.sh: Removed.
	* src/Makefile.am: (bin_PROGRAMS): Add true and false.
	(bin_SCRIPTS): Remove true and false.
	(EXTRA_DIST): Remove false.sh and true.sh.
	* man/true.1in: New file.
	* man/false.1in: New file.
	* man/Makefile.am (EXTRA_DIST): Remove extra (shadowed) assignment.
	(EXTRA_DIST): Add false.1in and true.1in.
	* man/Makefile.maint (helpful-men): Define.
	* man/Makefile.summ ($(helpless-men)): New manual-generating rules to
	accommodate the fact that false and true no longer accept --help.
	* doc/sh-utils.texi: Include a couple of sentences from the
	truefalse package.
	Prompted by Christi Alice Scarborough's truefalse package.

1999-07-30  Jim Meyering  <meyering@ascend.com>

	* configure.in (ALL_LINGUAS): Add Brazilian Portuguese (pt_BR).

1999-07-26  Jim Meyering  <meyering@ascend.com>

	* src/tee.c (tee): Convert from open/fds to using fopen/streams for
	output, in preparation for addition of new compression option.

1999-07-21  Jim Meyering  <meyering@ascend.com>

	* tests/stty/basic-1 (options): Avoid Solaris' broken /usr/ucb/tr by
	removing offending use of tr altogether and removing hyphens with sed.
	Reported by Kaveh Ghazi.

1999-06-01  Volker Borchert  <bt@teknon.de>

	* tests/Makefile.am: Make envvar-check depend on check-recursive rather
	than on `check' so that its tests are performed before any real tests.

1999-07-15  Jim Meyering  <meyering@ascend.com>

	* src/false.sh: Always exit unsuccessfully, even with
	--help and --version.  Suggested by Felix Lee.

1999-07-12  Jim Meyering  <meyering@ascend.com>

	* src/sys2.h (mempcpy): Define only if not already defined.
	Reported by Collin Rogowski.

1999-05-27  Volker Borchert  <bt@teknon.de>

	* tests/Makefile.am: Qualify .env-warn with $(srcdir)/ prefix.

1999-05-25  Jim Meyering  <meyering@ascend.com>

	* tests/stty/basic-1: Fix non-portable use of `tr' that caused
	this test to fail when run with a SysV-style tr.
	Based on a patch from Kaveh Ghazi.

1999-05-21  Jim Meyering  <meyering@ascend.com>

	* Version 1.16k.
	* configuration fixes: see m4/ChangeLog.

1999-05-16  Jim Meyering  <meyering@ascend.com>

	* Version 1.16j.

	* configure.in (AC_SEARCH_LIBS): Set LIB_CRYPT to $ac_cv_search_crypt,
	to go along with the new macro in m4/search-libs.m4.

1999-05-14  Jim Meyering  <meyering@ascend.com>

	* lib/getugroups.c (getugroups): Don't dereference a null pointer when
	running `id USER' for some USER that is listed on the RHS in /etc/group.
	From Sander van Malssen.
	Add some curly braces, use STREQ, reverse the sense of a test
	and use `continue' to save a level of nesting.

	* tests/Makefile.am (envvar-check): Renamed from check-local.
	(check): Depend on envvar-check so the envvar check is performed
	before all other tests.  Reported by Volker Borchert.
	* tests/.env-warn: Use `%%' place-holder that Makefile.am rule expects,
	so CDPATH is mentioned in the message.  Reported by Volker Borchert.

1999-05-10  Jim Meyering  <meyering@ascend.com>

	* src/uptime.c (AUTHORS): add Kaveh.

	Expand each `&' character in the gecos field.
	* src/pinky.c (count_ampersands): New function.
	(create_fullname): New function.
	(print_entry): Use create_fullname here.
	(print_long_entry): Use it here, too.
	From Kaveh Ghazi.

1999-05-09  Jim Meyering  <meyering@ascend.com>

	* lib/regex.c: Update from libc.

	* Version 1.16i.

	* configure.in: Clean up checks for libraries so that we don't add
	-lshadow unless necessary.  Reported by Joseph S. Myers.

1999-05-05  Jim Meyering  <meyering@ascend.com>

	Add definitions to help read utmpx on systems with utmpname.
	* lib/readutmp.h (UTMP_NAME_FUNCTION): Define.
	(SET_UTMP_ENT): Likewise.
	(GET_UTMP_ENT): Likewise.
	(END_UTMP_ENT): Likewise.
	* lib/readutmp.c (read_utmp): Use the new definitions.
	From Kaveh Ghazi.

	* src/date.c (show_date): Change an automatic aggregate initializer
	to be a static one.  For SunOS4's cc.  From Kaveh Ghazi.

1999-05-03  Jim Meyering  <meyering@ascend.com>

	* configure.in: Remove duplicate use of jm_FUNC_GNU_STRFTIME.
	Kaveh Ghazi reported that strftime.o was listed twice in the command
	to build libsu.a.

1999-05-02  Jim Meyering  <meyering@ascend.com>

	* Version 1.16h.

	* src/hostname.c (main): Give a better diagnostic when we fail to
	set the hostname.

	* man/Makefile.summ (hostid-summary): Use correct description.
	Reported by Joseph S. Myers.

	* lib/readutmp.c (read_utmp): Ignore the return value from utmpname.

1999-04-30  Jim Meyering  <meyering@ascend.com>

	* src/dirname.c (main): Manually handle `--', since we no longer
	call getopt.  Reported by Joseph S. Myers.
	* src/basename.c (main): Likewise.
	* src/factor.c (main): Likewise.

1999-04-25  Jim Meyering  <meyering@ascend.com>

	* src/seq.c (main): Handle the case in which seq is given no args.
	Reported by John Gotts.
	(main): Revert last change.
	Instead, loop on `optind < argc' to protect use of argv[optind].

	* lib/human.c <inttypes.h>: Don't include it here.
	* lib/human.h <inttypes.h>: Include it here instead.
	<config.h>: Include it here too.
	Reported by Andreas Jaeger.

	* src/nice.c [NDEBUG]: Remove definition.
	Reported by Andreas Jaeger.

1999-04-24  Jim Meyering  <meyering@ascend.com>

	* src/who.c (print_entry): Use `#if', not `#ifdef HAVE_UT_HOST'.

	* Version 1.16g.

	* configure.in: Use AC_CANONICAL_HOST.

1999-04-20  Jim Meyering  <meyering@ascend.com>

	Update factor to use `uintmax_t'.
	* src/factor.c <xstrtol.h>: Include this, not xstrtoul.h.
	<human.h>: Include.
	Use uintmax_t in place of unsigned long.
	Use human_readable to convert to strings for printing.
	* lib/xstrtoumax.c: New file.
	* lib/human.c: New file.
	* lib/human.h: New file.
	* lib/Makefile.am (libsu_a_SOURCES): Add human.c and xstrtoumax.c.
	(noinst_HEADERS): Add human.h.  Remove xstrtoul.h.

1999-04-19  Jim Meyering  <meyering@ascend.com>

	* src/seq.c (main): Restore `+' in getopt_long string.  Otherwise,
	commands like `seq 10 -2 0' wouldn't work.  From Andreas Schwab.
	* tests/seq/basic: Add tests for that.

1999-04-17  Jim Meyering  <meyering@ascend.com>

	* tests/seq: New directory and basic tests.
	* tests/Makefile.am (SUBDIRS): Add seq.
	* configure.in (AC_OUTPUT): Add tests/seq/Makefile.

1999-04-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* configure.in: Check for localeconv.

	* src/seq.c (decimal_point): New variable.
	(main): Set it to locale's decimal point.  Fix recognition of
	negative number as argument.
	(get_width_format): Correctly handle a negative min_val or step
	when computing fraction width.  Use decimal_point.

1999-04-08  Jim Meyering  <meyering@ascend.com>

	1999-03-25  James R. Van Zandt  <jrv@vanzandt.mv.com>
	* doc/sh-utils.texi (Options for date): Document --iso-8601
	* src/date.c: Accept new option: --iso-8601.
	* lib/Makefile.am (libsu_a_SOURCES): Add argmatch.c and quotearg.c.
	(noinst_HEADERS): Add argmatch.h and quotearg.h.
	* lib/argmatch.c: New file.
	* lib/argmatch.h: New file.
	* lib/quotearg.c: New file.
	* lib/quotearg.h: New file.

1999-03-30  Jim Meyering  <meyering@ascend.com>

	* src/sys2.h: Include "closeout.h" and "version-etc.h"

	* src/*.c (PROGRAM_NAME, AUTHORS): Define and use.

	* src/date.c: No longer include long-options.h.
	[long_options]: Add entries for --help and --version.
	Remove parse_long_options call.
	(main) [getopt switch]: Add a case for each of --help and --version.
	* src/env.c: Likewise.
	* src/id.c: Likewise.
	* src/pinky.c: Likewise.
	* src/seq.c: Likewise.
	* src/su.c: Likewise.
	* src/sys2.h: Likewise.
	* src/tee.c: Likewise.
	* src/tty.c: Likewise.
	* src/uname.c: Likewise.
	* src/who.c: Likewise.

1999-03-29  Jim Meyering  <meyering@ascend.com>

	* configure.in (GNU_PACKAGE): Remove related code -- now it's in
	the catch-all for shared autoconf code, m4/jm-macros.m4.
	(jm_CHECK_ALL_TYPES): Remove explicit AC_TYPE_* macros and use
	this instead.

1999-03-28  Jim Meyering  <meyering@ascend.com>

	* src/test.c (PROGRAM_NAME): Rename from COMMAND_NAME.

1999-03-28  Paul Eggert  <eggert@twinsun.com>

	* lib/getdate.y (get_date): Reuse tm_isdst of first localtime
	call; this is an improvement on a bug fix suggested by
	martin@dresden.nacamar.de.  Do not assume that localtime and
	gmtime return non-null.

1999-03-27  Jim Meyering  <meyering@ascend.com>

	* src/false.sh (usage): Change `[OPTION]...' to `[OPTION]' to show
	that only one of --help or --version is recognized at a time.
	Reported by Meelis Roos.
	* src/true.sh: Likewise.

	* src/id.c (print_user): Use uid_t instead of int.
	(print_group): Use gid_t instead of int.
	From John Bley.

1999-03-26  Jim Meyering  <meyering@ascend.com>

	* lib/Makefile.am (libfu_a_SOURCES): Add version-etc.c.
	(noinst_HEADERS): Add version-etc.h.

1999-03-20  Jim Meyering  <meyering@ascend.com>

	* src/nohup.sh: Don't modify PATH just to get GNU nice.  Instead,
	try to find an absolute path for GNU nice.  From Bruno Haible.

1999-03-19  Jim Meyering  <meyering@ascend.com>

	* configure.in: Use new macro, jm_WINSIZE_IN_PTEM, instead of
	open-coding it.

1999-03-17  Jim Meyering  <meyering@ascend.com>

	* configure.in (ALL_LINGUAS): Add Italian (it) and Slovak (sk).

1999-03-13  Jim Meyering  <meyering@ascend.com>

	* lib/basename.c (base_name): If NAME is all slashes, return `/' (in
	conformance with the single unix spec).  Reported by Peter Moulder.

1999-03-10  Jim Meyering  <meyering@ascend.com>

	* src/uptime.c: Declare getloadavg so I can build with -Werror.

	* tests/stty/basic-1: Skip failing tests: parenb, -parenb, -cread.

	* lib/canon-host.c (canon_host): Don't use he->h_addr directly.
	Based on a patch from Savochkin Andrey Vladimirovich.

1999-03-09  Jim Meyering  <meyering@ascend.com>

	Running `id USER' doesn't report any groups if there is no entry
	for USER in /etc/group.  Always include the one from /etc/passwd.
	* src/id.c: (xgetgroups): Take new parameter, gid, and pass
	it to getugroups.
	(print_group_list): Call getpwuid and adjust calls to xgetgroups
	to include new parameter.
	* lib/getugroups.c (getugroups): Take new parameter, gid.
	Add gid to the list of groups.
	From Ulrich Drepper.
	* lib/getgroups.c (getgroups): Protoize.

1999-03-08  Jim Meyering  <meyering@ascend.com>

	* tests/basename: New directory and tests.
	* tests/Makefile.am (SUBDIRS): Add basename.
	* configure.in (AC_OUTPUT): Add tests/basename/Makefile.

1999-03-06  Jim Meyering  <meyering@ascend.com>

	* src/date.c (batch_convert): Use a `%s' format in error call,
	in case the argument string contains a `%'.

	* man/Makefile.am (man_MANS): Add pinky.1.
	* man/Makefile.summ (pinky-summary): Define.

	* src/date.c: Include long-options.h.
	[long_options]: Remove the "help" and "version" entries.
	Remove declarations of show_help and show_version.
	(main): Use parse_long_options, including author name(s).
	Remove the show_version and show_help blocks.
	* src/env.c: Likewise.
	* src/id.c: Likewise.
	* src/logname.c: Likewise.
	* src/pathchk.c: Likewise.
	* src/pinky.c: Likewise.
	* src/printenv.c: Likewise.
	* src/seq.c: Likewise.
	* src/sleep.c: Likewise.
	* src/su.c: Likewise.
	* src/tee.c: Likewise.
	* src/tty.c: Likewise.
	* src/uname.c: Likewise.
	* src/uptime.c: Likewise.
	* src/users.c: Likewise.
	* src/who.c: Likewise.
	* src/whoami.c: Likewise.

1999-03-04  Jim Meyering  <meyering@ascend.com>

	* src/basename.c (main): Include author name argument in call to
	parse_long_options.
	* src/chroot.c: Likewise.
	* src/dirname.c: Likewise.
	* src/echo.c: Likewise.
	* src/expr.c: Likewise.
	* src/factor.c: Likewise.
	* src/hostid.c: Likewise.
	* src/hostname.c: Likewise.
	* src/nice.c: Likewise.
	* src/printf.c: Likewise.
	* src/pwd.c: Likewise.
	* src/stty.c: Likewise.
	* src/test.c: Likewise.
	* src/yes.c: Likewise.

1999-03-02  Jim Meyering  <meyering@ascend.com>

	* lib/readutmp.c (read_utmp) [HAVE_UTMPNAME]: Rewrite.

1999-02-15  Jim Meyering  <meyering@ascend.com>

	* src/stty.c (main): #ifdef-out unreachable code.

	* src/pinky.c (usage): Add a one-line description.
	Suggestion from Karl Berry.

1999-02-08  Jim Meyering  <meyering@ascend.com>

	* configure.in (ALL_LINGUAS): Add Czech (cs).

1999-02-07  Jim Meyering  <meyering@ascend.com>

	* tests/stty/basic-1: Run all tests even if some fail.
	Don't use trap.

	* tests/stty/basic-1: Use `stty', not $STTY.
	Fix typo in VERBOSE code: s/\$RM/stty/.
	* tests/stty/row-col-1: Likewise.

	* tests/stty/Makefile.am (TESTS_ENVIRONMENT): Set PATH, not STTY.

	Include stdio.h before defining `_unlocked' macros.
	* src/pinky.c: Include stdio.h.
	* src/uptime.c: Likewise.
	* src/users.c: Likewise.
	* src/who.c: Likewise.
	* lib/readutmp.c: Include stdio.h here...
	* lib/readutmp.h: ...not here.
	From Ulrich Drepper.

	* Version 1.16f.

	* Makefile.maint (my-distcheck): Don't depend on dist, now that this
	is hooked up to the distcheck rule.
	* Makefile.am (distcheck-hook): New target and rule -- link to shared
	rule, my-distcheck, in Makefile.maint.

	* configure.in (jm_FUNC_GETGROUPS): Move the test into a new file,
	group-member.m4, and just use this new macro.

1999-01-31  Jim Meyering  <meyering@ascend.com>

	* doc/sh-utils.texi: Wrap the @top node in @ifnottex instead of
	@ifinfo so `makeinfo --html ...' works.  From Karl Berry.

	* src/chroot.c (main): Call chdir ("/") after chroot.
	Suggestion from James Youngman.

	* src/uptime.c (print_uptime): Use the C numeric locale for sscanf
	of /proc/uptime data, then restore.
	* lib/getloadavg.c: Include locale.h.
	[!HAVE_SETLOCALE]: Define-away setlocale.
	(getloadavg): Ensure the sscanf of /proc/getloadavg data uses the
	`C' numeric locale.  Restore afterwards.
	Based on a suggestion from Thomas Quinot.

	* lib/strtod.c: Protoize.

1999-01-30  Jim Meyering  <meyering@ascend.com>

	* acconfig.h: Remove lots of now-unnecessary #undefs.

	* configure.in: Require autoconf 2.13.

	* doc/Makefile.am (DISTCLEANFILES): Arrange to remove sh-utils.fl.

	* configure.in (ALL_LINGUAS): Add Greek (el).
	* po/el.po: New file.

1999-01-25  Jim Meyering  <meyering@ascend.com>

	* src/date.c (usage): Remove static attribute.
	Move function be the first in the file.
	* src/env.c: Likewise.
	* src/id.c: Likewise.
	* src/nice.c: Likewise.
	* src/pathchk.c: Likewise.
	* src/tty.c: Likewise.
	* src/uname.c: Likewise.

	* src/*.c (usage): Remove static attribute.

1999-01-14  Jim Meyering  <meyering@ascend.com>

	* src/date.c: Include closeout.h.
	(main): Use close_stdout_status.
	* src/printenv.c: Likewise.
	* src/tty.c: Likewise.

	* src/hostid.c: Include closeout.h.
	(main): Use close_stdout.
	* src/tee.c: Likewise.

1999-01-10  Jim Meyering  <meyering@ascend.com>

	* src/Makefile.am (pinky_LDADD, pinky_DEPENDENCIES, who_LDADD,
	who_DEPENDENCIES): Remove definitions.

	* lib/Makefile.am (BUILT_SOURCES): Add lstat.c and stat.c.
	(lstat.c, stat.c): New rules.

	* lib/canon-host.c (main) [TEST_CANON_HOST]: Add a simple test driver.

	* configure.in: Require autoconf-2.13.
	Use new AC_SEARCH_LIBS to see if we need nsl or inet libraries
	to resolve gethostbyname.

1998-12-22  Jim Meyering  <meyering@ascend.com>

	* configure.in (ALL_LINGUAS): Add chinese (zh).

1998-12-13  Jim Meyering  <meyering@ascend.com>

	* lib/putenv.c: Don't include stdlib.h and declare malloc and free.
	This works around Solaris 2.7's conflicting prototype.
	Reported by Karl Berry.

	* lib/Makefile.am (lstat.c): Add rule to generate this from xstat.in.
	(stat.c): Likewise.
	(EXTRA_DIST): Add xstat.in.
	* lib/stat.c: Remove file.
	* lib/lstat.c: Remove file.
	* lib/xstat.in (xstat@): New file.

1998-12-10  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* src/date.c (main): Arrange to exit unsuccessfully when stime fails.

1998-12-07  Jim Meyering  <meyering@ascend.com>

	* configure.in (ALL_LINGUAS): Add Russian (ru).

1998-10-31  Jim Meyering  <meyering@ascend.com>

	* tests/Makefile.am (EXTRA_DIST): Add Fetish.pm.
	* tests/Fetish.pm: New file.

	* tests/factor/Makefile.am: Rewrite to use new testing framework.
	* tests/factor/Test.pm: Remove file.
	* tests/factor/factor-tests: Remove file.
	* tests/factor/basic: New file (rewrite of Test.pm).

	* acconfig.h (stat): New #undef.

1998-10-03  Jim Meyering  <meyering@ascend.com>

	* man/Makefile.am: Switch to using help2man.
	(EXTRA_DIST): Add Makefile.summ.

	* man/help2man: Invoke program with --manhelp option only if
	--name=STRING not specified.  Otherwise, this would fail with `yes'.
	* man/Makefile.summ: New file.
	* man/Makefile.maint: Include it.
	* man/help2man: New file.
	* man/GNUmakefile: New file.
	* man/Makefile.maint: New file.
	* man/*.x: New files.
	* man/*.1: Remove files.

	* src/Makefile.am (install-exec-local): Change comments to use `##'
	to avoid automake warning.

	* lib/Makefile.am (noinst_HEADERS): s/posixtm.c/posixtm.h/
	(libsu_a_SOURCES): s/posixtm.y/posixtm.y/
	(libsu_a_SOURCES): Remove getdate.c.  Add fnmatch.h.

	* src/date.c (main): Update to use new version of posixtime.
	* lib/posixtm.c: New file.
	* lib/posixtm.h: New file.
	* lib/posixtm.y: Remove file.

	* lib/fnmatch.c: New file. (unused)
	* lib/fnmatch.h: New file. (unused)

1998-09-27  Jim Meyering  <meyering@ascend.com>

	* src/seq.c (main): Decrement optind when we find an `option' that
	looks like -N.  Reported by Clark Morgan.

1998-09-26  Jim Meyering  <meyering@ascend.com>

	* lib/xstrtol.c (__xstrtol) [STRING_TO_UNSIGNED]: Return
	LONGINT_INVALID for strings that begin with `-'.

	* tests/factor/Test.pm: Add a test for negative argument.
	Tweak postprocessing framework.

1998-09-19  Jim Meyering  <meyering@ascend.com>

	* src/stty.c (main): Revamp option processing, again.
	stty couldn't parse some of its options.
	* tests/stty/basic-1: New test.
	* tests/stty/Makefile.am (TESTS): Add basic-1.

1998-08-29  Jim Meyering  <meyering@ascend.com>

	* src/su.c (longopts): Use corresponding short-option character
	in place of `1', and `NULL' in place of pointer in initialization.

1998-08-11  Jim Meyering  <meyering@ascend.com>

	* src/uptime.c (usage): Correct description.  Reported by John Murphy.

1998-07-16  Jim Meyering  <meyering@ascend.com>

	* lib/Makefile.am (noinst_HEADERS): Add lchown.h.
	* lib/lchown.h: New file, just to define ENOSYS on systems that lack it.
	* lib/lchown.c: Include lchown.h.

1998-07-15  Jim Meyering  <meyering@ascend.com>

	* src/seq.c (check_format): Add `5' to the list of digits.
	Reported by Donni Erpel.

1998-07-12  Jim Meyering  <meyering@ascend.com>

	* tests/test: New directory and tests.
	* tests/Makefile.am (SUBDIRS): Add test.
	* configure.in (AC_OUTPUT): Add tests/test/Makefile.

1998-07-04  Jim Meyering  <meyering@ascend.com>

	* lib/Makefile.am (libsu_a_SOURCES): Remove regex.c, now that it's
	automatically discovered by automake.
	(noinst_HEADERS): Remove unused safe-read.h.

	* src/Makefile.am (CLEANFILES): Put $(SCRIPTS) here rather than in
	DISTCLEANFILES.
	(CLEANFILES): Add su, since we build it unconditionally, yet it's
	never put in @OPTIONAL_BIN_PROGS@.

1998-06-29  Jim Meyering  <meyering@ascend.com>

	* src/uptime.c: Include system.h only after error.h and readutmp.h
	so we don't get redefinition warnings about getc, etc.
	* src/who.c: Likewise.
	* src/users.c: Likewise.

1998-06-28  Jim Meyering  <meyering@ascend.com>

	* src/sys2.h: Add macro definitions for GNU libc *_unlocked wrappers.

1998-06-06  Jim Meyering  <meyering@ascend.com>

	* src/test.c (unary_operator): Fail if the operand to -t is not valid.
	(posixtest): Treat `test -t' the same as `test -t 1'.

1998-05-26  Jim Meyering  <meyering@ascend.com>

	* src/test.c (two_arguments): Don't test argv[pos][2] if it's
	past end of string.

1998-05-25  Jim Meyering  <meyering@ascend.com>

	* configure.in (_GNU_SOURCE): AC_DEFINE it here.
	* acconfig.h (_GNU_SOURCE): Remove definition from @TOP@ section.
	[!_GNU_SOURCE]: Add #undef instead.

1998-05-16  Jim Meyering  <meyering@ascend.com>

	* lib/readutmp.c (read_utmp): Add variant for systems that have
	the utmpname function.
	Ansideclify.
	* configure.in: Check for utmpname.

	* configure.in (jm_MACROS): New wrapper macro.
	Remove uses of most jm_* macros.

	* acconfig.h: (chown): Add undef.
	(D_INO_IN_DIRENT): Likewise.
	(D_TYPE_IN_DIRENT): Likewise.
	(ssize_t): Likewise.

	* lib/Makefile.am (EXTRA_DIST): Remove.  Automake groks the `LIBOBJS='
	lines from the m4/*.m4 macros, so the hack of including some
	custom-replaced C source file names here is no longer needed.

1998-05-03  Jim Meyering  <meyering@ascend.com>

	* po/: Update from gettext-0.10.35.
	* intl/: Likewise.
	* configure.in: Remove use of AC_LINK_FILES.
	(AC_OUTPUT): Remove po/Makefile-generating sed command.

1998-05-02  Jim Meyering  <meyering@ascend.com>

	* src/seq.c (check_format): Use ISDIGIT, not isdigit.

1998-04-26  Jim Meyering  <meyering@ascend.com>

	* configure.in: Use jm_ASSERT.
	* acconfig.h: Add NDEBUG.

1998-04-13  Jim Meyering  <meyering@eng.ascend.com>

	* lib/Makefile.am (noinst_HEADERS): Add safe-read.h.

1998-04-09  Jim Meyering  <meyering@ascend.com>

	* configure.in (AM_MAINTAINER_MODE): Remove it.
	No longer use AC_PATH_PROG to check for perl.
	(jm_PERL): Use this instead.

1998-04-04  Jim Meyering  <meyering@ascend.com>

	* lib/readutmp.h (PARAMS): Define.

	* tests/Makefile.am (SUBDIRS): Add stty.
	* tests/stty/row-col-1: New file.
	* tests/stty: New directory.
	* configure.in (AC_OUTPUT): Add tests/stty/Makefile.

	* src/stty.c: Use STREQ in place of strcmp everywhere.
	(valid_options): Indent.
	Parenthesize assignment in while expr.
	(main): s/case 'f':/case 'F':/
	Tweak error messages to make them consistent.
	Remove #if-0'd block.
	Move dcl of `fdflags' into scope where it's used.
	Remove dcl of unused `cp'.
	Use "%s", not device_name, as the format string, in case the
	latter contains `%'.

	[1998-03-31  Theodore Ts'o  <tytso@rsts-11.mit.edu>]
	* src/stty.c (valid_options): New function.
	(main): Fix broken options parsing that worked only
	by serendipity (getopt_long_only already parsed short options; no
	need to parse them again manually!).  Add support for the --file
	option, which allows the user to specify the device whose line
	settings are to be set.  This is necessary because POSIX ttys will
	block waiting for carrier detect to go high if CLOCAL is not set,
	unless the device is opened with the O_NONBLOCK flag.
	Unfortunately, the shell doesn't use this flag, so users lose.
	Opening the device in stty is the easist way to fix this.
	(speeds): Add support for 230400 and 460800 line speeds, which are
	supported by Linux.

	* acconfig.h (uintmax_t): Add #undef.

	* configure.in (jm_AC_HEADER_INTTYPES_H): Use it.
	(jm_AC_TYPE_UINTMAX_T): Use it.
	(jm_PREREQ): Use it.

	* src/system.h: Sync with system.c from fileutils.

	* Makefile.am (ACLOCAL_AMFLAGS): Define this, so automake/aclocal
	know about the m4/ subdirectory.
	* Makefile.maint (aclocal-files): Remove now-unnecessary (with
	automake-1.2h and the above change) aclocal-related rules and includes.

1998-04-03  Jim Meyering  <meyering@eng.ascend.com>

	* lib/closeout.c: New file.
	* lib/closeout.h: New file.
	* lib/Makefile.am (libsu_a_SOURCES): Add closeout.c.
	(noinst_HEADERS): Add closeout.h.

1998-03-27  Jim Meyering  <meyering@eng.ascend.com>

	* Makefile.am (AUTOMAKE_OPTIONS): Require 1.2h.

1998-03-26  Jim Meyering  <meyering@eng.ascend.com>

	* src/date.c (batch_convert): Remove spurious space in error message.
	Reported by Karl Berry.

1998-03-13  Jim Meyering  <meyering@eng.ascend.com>

	* lib/getugroups.c (getugroups): Don't add a group number if it
	would be a duplicate.  From Ulrich Drepper.

1998-02-22  Jim Meyering  <meyering@eng.ascend.com>

	* tests/Makefile.am (EXTRA_DIST): Add mk-script.
	* tests/Makefile.am.in (EXTRA_DIST): Remove mk-script.pl.
	(mk_script): Set to ../mk-script.
	(x-tests): Use `$(PERL) -w -- $(mk_script)', not ./mk-script.
	Remove @MAINT@ cruft.
	(Makefile.am): Likewise.
	Remove @MAINT@ cruft.  Now `missing' will explain the failure
	when people don't have Perl yet modify a file whose rebuilding
	would lead to the use of Perl.

	* src/Makefile.am (pinky_LDADD): Explicitly add @GETHOSTBYNAME_LIB@.
	(who_LDADD): Likewise.
	(pinky_DEPENDENCIES): Set to $(LDADD)
	(who_DEPENDENCIES): Likewise.

1998-02-20  Jim Meyering  <meyering@eng.ascend.com>

	* lib/getdate.h: Removed.  Could cause confusion with an
	automake-generated `.y.h' rule.
	* lib/get-date.h: Renamed from getdate.h.
	* lib/getdate.y: s/getdate.h/get-date.h/
	* lib/Makefile.am (noinst_HEADERS): s/getdate.h/get-date.h/
	* src/date.c: s/getdate.h/get-date.h/

1998-02-16  Jim Meyering  <meyering@eng.ascend.com>

	* configure.in (jm_FUNC_LSTAT): Use it.
	(jm_FUNC_STAT): Use it.
	* acconfig.h: Add lstat.
	* lib/Makefile.am (EXTRA_DIST): Add lstat.c and stat.c.

1998-02-06  Jim Meyering  <meyering@eng.ascend.com>

	* tests/nice: Fail immediately if this test is run with `nice'
	level different from zero.  Reported by Philippe De Muyter.

1998-02-03  Philippe De Muyter  <phdm@macqel.be>

	* src/id.c (xgetgroups): Guard function defn with #if HAVE_GETGROUPS.

	* lib/putenv.c (sys/types.h): Include to get size_t on some systems.
	(NULL): Define if needed.

1998-01-31  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (AC_LFS): Use it.

1998-01-25  Jim Meyering  <meyering@na-net.ornl.gov>

	* Makefile.maint: New file.
	* Makefile.am: Move rules common to textutils, fileutils, sh-utils
	into Makefile.maint.
	Include Makefile.maint.
	(EXTRA_DIST): Add Makefile.maint.

1998-01-03  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/Makefile.am (AUTOMAKE_OPTIONS): Define to ../src/ansi2knr.

	* configure.in: Convert the .o suffix on files in LIBOBJS to $U.o so
	those files will be built via the ANSI2KNR-filtering rules if necessary.

1997-12-25  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in: Remove AC_DEFINE of _GNU_SOURCE.
	* acconfig.h (_GNU_SOURCE): Define if not already defined.
	Put this code in @TOP@ section.
	(_GNU_SOURCE): Remove #undef.

1997-12-22  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in: AC_DEFINE _GNU_SOURCE.
	* acconfig.h: Add _GNU_SOURCE.

1997-12-21  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/date.c: s/__P/PARAMS/
	* src/env.c: Likewise.
	* src/expr.c: Likewise.
	* src/id.c: Likewise.
	* src/nice.c: Likewise.
	* src/pathchk.c: Likewise.
	* src/seq.c: Likewise.
	* src/sleep.c: Likewise.
	* src/stty.c: Likewise.
	* src/tee.c: Likewise.
	* src/test.c: Likewise.
	* src/tty.c: Likewise.
	* src/uname.c: Likewise.

	* src/system.h: Merge in several things from fileutils' version of
	this file.

	* src/factor.c: Don't include limits.h.
	(UINT_MAX): Don't define.
	(INT_MAX): Don't define.
	These are all done in system.h now.
	* src/hostname.c: Don't include limits.h.
	* src/id.c: Don't include limits.h or sys/param.h.
	* src/pathchk.c: Don't include limits.h.
	* src/su.c: Likewise.

1997-12-10  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/su.c (main): Make sure pw->pw_shell is non-NULL before trying
	to strdup it.
	Patch from Dick Streefland.

1997-11-17  Paul Eggert  <eggert@twinsun.com>

	* lib/mktime.c, lib/strftime.c (_REENTRANT): #define,
	as some hosts need this to declare localtime_r properly.

1997-11-15  Jim Meyering  <meyering@na-net.ornl.gov>

	* intl/Makefile.in (distclean): Don't remove libintl.h here.
	* Makefile.am (DISTCLEANFILES): Remove it here instead.

	* m4/Makefile.am (EXTRA_DIST): Add mktime.m4.
	* m4/jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not the one from automake.

	* m4/strftime.m4: Check for %F format.

1997-11-14  Jim Meyering  <meyering@na-net.ornl.gov>

	* m4/mktime.m4: Temporarily add a copy of this file from the automake
	distribution.
	(jm_AM_FUNC_MKTIME): Renamed from AM_FUNC_MKTIME.
	(irix_6_4_bug): New function based on code from Ariel Faigon.
	(bigtime_test): New function from Paul Eggert to detect SunOS4.1.4's
	infinite looping mktime.
	Portability tweaks from Paul Eggert.

1997-11-13  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/mktime.c: Update from FSF.
	* lib/strftime.c: Update from FSF.
	* m4/strftime.m4: Check for POSIX.2's %f format spec.

1997-11-12  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (AC_CHECK_FUNCS): Add mempcpy.
	* src/system.h [!HAVE_MEMPCPY] (mempcpy): Define.
	* src/date.c (batch_convert): Use mempcpy rather than stpcpy.

1997-11-09  Jim Meyering  <meyering@na-net.ornl.gov>

	* m4/jm-mktime.m4 (jm_FUNC_MKTIME): Check for localtime_r.
	* m4/strftime.m4 (jm_STRFTIME_PREREQS): Check for localtime_r.
	(jm_FUNC_GNU_STRFTIME): Use new macro.
	(jm_FUNC_STRFTIME): New macro.  Likewise.
	Reported by Noel Cragg.

1997-11-02  Jim Meyering  <meyering@na-net.ornl.gov>

	* acconfig.h: Add malloc and realloc.

1997-10-25  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/xmalloc.c (xalloc_fail): Renamed from fixup_null_alloc.
	(xcalloc): #ifdef-out unused function.
	(xrealloc): Remove code to work around deficient versions of realloc.
	Now we have an autoconf-enabled replacement version.
	(xmalloc): Remove code to work around deficient versions of malloc.
	Now we have an autoconf-enabled replacement version.

	* configure.in (jm_FUNC_MALLOC): Use it.
	(jm_FUNC_REALLOC): Use it.
	* lib/Makefile.am (noinst_HEADERS): Add xalloc.h.
	(EXTRA_DIST): Add realloc.c.
	(EXTRA_DIST): Add malloc.c.

	* lib/malloc.c: New file.
	* m4/malloc.m4: New file.
	* m4/Makefile.am (EXTRA_DIST): Add malloc.m4.

	* lib/xalloc.h: New file.
	* lib/xmalloc.c: Updated from textutils.

	* src/*.c: Remove old-style xmalloc and xrealloc decls.
	* src/system.h: Include xalloc.h.
	Remove dcls of xmalloc, xcalloc and xrealloc.

1997-10-23  Jim Meyering  <meyering@na-net.ornl.gov>

	* Makefile.am (aclocal-files): Also depend on m4/Makefile.am.

	* src/system.h [!HAVE_DECLARATION_FREE]: Declare free.
	[!HAVE_DECLARATION_MALLOC]: Declare malloc.
	[!HAVE_DECLARATION_REALLOC]: Declare realloc.
	[!HAVE_DECLARATION_STPCPY]: Declare stpcpy.
	[!HAVE_DECLARATION_STRSTR]: Declare strstr.
	[STREQ]: Define.
	* src/date.c: Remove stpcpy decl.
	* src/expr.c: Remove strstr decl.
	* src/test.c [STREQ]: Undef then redefine.
	On some systems, strstr and stpcpy are macros, so declaring them
	unconditionally gets syntax errors.
	Reported by Mark M. Kettenis.

	* configure.in: Use jm_CHECK_DECLS.
	* m4/Makefile.am (EXTRA_DIST): Add decl.m4 and check-decl.m4.

1997-10-22  Jim Meyering  <meyering@na-net.ornl.gov>

	* m4/decl.m4: New file.
	* m4/check-decl.m4: New file.  New macro, jm_CHECK_DECLS.

1997-10-07  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/*.c: Update bug-reporting address.
	* src/*.sh: Update bug-reporting address.

1997-10-02  Jim Meyering  <meyering@na-net.ornl.gov>

	* tests/date/Test.pm (test_vector): Remove _%Z from test `9'.
	The timezone string was too system dependent.

1997-09-25  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/echo.c: Make echo conform to POSIX.  By default, don't
	interpret backslash escape sequences.
	[V9_DEFAULT]: Don't #define.
	(usage): Document -e option.
	(main): Recognize options iff POSIXLY_CORRECT is not set.
	From Bruno Haible.

1997-09-19  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/getusershell.c (IN_CTYPE_DOMAIN): Define.
	(ISSPACE): Define.
	(readname): Use ISSPACE, not isspace.
	* lib/strtod.c (IN_CTYPE_DOMAIN): Define.
	(ISSPACE): Define.
	(ISDIGIT): Define.
	(TOLOWER): Define.
	Use upper-case versions of ctype macros.
	* lib/strtol.c (IN_CTYPE_DOMAIN): Define.
	(ISSPACE): Guard with IN_CTYPE_DOMAIN.
	(ISDIGIT): Guard with IN_CTYPE_DOMAIN.
	(TOUPPER): Guard with IN_CTYPE_DOMAIN.
	From Bruno Haible.

1997-09-17  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/yes.c (main): Call parse_long_options only if POSIXLY_CORRECT
	is *not* set.  Reported by Frank T Lofaro.

	* src/hostid.c: New file.
	* src/Makefile.am (EXTRA_PROGRAMS): Add hostid.
	* configure.in (OPTIONAL_BIN_PROGS): Check for gethostid,
	and if found add hostid to the list.
	* man/hostid.1: New file.
	* man/Makefile.am (man_MANS): Add hostid.1.

1997-08-31  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/who.c (main): New option --lookup (-l).
   	(print_entry): Only call canon_host if user explicitly asks for it.
   	(usage): Describe --lookup.
	From Galen Hazelwood.

	* configure.in (ALL_LINGUAS): Add Spanish (es).

1997-08-02  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/Makefile.am (bin_PROGRAMS): Add pinky.

	* src/pinky.c: New file.  From Kaveh Ghazi.
	* po/POTFILES.in: Add pinky.c.

1997-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* src/date.c (show_date): Don't hang if strftime produces an empty
	string.

1997-07-16  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/groups.sh: Exit with status from subsidiary `id' command.
	Don't print `$name : $groups' if id fails.
	Reported by Austin Donnelly.

1997-07-15  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/getloadavg.c: Merge in changes from FSF.

1997-07-13  Jim Meyering  <meyering@na-net.ornl.gov>

	* doc/Makefile.am (EXTRA_DIST): Remove explicit mention of texinfo.texi.
	Now, automake includes it automatically.

1997-07-12  Jim Meyering  <meyering@na-net.ornl.gov>

	* po/Makefile.in.in (DISTFILES): Remove ChangeLog.
	* po/POTFILES.in: Add who.c, users.c, uptime.c.
	Remove who-users.c.

	* src/who.c: Rename lots of `this' locals.
	Make some parameters `const'.
	(who): Update read_utmp caller.
	(search_entries): Take additional param: utmp_buf.
	Update read_utmp caller.
	(who_am_i): Update read_utmp caller.

	* src/users.c (users): Update read_utmp caller.
	* src/uptime.c (uptime): Update read_utmp caller.

	* lib/readutmp.h (PARAMS): Update prototype.
	(utmp_contents): Remove dcl.

	* lib/readutmp.c (read_utmp): Take new params: count and buffer.
	Return boolean indicating failure.
	Now, caller must give diagnostic upon failure.

1997-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* lib/readutmp.c, lib/readutmp.h: New files implementing shared
	functionality from src/who-users.c.

	* lib/Makefile.am (libsu_a_SOURCES): Add readutmp.c.
	(noinst_HEADERS): Add readutmp.h.

	* src/who.c, src/users.c, src/uptime.c: Split these so they no
	longer derive from the template source file who-users.c.  Use
	shared functionality from lib/readutmp.c instead.

	* src/Makefile.am: Remove rules to build who.c, users.c and
	uptime.c from template source file who-users.c.  Handle these
	files as stand-alone sources.

	* src/who-users.c: Remove file.  It is no longer used.

1997-07-12  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/date.c (MAYBE_SET_TZ_UTC0): New macro.
	(set_tz): New function.
	(batch_convert): If necessary, save the initial value of TZ and
	for each date in the file, restore it before each call to get_date,
	then set it to UTC0 before each show_date call.
	(main): Don't set TZ before calling get_date.
	Set TZ after get_date call and before show_date call.
	Reported by Matthew Braun.
	* tests/date/Test.pm: Add new tests for this bug.
	Add tests based on new examples in documentation.

	* stpcpy.c: New file.
	* configure.in (AC_REPLACE_FUNCS): Add stpcpy.c

1997-07-05  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/Makefile.am (EXTRA_PROGRAMS): Add su here.
	(bin_PROGRAMS): Remove su here.
	(install-exec-local): Rewrite rule so that su is installed only if
	it can be made setuid root.  Before it was always installed and then
	removed if it could *not* be made setuid root.  That had the potential
	undesirable side effect of removing (and not replacing) a working
	version of su.
	(all_local): New target.  Dependend on su.  Required now that su is
	no longer in bin_PROGRAMS.
	(uninstall-local): Remove su only if it comes from the GNU sh-utils.

	* src/su.c: Redefine/undef getusershell around inclusion of <unistd.h>
	(via system.h) so Cray's int-returning prototype doesn't conflict
	with our char*-returning one.  Reported by Johan Danielsson.

1997-07-04  Jim Meyering  <meyering@na-net.ornl.gov>

	* tests/Makefile.am.in (Makefile.am): Clean up and enable rule to
	generate tests/*/Makefile.am.

	* configure.in (ALL_LINGUAS): Add Norwegian (no).

	* tests/date/mk-script.pl (validate): Create test files in $(srcdir),
	not in build dir.
	* tests/Makefile.am.in ($x-tests): Create $x-tests in $(srcdir),
	not in build dir.
	* Makefile.am (aclocal-files): Look in source directory, not build dir.
	From Andreas Schwab.

1997-07-03  Jim Meyering  <meyering@na-net.ornl.gov>

	* tests/date/Test.pm (test_vector): Remove bogus TZ=GMT environment
	setting.

Wed Jul  2 11:05:09 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/printf.c (STRTOX): Convert function header in macro definition
	to K&R-style.  Otherwise, ansi2knr would fail to convert the function
	definitions to K&R for old style compilers.  From Kaveh Ghazi.

Tue Jul  1 06:28:00 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/putenv.c [putenv]: Undefine before including system headers.
	Otherwise, the declaration of *rpl_putenv* conflicts with the system
	prototype on at least Irix5.3.  From Marcus Daniels.

Sun Jun 29 07:18:25 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/putenv.c (rpl_putenv): Renamed from putenv.
	[putenv]: Remove definition and subsequent #undef hack that avoided
	conflicts with system prototypes.  That didn't let the definition of
	putenv to rpl_putenv from config.h get through.
	Suggestion from Marcus Daniels.

	* configure.in (LIB_CRYPT): AC_SUBST new variable.  Use it to add
	crypt-related library (-lufc or -lcrypt) only for the program that
	needs it (su), rather than to all executables.
	* src/Makefile.am (su_LDADD): Set to `$(LDADD) @LIB_CRYPT@'.
	Suggestion from Ulrich Drepper.

	* tests/date/mk-script.pl: Set and export LANGUAGE, LC_ALL, and LANG
	so tests get english strings.  From Ulrich Drepper.

Mon Jun 16 11:06:57 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* m4/putenv.m4 (jm_FUNC_PUTENV): New file and macro.
	* configure.in (jm_FUNC_PUTENV): Use it.
	* acconfig.h (putenv): Add #undef.
	* lib/Makefile.am (EXTRA_DIST): Add putenv.c.
	(libsu_a_SOURCES): Remove putenv.c.
	* m4/Makefile.am (EXTRA_DIST): Add putenv.m4.

Thu Jun 12 06:48:23 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/expr.c (eval6): Accept new unary operator, quote.
	From Karl Heuer.

Wed Jun 11 15:13:56 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/expr.c (docolon): Test (re_buffer.re_nsub > 0) rather than
	searching for `\(' to determine whether to return 0 or the empty
	string.  Before it would improperly return '' if the pattern
	contained a substring like this: `\\('.  From Karl Heuer.
	For example, running expr c : '\\(' should print `0'.

Sun Jun  1 12:00:10 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/getdate.y (OtherTable): Interpret `next' as 1 (not 2) units.
	Patch from Richard Sharman <rsharman@magmacom.com>.
	* tests/date/Test.pm: Add tests using `next'.

Tue May 27 06:08:06 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/basename.c: Don't include backupfile.h.

	* lib/Makefile.am (noinst_HEADERS): Add backupfile.h.

	* src/basename.c: Use base_name, not basename.
	* src/su.c: Use base_name, not basename.

	* configure.in: Don't replace basename.  Now it's always required.

	* lib/Makefile.am (libsu_a_SOURCES): Add basename.c.

	* lib/getopt.c: Update from glibc via patch-2.2.93.
	* lib/getopt1.c: Likewise.
	* lib/getopt.h: Likewise.
	* lib/basename.c: Likewise.

Sat May 24 13:26:04 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* man/Makefile.am (EXTRA_DIST): Put man_MANS here so they are
	distributed.  This seems to be necessary for automake-1.1p.

Thu May  1 00:10:11 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* ansi2knr.c echo.c factor.c hostname.c id.c nice.c pathchk.c
	spline.c test.c uname.c: Indent cpp-directives.

	* src/system.h (N_): Define.

Sun Apr 27 18:30:53 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/printf.c: (cfcc_msg): File-scope constant.
	(STRTOX): Use new constant as error message format string in macro.
	Suggestion from Andreas Schwab.
	(STRTOX): Don't fail because of extra character(s) following a
	character constant.  Give the *warning* only if !POSIXLY_CORRECT.

Sun Apr  6 14:29:14 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/printf.c: Reorder functions to obviate forward decls.
	Change most char* dcls to const char*.
	(STRTOX): New macro to eliminate code duplication.
	(xstrtod, xstrtol, xstrtoul): Remove functions.
	Use the STRTOX instead.

	* src/printf.c: (STRTOX): Interpret arguments like 'a and "a
	as POSIX requires.  Derived from a patch by Dennis Henriksen.

Sun Mar 23 15:20:17 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (ALL_LINGUAS): Add polish (pl).

Sat Mar 22 00:03:02 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* Makefile.am (AUTOMAKE_OPTIONS): Require automake-1.1l.
	(aclocal.m4): Use aclocal's new -I option.

	* missing: New file -- from the automake-1.1m distribution.

Thu Mar 20 21:10:44 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* m4/ccstdc.m4: Remove file.
	* m4/init.m4: Likewise.
	* m4/sanity.m: Likewise.
	* m4/protos.m: Likewise.
	* m4/dmalloc.m4: Likewise.
	* m4/error.m4: Likewise.
	* m4/header.m4: Likewise.
	* m4/install.m4: Likewise.
	* m4/lispdir.m4: Likewise.
	* m4/maintainer.m4: Likewise.
	* m4/obstack.m4: Likewise.
	* m4/ptrdiff.m4: Likewise.
	* m4/regex.m4: Likewise.
	* m4/strtod.m4: Likewise.
	* m4/termios.m4: Likewise.
	* m4/winsz.m4: Likewise.

Tue Mar 18 06:46:54 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/su.c: Indent cpp-directives to reflect nesting.
	Change a few #ifdef to #if.
	Remove 3 spurious #ifdef that were guarding an #undef each.

	* src/seq.c (check_format): Rename local, FORMAT_STRING, to avoid
	shadowing global.
	(print_numbers): Likewise.

	* src/who-users.c (idle_string): Rename local, IDLE, to avoid
	shadowing global.

	* src/su.c (log_su): Resort to getpwuid if getlogin fails.
	If no tty name is found, use `none' in the log message.
	Based on a patch from Galen Hazelwood.

Thu Mar 13 21:27:36 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/mktime.c: (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.

Wed Feb 19 23:06:46 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/factor.c (factor): Rewrite inner loop to be more efficient.
	Patch from Torbjorn Granlund.

Tue Feb 18 21:18:04 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* tests/date/Test.pm: Add tests for %U, %V, and %W and for a bug
	fixed on 1996-03-05.
	Remove misleading `-' from leap-1 test.

	* tests/Makefile.am (SUBDIRS): Add factor.
	* tests/factor: New directory.
	* configure.in (AC_OUTPUT): Add tests/factor/Makefile.

Tue Feb  4 22:03:13 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/stty.c: Bracket inclusion of termios.h with #if HAVE_TERMIOS_H.
	Masami Takikawa reported that NeXTStep 3.0 doesn't have termios.h.
	* configure.in (AC_CHECK_HEADERS): Add termios.h.

Fri Jan 31 21:13:13 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/*.c (usage): Bracket bug-reporting address with <> and append
	a period.
	* src/*.sh: Likewise.

	* src/*.c: Compare getopt_long return value against -1, not EOF.
	Use NULL, not `(int *) 0' as last parameter in getopt_long call.

Mon Jan 27 21:43:50 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/chroot.c (usage): Remove one space in message to make
	colons line up.

Sun Jan 26 12:51:05 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* Version 1.16.

	* src/who-users.c (usage): Fix typo (--writeable -> --writable)
	in help output.  From Galen Hazelwood.

Sat Jan 25 21:01:13 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/factor.c (print_factors): Reflect changes to xstrtoul interface.

	* tests/date/mk-script.pl: Generated script now reflects
	specification (in Test.pm) of default and per-test environment
	settings.

Fri Jan 24 23:36:00 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/long-options.c (parse_long_options): Reset optind to zero
	before just returning so that getopt internals get initialized from
	the probably-new parameters when/if getopt is called later.
	This solves the problem (reintroduced with 1.15) where `stty -tabs'
	would not work as advertised but instead act like `stty -a'.
	Reported by Arne Juul.
	Suggested fix from Ulrich Drepper.

Wed Jan 22 20:12:31 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/getopt.c: Update from GNU C library.
	* lib/getopt1.c: Update from GNU C library.
	* lib/getopt.h: Update from GNU C library.

	* tests/Makefile.am (EXTRA_DIST): Add README Makefile.am.in.
	(SUBDIRS): Set to `date'.

	* configure.in: Check for perl.
	(AC_OUTPUT): Add tests/date/Makefile.
	* tests/date: New directory.

	* m4/getgroups.m4: Move the code from configure.in into
	this macro that resorts to looking for getgroups in -lbsd.
	Set new shell variable, GETGROUPS_LIB (that callers should check),
	if it is found there.
	* configure.in: Check $GETGROUPS_LIB just after jm_FUNC_GETGROUPS.
	(AC_CHECK_FUNCS): Remove getgroups.
	Remove code that resorts to looking for getgroups in -lbsd.

	* m4/mktime.m4 (AM_FUNC_MKTIME): Run tests for each of a few values
	for the TZ environment variable.  Andre Novaes Cunha provided the
	hairy TZ setting that exercized the Solaris tzset bug.

1997-01-22  Paul Eggert  <eggert@twinsun.com>

	* lib/strftime.c (_strftime_copytm):
	New function, to work around Solaris 2.5 tzset bug.

	* m4/mktime.m4: (AM_FUNC_MKTIME): Fix bug in mktime test -- don't
	test now, test a couple of thousand times.

	* m4/strftime.m4 (main): Use TZ=GMT0, not TZ=GMT, since only GMT0 is
	specified by Posix.1.

Sat Jan 18 09:32:26 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/getdate.y (get_date): Change prototype to reflect const'ness
	of parameters.
	Indent cpp-directives to reflect nesting.
	Indent with GNU indent.

	* lib/getdate.h: New file.
	* src/date.c: Include getdate.h.
	(<time.h>, <sys/time.h>): Don't include -- now getdate.h does it.
	(get_date): Don't declare.  getdate.h does it.

	* lib/Makefile.am (noinst_HEADERS): Add getdate.h.

	1997-01-06  Paul Eggert  <eggert@twinsun.com>

	* getdate.y: Rewrite to use mktime.

	<sys/timeb.h>: Don't include.
	(mktime): Declare.

	(struct timeb, timezone, DOOMSDAY, SECSPERDAY, DSTMODE, yyDSTmode,
	ToSeconds, Convert, DSTcorrect, RelativeDate, RelativeMonth): Remove.
	(ToHour): New function (part of the old ToSeconds fn).
	(ToYear): New function (part of the old Convert fn).

	(TABLE.value, yyDayOrdinal, yyDayNumber, yyTimezone, yyDay, yyHour,
	yyMinutes, yyMonth, yySeconds, yyYear, yyRelMonth, yyRelSeconds,
	Number): Now int instead of time_t.
	(HOUR): Don't cast to time_t.

	(tDAY_UNIT, tHOUR_UNIT, tYEAR_UNIT): New %tokens.
	(UnitsTable): Use new units that are closer to the keywords.

	(yyRelDay, yyRelHour, yyRelMinutes, yyRelYear): New variables.
	(rel, relunit, get_date): Add support for them.

	(time): Fix timezone calculations for negative half-hour offsets
	when integer division truncates towards minus infinity.

	(zone): Incorporiate DST calculation directly.

	(get_date): 2nd arg is now time_t *, not struct timeb *.
	Use mktime to do most of the work, instead of computing it ourselves.
	Guard against falsely reporting errors near the time_t boundaries
	when parsing times in other time zones.

Thu Jan 16 20:58:40 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* m4/getloadavg.m4 (AM_FUNC_GETLOADAVG): Check for pstat_getdynamic.
	* configure.in (AC_CHECK_FUNCS): Don't check for pstat_getdynamic here.

Tue Jan 14 22:45:36 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (AC_CHECK_FUNCS): Add pstat_getdynamic.
	Alphabetize functions.

	* lib/getloadavg.c [hpux && HAVE_PSTAT_GETDYNAMIC]: Use HPUX's
	pstat_getdynamic function so we don't need any special privileges
	to determine load averages.  Patch from Kaveh Ghazi, based on a
	sample implementation from Richard J. Rauenzahn.
	Indent cpp-directives to reflect nesting.

Wed Jan  8 16:38:24 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* Version 1.15.

	* lib/getopt.c (_getopt_internal): Use `_', rather than the
	(sometimes-)expansion `gettext'.

Tue Jan  7 22:10:51 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/nice.c (main): Work around failures induced by new version of
	getopt.c by not modifying optind before the first getopt_long call
	in main.  With suggestions from Ulrich Drepper.

	* lib/getopt.c: New (more POSIX compliant) version from GNU libc.
	[_]: Define to gettext also if ENABLE_NLS is defined.
	This is temporary.

Fri Jan  3 21:08:29 1997  Jim Meyering  <meyering@na-net.ornl.gov>

	* acconfig.h (getgroups): Add #undef.
	From Marcus Daniels.

Fri Dec 27 17:25:18 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/who-users.c [!WTMP_FILE]: Provide default path.
	(UTMP_FILE) [UTMPX_FILE]: Use UTMPX_FILE in favor of UTMP_FILE.
	Patch from Kaveh R. Ghazi.
	Indent cpp directives.

	* m4/getgroups.m4: Rewrite the test so that systems lacking
	getgroups don't try to use the supplied replacement function --
	that depends on the existence of such a function.

	* Makefile.am (aclocal.m4): No longer depend on acinclude.m4.

	* configure.in (jm_FUNC_GETGROUPS): Use it.
	Reported by Marcus Daniels.
	AC_REQUIRE version 2.12 of autoconf.

Sun Dec 22 23:31:32 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in: Increment version to 1.14a.

	* m4/Makefile.am (EXTRA_DIST): Add README.

Fri Dec 20 19:28:37 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/who-users.c (usage): Say that UTMP_FILE is the default FILE
	rather than hard-coding /etc/utmp.  Replace hard-coded /etc/wtmp
	with WTMP_FILE.  Suggestion from Eivind.

	* src/seq.c (usage): Tweak --help text.

	* configure.in (AC_OUTPUT): Add m4/Makefile.

	* lib/Makefile.am (EXTRA_DIST): Add getgroups.c.

	* Makefile.am (SUBDIRS): Add m4.
	(aclocal-files): Add rules that rely on (GNU) make's include
	directive that computes dependencies for aclocal.m4.
	(aclocal.m4): Override automake-generated rule.

	* m4/Makefile.am: New file.

	* lib/strftime.c: Update from GNU libc.

	* m4/getline.m4: New file, extracted from acinclude.m4.
	* m4/getloadavg.m4: Likewise.
	* m4/jm-mktime.m4: Likewise.
	* m4/jm-winsz1.m4: Likewise.
	* m4/jm-winsz2.m4: Likewise.
	* m4/memcmp.m4: Likewise.
	* m4/strftime.m4: Likewise.
	* m4/uptime.m4: Likewise.

	* m4/ccstdc.m4: Copied from automake-1.1l.
	* m4/dmalloc.m4: Likewise.
	* m4/error.m4: Likewise.
	* m4/gettext.m4: Likewise.
	* m4/header.m4: Likewise.
	* m4/init.m4: Likewise.
	* m4/install.m4: Likewise.
	* m4/lcmessage.m4: Likewise.
	* m4/lispdir.m4: Likewise.
	* m4/maintainer.m4: Likewise.
	* m4/mktime.m4: Likewise.
	* m4/obstack.m4: Likewise.
	* m4/progtest.m4: Likewise.
	* m4/protos.m4: Likewise.
	* m4/ptrdiff.m4: Likewise.
	* m4/regex.m4: Likewise.
	* m4/sanity.m4: Likewise.
	* m4/strtod.m4: Likewise.
	* m4/termios.m4: Likewise.
	* m4/winsz.m4: Likewise.

	* m4/getgroups.m4: New file.
	(jm_FUNC_GETGROUPS): New macro
	* lib/getgroups.c: New file.

	* m4: New directory.

Wed Dec 18 07:47:29 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (AC_CHECK_HEADERS): Add paths.h.
	* src/su.c [HAVE_PATHS_H]: Include <paths.h>.
	[_PATH_DEFPATH]: Use this to define DEFAULT_LOGIN_PATH.
	[_PATH_DEFPATH_ROOT]: Use this to define DEFAULT_ROOT_LOGIN_PATH.
	From Rik Faith.

	* acinclude.m4 (jm_FUNC_GNU_STRFTIME): Change m4 quote strings
	outside the quoted test program.  Quote the test program with <<, >>.
	Reported by Andreas Schwab.
	(AM_FUNC_GETLOADAVG): Likewise.
	(jm_FUNC_GNU_STRFTIME): Add tests for new, upcasing ^ modifier

Tue Dec 17 18:54:32 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/Makefile.am (install-exec-local): Properly redirect stdout
	and stderr to /dev/null.  From Eric Backus.

	* lib/strftime.c: Update from GNU libc.

	* acinclude.m4 (jm_SYS_PROC_UPTIME): Require AC_PROG_CC, rather than
	now-obsolete AC_C_CROSS.
	(jm_FUNC_MKTIME): When redefining, use rpl_ prefix, not gnu_ one
	since there's nothing GNU-specific about the replacement.  Contrast
	with gnu_ prefix added to strftime.
	(jm_FUNC_MEMCMP): New macro.
	* configure.in: Use jm_FUNC_MEMCMP instead of AM_FUNC_MEMCMP.
	* acconfig.h: Add memcmp.

Sun Dec 15 18:37:08 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (check for 3-argument setpriority function): Complete
	partial change made on Dec 12.  From Arne Juul.

Sat Dec 14 14:51:50 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* acinclude.m4 (jm_SYS_PROC_UPTIME): Fix typo in cache variable
	name for cross compiling.
	Remove definitions of gettext-related macros.  The gettext
	installation procedure installs corresponding .m4 files so that
	aclocal will use them.

Thu Dec 12 06:07:30 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* Version 1.14.

	* src/system.h (ISDIGIT): Replace with smaller, faster edition
	that yields nonzero only on ASCII digits.
	(ISDIGIT_LOCALE): New macro, with same meaning that ISDIGIT
	used to have.  From Paul Eggert.

	* configure.in: Bump version to 1.14.

	* lib/getdate.y (IN_CTYPE_DOMAIN): Rename from ISASCII.
	(ISDIGIT): New definition from Paul Eggert.
	This one evaluates its argument exactly once.
	(yylex): Move increment out of ISALPHA argument.  Use a
	comma-expression instead.

	* src/false.sh (usage): Update bug-reporting address.
	* src/groups.sh (usage): Likewise.
	* src/nohup.sh (usage): Likewise.
	* src/true.sh (usage): Likewise.
	Reported by Karl Heuer.

	* configure.in (check for 3-argument setpriority function): Add nohup
	to list of scripts, not the list of programs.
	From Karl Heuer.

	* POTFILES.in: Add chroot.c.  Reported by Michel Robitaille.

Wed Dec 11 19:33:36 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* Version 1.13.

Tue Dec 10 06:36:57 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* acinclude.m4 (jm_SYS_PROC_UPTIME): New macro.  Derived from the
	code in configure.in, except now it punts when cross compiling.
	Suggestion from Karl Heuer.
	* configure.in (jm_SYS_PROC_UPTIME): Use it instead of open-coded
	version.

	* lib/Makefile.am (EXTRA_DIST): Add mktime.c.
	Reported by Thomas Bushnell.

	* configure.in: Bump version to 1.12t.

	* Regenerate all Makefile.in using a patched version of automake-1.1l.

	* acconfig.h (strftime): Add #undef.
	From Karl Heuer.

	* acinclude.m4 (AM_GNU_GETTEXT): Don't require AC_ISC_POSIX.
	From Karl Heuer.

Mon Dec  9 06:58:11 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in: Bump version to 1.12s.

	* lib/getdate.y (Convert): Don't reject all dates in 2038.
	Some fit in 31 bits.

	* configure.in (jm_FUNC_GNU_STRFTIME): Use it.

	* acinclude.m4 (AC_REPLACE_GNU_GETOPT): Remove unused macro.
	(jm_FUNC_GNU_STRFTIME): New macro.

	* lib/Makefile.am (libsu_a_SOURCES): Remove strftime.c.
	(EXTRA_DIST): Add strftime.c.

	* configure.in (jm_HEADER_TIOCGWINSZ_IN_TERMIOS_H): Fix typo:
	Change $am_cv_sys_tiocgwinsz_needs_sys_ioctl_h to
	$jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h.
	Patch from Kaveh R. Ghazi.

	* src/stty.c: Include config.h before testing for
	TERMIOS_NEEDS_XOPEN_SOURCE.
	Patch from Karl Heuer.

	* configure.in (AC_ISC_POSIX): Remove kludgy macro.
	Use this test instead:
	(LIBS): Add -lcposix if it contains strerror.
	Patch from Karl Heuer.

	* acinclude.m4 (AM_FUNC_GETLOADAVG): Put shell assignments to
	ac_save_LIBS and LIBS on separate lines to avoid order-of-evaluation
	problems -- some versions of sh (e.g. SunOS4.1.3's) evaluate such
	space-separated assignments from right to left.  Patch from Karl Heuer.
	(AM_FUNC_GETLOADAVG): Fix typo: su_save_LIBS => am_cv_saved_LIBS.
	Patch from Karl Heuer.

	* lib/strftime.c [HAVE_TZNAME]: Declare tzname.
	Patch from Karl Heuer.

	* src/Makefile.am (.sh): Also substitute @bindir@.
	Reported by Karl Heuer.

Sun Dec  8 07:22:38 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	=========== Update for automake-1.1k.
	* Makefile.am (AUTOMAKE_OPTIONS): Require 1.1k.
	* configure.in (AM_CONFIG_HEADER): Use it.
	(AC_OUTPUT): Remove stamp-h timestamping statement.
	Now, AM_CONFIG_HEADER does it automatically.
	* lib/Makefile.am (noinst_LIBRARIES): Rename to libsu.a as per
	new automake requirement.
	Rename su_* variables to libsu_a_*.

Sun Dec  8 00:08:44 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/stty.c (get_win_size): Rename formal parameter from fileno to FD.

Sat Dec  7 12:52:00 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/chroot.c (main): Call setlocale, bindtextdomain, and textdomain.
	From Michel Robitaille.

	* configure.in (ALL_LINGUAS): Add Portuguese (pt).

	* lib/getloadavg.c [__SVR4]: Define SVR4.
	Remove duplicate `|| defined(SVR4)' disjunct guarding the
	#define KERNEL_FILE "/unix" definiton.

	* configure.in (jm_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL): Use this variant
	of the AM_ prefixed macro.
	(check for TIOCGWINSZ in sys/pty): In essence, require
	jm_HEADER_TIOCGWINSZ_IN_TERMIOS_H so that
	$jm_cv_sys_tiocgwinsz_needs_termios_h (renamed from
	$gwinsz_in_termios_h) is defined.

	* lib/strftime.c (strftime): Remove " %Z" part of format for %c.
	Correction from Paul Eggert.

Fri Dec  6 20:52:07 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* acinclude.m4 (jm_FUNC_MKTIME): Rather than including the text of
	AM_FUNC_MKTIME, simply AC_REQUIRE it.

Mon Dec  2 20:59:38 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (su_cv_func_ut_host_in_utmp): Move test that can
	define WINSIZE_IN_PTEM to precede test that checks whether
	`TIOCGWINSZ in sys/pty.h'.  The latter test uses the symbol.
	(jm_FUNC_MKTIME): Use this instead of AM_FUNC_MKTIME.

Sun Dec  1 13:07:39 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/getdate.y (date): Interpret the date, L/M/N, as YYYY/MM/DD
	if L >= 1000, otherwise as MM/DD/YY.  With this change,
	date --date=DATE accepts dates like those in an RCS log listing.

Sat Nov 30 22:08:00 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/strftime.c: Update from GNU libc.

Fri Nov 29 22:16:40 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/uname.c (main) [HAVE_SYSINFO && SI_ARCHITECTURE]: Support
	--processor (-p).  Print processor type.
	(usage): Document it.

Thu Nov 28 00:28:37 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (AM_GNU_GETTEXT): Renamed from ud_GNU_GETTEXT
	for gettext-0.10.25.
	(AM_FUNC_GETLINE): Move the test to just before the check for getdelim.

Sun Nov 24 11:02:29 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/system.h [!defined STDIN_FILENO]: Define it.
	[!defined STDOUT_FILENO]: Define it.
	[!defined STDERR_FILENO]: Define it.

	* src/stty.c (get_win_size): Take a FILENO parameter rather than
	trying to get a size from both stdin and stdout.
	Update callers.
	Use STDIN_FILENO and STDOUT_FILENO instead of literal 0, 1.

	========== From Karl Heuer =========
	* src/stty.c [TERMIOS_NEEDS_XOPEN_SOURCE]: Define _XOPEN_SOURCE.
	i386-pc-isc3.0, needs that in order to cause all of the useful
	termios symbols to be defined, instead of just those that are
	required by POSIX.  This enables all of: iuclc ixany olcuc ocrnl
	onlcr onocr onlret ofill ofdel nl0 cr0 tab0 bs0 vt0 ff0 xcase.

	[GWINSZ_IN_SYS_PTY]: Include sys/ioctl.h, sys/tty.h, and sys/pty.h.

	[!VSUSP && !VSWTCH]: Map VSWTCH and CSWTCH to VSUSP and CSUSP resp.
	termio.h defines VSWTCH, but termios.h defines VSUSP instead (since
	POSIX requires that symbol).  Define VSWTCH as a synonym if needed,
	so that either one can be used on input.
	(display_changed): If the slot for swtch is the same as the one for
	susp, display only the setting for susp.
	(display_all): Likewise.

	(display_changed): Some systems still have (VEOF,VEOL) == (VMIN,VTIME).
	On such systems, it's confusing to print both pairs.  So, skip eof and
	eol when icanon is unset, and skip min and time when icanon is set.
	(display_all): Likewise.

	(set_window_size): Check only stdin (the device being queried) for
	window size info.  You don't want "stty </dev/foo" to report the size
	of your current window when /dev/foo has no size info.
	(display_window_size): Likewise.

	(screen_columns): Check only stdout for window size info.  You want
	"stty </dev/foo" to wrap columns at the right margin of your current
	window, not the /dev/foo width.

	* acconfig.h (GWINSZ_IN_SYS_PTY): Add #undef.
	(TERMIOS_NEEDS_XOPEN_SOURCE): Add #undef.

	* configure.in (whether termios.h needs _XOPEN_SOURCE): New test.
	(whether TIOCGWINSZ is defined in sys/pty.h): New test.

Sat Nov 23 16:15:37 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/Makefile.am (EXTRA_DIST): Add getline.c now that getline
	isn't mentioned in AC_REPLACE_FUNCS.

	* env.c (usage): Alphabetize option descriptions the way sort -f would.
	* test.c (usage): Likewise.
	* who-users.c (usage): Likewise.
	From Karl Berry.

Fri Nov 22 20:33:26 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (AC_REPLACE_FUNCS): Don't try to replace getline this
	way.  AM_FUNC_GETLINE does it now.

	* configure.in New test to check for TIOCGWINSZ in sys/pty.h.
	* config.h.in (GWINSZ_IN_SYS_PTY): Add #undef.
	From Karl Heuer.

	* src/printf.c (main): Warn if excess arguments are ignored.
	E.g., printf foo bar now warns that it is ignoring the single
	non-format argument, bar.

Wed Nov 20 20:37:54 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/xgethostname.c (xgethostname): Work around bug in SunOS5.5's
	gethostname.  Reported by Fletcher Mattox.

Tue Nov 19 23:01:01 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (AM_SANITY_CHECK_CC): Remove it.  Autoconf-2.11
	has this built-in.
	(OPTIONAL_BIN_ZCRIPTS): Rename from OPTIONAL_SCRIPTS -- because
	automake-1.1g couldn't deal with the _SCRIPTS suffix.
	* src/Makefile.am (bin_SCRIPTS): Rename @OPTIONAL_SCRIPTS@.

Sun Nov 17 20:49:37 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/id.c (main): Ignore -a, for compatibility with SVR4.
	Suggestion from Noah Friedman.

Mon Nov  4 20:24:31 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (test for group_member): Handle it separately
	so I can keep the hyphen (not the underscore) in the filename.

	Thu Oct 31 19:32:32 1996  Miles Bader  <miles@gnu.ai.mit.edu>

	  * lib/xgethostname.c [ENAMETOOLONG] (xgethostname): If gethostname
	  returns an error other than buffer overflow, exit with an error
	  message instead of allocating infinite amounts of space.
	  [!EXIT_FAILURE] (EXIT_FAILURE): New macro.
	  <errno.h>: New include.
	  [!errno] (errno): New declaration.

	* acinclude.m4 (AM_FUNC_GETLINE): Use cache.

	* configure.in: Check for -linet library before checking for the
	gethostbyname function.  Suggested by Karl Heuer.
	Use AM_FUNC_GETLINE.

	* acinclude.m4 (AM_FUNC_GETLINE): Add run-time test for getline.
	Based on a test from Karl Heuer.

Sun Nov  3 14:57:09 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* acinclude.m4 (GETLOADAVG_LIBS): Unanchor the sed regexp that removes
	am_cv_saved_LIBS from LIBS.  From Karl Heuer.

	* src/stty.c (recover_mode): Fail also if there are too many fields.
	From Karl Heuer.

	* lib/canon-host.c: Include sys/types.h for the definitions
	(otherwise missing on some systems) of caddr_t (used by
	sys/socket.h) and ushort (used by netinet/in.h).  From Karl Heuer.

Sat Nov  2 00:16:16 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* doc/Makefile.am (MAKEINFO): Set to makeinfo --no-split.
	Otherwise, the generated info files have names longer than
	the 14-byte max of some old systems.
	Reported by Karl Heuer.

	* src/date.c (main): Give better diagnostic.
	Suggestion from Karl Berry.

Thu Oct 31 18:28:05 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/posixtm.y: Remap yacc globals to have pt_ prefix.
	* lib/getdate.y: Remap yacc globals to have gd_ prefix.
	Suggestion to do as in gdb/c-exp.y from Tom Tromey.

Mon Oct 28 17:40:54 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/Makefile.am (install-exec-local): Redirect stderr of chown to
	/dev/null and suggest running `make install-root' upon failure to
	install su.  Suggestions from François Pinard.

	* configure.in: Don't output confusing diagnostic: `checking for
	shadow password routines'.  Suggestion from François Pinard.

Thu Oct 24 13:50:46 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* src/tee.c (main): Ignore SIGPIPE.

Wed Oct 23 23:42:43 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/stty.c: Guard inclusion of stdarg.h and definition of VA_START
	with #if PROTOTYPES rather than with #ifdef __STDC__.  The latter
	loses with Dynix/PTX.
	(wrapf) [PROTOTYPES]: Similarly, guard ANSI-style ... definition.
	Suggestion from Marcus Daniels.

Mon Oct 21 16:49:08 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/getloadavg.c [__linux__]: Don't bother with a.out/nlist/kernel
	defines or includes -- Linux systems simply read /proc/loadavg.
	From Ulrich Drepper.

	* lib/Makefile.am (EXTRA_DIST): Remove group-member.c.

	* configure.in: Remove hack that created link from group_member.c
	to group-member.c.

	* lib/group_member.c: New file.  Renamed from group-member.c.
	* lib/group-member.c: Delete.

	* src/stty.c (main): Remove TAB from diagnostic, for consistency.

Sun Oct 20 09:03:51 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* Makefile.am (install-root): Add it here, too.

	* lib/Makefile.am (INCLUDES): Add -I../intl.  Reported by Eric Backus.

	* src/Makefile.am (install-root): New rule.
	Suggestion from François Pinard.

	* src/who-users.c (print_entry): Don't take address of UT_TIME_MEMBER
	directly.  From Ulrich Drepper.

	* Makefile.am (AUTOMAKE_OPTIONS): Set to `gnits'.
	(EXTRA_DIST): Remove @README_ALPHA@.

	* configure.in: Remove README_ALPHA related code.  Automake takes
	care of it automatically now when in gnits mode.

	* acinclude.m4 (AM_FUNC_GETLOADAVG): Use $srcdir (not $top_srcdir) in
	#include $srcdir/lib/getloadavg.c.  The latter isn't defined at that
	point in configure script.  From Eric Backus.

Fri Oct 18 21:31:58 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* Makefile.am (cvs-dist): Uncomment cvs tag command.
	(cvs-dist): Use cvs tag's -c option.

Thu Oct 17 23:48:16 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (LIBS): Add -lypsec on m88k/svr3 DolphinOS systems
	using YP.  From Arne Juul.

Sun Oct 13 07:34:15 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in: Don't save and restore LIBS around AM_FUNC_GETLOADAVG.
	* acinclude.m4 (AM_FUNC_GETLOADAVG): Don't modify LIBS in this macro
	(by saving and restoring initial value).  Instead, arrange for
	substitution of @GETLOADAVG_LIBS@.
	* src/Makefile.am (uptime_LDADD): Add @GETLOADAVG_LIBS@,
	not @UPTIME_LIBS@.

	* configure.in (ALL_LINGUAS): Add swedish (sv).

Fri Oct 11 22:51:50 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/who-users.c (print_uptime): Change #ifdef guard on getloadavg
	call from just HAVE_GETLOADAVG to HAVE_GETLOADAVG || C_GETLOADAVG.
	From Kaveh R. Ghazi.

	* src/Makefile.am (uptime_LDADD): Add @UPTIME_LIBS@.

	* acinclude.m4 (AM_FUNC_GETLOADAVG): Like AC_FUNC_GETLOADAVG, but
	with the following changes:
	- include $top_srcdir/lib/getloadavg.c, not src/getloadavg.c.
	Reported by Eric Backus.
	- Check for Solaris' libkstat.
	- Define C_GETLOADAVG if we end up using getloadavg.c.
	From Kaveh R. Ghazi.
	* acconfig.h (C_GETLOADAVG): Add it.
	From Kaveh R. Ghazi.

	* configure.in: Use new AM_FUNC_GETLOADAVG and be careful to add
	getloadavg-related libraries only when linking uptime.

Thu Oct 10 23:50:05 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/Makefile.am (EXTRA_DIST): Remove posixtm.y and getdate.y.
	(su_SOURCES): Put them here instead.
	Remove rules for building getdate.c and posixtm.c;  now automake
	generates those rules.
	* lib/ylwrap: New file.
	* lib/interlock: New file.

Wed Oct  9 00:26:55 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/getloadavg.c [__sun]: Define sun.  Reported by Kaveh Ghazi.

	* lib/strftime.c (strftime): Accommodate the broken C compiler
	that comes with SunOS -- don't initialize aggregates in decls of
	automatic variables.  Reported by Kaveh Ghazi.

	* tests/: Renamed checks/ directory.
	* Makefile.am (SUBDIRS): Rename checks to tests.
	* configure.in (AC_OUTPUT): Rename checks to tests.

	* configure.in (/proc/uptime check): Guard the read of /proc/uptime
	with an existence test to avoid a messy configure-time warning on
	systems that lack that special file. Reported by Kaveh R. Ghazi.

	* configure.in (check whether floor needs -lm): Fix typo: save $LIBS,
	not $LIB.  From Kaveh R. Ghazi.

	* checks/nice: Protect echoed args with leading `x' so echo doesn't
	interpret leading -n on e.g. SunOS systems.

Mon Oct  7 18:46:28 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/getloadavg.c [__hpux]: Define hpux. From Eric Backus.

	* lib/Makefile.am (EXTRA_DIST): Remove alloca.c, error.c, and mktime.
	(su_SOURCES): Remove memcmp.c.
	Automake automatically includes at least these, now.
	From François Pinard.

	* lib/Makefile.am (su_SOURCES): Remove getline.c.

Sat Oct  5 11:38:23 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/Makefile.am (su_SOURCES): Remove gethostname.c --
	it's AC_REPLACE'd and already in EXTRA_DIST.

	* configure.in: Use AM_SANITY_CHECK_CC.

	* configure.in: Use AM_FUNC_ERROR_AT_LINE.
	* lib/Makefile.am (EXTRA_DIST): Put error.c here.
	(su_SOURCES): Remove error.c
	Suggested by Ulrich Drepper.

	* configure.in (GNU_PACKAGE): AC_SUBST it for the src/*.sh scripts.
	* src/Makefile.am (.sh): Substitute for @GNU_PACKAGE@ and @VERSION@
	in the four installed scripts.
	* src/*.sh: Update --version output to conform to the coding standard.

	* acinclude.m4 (AC_HEADER_SYS_TIME_H): New macro.
	(AM_FUNC_MKTIME): Require AC_HEADER_SYS_TIME_H so that configure's
	checking... messages don't get nested.

	* configure.in (GNU_PACKAGE): New variable.
	(PACKAGE_VERSION): Remove it.

	* acconfig.h (GNU_PACKAGE): New variable.
	(PACKAGE_VERSION): Remove now-unused variable.

	* src/*.c: Update --version output to conform to the coding standard.

Sun Sep 22 22:41:54 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (AC_CHECK_HEADERS): Alphabetize.
	Update for automake-1.1e.

Thu Sep 19 07:47:18 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/regex.c: Merge with FSF version.
	* lib/getloadavg.c: Replace with FSF version.

Mon Sep 16 23:13:04 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/strftime.c (strftime): New version, from GNU libc.

Sun Sep 15 23:08:48 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* Makefile.am (EXTRA_DIST): Remove acinclude.m4.

Mon Sep  9 22:10:45 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in: Improve handling of math library so -lm is used
	only when it's actually required.  That makes a difference when
	using dynamic linking.
	Remove check that added -lm to LIBS.
	(SQRT_LIBM): Test for and AC_SUBST it.
	(POW_LIBM): Likewise.
	(SEQ_LIBM): Likewise.
	Motivation and suggestions from Ulrich Drepper.

	* src/Makefile.am (factor_LDADD, printf_LDADD, seq_LDADD):
	Set these using new @SQRT_LIBM@, @POW_LIBM@, and @SEQ_LIBM@ resp.
	Also set corresponding _DEPENDENCIES variables.

Sat Sep  7 12:41:39 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/system.h: Add comments justifying IS* versions of ctype.h macros.

	* lib/getdate.y: Define and use upper case variants of ctype.h
	is* macros.  From Bruno Haible.

Thu Sep  5 22:12:20 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/strftime.c: New version from glibc.

Wed Sep  4 23:39:51 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (ALL_LINGUAS): Add dutch (nl).

Mon Sep  2 10:52:55 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/*.c (usage): Tell where to report bugs.

Sun Sep  1 07:56:07 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (AM_FUNC_MKTIME): Use it.
	(AC_REPLACE_FUNCS): Remove mktime.
	(AM_INIT_AUTOMAKE): Use it.
	(AM_PROG_INSTALL): Remove.  AM_INIT_AUTOMAKE does this.
	(AC_PROG_MAKE_SET): Likewise.
	(jm_MAINTAINER_MODE, fp_C_PROTOTYPES): Rename with
	AM_ prefix for latest automake/aclocal.

	* Makefile.am (EXTRA_DIST): Add acinclude.m4.

	* acinclude.m4: New file -- derived from aclocal.m4.
	* aclocal.m4: This file is now generated by the aclocal program
	(which comes with the automake package.)

Sat Aug 17 00:14:55 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/strftime.c: Update from GNU libc -- this adds back %z and %s
	formats and reverts to old behavior where unrecognized format like
	%E is treated as eqivalent to `E'.

Sun Aug  4 09:14:28 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* checks/: New directory.
	* checks/Makefile.am: New file.
	* checks/nice: New file.  Derived from tests from Eric Backus.
	* configure.in (AC_OUTPUT): Add new directory: checks.
	* Makefile.am (SUBDIRS): Likewise.

	* src/nice.c (main): Allow `+' in options like -+8 and -+13.

Fri Aug  2 21:45:06 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/nice.c (main): Set minus_flag to zero in two places.
	Otherwise, `nice --1 -3' would mistakenly do the equivalent of
	`nice --3'.  Thanks to Eric Backus <ericb@lsid.hp.com> for the
	test cases.

	* configure.in (check for /proc/uptime): New check.
	* acconfig.h (SAVE_PROC_UPTIME): #undef it.  Reorder so symbols
	are sorted again.
	*src/who-users.c (print_uptime) [HAVE_PROC_UPTIME]: Read from
	/proc/uptime.
	From Ulrich Drepper.

Thu Aug  1 22:38:38 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (AC_REPLACE_GNU_GETOPT): No longer use it.
	It isn't necessary because the cpp-time checks of getopt.c and
	getopt1.c are at least as good.
	* lib/Makefile.am (EXTRA_DIST): Remove getopt.c and getopt1.c.
	(su_SOURCES): Add getopt.c and getopt1.c
	This reverts much of the April 23 change.

Sat Jul 27 17:22:14 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/system.h (bindtextdomain) [!ENABLE_NLS]: Undefine to avoid
	redefinition warnings on solaris.
	(textdomain) [!ENABLE_NLS]: Likewise.

Sun Jul 21 09:47:55 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (AC_REPLACE_FUNCS): Replace getline.c.
	Add related check for the getdelim function.
	From Ulrich Drepper -- as done in gettext.

	* src/stty.c (usage): Correct typo (-iucl -> -iuclc) in usage message.
	From Thomas Olsson <d95to@efd.lth.se>.

Sat Jul 20 17:01:56 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (PACKAGE_VERSION): Use space instead of hyphen to
	separate PACKAGE and VERSION.

Wed Jul 17 23:13:19 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/chroot.c: Include <sys/types.h> before system.h.
	* src/seq.c: Likewise.
	* src/yes.c: Likewise.
	From Arne Juul.

Tue Jul 16 00:06:33 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* lib/strftime.c (strftime): Use `(void)0' as second arg to add macro.
	Omitting that second arg made some HPUX C compiler report an error.
	From Kaveh R. Ghazi.

Mon Jul 15 23:42:57 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/who-users.c (print_uptime): Reverse `days' and `day' in
	uptime message.  From Kaveh R. Ghazi.

	* Many files: Update FSF address.

Sun Jul 14 20:05:34 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/who-users.c (print_uptime): Use 0, not undefined errno in
	couldn't-get-boot-time diagnostic.  From Ulrich Drepper.

Sat Jul 13 14:22:54 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/chroot.c (usage): Add a `\' after `\n' in usage message.
	Otherwise, SunOS's /bin/cc chokes.

	* src/stty.c [GWINSZ_BROKEN]: Remove thus-guarded `#undef TIOCGWINSZ'.
	GWINSZ_BROKEN can't be defined anymore.

	* configure.in (boot time test): Use AC_EGREP_CPP instead of
	AC_EGREP_HEADER; #endif, instead of #fi.
	(AM_SYS_POSIX_TERMIOS, AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL): Use
	these macros instead of the tests from which they were derived.
	($am_cv_sys_posix_termios): Renamed to have am_ prefix instead of su_.

Wed Jul 10 22:57:29 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* aclocal.m4 (fp_PROG_CC_STDC): Include sys/stat.h in test program
	so that DYNIX/ptx V4.1.3 doesn't use `-Xc -D__EXTENSIONS__' -- with
	those options on that system, sys/stat.h gets compile errors.
	With help from Marcus Daniels.

	* getopt.c: Update from gettext-0.10.23.
	* getopt1.c: Likewise.
	* getopt.h: Likewise.

Sun Jul  7 22:40:08 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* aclocal.m4 (AM_SYS_POSIX_TERMIOS): New macro, derived from test
	in configure.in.
	(AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL): Likewise.

Sat Jul  6 12:47:48 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (AC_REPLACE_FUNCS): Add group_member.
	(AC_LINK_FILES): Create link lib/group_member.c to lib/group-member.c.
	* lib/Makefile.am (su_SOURCES): Remove group-member.c.
	(EXTRA_DIST): Add group-member.c here.

Thu Jul  4 22:40:06 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* src/expr.c (docolon): Remove space before newline in usage message.

Sat Jun 29 18:58:20 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* configure.in (PACKAGE_VERSION): Add `GNU ' prefix so we see
	it in the output of --version.  Reported by RMS.

Tue Jun 18 22:14:42 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* aclocal.m4: Update from gettext-0.10.20.
	* ABOUT-NLS: Likewise.
	* intl/*: Likewise.

Sun Jun 16 13:44:36 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* doc/Makefile.am (EXTRA_DIST): Add texinfo.tex.

Thu Jun  6 21:57:08 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* po/Makefile.in.in: Update from gettext-0.10.16.
	* intl/*: Likewise.
	* ABOUT-NLS: Likewise.
	* aclocal.m4 (AC_REPLACE_GNU_GETOPT): Move definition to precede
	gettext-related ones.
	Update from gettext-0.10.16.

Wed May 29 21:28:53 1996  Jim Meyering  <meyering@na-net.ornl.gov>

	* expr.c (docolon): Give a warning when the first character
	of the basic regular expression is `^'.

Mon May 20 22:56:06 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* id.c (xgetgroups): New function, factored out of
	print_group_list and print_full_info.
	(print_group_list): Call it.
	(print_full_info): Call it.

	* lib/Makefile.am (getdate.c): Disable dependencies that can
	require rerunning YACC when not in maintainer mode.
	(posixtm.c): Likewise.

Tue May 14 18:47:35 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* id.c (print_group_list): When USERNAME is specified use
	getugroups to get the number of groups.
	(print_full_info): Likewise.

Sun May 19 21:45:49 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* seq.c (usage): Make it clearer.

Sat May 18 13:29:46 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* expr.c (main): Don't recognize --help, --h, --he, --version,
	--v, etc. if the POSIXLY_CORRECT environment variable is set.
	* echo.c (main): Likewise.
	* printf.c (main): Likewise.
	* test.c (main): Likewise.

	* expr.c (docolon) [RE_SYNTAX_POSIX_BASIC]: Revert change of Mar 1.

Tue May  7 22:10:20 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* configure.in: Require autoconf-2.10.

	* aclocal.m4 (jm_MAINTAINER_MODE): New macro.
	* configure.in (jm_MAINTAINER_MODE): Use it.

Mon May  6 22:40:54 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* lib/strftime.c: Update from GNU libc.

Sat May  4 20:54:32 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* system.h [IN_CTYPE_DOMAIN]: Rename from ISASCII.
	* seq.c: Remove useless void casts of *printf return values.

Mon Apr 29 22:23:40 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* basename.c (usage): Mark translatable strings.
	* chroot.c (main): Likewise.
	* basename.c (main): Separate messages about `too few' and `too many'
	arguments to ease translation.
	* dirname.c (main): Likewise.
	* date.c (usage): Change TAB in message to spaces.  Doing that seems
	to have worked around a problem with something in gettext that was
	producing a truncated usage message for date's usage.
	From François Pinard.

Sun Apr 28 17:10:03 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* configure.in: Make fp_C_PROTOTYPES precede AC_C_INLINE.
	Otherwise, some systems lose because the value AC_C_INLINE choses
	with plain `cc' is different from that chosen when using the ANSI-mode
	C compiler.  From Kaveh Ghazi.

Tue Apr 23 22:05:35 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* aclocal.m4 (AC_REPLACE_GNU_GETOPT): New macro.
	* configure.in: Use it.
	* lib/Makefile.am (su_SOURCES): Remove getopt.c and getopt1.c.
	(EXTRA_DIST): Add getopt.c and getopt1.c

	* whoami.c (main): Declare to return int, not void.
	* who-users.c (main): Likewise.
	* yes.c (main): Likewise.

	* src/*.c, src/*.h: Update Copyright years to include 1996.

Sun Apr 21 08:04:51 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* date.c (usage): Describe new %V format.  From Karl Berry.

	* Makefile.am (LDADD): Put @INTLLIBS@ before package library.

Sat Apr 20 22:22:01 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* chroot.c (usage): Improve help message.
	Enclose message strings in _().
	* seq.c (usage): Improve help message.
	* factor.c (usage): Likewise.
	From Karl Berry.

Fri Apr 19 23:48:53 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* Makefile.am (cvs-dist): New rule.  Based on the one from
	Tom Tromey's automake.

Thu Apr 18 23:16:41 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* basename.c (basename): Rewrite so it doesn't rely on strrchr,
	and hence doesn't need to include string.h -- on some alpha-based
	OSF systems, there's a conflicting prototype for basename in string.h.
	Reported by Kaveh Ghazi.

	* configure.in (AC_REPLACE_FUNCS): Add basename.
	* lib/Makefile.am (EXTRA_DIST): Add basename.c.
	(su_SOURCES): Remove basename.c.
	From Kaveh Ghazi.

Tue Apr 16 20:24:44 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* src/Makefile.am (who.c): Qualify who-users.c reference with
	$(srcdir)/ prefix.
	(users.c): Likewise.
	(uptime.c): Likewise.
	From François Pinard.

	* configure.in: Always invoke AC_GETLOADAVG, not just if we're
	building uptime.

Sat Apr 13 13:24:35 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* getloadavg.c: Test cpp-defined __sun as well as sun, because
	in strict ANSI mode, only __sun is defined.  From Kaveh Ghazi.

	* date.c (usage): Add missing `\n\' at the end of newly added
	lines for %e and %z.

	* who-users.c (print_uptime): Call getloadavg only if we have it.

Fri Apr 12 22:03:13 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* configure.in (LINGUAS): Add de.

	* date.c (usage): Describe %e and %z.  Reported by Karl Berry.

	* who-users.c: Mark translatable strings in new code.

Wed Apr 10 21:26:30 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* configure.in: Add test for boot_time.
	From Kaveh Ghazi.

	* lib/Makefile.am (EXTRA_DIST): Add getloadavg.c.

	* src/Makefile.am (EXTRA_PROGRAMS): Add uptime.
	(BUILT_SOURCES): Add uptime.c.
	(MOSTLYCLEANFILES): Add uptime.c.
	(uptime.c): Add rule to build it from who-users.c.

	* who-users.c: Reindent.
	(UT_TIME_MEMBER): New macro.
	(print_uptime): Use it instead of #ifdef HAVE_UTMPX_H #else.
	(print_entry): Likewise.

Tue Apr  9 23:57:19 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* who-users.c (print_uptime) [UPTIME]: New function.  From Kaveh Ghazi.

Sun Apr  7 11:58:13 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* seq.c (print_numbers): Rearrange loops to get it right.
	Reported by Karl Eichwalder <ke@ke.Central.DE>.

	* seq.c (print_numbers): Give more precise diagnostic when INCREMENT
	is inconsistent with START and LIMIT.
	(usage): Clean up help message.

	* factor.c (usage): Give minimal description of the program.
	(print_factors): Give a better diagnostic.
	(main): Suggest --help upon failure.
	Reported by Karl Eichwalder <ke@ke.Central.DE>.

	* seq.c (print_numbers): Fix off-by-one error in
	backwards-counting loop.  Reported by Karl Eichwalder.

	* strftime.c (mon_week_ISO): New function to implement new %V format.
	(sun_week): Make TM parameter `const'.
	(mon_week): Likewise.
	(mon_week): Rewrite to implement %W format correctly.
	(strftime): Handle %V format.
	Reported by Arne Juul.

Fri Apr  5 07:33:00 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* strftime.c (sun_week): Make %U work properly.
	Before, `date -d '1 Jan 1995' +%U' output `00'.  Now it prints `01'.

	* nice.c (main): Simplify option handling.  Before, `nice -18 -- nice'
	improperly printed `8'.  Patch from Frank Korz.
	(main): Use `if' stmt, not while loop, around getopt invocation.
	Otherwise, `./nice --a=1 -1 ./nice' (in which old-style option
	follows a long option) gets an error.

Thu Apr  4 20:14:02 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* aclocal.m4 (fp_PROG_CC_STDC): Change -Xc -D_POSIX_C_SOURCE to
	`-Xc -D__EXTENSIONS__' because of problems with Solaris header
	files.  Suggested by Kaveh Ghazi.

Wed Apr  3 07:08:57 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* src/Makefile.am (INCLUDES): Add -I$(srcdir) to get system.h
	when srcdir != builddir.  From Kaveh Ghazi.

	* lib/getugroups.c: Include stdio.h before grp.h.  Because
	<grp.h> on alpha OSF1 V2.0 uses "FILE *".  From Kaveh Ghazi.

Sun Mar 31 16:26:06 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* configure.in: Simplify checking for math library.
	This also eliminates some confusing output from configure.
	Suggested by François Pinard.

Fri Mar 29 22:13:10 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* src/Makefile.am (INCLUDES): Replace -I$(top_srcdir)/intl with
	-I../intl.  With the former, compiles didn't find libintl.h when
	configured with `--srcdir=..'.  Reported by Marcus Daniels
	<marcus@sysc.pdx.edu>.

	* doc/Makefile.am (EXTRA_DIST): Set to getdate.texi so that file
	gets distributed.

	* src/Makefile.am (EXTRAdir): Set to $(bindir).

Thu Mar 28 23:01:48 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* ChangeLog.0: New file.
	* Makefile.am (EXTRA_DIST): Add ChangeLog.0.

Thu Mar 28 00:06:28 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* man/Makefile.am (man_MANS): Add chroot.1.
	* src/Makefile.am (EXTRA_PROGRAMS): Add chroot.

Sun Dec 24 10:55:34 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

	* configure.in: Check for chroot a la uname.
	* src/chroot.c, man/chroot.1: New files.

Sun Mar 24 11:44:35 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* su.c: Protoize and reorder functions to obviate forward decls.

	* seq.c: Make parameters const where appropriate.
	Rename global FROM to START.
	(print_numbers): Rewrite loops to avoid incrementing.  Instead,
	use `x = first + i * increment' paradigm.  Otherwise, with inexact
	increment, you could miss the last value.

	* xstrtod.c: New file.
	* xstrtod.h: New file.
	* lib/Makefile.am: Add xstrtod.c and xstrtod.h.
	* seq.c: Include xstrtod.h.
	(scan_double_arg): Use xstrtod rather than strtod directly.

	* src/*: Update FSF's address.

Thu Mar 21 16:43:13 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* src/*.c (main): Declare to be of type int, not void.

Sat Mar 16 10:07:49 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* configure.in (PACKAGE_VERSION): New macro.
	(OPTIONAL_BIN_PROGS): Rename from OPTIONAL_PROGS.
	* acconfig.h (PACKAGE_VERSION): Add it.
	* src/Makefile.am: Remove rules for generating version.c.
	Remove references to version.o, version.h, and stamp-v.
	[.sh]: Change @VERSION@ to @PKG_VERSION@.
	On RHS of sed substitution, use @PACKAGE_VERSION@, not GNUVER.
	(OPTIONAL_BIN_PROGS): Rename from OPTIONAL_PROGS.
	(install-exec-local): New target/rules to make the installed su
	binary setuid root or failing that, to delete it.
	* false.sh groups.sh nohup.sh true.sh: Use @PKG_VERSION@,
	not @VERSION@.
	* version.c: Remove file.
	* version.h: Remove file.
	* basename.c date.c dirname.c echo.c env.c expr.c factor.c
	hostname.c id.c logname.c nice.c pathchk.c printenv.c printf.c
	pwd.c seq.c sleep.c stty.c su.c tee.c test.c tty.c uname.c
	who-users.c whoami.c yes.c: Don't include version.h.
	(main): Use PACKAGE_VERSION instead of version_string.

Fri Mar 15 23:42:29 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* basename.c: Remove __P-protected prototype for basename.
	Reported by François Pinard.
	(remove_suffix): Move to precede use.  Remove prototype.
	Declare formal parameter SUFFIX to be const.

	* pathchk.c (validate_path): Cast path_max to size_t before
	comparing with strlen(path).

	* who-users.c (read_utmp): Declare n_read to be of type size_t
	rather than int.

Tue Mar 12 17:52:05 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* basename.c date.c dirname.c echo.c env.c expr.c factor.c hostname.c
	id.c logname.c nice.c pathchk.c printenv.c printf.c pwd.c seq.c
	sleep.c stty.c su.c tee.c test.c tty.c uname.c who-users.c whoami.c
	yes.c (main): Initialize for internationalized message support:
	call setlocale, bindtextdomain, and textdomain.
	* system.h: Add definitions and includes for NLS.
	* Makefile.am (SUBDIRS): Add intl and po.
	* src/Makefile.am (datadir): Define.
	(localedir): Define.
	(DEFS): Add LOCALEDIR definition.
	(LDADD): Add @INTLLIBS@.
	* aclocal.m4: Add NLS-related macro definitions from
	gettext distribution.
	* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_LC_MESSAGES,
	HAVE_STPCPY): New macros.
	Add PACKAGE and VERSION.
	* configure.in (PACKAGE): Define with AC_DEFINE_UNQUOTED.
	(VERSION): Likewise.
	(ALL_LINGUAS): Define.
	(ud_GNU_GETTEXT): Use it.
	Link an nls file.
	(AC_OUTPUT): Reflect addition of two new directories, intl and po.
	Create po/Makefile.
	Mostly from François Pinard.

Wed Mar  6 21:40:34 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* who-users.c (print_entry): Use STRUCT_UTMP, not `struct utmp' to
	declare formal parameter.

Tue Mar  5 22:49:33 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* getdate.y (RelativeMonth): Add 1900 to the year so that relative
	date specs that push the year through the end of the century work.
	For example, `date -d "01/01/1998 3 years" +%Y' now prints 2001.
	From Peter Dalgaard (pd@kubism.ku.dk).

Mon Mar  4 23:46:43 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* seq.c (main): Exit after processing --version.
	Reported by François Pinard.

Fri Mar  1 23:46:32 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* expr.c (docolon): Don't initialize re_syntax_options to
	deceptively-named RE_SYNTAX_POSIX_BASIC -- it recognizes non-BRE
	\?, \+, and \|.  Use RE_SYNTAX_POSIX_MINIMAL_BASIC instead.

	* od.c (WINDOWS_SETFILEMODE_BINARY): New macro.
	(skip) [_WIN32 && _O_BINARY]: Use it.
	(read_char): Likewise.
	(read_block): Likewise.
	[_WIN32 && _O_BINARY]: Include malloc.h and io.h.
	Based on changes by Gary Newman <gnewman@shore.net>.

Wed Feb 28 21:48:07 1996  Paul Eggert  <eggert@twinsun.com>

	* configure.in (LOCALTIME_CACHE):
	Also define if localtime mishandles unsetting TZ.
	This works around a localtime bug in mips-dec-ultrix.

Wed Feb 28 23:08:24 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* lib/Makefile.am (su_SOURCES): Add xstrtoul.c.
	(noinst_HEADERS): Add xstrtoul.h.

	* factor.c: General cleanup.  Use xstrtoul, not atoi.
	Change output format.  Allow inputs as large as ULONG_MAX.
	Allow more than one command line argument.

	* stty.c (wrapf) [!__STDC__]: Indent by one space the first line
	of the pre-ANSI function definition so ansi2knr doesn't munge it.

	* src/Makefile.am: Adapt for automake-0.30.
	* lib/Makefile.am: Likewise.

	* expr.c (eval6): Cast strlen to int to avoid warning from gcc -Wall.

Sun Feb 25 22:19:52 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* src/Makefile.am (BUILT_SOURCES): Set to `who.c users.c'.
	(MOSTLYCLEANFILES): Add who.c and users.c.
	(who.c): New rule to create this file.  Concatenate definition of
	WHO and contents of who-users.c.
	(users.c): New rule to create this file.  Concatenate definition of
	USERS and contents of who-users.c.

Sat Feb 24 12:20:58 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* readtokens.c: Unprotoize.

	* expr.c (cmpf): Indent macro uses so ansi2knr doesn't mistake them
	for function dcls and munge them.
	(arithf): Likewise.
	(arithdivf): Likewise.

	* test.c: __P-protect forward declarations.
	(main): Protoize function definition.

	* date.c (batch_convert): Declare BUFLEN local to be of type size_t,
	not int.

	* expr.c (docolon): Set re_syntax_options to RE_SYNTAX_POSIX_BASIC
	so expr's pattern matching uses BASIC (not GNU-extended) REs.
	Reported by Jim Kingdon.

	* who-users.c (print_entry): Use strchr, not index.

	* configure.in (AC_CHECK_HEADERS): Add sys/socket.h.
	* canon-host.c [HAVE_SYS_SOCKET_H]: Include <sys/socket.h> for
	definition of AF_INET on at least SunOS 4.

Tue Feb 13 23:49:16 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* who-users.c (main): When failing because there were
	`too many arguments,' say so.

Mon Feb 12 23:26:05 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* configure.in (AC_CHECK_FUNCS): Add gethostbyname, gethostbyaddr,
	and inet_ntoa.
	(AC_CHECK_HEADERS): Add netdb.h netinet/in.h arpa/inet.h.
	* lib/canon-host.c: New file.
	* lib/Makefile.am (su_SOURCES): Add canon-host.c.
	* src/who.c (print_entry): If possible, canonicalize the host hame.
	From Miles Bader (miles@gnu.ai.mit.edu).

	Update for automake-0.29.
	* Makefile.am (CONFIG_HEADER): Don't define.  Automake now does it.
	* src/Makefile.am: Likewise.
	* lib/Makefile.am: Likewise.
	* doc/Makefile.am (info_TEXINFOS): Renamed from TEXINFOS.
	* man/Makefile.am (man_MANS): Renamed from MANS.

Wed Jan 31 23:40:50 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* lib/strftime.c (add_num_tz): New function.
	(strftime): Handle new %z format.
	* date.c (main): Accept new option, --rfc-822 (-R).
	(show_date): Use RFC822-mandated strftime format.
	From H. Peter Anvin (hpa@storm.net).
	(usage): Add a line describing the new option.

	* lib/strftime.c (add_num_tz): Don't use local, LENGTH,
	before it's defined.

Mon Jan 29 19:24:04 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* acconfig.h (PROTOTYPES): Define it.

Fri Jan 19 22:00:08 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* aclocal.m4 (fp_PROG_INSTALL): New macro.
	* configure.in: Use it instead of AC_PROG_INSTALL.

	* who-users.c: Protoize.

Wed Jan 17 23:37:59 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* stty.c: Protoize and __P-protect forward dcls.
	(visible): Change parameter type to unsigned int from unsigned char.
	(integer_arg): Use xstrtol instead of open-coding this.

	* lib/Makefile.am (su_SOURCES): Add xstrtol.c.
	(HEADERS): Add xstrtol.h.

	* test.c (advance): Protoize function.

	* sleep.c (argdecode): Declare parameter const.

Sat Jan 13 22:31:23 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* stty.c: Indent cpp directives.

Sun Jan  7 23:56:03 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	Use automake to generate Makefile.in files.
	* Makefile.am: New file.
	* doc/Makefile.am: New file.
	* lib/Makefile.am: New file.
	* man/Makefile.am: New file.
	* src/Makefile.am: New file.

	* configure.in (OPTIONAL_PROGS, OPTIONAL_SCRIPTS): New variables
	used in place of PROGS.

Sat Jan  6 05:13:40 1996  Jim Meyering  (meyering@na-net.ornl.gov)

	* configure.in (PACKAGE, VERSION): New variables.
	(fp_C_PROTOTYPES): Use it.

	* printf.c (print_esc_char): Change type of argument from char
	to int to avoid potential promotion problem.
	* uname.c (print_element): Likewise.

	* system.h [__P]: New macro.

	* basename.c, date.c, dirname.c, echo.c, env.c, expr.c, factor.c,
	hostname.c, id.c, logname.c, nice.c, pathchk.c, printenv.c,
	printf.c, pwd.c, seq.c, sleep.c, tee.c, test.c, tty.c, uname.c,
	whoami.c, yes.c: Protoize and __P-protect forward dcls.

	* who-users.c: New file.  Renamed from who.c.
	* who.c: Define WHO and include who-users.c.
	* uses.c: Define USERS and include who-users.c.

	* id.c Remove no-longer-used NGROUPS_MAX cpp macros.
	(print_group_list) [HAVE_GETGROUPS]: Reorganize to use
	getgroups (0, NULL) to compute number of groups at run time
	rather than relying on NGROUPS_MAX at compile time.
	(print_full_info) [HAVE_GETGROUPS]: Likewise.
	Suggestion from Roland McGrath.

	* su.c: Remove NGROUPS_MAX junk.  It wasn't being used.

Wed Jan  3 19:03:26 1996  Paul Eggert  <eggert@twinsun.com>

	* configure.in (LOCALTIME_CACHE): Define if tzset exists and
	if localtime caches TZ.  Check for tzset.
	* acconfig.h (LOCALTIME_CACHE): New macro.
	* date.c (putenv): Declare.
	(universal_time): Remove.
	(main): If -u is given, set TZ to "UTC0"; this causes date to use
	UTC uniformly and fixes bugs in the handling of date -u +'%s %Z'.
	(show_date): Just use localtime and a single format, since TZ will
	be set properly if -u is given.

Fri Dec 22 21:34:55 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* configure.in: Touch stamp-h only if config.h is remade.

Sun Nov 26 16:09:33 1995  Jim Meyering  (meyering@comco.com)

	* test.c (usage): Clarify usage.  From Karl Berry.

Wed Nov 22 23:12:47 1995  Jim Meyering  (meyering@comco.com)

	* Makefile.in (all et. al.): If make was invoked with -k and a
	sub-make fails, fail after the loop rather than exiting right away.
	Otherwise, make's -k option could be ineffective.

Thu Nov 16 21:25:45 1995  Jim Meyering  (meyering@comco.com)

	* Makefile.in (default): New default target.  Depend on `all' to work
	around bug in AIX-3.2.5's /bin/make.  Reported by Andreas Luik
	<luik@isa.de>.

Tue Nov  7 23:53:20 1995  Jim Meyering  (meyering@comco.com)

	* stty.c (usage): Clarify descriptions of ignpar and ignbrk.
	From Theodore Ts'o and Ulrich Windl.

Sun Oct 29 08:47:50 1995  Jim Meyering  (meyering@comco.com)

	* test.c [TEST_STANDALONE]: Define.
	* src/Makefile.in (test.o): Remove special rule.

Sat Oct 28 00:49:13 1995  Jim Meyering  (meyering@comco.com)

	* aclocal.m4 (jm_WITH_AUTODEPS): New directive.
	* configure.in: Use it.

	* lib/Makefile.in (INCLUDE, COMPILE): New variables.
	(.c.o): Rewrite to be more like src/Makefile.in.
	Add line that (--with-autodeps) will include mkdep-Makefile.
	(distclean): Remove .deps.
	* src/Makefile.in: Likewise.

	* mkdep-Makefile: New file.
	* Makefile.in (DISTFILES): Add mkdep-Makefile.

	* doc/Makefile.in (mostlyclean): Remove *.info.

	* date.c: New option --reference=FILE (-r FILE) analogous to the
	like-named touch option.
	(main): Recognize it and give diagnostic for misuse.
	(usage): Describe briefly.
	From Franc,ois Pinard.

	* date.c (batch_convert): Close input stream also when it's not stdin.
	(main): Reorganize to do option-consistency checks before all else.

Tue Sep 26 23:05:01 1995  Jim Meyering  (meyering@comco.com)

	* man/Makefile.in (install-data, uninstall): Use sed not basename.
	The GNU Coding Standard suggests that only a select set of
	relatively standard utilities be used in Makefiles.  basename is
	not among them.  Suggested by Ulrich Drepper.

Tue Aug  8 22:57:34 1995  Jim Meyering  (meyering@comco.com)

	* yes.c: Include system.h to get definition of _.

Mon Aug  7 23:27:54 1995  Jim Meyering  (meyering@comco.com)

	* system.h (_): Define macro -- as empty for now.
	* src/*.c: Annotate localizable strings with _(...).  From Franc,ois.

	* Makefile.in (DISTFILES): Don't distribute unneeded COPYING.LIB.
	From Franc,ois.

Fri Jun 23 23:04 1995  Jim Meyering  (meyering@comco.com)

	* configure.in: (AC_REPLACE_FUNCS): Add memcpy and memset.
	Add checks for floor, modf, and rint -- all used by seq.c.

Mon Jun 12 00:26:54 1995  Jim Meyering  (meyering@comco.com)

	* getdate.y (Convert): Use 2037 as threshold, not 1999.
	Before years after 1999 were treated as invalid.
	From Andreas Schwab.

Sat May 27 00:35:47 1995  Jim Meyering  (meyering@comco.com)

	* system.h [!STDC_HEADERS && HAVE_MEMORY_H]: Include memory.h.
	Without this, SunOS doesn't get type for memchr.
	Reported by Kaveh Ghazi.

Sun May 21 07:20:55 1995  Jim Meyering  (meyering@comco.com)

	* Makefile.in (.PHONY): TAGS is not a phony target.  From Franc,ois.

	* All Makefile.in (install-exec, install-exec): New targets.
	From Karl Berry.

	* all Makefile.in (maintainer-clean): Renamed from realclean
	per GNU Standards.

Mon May 15 01:00:08 1995  Jim Meyering  (meyering@comco.com)

	* all source files (usage): Include one- or two-line synopsis
	in --help output.  From Karl Berry.

Sat May 13 08:57:20 1995  Jim Meyering  (meyering@comco.com)

	* lib/Makefile.in (maintainer-clean): Rename from realclean.
	(.PHONY): New dependencies.
	[.c.o]: Remove -I. since safe-l?stat.h are no longer used.

Fri May 12 21:25:50 1995  Jim Meyering  (meyering@comco.com)

	* test.c (usage): Remove duplicate descriptions of --help
	and --version.  From Karl Berry.

	* pathchk.c: Use stat (lstat), not safe_stat (safe_lstat).
	* test.c: Likewise.
	* who.c: Likewise.

	* lib/Makefile.in (SOURCE): Add memcpy.c, memset.c.
	Remove all reference to (now unused) safe-xstat.hin.

Tue Apr 18 22:57:43 1995  Jim Meyering  (meyering@comco.com)

	* configure.in: (AC_OUTPUT): Use echo, not date, to avoid creating
	unnecessary conflicts for people using version control software
	like RCS and CVS.
	(AC_ARG_PROGRAM): Use it.

Fri Mar 10 21:14:11 1995  Jim Meyering  (meyering@comco.com)

	* src/*.c: Update Copyright dates.

Mon Feb 27 08:05:25 1995  Jim Meyering  (meyering@comco.com)

	* system.h: Separate errno declaration from STDC_HEADERS.
	Remove bcopy, bzero, strchr, strrchr definitions.

	* stty.c (main, set_window_size): Use memset instead of bzero.
	* su.c (correct_password): Likewise.

	* seq.c Remove \n's from error format strings.
	(main): Let `seq 1 1' work.
	Invoke usage always with 1 when failing.

Sat Feb 11 08:27:12 1995  Jim Meyering  (meyering@comco.com)

	* src/Makefile.in (install): Fix rules for su to avoid relying on
	just-built `id' executable.  That would lose when cross-compiling and
	on systems like GNU in which a user may have several effective IDs.
	(SOURCES, OBJECTS, PROGS): Add seq.
	* Makefile.in (PROGS): Add seq.

	* configure.in (AC_REPLACE_FUNCS): Add memcmp, memcpy, and memset.
	(AC_CHECK_FUNCS): Add strchr and strrchr.
	* lib/Makefile.in (SOURCES): Add memcmp.c, memcpy.c, and memset.c.

	* system.h: Remove index/rindex and bcmp/bcopy/bzero references.
	Separate errno declaration from STDC_HEADERS.

Thu Jan 26 23:38:04 1995  Jim Meyering  (meyering@comco.com)

	* getdate.y (ToSeconds): Properly convert 12am and 12pm.
	From Takeshi Sone <ts1@tsn.or.jp>.

	* lib/Makefile.in (SOURCES, OBJECTS, DISTFILES): Add readtokens.[coh].
	(all): Depend on safe-stat.h and safe-lstat.h.

	* date.c (batch_convert): Remove any trailing newline from offending
	line before including it in the `invalid date' error from `date -f'.
	Reported by Franc,ois Pinard.

Sat Dec 31 09:25:09 1994  Jim Meyering  (meyering@comco.com)

	* factor.c: New file.
	* Makefile.in (PROGS): Add factor.
	* src/Makefile.in (SOURCES, OBJECTS, PROGS): Add factor.
	(factor): New rule.

Mon Dec 26 18:31:08 1994  Jim Meyering  (meyering@comco.com)

	* test.c (term): Running `./test \( a -o b' got a seg fault.
	From from Klaus.Reichl@aut.alcatel.at.

Mon Dec 19 22:05:12 1994  Jim Meyering  (meyering@comco.com)

	* src/*.c: Include "error.h" rather than simply declaring
	`void error ();'.
	* src/Makefile.in (OBJECTS): Depend on ../lib/error.h.

	* lib/Makefile.in (DISTFILES): Remove safe-xstat.cin.
	(distclean): Remove references to safe-l?stat.c.
	Remove all related rules and dependencies.

	* safe-xstat.hin (SAFE_LSTAT, SAFE_STAT): Remove macros.
	Now that we always define the functions, these are no longer needed.

	* pathchk.c (dir_ok): Use safe_stat instead of SAFE_STAT.
	* who.c (print_entry): Likewise.
	* test.c (test_stat, binary_operator): Likewise.
	(unary_operator): Use safe_lstat instead of SAFE_LSTAT.

Mon Dec 12 22:42:09 1994  Jim Meyering  (meyering@comco.com)

	* expr.c (docolon): Zero out re_buffer and re_regs before using them.
	From H.J. Lu <hjl@nynexst.com>.

Sun Dec  4 14:53:12 1994  Jim Meyering  (meyering@comco.com)

	* dirname.c (main): Use strchr and strrchr instead of index and rindex.
	* echo.c (main): Likewise.
	* env.c (main): Likewise.
	* pathchk.c (validate_path): Likewise.
	* printf.c (print_formatted, print_esc): Likewise.
	* test.c [member]: Likewise.
	* who.c (extract_trimmed_name): Likewise.
	* system.h [!HAVE_STRING_H]: Define strchr to index and strrchr to
	rindex instead of the other way around.

	* doc/Makefile.in (DISTFILES): Add getdate.texi.

Sat Dec  3 07:59:55 1994  Jim Meyering  (meyering@comco.com)

	* configure.in (AC_CHECK_FUNCS): Add strchr and strrchr.
	(AC_CHECK_HEADERS): Add stdlib.h.
	(LIBS): If the strtod replacement is required, check for pow in -lm.
	* src/Makefile.in (printf): Remove hard-coded -lm.  Not every
	system has it.

Thu Nov 17 23:47:26 1994  Jim Meyering  (meyering@comco.com)

	* who.c (list_entries): Delete.  Split in two actually...
	(list_entries_users, list_entries_who, userid_compare): New functions.
	(list_entries_users): Sort the user names.  Reported by
	Michael I Bushnell.
	Topologically sort the functions and remove fwd declarations.