File: ChangeLog.3

package info (click to toggle)
glibc 2.19-13
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 202,472 kB
  • ctags: 140,344
  • sloc: ansic: 969,274; asm: 241,208; sh: 10,047; makefile: 8,467; cpp: 3,595; perl: 2,077; pascal: 1,839; awk: 1,704; yacc: 317; sed: 73
file content (1644 lines) | stat: -rw-r--r-- 62,249 bytes parent folder | download | duplicates (24)
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
Sun Jun  5 14:34:12 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* Version 1.08.1.

	* sysdeps/mach/hurd/ioctls.h (_IOR, _IOW): Swap IOC_IN and IOC_OUT.

	* sysdeps/mach/hurd/__ioctl.c: Only pack input for ioctls that
	take input.  Compute expected reply size for ioctls that take
	output and check it properly.

Sat Jun  4 00:35:42 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* sysdeps/mach/hurd/ioctls.h (union __ioctl): Type removed.
	(enum __ioctl_datum): Name this enum.
	(_IOC_INOUT, _IOC_GROUP, _IOC_COMMAND, _IOC_TYPE): New macros.
	(_IOT_TYPE[012], _IOT_COUNT[012]): New macros.
	* sysdeps/mach/hurd/__ioctl.c: Use those macros instead of the union.

	* sysdeps/mach/hurd/__fork.c: Major rewrite.  Copy all ports
	present in the task, not just library-maintained ones.  Handle
	sigstate and signal thread setup explicitly here.
	* hurd/hurdsig.c (hurdsig_fork, hurdsig_fork_child): Functions
	removed.

	* hurd/hurdpid.c (init_pids): Don't put this on _hurd_fork_child_hook.

	* sysdeps/mach/hurd/__isatty.c: New file.

	* hurd/hurdsock.c (_hurd_socket_server): Pass NP to __path_lookup,
	not NAME (most of which is uninitialized).

	* hurd/hurdsig.c (_hurdsig_init): Don't check for _hurd_msgport
	being non-null; always initialize it.

Fri Jun  3 21:57:14 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* hurd/hurdrlimit.c (init_rlimit): Restore __mutex_init call.
	(_hurd_rlimit_lock): Set initializer to random value; run-time
	initialization is always required.

	* inet/rcmd.c (rcmd): Compute max fd + 1 for select instead of
	hardcoding 32.

Wed Jun  1 10:52:41 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)

	* hurd/hurdrlimit.c (_hurd_rlimits, _hurd_rlimit_lock): Provide
	initializers so that the file is included in the link properly.
	(init_rlimit): Omit call to __mutex_init.

Tue May 31 18:15:33 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* hurd/hurdmalloc.c (more_memory): Do spin_lock_init on H->lock.
	(malloc_init): New function; put it on _hurd_preinit_hook.

	* sysdeps/mach/hurd/defs.c (init_stdio): If stream already
	allocated, don't allocate a new one.  Don't crash if _hurd_alloc_fd
	returns null if __newstream does.

	* sysdeps/mach/hurd/__brk.c (init_brk): If _hurd_brk is nonzero,
	leave it as it is.  Set PAGEND from _hurd_brk instead of &_end.

Mon May 30 18:37:47 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* hurd/hurdrlimit.c (init_rlimit): Put this on _hurd_preinit_hook
	instead of _hurd_subinit.

	* sysdeps/mach/hurd/mig-reply.c (mig_fork_child): Function removed.
	* hurd/dtable.c (fork_parent_dtable): Function removed.

	* sysdeps/generic/resourcebits.h: Rename RLIM_NLIMITS to
	RLIMIT_NLIMITS, add alias for old name.

	* sysdeps/mach/hurd/Makefile (hurd-objpfx): New variable.
	(before-compile): Use that instead of $(common-objpfx).

	* sysdeps/mach/Makefile [! objpfx] (mach-objpfx): Add trailing slash.

Fri May 27 01:34:56 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* hurd/hurdsig.c (_hurdsig_init): Always initialize _hurd_sigthread.

	* hurd/dtable.c: Use data_set_element instead of text_set_element
	for _hurd_fork_locks.
	* hurd/hurdsig.c: Likewise.

	* hurd/hurd.h (_hurd_set_data_limit): Declaration removed.

	* hurd/dtable.c (_hurd_dtable_rlimit): Variable removed.
	(init_dtable): Don't set it.

	* hurd/Makefile (headers): Add hurd/resource.h.
	(routines): Add hurdrlimit.
	* hurd/hurd/resource.h: New file.
	* hurd/hurdrlimit.c: New file.
	* sysdeps/mach/hurd/getrlimit.c: Rewritten to just fetch
	_hurd_rlimits.
	* sysdeps/mach/hurd/setrlimit.c: Rewritten to just set _hurd_rlimits.
	* sysdeps/mach/hurd/__brk.c (_hurd_data_limit): Variable removed.
	(_hurd_set_brk): Use _hurd_rlimits[RLIMIT_DATA].
	(_hurd_set_data_limit): Function removed.
	* hurd/alloc-fd.c (_hurd_dtable_rlimit): Variable removed.
	(_hurd_alloc_fd): Use _hurd_rlimits[RLIMIT_OFILE] instead.

	* sysdeps/generic/resourcebits.h: Add RLIMIT_NOFILE as an alias
	for RLIMIT_OFILE.

	* sysdeps/mach/hurd/mig-reply.c (__mig_init): Argument is stack
	on which to set the per-thread reply port variable.

	* sysdeps/mach/hurd/__brk.c (init_brk): Set _hurd_data_end to
	DATA_SIZE bytes past the beginning of data space, rather than to
	DATA_SIZE absolutely.  If vm_map fails, set it to PAGEND.

	* sysdeps/mach/hurd/start.c (_start): Run _hurd_preinit_hook right
	after __mach_init.

	* stdio/freopen.c (freopen): Rewritten using __stdio_reopen to
	preserve the old cookie value when possible.
	* sysdeps/posix/sysd-stdio.c (__stdio_reopen): New function.
	* sysdeps/stub/sysd-stdio.c (__stdio_reopen): New function.
	* sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): New function.

	* stdio/freopen.c (freopen): Close the stream if MODE is invalid.

	* hurd/hurdsig.c (_hurd_core_limit): Define variable.

	* socket/sys/socket.h (PF_LOCAL): Define in preference to PF_FILE.

Thu May 26 12:09:51 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)

	* hurd/alloc-fd.c (_hurd_alloc_fd): Don't return EINVAL when
	FIRST_FD is greater than _hurd_dtablesize and less than
	_hurd_dtable_rlimit.  If we want to grow _hurd_dtable, but
	_hurd_dtablesize is as big as _hurd_dtable_rlimit, then return
	EMFILE.  When growing _hurd_dtable, actually do something if
	_hurd_dtablesize is zero.
	
	* hurd/hurdmalloc.c (malloc_fork_prepare, malloc_fork_parent,
	malloc_fork_child): Declare as static so they don't conflict with
	the user's version of this file.

Wed May 25 20:55:16 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/mach/hurd/__brk.c: Include <cthreads.h> instead of
	<mutex.h>.

	* hurd/hurdmalloc.c, hurd/hurdmalloc.h: New files (temporary hack).
	* hurd/Makefile (routines): Append hurdmalloc.
	(distribute): Append hurdmalloc.h.
	* hurd/alloc-fd.c: Include "hurdmalloc.h" (temporary hack).
	* hurd/dtable.c: Likewise.
	* hurd/hurdinit.c: Likewise.
	* hurd/hurdsig.c: Likewise.
	* hurd/hurdsock.c: Likewise.
	* hurd/new-fd.c: Likewise.
	* sysdeps/mach/hurd/start.c: Likewise.

	* sysdeps/mach/hurd/start.c (start1): Use malloc and a for loop
	instead of calloc.
	* hurd/hurdsig.c (_hurd_thread_sigstate): Use malloc and memset
	instead of calloc.

	* sysdeps/mach/hurd/__brk.c (init_brk): Reference self to avoid
	compiler warning.  Add init_brk to _hurd_preinit_hook instead of
	__libc_subinit.

	* sysdeps/mach/hurd/start.c (_hurd_preinit_hook): New variable.
	(start1): Run _hurd_preinit_hook before threadvar setup.

Tue May 24 17:42:34 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* hurd/dtable.c (init_dtable): Initialize _hurd_dtablesize to
	_hurd_init_dtablesize.  Initialize _hurd_dtable_rlimit as
	_hurd_dtablesize used to be set, but don't let it be zero.
	(_hurd_dtable_rlimit): New variable.

Tue May 24 12:57:19 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)

	* sysdeps/mach/sleep.c (sleep): Timeout arg to mach_msg is
	in milliseconds, not microseconds; compute it accordingly.

	* sysdeps/mach/hurd/__select.c (__select): Deleted variables
	DTABLE and DTABLE_ULINK.  Use new vars _hurd_dtablesize and
	_hurd_dtable instead of old _hurd_dtable structure.  Use new
	locking protocol on _hurd_dtable.

Tue May 24 01:55:24 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/mach/hurd/__setitmr.c: Don't include mutex.h.

	* sysdeps/mach/hurd/defs.c (init_stdio): Reference self.

	* sysdeps/unix/sysv/sysv4/i386/sysdep.h: Include
	sysdeps/unix/sysv/i386/sysdep.h, not sysdeps/unix/i386/sysdep.h

Mon May 23 19:05:44 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/mach/hurd/Makefile (mib_hacks, defines): Variables removed.

	* mach/devstream.c (mach_open_devstream): Set STREAM's seek and
	fileno io functions to null.

	* hurd/hurdexec.c (_hurd_exec): Fixed adding of dtable ports to
	PLEASE_DEALLOC array.

	* sysdeps/mach/hurd/defs.c (init_stdio): Unlock the descriptors
	after fetching them.  If a standard descriptor is not allocated,
	allocate the structure and store its pointer in the stream anyway.

	* stdio/gets.c: Only return null on P==S if feof (STREAM).

	* stdio/vfprintf.c: Make %Z a type modifier, not a format spec.

	* sysdeps/mach/hurd/fdopen.c: Return NULL rather than -1 for error.

Mon May 23 14:24:50 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)

	* sysdeps/mach/hurd/__close.c (__close): Use new _hurd_fd_get
	protocol.
	* sysdeps/mach/hurd/__dup2.c (__dup2): Likewise.  Use
	_hurd_dtablesize and _hurd_dtable instead of old _hurd_dtable
	structure.

	* sysdeps/mach/hurd/sysd-stdio.c (__stdio_seek): Use
	HURD_FD_PORT_USE, not HURD_FD_USE.
	* sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Variable
	is D, not FD.

	* hurd/alloc-fd.c (_hurd_alloc_fd): Arg FIRST_FD is not actually
	const. 
	* hurd/hurdsig.c (_hurd_internal_post_signal [case SIGINFO]): If
	we are not the process group leader, ignore the signal.
	(_S_sig_post [case SIGURG]): Declaration of D was out of place.

	* sysdeps/mach/hurd/fdopen.c: Include <hurd/io.h> for 
	io_get_openmodes prototype.

Sat May 21 16:03:23 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* assert/assert.c (__assert_fail): Put program name first in msg.

	* hurd/Makefile (dtable): Removed setdtsz.

	* hurd/hurdexec.c: Use _hurd_dtable and _hurd_dtablesize instead of
	old _hurd_dtable structure.
	* hurd/hurdsig.c: Likewise.
	* hurd/alloc-fd.c: Likewise.
	* hurd/hurdioctl.c (rectty_dtable): Likewise.

	* Version 1.08 released.

	* mach/mach_error_string.c: Renamed to errstring.c.
	* mach/Makefile (routines): Renamed mach_error_string to errstring.
	* mach/err_mach_ipc.sub: Renamed to err_mach.sub.
	* mach/err_bootstrap.sub: Renamed to err_boot.sub.

	* sysdeps/generic/sigset.h (__SIGSETFN): Take new arg CONST; use it
	for CONST qualifier on SET arg to generated function.
	Changed uses to pass it; sigismember passes __const, others empty.

	* sysdeps/mach/hurd/sysd-stdio.c: Rewritten to use `struct hurd_fd *'s
	for cookies.
	* sysdeps/mach/hurd/fdopen.c: Rewritten accordinly.
	* sysdeps/mach/hurd/defs.c (init_stdio): Rewritten accordingly.
	Add it to the _hurd_fd_subinit hook instead of the __libc_subinit
	hook.
	* sysdeps/mach/hurd/stdio_init.c: New file.
	* hurd/dtable.c (_hurd_fd_subinit): New hook variable.
	(init_dtable): Run the _hurd_fd_subinit hook.

	* hurd/hurd/fd.h (struct hurd_dtable): Type removed.
	(_hurd_dtable_users, _hurd_dtable_rlimit): Variables removed.
	(_hurd_dtable): Make this a struct hurd_fd **.
	(_hurd_dtablesize): New variable.
	(struct hurd_fd_user): Type removed.
	(_hurd_dtable_get, _hurd_dtable_free, _hurd_dtable_fd): Functions
	removed.
	(_hurd_fd_get): Rewritten.  Take just one arg, and look it up in
	_hurd_dtable; return a struct hurd_fd *.
	(HURD_FD_USE): Rewritten to use new _hurd_fd_get interface.
	* hurd/dtable.c	(_hurd_dtable_users, _hurd_dtable_rlimit):
	Variables removed.
	(_hurd_dtable): Make this a struct hurd_fd **.
	(_hurd_dtablesize): New variable.
	(init_dtable, fork_parent_dtable, fork_child_dtable,
	ctty_new_pgrp, reauth_dtable): Use new simpler _hurd_dtable format.
	* sysdeps/mach/hurd/__getdtsz.c: Use _hurd_dtablesize.
	* sysdeps/mach/hurd/__fcntl.c: Use new _hurd_fd_get protocol.

	* hurd/dtable.c (get_dtable_port): Return the ctty port if set.

	* hurd/hurd/fd.h (_hurd_fd_error_signal): New function, broken out
	of _hurd_fd_error.
	(_hurd_fd_error): Call it.

	* hurd/Makefile (dtable): Add fd-close.
	* hurd/fd-close.c: New file.
	* hurd/hurd/fd.h: Declare _hurd_fd_close.

	* sysdeps/mach/hurd/__close.c: Call _hurd_fd_close.

	* signal/Makefile (routines): Add sigsetops.
	* signal/sigsetops.c: New file.

	* sysdeps/unix/sysv/sysv4/sigset.h (_EXTERN_INLINE): New macro.
	Use it for all the inline functions.

	* signal/signal.h: Move #include <signum.h> inside #ifdef _SIGNAL_H.

	* sysdeps/generic/sigset.h: Protect types with #ifndef
	_SIGSET_H_types.  Protect rest with #if !defined (_SIGSET_H_fns)
	&& defined (_SIGNAL_H).
	(__SIGSETFN): Add extern declaration of NAME inside function.

	* sysdeps/unix/ioctls-tmpl.c: Add missing #endif.
	* sysdeps/unix/Makefile (make-ioctls-CFLAGS): Remember -D.

Fri May 20 20:42:33 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/unix/Makefile (sys/termios.h): Variable removed.
	(ioctl-includes): New variable.
	(make-ioctls-CFLAGS): Compute value generally from $(ioctl-includes).
	($(common-objpfx)ioctls): Depend on $(ioctl-includes), instead of
	$(sys/termios.h).

	* sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: New file.
	* sysdeps/unix/sysv/sco3.2.4/Makefile (sysdep_routines): Add
	sco_getgrp.
	* sysdeps/unix/sysv/sco3.2.4/__getgrps.c: New file.

	* sysdeps/generic/sigset.h (__sigismember, __sigaddset, __sigdelset):
	Rewritten as extern inline functions; check for bogus signal number.

	* configure.in (names): Put $implied before $* in new $sysnames
	list remaining to be processed; this ensures unix/common precedes
	unix/sysv4 for sysv4.

Thu May 19 18:35:02 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)

	* sysdeps/mach/hurd/defs.c (init_stdio): Make stdin and stdout
	line buffered and stderr unbuffered.

Thu May 19 16:14:36 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/mach/hurd/getcwd.c: Remember to call io_stat on cwdir.

	* sysdeps/generic/configure.in: Use changequote around if expr
	to avoid [] elision.

Thu May 19 13:53:59 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)

	* hurd/hurdsock.c (_hurd_socket_server): Return EPFNOSUPPORT
	rather than EPROTONOSUPPORT because it's the entire protocol
	family that isn't present, not just one protocol.

	* sysdeps/mach/hurd/__access.c (__access): Don't deallocate
	CRDIR or CWDIR; that's taken care of by the _hurd_port_get
	and _hurd_port_free system.

Thu May 19 04:14:57 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/posix/libc_fatal.c: Include <errno.h>.

	* sysdeps/unix/sysv/sysv4/__sigact.c: Include <stddef.h> for NULL.

	* sysdeps/mach/hurd/__access.c: Fix swapped poly and count args in
	__auth_makeauth call.

	* sysdeps/mach/hurd/ioctls.h (_IOC, _IOT): Rewritten using bitwise
	operations, so the result is always technically a constant (the
	old method of using a union constructor expression was not good
	enough for initializers).

	* hurd/hurdsock.c (_hurd_socket_server): If path_lookup returns
	ENOENT, we return EPROTONOSUPPORT.

	* hurd/Makefile (dtable): Add hurdioctl.
	* hurd/dtable.c (rectty_dtable, tiocsctty, tiocnotty): Functions
	moved:
	* hurd/hurdioctl.c: New file.
	(fioctl, fioclex): New functions.
	* sysdeps/mach/hurd/__ioctl.c (_hurd_ioctl_handler_lists): Don't
	define it, just declare it.

	* sysdeps/mach/hurd/getcwd.c: Use MACH_PORT_RIGHT_SEND, not
	MACH_PORT_TYPE_SEND, in mach_port_mod_refs call.

	* sysdeps/mach/hurd/__getpgrp.c: Don't lock _hurd_pid_lock.

	* sysdeps/unix/common/glue-ctype.c: Don't include <ctype.h>.
	Instead, add explicit extern declaration of TABLE in main.

Wed May 18 17:54:00 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/m68k/Makefile (asm-CPPFLAGS): Append $(m68k-syntax-flag).

	* Version 1.07.6.

	* sunrpc/Makefile (+gccwarn): Set to -w.

	* sysdeps/unix/Makefile (ifeq testing sys/param.h): Use patsubst
	instead of dir to remove directory name from .../sys/param.h but
	preserve "sys/".

	* inet/sys/bitypes.h: Replaced with just #include <sys/types.h>.

	* posix/sys/utsname.h (_UTSNAME_NODENAME_LENGTH): If undefined,
	define to _UTSNAME_LENGTH.
	(struct utsname): Use _UTSNAME_NODENAME_LENGTH for `nodename' member.
	* sysdeps/unix/bsd/sun/sunos4/utsnamelen.h (_UTSNAME_NODENAME_LENGTH):
	Define it.

	* resource/sys/resource.h (enum __rlimit_resource): Removed.
	Just include <resourcebits.h> instead.
	* resource/Makefile (headers): Add resourcebits.h.
	* sysdeps/generic/resourcebits.h: New file.
	* sysdeps/unix/bsd/sun/sunos4/resourcebits.h: New file.

	* stdio/test-popen.c (main): Use popen to read the file back, too.

	* sysdeps/unix/sysv/sysv4/i386/sysdep.h: New file.

	* sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Fixed typo: movel->movl.

Tue May 17 12:46:31 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)

	* mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
	__mach_task_self, __mach_host_self): New declarations of __ 
	versions of syscall traps.
	(swtch, __swtch, swtch_pri, __swtch_pri, thread_switch,
	__thread_switch, evc_wait, __evc_wait): New prototypes.
	* mach/Makefile (headers): Added mach/mach_traps.h so that the
	GNU version is installed instead of the Mach version.
	
Mon May 16 15:34:12 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/stub/sys/param.h: New file.

	* mach/lock-intern.h (__mutex_lock, __mutex_unlock): Real definitions.
	(__mutex_lock_solid, __mutex_unlock_solid, __mutex_init): Declare
	them.
	* mach/mutex-solid.c: New file.
	* mach/Makefile (lock): Add mutex-solid.
	(lock-headers): Remove mutex.h.
	* mach/mutex.h: File removed.
	* hurd/hurd/id.h: Include <cthreads.h> instead of <mutex.h>.
	* hurd/hurd/signal.h: Likewise.
	* hurd/hurdsig.c: Likewise.
	* hurd/hurdsock.c: Likewise.
	* hurd/dtable.c: Likewise.
	* hurd/__setauth.c: Likewise.
	* sysdeps/mach/hurd/Makefile (includes): Also append
	-I$(hurd-srcdir)/libthreads.

	* sysdeps/posix/system.c [WAITPID_CANNOT_BLOCK_SIGCHLD]: Don't
	block SIGCHLD.
	* sysdeps/unix/sysv/sco3.2.4/system.c
	(WAITPID_CANNOT_BLOCK_SIGCHLD): Define this macro.

	* sysdeps/posix/sigintr.c (siginterrupt) [! SA_RESTART]: Always
	fail with ENOSYS.

	* sysdeps/posix/__sigvec.c [! SA_ONSTACK]: Fail with ENOSYS if
	SV_ONSTACK is set in VEC->sv_flags.
	[SA_RESTART]: Protect SV_INTERRUPT check with this.

	* sysdeps/mach/sysdep.h (FATAL_PREPARE): New macro.
	* sysdeps/posix/libc_fatal.c: Include <sysdep.h>.
	[FATAL_PREPARE]: Invoke the macro.
	* assert/assert.c: Likewise.

	* sysdeps/generic/memmem.c: Start BEGIN at HAYSTACK, not partway
	into it.  Loop until BEGIN passes the location in HAYSTACK with
	NEEDLE_LEN bytes remaining to the end.
	Compare first byte manually before calling memcmp.

	* sysdeps/unix/sysv/sco3.2.4/__sigact.S: Fix typo.

	* posix/sys/types.h [__USE_BSD] (int32_t, int16_t, int8_t,
	u_int32_t, u_int16_t, u_int8_t): New typedefs.

	* assert/assert.c (__assert_program_name): New variable.
	(__assert_fail): Print that in the msg too.
	[HAVE_GNU_LD] (set_progname): New function to set it up at startup.

Thu May 12 01:10:52 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* hurd/__setauth.c: Do critical section locking.
	* hurd/hurdexec.c: Likewise.
	* hurd/hurdauth.c (_S_del_auth): Likewise.
	* hurd/getuids.c: Likewise.
	* hurd/dtable.c: Likewise.
	* hurd/alloc-fd.c: Likewise.
	* hurd/hurd/port.h: Likewise.
	* hurd/hurd/fd.h: Likewise.
	* hurd/setuids.c: Likewise.
	* hurd/intern-fd.c: Likewise.
	* hurd/hurdsock.c (_hurd_socket_server): Likewise.
	* sysdeps/mach/hurd/setrlimit.c: Likewise.
	* sysdeps/mach/hurd/setgroups.c: Likewise.
	* sysdeps/mach/hurd/seteuid.c: Likewise.
	* sysdeps/mach/hurd/setegid.c: Likewise.
	* sysdeps/mach/hurd/getrlimit.c: Likewise.
	* sysdeps/mach/hurd/__setuid.c: Likewise.
	* sysdeps/mach/hurd/__setreuid.c: Likewise.
	* sysdeps/mach/hurd/__setregid.c: Likewise.
	* sysdeps/mach/hurd/__setitmr.c: Likewise.
	* sysdeps/mach/hurd/__setgid.c: Likewise.
	* sysdeps/mach/hurd/__select.c: Likewise.
	* sysdeps/mach/hurd/__sbrk.c: Likewise.
	* sysdeps/mach/hurd/__getuid.c: Likewise.
	* sysdeps/mach/hurd/__getpgrp.c: Likewise.
	* sysdeps/mach/hurd/__getitmr.c: Likewise.
	* sysdeps/mach/hurd/__getgrps.c: Likewise.
	* sysdeps/mach/hurd/__getgid.c: Likewise.
	* sysdeps/mach/hurd/__geteuid.c: Likewise.
	* sysdeps/mach/hurd/__getegid.c: Likewise.
	* sysdeps/mach/hurd/__getdtsz.c: Likewise.
	* sysdeps/mach/hurd/__fork.c: Likewise.
	* sysdeps/mach/hurd/__fcntl.c: Likewise.
	* sysdeps/mach/hurd/__dup2.c: Likewise.
	* sysdeps/mach/hurd/__close.c: Likewise.
	* sysdeps/mach/hurd/__brk.c: Likewise.
	* sysdeps/mach/hurd/__access.c: Likewise.

	* sysdeps/mach/hurd/reboot.c (reboot): Use the host priv port to
	prove authority.

	* sysdeps/mach/hurd/__readlink.c: Don't request O_READ access.

	* sysdeps/mach/hurd/__ioctl.c: Don't expect result data	unless
	return code is zero.  Translate MIG_BAD_ID or EOPNOTSUPP to ENOTTY.

	* mach/devstream.c (output): Use device_write instead of
	device_write_inband.

Wed May 11 18:49:31 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* hurd/hurdinit.c (_hurd_init): Finsih loop of _hurd_port_init on
	_hurd_ports elts before doing _hurd_proc_init or
	__task_set_special_port.

	* hurd/hurd/signal.h (struct hurd_sigstate): Add new
	`critical_section' member.  Remove #if 0'd out vfork crap.
	(_hurd_critical_section_lock, _hurd_critical_section_unlock): New
	functions. 
	(HURD_CRITICAL_BEGIN, HURD_CRITICAL_END): New macros.

	* io/Makefile (headers): Add poll.h and sys/poll.h.
	(routines): Add poll.
	* sysdeps/unix/bsd/sun/sunos4/poll.S: New file.
	* sysdeps/unix/sysv/poll.S: New file.
	* sysdeps/unix/bsd/poll.c: New file.
	* sysdeps/stub/poll.c: New file.
	* io/poll.h, io/sys/poll.h: New files.

	* misc/bsd-compat.c (setjmp): New function.

	* sysdeps/unix/Makefile (sysdep_headers): Remove sys/param.h.
	* misc/Makefile (headers): Add it here instead.

	* io/test-utime.c (main): New file.
	* io/Makefile (tests): New variable.

Wed May 11 13:44:33 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)

	* hurd/hurd/threadvar.h (__hurd_errno_location): Remove 
	__volatile keyword.  `volatile int errno' is not the same
	as `int errno'; user programs often mention the latter.
	* errno.h: Remove __volatile keyword; same reason.

Tue May 10 17:21:41 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* time/zdump.c: New code from ADO.

	* time/difftime.c (difftime): Use hairy rounding algorithm from
	eggert@twinsun.com when sizeof (time_t) >= sizeof (double).

	* Makerules (native-CFLAGS): Remove -I$(sysincludedir).  RMS says
	people with bogons in /usr/local/include deserve to lose.

	* stdio/printf_fp.c (__printf_fp): If IS_NEG gets set, negate
	FPNUM before testing it for %g format choice.

	* sysdeps/unix/sysv/irix4/fcntlbits.h: New file.
	* sysdeps/unix/sysv/irix4/Dist: New file.
	* sysdeps/unix/sysv/irix4/readv.c: New file.
	* sysdeps/unix/sysv/irix4/writev.c: New file.
	* sysdeps/unix/sysv/irix4/__dup2.c: New file.

	* sunrpc/xdr_float.c (xdr_float): Change [mc68000 || sparc] to [!
	vax].

	* sysdeps/mips/setjmp.S: Remove spurious $.

	* sysdeps/generic/ftime.c: Include <errno.h>.

	* sysdeps/unix/mips/sysdep.S: Add .set noreorder.

Tue May 10 16:27:13 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)

	* sysdeps/generic/termbits.h (NCCS): Doc fix.

Mon May  9 18:07:44 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)

	* sysdeps/mach/hurd/uname.c (uname): System uname information
	has moved from init to proc.

	* sysdeps/mach/usleep.c (usleep): Return correct value.  Destroy
	RECV when we're done with it.

Thu May  5 17:03:56 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)

	* sysdeps/mach/hurd/__lstat.c: Use O_NOLINK instead of O_NOTRANS.

Thu May  5 04:20:54 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* mach/spin-lock.h (spin_lock_init): Define.

	* sysdeps/mach/hurd/sigsuspend.c: New local variable NEWMASK, set
	it to *SET if SET is not null, before taking SS->lock; don't
	dereference SET while holding the lock.  Restore SS->blocked to
	OLDMASK before unlocking and returning.

	* hurd/hurdsig.c (hurdsig_fork_child): Return zero.

	* sysdeps/mach/hurd/__fork.c (_hurd_fork_parent_hook,
	_hurd_fork_prepare_hook)): Define variables (symbol sets).
	(__fork): Run _hurd_fork_prepare_hook and _hurd_fork_parent_hook.

	* sysdeps/mach/hurd/sigsuspend.c: Don't test SS->pending; instead
	wait until SS->suspended is cleared.
	* hurd/hurdsig.c (_hurd_internal_post_signal): Clear SS->suspended
	before signalling on SS->arrived.

	* mach/Makefile (headers): Added mach/default_pager_helper.defs.

	* sysdeps/sparc/Dist: Added alloca.S.

Wed May  4 14:02:29 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)

	* hurd/hurdexec.c (_hurd_exec): Unlock _hurd_dtable_lock when
	all through.

	* sysdeps/mach/hurd/__setitmr.c: Changed _hurd_itimer_lock
	to be a spin_lock; changed mutex_lock and mutex_unlock
	accordingly throughout.
	* sysdeps/mach/hurd/__getitmr.c: Corresponding changes from
	mutex calls to spin lock calls here too.

	* sysdeps/mach/hurd/__setitmr.c (setitimer_locked): Fixed syntax 
	of declaration of PREEMPT.
	(setitimer_locked): Declare variables ERR and ELAPSED.
	(setitimer_locked): Fix some references to REMAINING that 
	were using it as an itimerval instead of a timeval.
	(setitimer_locked): Deleted unused label STILLBORN.

Wed May  4 00:17:32 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/stub/__getitmr.c: Fix arg name __WHICH to WHICH.

	* sysdeps/unix/bsd/alarm.c: Round tv_usec with arithmetic rather
	than a test.

	* hurd/Makefile (user-interfaces): Add hurd/msg_request.

	* sysdeps/stub/__setitmr.c: Fix arg name __WHICH to WHICH.

	* Makeconfig (cross-compiling): Define if $(HOST_CC) and $(CC) differ.
	* time/Makefile (install-others): Omit defn ifdef cross-compiling.

Tue May  3 23:12:48 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* mach/Makefile (lock-headers): Add spin-lock.h.

	* misc/Makefile (routines): Add madvise.

	* malloc/Makefile (non-lib.a): Define.
	* misc/Makefile (non-lib.a): Define.
	* Makerules (install-lib.a): Filter out $(non-lib.a).
	(install-lib-non.a): Append $(non-lib.a).

	* mach/Makefile (mach-headers): Rename sys/version.h to
	mach/version.h.

	* hurd/Makefile (headers): Added hurd/threadvar.h.

	* Version 1.07.5.

	* hurd/port2fd.c (_hurd_port2fd): Use logic copied from
	_hurd_port_locked_set to install PORT in D->port, but leave it locked.

	* sunrpc/Makefile (generated): Don't add $(objpfx).

	* sysdeps/stub/machine-lock.h: New file.
	* sysdeps/stub/machine-sp.h: New file.

Tue May  3 22:31:15 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)

	* sysdeps/mach/usleep.c (usleep): Specify MACH_RCV_MSG so that
	mach_msg actually waits.

Tue May  3 19:24:48 1994  Karl Heuer  (kwzh@hal.gnu.ai.mit.edu)

	* malloc/malloc.h (enum mcheck_status): Delete trailing
	comma in enum list; some compilers don't like it.

Tue May  3 15:18:15 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)

	* sysdeps/mach/hurd/__symlink.c (__symlink): Pass port type arg to
	__file_set_translator.

Mon May  2 17:56:47 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* hurd/Makefile (generated): Add $(inlines) .c files.

	* sysdeps/mach/hurd/__mknod.c: Pass port type arg to
	__file_set_translator.

Sun May  1 16:03:13 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* mach/mig_syms.c: Add de-__ing aliases for mig_init,
	mig_get_reply_port, and mig_dealloc_reply_port.

	* sysdeps/mach/hurd/errnos.awk: Handle copying errors from
	mach/mig_errors.h and device/device_types.h.  Omit E*_SUCCESS.
	Omit MACH_MSG_MASK and other special bit macros.

	* sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Added
	sc_reply_port member.
	* hurd/hurdsig.c (fetch_reply_port): New function.
	(_hurd_internal_post_signal): When setting up to run handler, set
	SCP->sc_reply_port to the receiving thread's value for
	_HURD_THREADVAR_MIG_REPLY.
	* sysdeps/mach/hurd/i386/__sigret.c: Destroy the MiG reply port
	used by the signal handler, and restore from SCP->sc_reply_port.
	* hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): New
	function; guts from __hurd_threadvar_location.
	(__hurd_threadvar_location): Call that.

	* hurd/hurdsig.c (check_pending): New function, broken out of:
	(_hurd_internal_post_signal): Call that for pending signal check.
	If SIGNO is zero, call check_pending on each thread's sigstate.

	* sysdeps/mach/hurd/start.c (start1): Use calloc to get
	zero-filled space for __hurd_threadvar_stack_offset when
	__hurd_threadvar_stack_mask is zero.

Thu Apr 28 21:29:47 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Merged gmp-1.99.3+ mpn code from tege for printf_fp.
	* stdio/printf_fp.c: Include "longlong.h"; gmp-impl.h no longer does.
	
	* Makerules (+depfiles): Filter $(extra-objs) to get only .o files.

Wed Apr 27 00:20:41 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Makerules (depend-$(subdir)): Put output in tmp file and use mv -f.
	Always use $(+depfiles), since sources is no longer exported.

Tue Apr 26 20:05:55 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/unix/bsd/bsd4.4/tcdrain.c: Don't include <termios.h> to 
	avoid <sys/ioctl.h> conflicts.
	* sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Undefine ECHO, MDMBUF,
	TOSTOP, FLUSHO, PENDIN, and NOFLSH after including <termios.h> and
	before including <sys/ioctl.h>.
	* sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise.

Tue Apr 26 14:42:43 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)

	* sysdeps/mach/sleep.c (sleep): Specify MACH_RCV_MSG or else
	mach_msg won't do anything but return immediately.
	(sleep): Compute return value correctly.

Tue Apr 26 04:49:56 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/i386/setjmp.c: Put global register decls first thing.
	* sysdeps/i386/__longjmp.c: Likewise.

Fri Apr 22 18:10:36 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* sysdeps/unix/sysv/irix4/__wait3.S: New file.
	* sysdeps/unix/sysv/irix4/time.S: New file.
	* sysdeps/unix/sysv/irix4/__waitpid.c: New file.

Thu Apr 21 16:54:11 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* malloc/malloc.c (initialize, morecore): When allocating the
	_heapinfo block itself, account for it in the statistics.

Tue Apr 19 20:17:06 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/unix/sysv/sco3.2.4/pipestream.c: New file.

	* malloc/malloc.c (morecore): Only zero the new part of NEWINFO,
	not the part we will copy _heapinfo into.

	* sysdeps/unix/bsd/signum.h (SIGLOST): Define.
	(_NSIG): Increase to 33.

Mon Apr 18 16:56:11 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* configure.in (config.status): Use $configure_args instead of
	$ac_configure_args.
	(after AC_PREPARE): Call AC_LANG_C.

	* time/Makefile (routines): Add sys/timeb.h.
	(routines): Add ftime.
	* time/sys/timeb.h: New file.
	* sysdeps/unix/bsd/ftime.c: New file.
	* sysdeps/generic/ftime.c: New file.

	* sysdeps/posix/getenv.c (getenv): Return NULL if __environ is null.

	* malloc/malloc.h [_MALLOC_INTERNAL] [HAVE_UNISTD_H]: Include
	unistd.h.

	* malloc/Makefile (gmalloc-routines): Put valloc first.

Wed Apr 13 14:03:02 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)

	* sysdeps/mach/hurd/__symlink.c (__symlink): Set the target of the
	link to FROM, not TO.

	* sysdeps/mach/hurd/__readlink.c (__readlink): Copy just the
	target into the user's buffer, not the entire translator spec.

Tue Apr 12 00:13:19 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)

	* hurd/fd-write.c (_hurd_fd_write): Set noctty for now rather
	than depending on what happens to be on the stack.

	* sysdeps/mach/hurd/readdir.c (readdir): Notice when hitting
	end-of-file and return NULL.

Mon Apr 11 17:36:59 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)

	* sysdeps/mach/hurd/start.c (start1): Bother to set __environ.

	* sysdeps/mach/hurd/__ioctl.c (__ioctl): Comment out use of 
	HURD_EINTR_RPC until signals work.

Mon Apr 11 14:16:40 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)

	* sysdeps/mach/hurd/__ioctl.c (__ioctl): Call __mig_get_reply_port
	rather than __mig_reply_port (which doesn't exist).

	* sysdeps/mach/hurd/__mknod.c: Added temporary declarations
	of major and minor.

	* (This change occurred on April 4, 1994) mach/setup-thread.c
	(__mach_setup_thread): The March 31 change had an error; the stack
	needs to be allocated with ANYWHERE cleared.

	* (This change occurred on April 8, 1994) hurd/hurdexec.c
	(_hurd_exec): The arguments to exec_exec had the length and 
	type parameters transposed.  In addition, fetch the correct
	procserver port for the new task.

	* (This change occurred on April 8, 1994)
	sysdeps/mach/hurd/__wait.c (__wait4): Deal properly with a null
	USAGE argument.

	* (This change occurred on April 8, 1994)
	sysdeps/mach/hurd/_exit.c (_exit): Changed commented-out call to
	__proc_exit into a correct call to __proc_mark_exit.

Fri Apr  8 14:58:24 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)

	* string/strsignal.c (strsignal): Store of NUL into unknown_signal
	was off by one.

Tue Apr  5 21:26:25 1994  Brendan Kehoe  (brendan@zen.org)

	* sysdeps/unix/sysv/sysv4/__sigact.c (__sigaction): Declare member
	`oact' in lower case, to match its use in the rest of the function.

Tue Apr  5 03:07:04 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Makerules (install-lib.a rule): Run ranlib on the target.

	* Makerules (library member rule): Tighten up pattern rule to
	match only libc.a, not other libraries.

Mon Apr  4 21:49:57 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* set-hooks.h: New file.
	* Makefile (distribute): Add it.
	* set-init.c: Include it and use its macro DEFINE_HOOK_RUNNER.

	* Makerules (sysd-Makefile): Put `sysd-Makefile-done=t' in output.
	(sysd-rules): Don't include it unless sysd-Makefile-done is defined.

Mon Apr  4 18:33:54 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)

	* mach/setup-thread.c (__mach_setup_thread): Oops; the vm_allocate
	call should have ANYWHERE cleared so that the change of the 31st
	has any effect at all.

Thu Mar 31 13:46:13 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)

	* mach/setup-thread.c (__mach_setup_thread): Create a red zone
	beneath the stack; also, work around a bug in cthreads by
	forcing the stack into high memory.  FIXME--this routine
	depends on the direction of stack growth; that should be fixed.

Mon Mar 28 12:55:51 1994  Roland McGrath  (roland@mole.gnu.ai.mit.edu)

	* Rules (make-dummy-lib): Use `$(AR)' instead of literal `ar'.

	* configure.in (arg parsing): Don't take --os-release or --os-version.
	(switches): Variable removed; don't write it into config.status.
	(config.status): Write release and version values directly.

	* sysdeps/unix/common/configure.in: Use changequote around if expr
	to avoid [] elision.

Sat Mar 26 18:36:27 1994  Roland McGrath  (roland@mole.gnu.ai.mit.edu)

	* malloc/mcheck.c [! _MALLOC_INTERNAL]: #include <stdio.h>

Fri Mar 25 02:17:55 1994  Roland McGrath  (roland@mole.gnu.ai.mit.edu)

	* malloc/mcheck.c (mprobe): New function.
	(abortfunc): Take enum mcheck_status arg.
	(checkhdr): Return an enum mcheck_status, and pass it to abortfunc.
	(mabort): New function.
	(mcheck): Use mabort as default abortfunc.
	* malloc/malloc.h (enum mcheck_status): New type.
	(mprobe): Declare new function.
	(mcheck): ABORTFUNC takes an `enum mcheck_status' arg.

	* posix/unistd.h [__USE_GNU] (TEMP_FAILURE_RETRY): New macro.

	* stdio/stdio.h [__USE_GNU && !_LIBC] (cookie_io_functions_t):
	Define instead of __io_functions (and make that a typedef for
	this); omit __ from member names.

Thu Mar 24 14:59:23 1994  Roland McGrath  (roland@mole.gnu.ai.mit.edu)

	* sysdeps/unix/sysv/sco3.2.4/sigaction.h: New file.

	* sysdeps/unix/sysv/sco3.2.4/__sigact.S: Put address of
	__sigreturn in %ecx before doing syscall trap.

	* sysdeps/stub/setegid.c: Fix arg type to __gid_t (was int).

Wed Mar 23 17:33:09 1994  Roland McGrath  (roland@mole.gnu.ai.mit.edu)

	* Makefile (headers): Remove $(stdarg.h).
	* Makeconfig (stdarg.h): Variable removed.
	* configure.in: Remove check for __gnuc_va_list in stdarg.h.
	It is not safe to replace the compiler's stdarg.h with our own.

Tue Mar 22 12:46:08 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Rules (dist): Rule removed.
	* Makefile (dist): Likewise.
	* Makerules (dist, distinfo): New rules.
	(TAGS): Depend on distfile, pass -f distfile to submake.

	* math/Makefile: Remove if-ed out old bsdmath copying rules.

	* Makerules (sources, headers, sysdep_routines): Don't export these.
	* Rules (others, tests): Likewise.

	* io/lockf.c: Include fcntl.h and errno.h.

Mon Mar 21 20:27:32 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/unix/bsd/sony/newsos4/fchdir.S: New file.
	* sysdeps/unix/bsd/sony/newsos4/{__wait4.c,__wait3.c,__wait.c,
	sys_wait4.S,Makefile,Dist}: New files.

	* sysdeps/unix/Makefile (syscall.h): De-SYS_ify `kerncall_basenum'.

	* sysdeps/unix/bsd/m68k/sysdep.S [! __motorola__]: Rename label 0
	to `store'; a user reports gas 1.38 bombs on numbered labels.

	* sysdeps/posix/Makefile (mk-stdiolim): Use $(HOST_CC).

	* Rules (distribute, dont_distribute, generated): Don't export them.
	(dist): Pass those vars down to sub-make on cmd line.
	* Makefile (distribute, generated): Don't export them.
	(dist): Pass distribute and generated values to sub-make on cmd line.

	* Makerules (install-lib-nosubdir): Insert $(libprefix) appropriately.

Fri Mar 18 01:02:52 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h (DO_CALL): Use a6 in
	place of fp.  A user reports gas 1.38 doesn't grok fp.

Tue Mar  8 18:35:02 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Makerules (common-clean): Prepend $(objpfx) to $(generated).
	* Makefile (parent-clean): Prepend $(common-objpfx) to
	$(common-generated).
	* Makefile (generated): Don't prepend $(objpfx).
	* Rules (generated): Likewise.
	* sysdeps/unix/common/Makefile (generated): Likewise.
	* sysdeps/unix/sysv/Makefile (generated): Likewise.
	* sysdeps/unix/Makefile (common-generated): Don't prepend
	$(common-objpfx).
	* sysdeps/posix/Makefile (common-generated): Likewise.
	* sysdeps/generic/Makefile (common-generated): Likewise.
	(generated): Don't prepend $(objpfx).

	* sysdeps/generic/Makefile (common-generated): Set this instead of
	generated for bytesex.h and det_endian.

	* sysdeps/stub/fexecve.c: New file.
	* posix/Makefile (routines): Add fexecve.
	* posix/unistd.h [__USE_GNU]: Declare fexecve.

	* sysdeps/unix/common/configure.in: Protect siglist and ctype
	checks with if [ ! "$inhibit_glue" ].
	* sysdeps/generic/configure.in: Likewise for psignal check.
	* sysdeps/unix/common/Makefile: Protect body with ifndef inhibit-glue.

Mon Mar  7 17:46:46 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/unix/bsd/osf1/alpha/__sigblock.S: New file from brendan.

Fri Mar  4 01:56:26 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Makerules (native-compile, common-objdir-compile): Use
	$(HOST_CC) in place of $(CC).

	* malloc/cfree.c: Move #undef cfree inside #ifdef _LIBC.

	* misc/sys/ioctl.h (struct ttysize): If TIOCGSIZE != TIOCGWINSZ,
	use two int elts instead of four shorts.

Thu Mar  3 17:35:54 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* malloc/realloc.c (realloc): When shrinking a block by splitting
	and then freeing one, bump the _chunks_used counter.

	* sysdeps/unix/sysv/sysv4/i386/__mknod.S: New file.

Tue Mar  1 11:42:41 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Get first argument from
	stack at 8(%esp), not 4(%esp).

	* sysdeps/unix/sysv/isc2.2/rename.S: Get unix/common, not unix/bsd.

Thu Feb 24 14:40:43 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* io/lockf.c: New file.
	* io/Makefile (routines): Add lockf.
	* io/fcntl.h [__USE_MISC] (F_ULOCK, F_LOCK, F_TLOCK, F_TEST): New
	macros.
	[__USE_MISC] (lockf): Declare it.
	* posix/unistd.h: Copy those new macros and declaration.

	* time/backward, time/etcetera, time/zic.c: New code and data from ADO.
	* Makeconfig (posixrules): Default to America/New_York.

	* sysdeps/unix/mips/sysdep.S: Store -1 in v0 in the delay slot after
	the return, rather than before (leaving the delay slot unfilled and
	without a nop!).

	* sysdeps/unix/sysv/irix4: New directory; mips-sgi-irix4 port
	courtesy Tom Quinn.

	* sysdeps/unix/sysv/sysv4/direct.h: Moved to unix/common; it is right
	for irix4 as well as sysv4.
	* sysdeps/unix/bsd/ultrix4/__wait.S: Moved to unix/mips.
	(noerror): Store register v1 in location pointed to by first arg (if
	not NULL).
	* sysdeps/unix/bsd/ultrix4/__sigret.S: Moved to unix/mips.

	* sysdeps/unix/bsd/bsd4.4/{mmap,munmap,mprotect,msync,madvise}.S:
	Moved to sysdeps/unix/mman (new directory).
	* sysdeps/unix/bsd/bsd4.4/Implies: New file; imply unix/mman.
	* sysdeps/unix/bsd/sunos4/Implies: Likewise.
	* sysdeps/unix/bsd/ultrix4/Implies: Likewise.
	* sysdeps/unix/bsd/osf1/Implies: Likewise.
	* sysdeps/unix/bsd/sun/sunos4/munmap.S,
	sysdeps/unix/bsd/sun/sunos4/mprotect.S,
	sysdeps/unix/bsd/sun/sunos4/madvise.S,
	sysdeps/unix/bsd/ultrix4/mmap.S,
	sysdeps/unix/bsd/ultrix4/munmap.S,
	sysdeps/unix/bsd/ultrix4/mprotect.S,
	sysdeps/unix/bsd/osf1/mmap.S,
	sysdeps/unix/bsd/osf1/munmap.S,
	sysdeps/unix/bsd/osf1/mprotect.S: Files removed.

	* sysdeps/unix/sysv/sysv4/fcntlbits.h: Moved to sysdeps/unix/common.

	* stdio/printf_fp.c: Add many assertions to make sure no mpn size
	variable is ever zero.

	* Makerules (native-CFLAGS): Add -I$(sysincludedir).

	* Makerules (depend-$(subdir)) [omit-deps]: Use $(+depfiles) value
	instead of shell hackery.

Wed Feb 23 00:09:08 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/sparc/alloca.S [! NO_UNDERSCORES]: Call it ___builtin_alloca.

Tue Feb 22 18:47:10 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Use __off_t in mmap
	prototype.

	* time/setitmr.c: Swap args OLD and NEW.
	* time/sys/time.h (setitimer): Likewise.
	* sysdeps/stub/__setitmr.c: Likewise.

Mon Feb 21 20:47:55 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/sparc/Makefile [gnulib] (routines): Add alloca.
	* sysdeps/sparc/alloca.S: New file; support for SunOS libc's
	`__builtin_alloca' function (never needed with GCC).

	* sysdeps/unix/sysv/sysv4/__sigact.c (trampoline): Cast handler to
	three-arg type.

Sun Feb 20 00:46:15 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/unix/bsd/sun/sunos4/mmap.c: Add missing semicolon.

	* sysdeps/unix/sparc/start.c [! NO_SHLIB]: Include <sys/types.h>
	before <sys/mman.h>.

	* sysdeps/unix/bsd/ultrix4/mips/{sysdep.h,sysdep.S,__pipe.S,
	__fork.S,__brk.S}: Moved to sysdeps/unix/mips (new directory).

	* sysdeps/unix/bsd/ultrix4/mips/__sigret.S: Use SYS_sigreturn
	instead of literal 103; #define to 103 if not already defined.

Sat Feb 19 17:39:13 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/unix/sysv/sysv4/i386/Dist: New file; list sys-sig.S.

Fri Feb 18 18:07:34 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/generic/configure.in: New file; check for psignal.

	* sysdeps/unix/common/glue-ctype.c: Check for table named _ctype,
	before checking for _ctype_.
	* sysdeps/unix/common/configure.in: Check for _ctype.

	* sysdeps/unix/Makefile (syscall.h): Look for sys.s before syscall.h.
	* sysdeps/unix/configure (unix_syscall_h): Likewise.

	* configure.in (os = irix4*): Set base_os=unix/sysv.

	* sunrpc/rpc/auth.h (u_int32): Always define, no #ifdefs.
	* sunrpc/xdr_float.c: Change [mc68000 || sparc] to [! vax].

Thu Feb 17 18:42:29 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Version 1.07.4.

	* sysdeps/unix/bsd/sun/sunos4/Dist: Add sys_mmap.S.

	* Makerules (sysdep_dir): Remove defn.
	* Makeconfig (sysdep_dir): Define it here instead.

Wed Feb 16 16:54:00 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/unix/sysv/sysv4/__sigact.c: New file.
	* sysdeps/unix/sysv/sysv4/i386/Makefile: New file.
	* sysdeps/unix/sysv/sysv4/i386/sys-sig.S: New file.

	* time/sys/time.h (timerisset, timercmp, timerclear): New macros.

	* misc/Makefile (headers): Add sys/mman.h.
	(routines): Add mmap, munmap, mprotect, msync.
	* sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: New file.
	* sysdeps/unix/bsd/sun/sunos4/mmap.c: New file.
	* sysdeps/unix/bsd/sun/sunos4/Makefile [$(subdir) == misc]
	(sysdep_routines): Add sys_mmap.
	* sysdeps/unix/bsd/bsd4.4/mprotect.S: New file.
	* sysdeps/unix/bsd/bsd4.4/munmap.S: New file.
	* sysdeps/unix/bsd/bsd4.4/msync.S: New file.
	* sysdeps/unix/bsd/bsd4.4/mmap.S: New file.
	* sysdeps/unix/bsd/bsd4.4/madvise.S: New file.
	* sysdeps/unix/bsd/sun/sunos4/mprotect.S: New file.
	* sysdeps/unix/bsd/sun/sunos4/munmap.S: New file.
	* sysdeps/unix/bsd/sun/sunos4/msync.S: New file.
	* sysdeps/unix/bsd/sun/sunos4/madvise.S: New file.
	* sysdeps/unix/bsd/ultrix4/sys/mman.h: New file.
	* sysdeps/unix/bsd/ultrix4/mmap.S: New file.
	* sysdeps/unix/bsd/ultrix4/munmap.S: New file.
	* sysdeps/unix/bsd/ultrix4/mprotect.S: New file.
	* sysdeps/stub/mprotect.c: New file.
	* sysdeps/stub/munmap.c: New file.
	* sysdeps/stub/msync.c: New file.
	* sysdeps/stub/mmap.c: New file.
	* sysdeps/stub/madvise.c: New file.
	* sysdeps/generic/sys/mman.h: New file.
	* sysdeps/unix/bsd/sun/sunos4/sys/mman.h: New file.
	* sysdeps/unix/bsd/osf1/msync.S: New file.
	* sysdeps/unix/bsd/osf1/mmap.S: New file.
	* sysdeps/unix/bsd/osf1/munmap.S: New file.
	* sysdeps/unix/bsd/osf1/mprotect.S: New file.
	* sysdeps/unix/bsd/osf1/sys/mman.h: New file.

Tue Feb 15 16:47:45 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* posix/unistd.h: Declare truncate, ftruncate.

	* misc/Makefile (headers): Add syslog.h.
	* misc/syslog.h: New file; just includes <sys/syslog.h>.

	* posix/unistd.h: Change duplicate seteuid decl to setegid.

	* io/Makefile (headers): Add sys/fcntl.h.
	* io/sys/fcntl.h: New file; just includes <fcntl.h>.

Mon Feb 14 10:36:57 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Makerules (library pattern rule): Depend on
	$(objpfx)stamp-$(subdir) and have empty commands.
	($(objpfx)stamp-$(subdir)): Move dep on $(objects) and ar cmds here.
	(common-mostlyclean): Remove $(objpfx)stamp-$(subdir).

	* Makerules (+depfiles): Filter out deps for modules in $(omit-deps).

	* sunrpc/Makefile (omit-deps): Define new variable.

	* Makerules ($(libc.a)(__.SYMDEF)): Depend on $(+libobjs), not
	lib-noranlib.
	* Makefile ($(libc.a)(__.SYMDEF)): Depend on subdir_lib.

	* Makerules (+depfiles): Include deps for $(extra-objs).

	* sunrpc/rpcsvc/klm_prot.x: Move program definition to end.

	* sunrpc/Makefile (lib): Depend on $(objpfx)librpcsvc.a.

	* time/zic.c: Set CP to NAME before dereferencing.

	* sunrpc/Makefile ($(objpfx)x%.c): Target fixed from $(objpfx)x%.c.
	($(objpfx)rpcsvc/%.h): Target renamed from $(includedir)rpcsvc/%.h.
	Make each x%.o file depend on the corresponding rpcsvc/%.h file.
	(headers): Add rpcsvc/%.h.
	(install-others): Remove generated rpcsvc headers.
	(generated): Define to include generated rpcsvc headers and sources.

	* sysdeps/m68k/fpu/acos.c: Add __CONSTVALUE to defn.
	* sysdeps/m68k/fpu/ldexp.c: Likewise.
	* sysdeps/m68k/fpu/pow.c: Likewise.
	* sysdeps/m68k/fpu/fmod.c: Likewise.
	* sysdeps/m68k/fpu/atan2.c: Likewise.
	* sysdeps/m68k/fpu/__drem.c: Likewise.
	* sysdeps/m68k/fpu/__isinf.c: Likewise.
	* sysdeps/generic/hypot.c: Likewise.
	* sysdeps/m68k/fpu/__logb.c: Likewise.

	* sysdeps/unix/bsd/m68k/sysdep.S: Swap operands in cmpl.

Sun Feb 13 19:49:24 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/m68k/Makefile (compile-command.S): Remove definition
	that did kludgey # hackery.
	* sysdeps/unix/bsd/hp/m68k/sysdep.h (PSEUDO): Add missing close paren.
	(POUND): Define (no arg) to just `#' (a single pound sign).
	(PSEUDO, DO_CALL): Use `POUND foo' in place of `POUND(foo)'.
	* sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
	* sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
	* sysdeps/unix/bsd/sun/m68k/__brk.S: Use #0, not POUND(0).
	* sysdeps/unix/bsd/hp/m68k/__brk.S: Use #__end instead of POUND(__end).

Fri Feb 11 00:29:45 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* configure.in (Makefile): Set objdir instead of ARCH in submake cmd.

	* time/mktime.c: Define __P if undefined.

	* assert/assert.h (__ASSERT_FUNCTION): Check __GNUC_MINOR__<6 if
	defined(__cplusplus).

Thu Feb 10 00:52:31 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/unix/sysv/__sigact.c: Use __sigismember and
	__sigemptyset on sa_mask instead of assuming it's an int.

	* sysdeps/unix/sysv/sysv4/sigset.h (__sigismember): Declare arg
	SET to be a pointer to const.

	* sysdeps/posix/__sigpause.c: Convert MASK to a sigset_t with a loop.

	* sysdeps/posix/__sigblock.c: When sigset_t==mask, take address of
	SET or OSET, cast to int *, and dereference.
	* sysdeps/posix/__sigstmsk.c: Likewise.
	* sysdeps/posix/__sigvec.c: Likewise.

	Add the -lrpcsvc library of XDR routines for standard SunRPC protocols.
	* sunrpc/Makefile (install-lib): Define to include librpcsvc.a.
	(rpcsvc-objs): New variable.
	(extra-objs): Add $(rpcsvc-objs).
	($(objpfxlibrpcsvc.a): New target.
	($(objpfx)x%.o): New rule to rpcgen XDR routines.

Wed Feb  9 11:59:33 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* time/zic.c (mkdirs): Reapply fix to avoid writing into passed ptr.

	* sunrpc/Makefile (distribute): Add etc.rpc.
	($(includedir)/bootparam_prot.h): Change target to
	$(includedir)/rpcsvc/bootparam_prot.h and dep to
	$(includedir)/rpcsvc/bootparam.h.
	(install-others): Change reference.

	* sunrpc/rpc_util.h: Comment out bogus decl of sprintf.

	* Makerules ($(libc.a)(__.SYMDEF)): Depend on lib-noranlib instead
	of $(+libobjs); this way makes the parent do subdir_lib.

	* sysdeps/unix/sysv/sysv4/sigset.h: Protect types with #ifndef
	_SIGSET_H_types.  Protect rest with #if !defined (_SIGSET_H_fns)
	&& defined (_SIGNAL_H).

Tue Feb  8 19:00:42 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Version 1.07.3.

	* sysdeps/unix/sysv/sysv4/sigset.h: Fix typos (omitted __s).

Mon Feb  7 14:31:00 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Makerules ($(libc.a)): Depend on $(libc.a)(__.SYMDEF); no commands.
	($(+libobjs)): Remove static pattern rule.
	(ar-it): Target removed.
	Replace with pattern rule to catch %(*.o) for all $(objects).
	($(libc.a)(__.SYMDEF)): New target.
	(lib-noranlib, $(libdir)/lib$(libprefix)c.a): Don't depend on ar-it.

	* sysdeps/unix/sparc/sysdep.h (PSEUDO): Add nop after jmp; the
	next insn is most likely a retl, which causes interesting behavior.

	* stdio/vfprintf.c: Pass WORKEND+1 to _itoa, not WORKEND.
	Subtract one from result of _itoa when setting W.

	* time/{africa,asia,australasia,backward,europe,leapseconds,
	northamerica,southamerica,zic.c}: New code and data from ADO.

Sun Feb  6 13:55:27 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sunrpc: New directory; code from Sun's RPCSRC-4.0.
	* sysdeps/unix/inet/Subdirs: Add sunrpc.
	* inet/netdb.h: #include <rpc/netdb.h> at end.

	* Make-dist ($(tardir).tar): Use -v when extracting from dist.tar
	and pipe output to doschk.

	* Makeconfig (etcdir): New variable.
	(localtime-file): Use that in default value.

	* Makerules (depend-$(subdir)): Include dep files for all .o files
	listed in $(extra-objs).

	* posix/sys/types.h (NFDBITS): #define to __NFDBITS.

	* inet/netinet/in.h (INADDR_LOOPBACK): Don't define if already
	defined; avoids changing source which defines it before including this.
	(struct sockaddr_in): Rename `__pad' member to `sin_zero'; some
	code wants to bzero the area just for paranoia.

	Make cleaning targets only remove common (not specific to one
	subdir) generated files if run from the parent directory.
	* Makefile (parent-clean): Remove $(common-generated) also.
	* sysdeps/unix/Makefile (local_lim.h, sys/param.h, errnos.h,
	ioctls.h, syscall.h): Append to $(common-generated), not $(generated).
	* sysdeps/posix/Makefile (stdio_lim.h): Likewise.

	* signal/signal.h: Declare psignal here.
	* stdio/stdio.h: Not here.

	* stdio/stdio.h [__OPTIMIZE__] (vprintf, vfscanf, vscanf,
	vsscanf): Define as extern inline functions instead of macros.

	* configure.in (names): Check existence of implied dirs and warn
	for absentees.

Sat Feb  5 13:38:26 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Version 1.07.2.

	* resource/sys/resource.h (RUSAGE_SELF, RUSAGE_CHILDREN): #define
	to self for things that test #ifdef.

	* sysdeps/unix/common/Dist: Remove bsd_getgrp.S.

	* sysdeps/unix/Makefile: Don't include param.h.dep ifdef no_deps.

	* Makerules (vpath %.h): Use $(common-objpfx) in place of $(objpfx).

	* sysdeps/unix/bsd/i386/__vfork.S: Decrement R1 and AND it with R0
	to avoid the test and branch.

	* sysdeps/unix/bsd/getprio.S, sysdeps/unix/bsd/setprio.S,
	sysdeps/unix/bsd/__setreuid.S, sysdeps/unix/bsd/__setregid.S: Moved to
	sysdeps/unix/common.

	* sysdeps/unix/reboot.S: New file.

	* sysdeps/unix/sysv/sysv4/solaris2/signum.h: New file.
	* sysdeps/unix/sysv/sysv4/signum.h: New file.
	* sysdeps/unix/sysv/sysv4/sigset.h: New file.
	* sysdeps/unix/sysv/sysv4/sigaction.h (struct sigaction): Swap
	positions of sa_flags and sa_mask members (sa_flags is first now).
	(SA_NOCLDWAIT): Renamed from SA_NOSCLDWAIT.

	* sysdeps/unix/bsd/init-posix.c (_posix_start_time): Initialize it.

	* Makerules (open-check-inhibit-asm): Use : for empty commands in case.

	* time/leapseconds: New version from ADO, adds 1994 leap second.

Thu Feb  3 02:15:30 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/unix/bsd/ulimit.c: Define ulimit instead of __ulimit.

Wed Feb  2 16:56:29 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: Moved to unix/sysv/sysv4.
	Replaced with #include of that file.

	* sysdeps/unix/sysv/sysv4/solaris2/sigaltstack.S: Moved to 
	sysdeps/unix/sysv/sysv4/sigaltstk.S.

	* sysdeps/unix/sysv/sysv4/i386/__lstat.S: Syscall lxstat, not xlstat.
	* sysdeps/unix/sysv/sysv4/i386/__fstat.S: Syscall fxstat, not xfstat.

Tue Feb  1 18:22:21 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* stdio/_itoa.c, stdio/_itoa.h: New files.
	* stdio/Makefile (routines): Add _itoa.
	(distribute): Add _itoa.h.
	* stdio/vfprintf.c: Use _itoa instead of doing it by hand.

	* sysdeps/unix/sparc/vfork.S: Add nop after jmp.  Bad delay slot,
	no pipeline.
	* sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.

Mon Jan 31 19:33:04 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* assert/assert.c (__assert_fail): Take 4th arg FUNCTION; if it is
	not null, print it in the message.  Also declare __NORETURN.
	* assert/assert.h (__assert_fail): Update decl; also add __NORETURN.
	(__ASSERT_FUNCTION): #define to be __PRETTY_FUNCTION__ for GCC>=2.4.
	(assert): Pass __ASSERT_FUNCTION to __assert_fail.

	* sysdeps/unix/bsd/sun/sparc/vfork.S: Moved to sysdeps/unix/sparc.
	Use C_SYMBOL_NAME on __vfork instead of prepending an underscore.

	* sysdeps/unix/sysv/sysv4/solaris2/{start.c,sysdep.S,sysdep.h}: Moved
	to sysdeps/unix/sysv/sysv4/solaris2/sparc.

	* sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k,
	bsd/ultrix4/mips,bsd/vax}/sysdep.S: Don't do EWOULDBLOCK_sys->EAGAIN
	mapping #if EWOULDBLOCK_sys == EAGAIN.

	* sysdeps/unix/sparc/sysdep.h [NO_UNDERSCORES]: #define syscall_error
	to C_SYMBOL_NAME(__syscall_error).
	(PSEUDO): On error, jump to syscall_error instead of setting errno.
	* sysdeps/unix/sparc/sysdep.S: New file.

	* sysdeps/unix/sysv/sysv4/i386/__vfork.S: New file, just #include
	unix/bsd/i386 version. 

	* sysdeps/unix/bsd/i386/__vfork.S: Use `scratch' in place of %edx.

Thu Jan 27 16:46:03 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* configure.in (asm-CPPFLAGS): Add new check to see if assembling
	a .S file loses without -P.  If so, set asm-CPPFLAGS=-P in config.make.

	* configure.in (stddef.h): Print msg under --verbose.

	* manual/Makefile (subdir): Define outside of `export' directive,
	for old make.

	* time/mktime.c (search): Take new arg PRODUCER, fn to call
	instead of `localtime'.
	(_mktime_internal): New function; all code from old `mktime', but
	take 2nd arg PRODUCER and pass along to `search'.
	(mktime): Rewrite to call _mktime_internal with localtime.
	* time/Makefile (routines): Add dysize, timegm, timelocal.
	* time/time.h (_mktime_internal): Declare it.
	[__USE_MISC]: Declare timegm, timelocal, dysize.
	* time/dysize.c: New file.
	* time/timegm.c: New file.
	* time/timelocal.c: New file.

Wed Jan 26 20:06:23 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	Remove the hackery on getgroups for most systems.  It is no longer
	necessary because gid_t is now the same size as int.
	* sysdeps/unix/common/Makefile (sysdep_routines): Don't add bsd_getgrp.
	* sysdeps/unix/common/bsd_getgrp.S: File removed.
	* sysdeps/unix/common/__getgrps.S: New file.
	* sysdeps/unix/bsd/sequent/i386/__getgrps.S: New file.

	Clean up the rules for cleaning up.
	* Makerules (common-mostlyclean): New target; remove object files.
	(common-clean): New target; depend on common-mostlyclean, and
	remove dep files and generated files.
	(clean): Depend on common-clean.
	(mostlyclean): Depend on common-mostlyclean.
	* Rules (mostlyclean): Target removed.
	(clean): Target removed.
	(distclean): New target; depend on clean.
	(realclean): New target; depend on distclean.
	(subdir_distclean): New target; depend on distclean.
	(subdir_realclean): New target; depend on realclean.
	(subdir_mostlyclean): New target; depend on mostlyclean.
	* Makefile (+subdir_targets): Add subdir_distclean,
	subdir_realclean; change mostlyclean to subdir_mostlyclean.
	(parent-mostlyclean): New target; depend on common-mostlyclean and
	remove libc.a and $(install-lib).
	(parent-clean): New target; depend on parent-mostlyclean and
	common-clean, and remove sysdirs sysd-dirs sysd-Makefile.
	(clean): Depend on parent-clean and just do submake for subdirs.
	(mostlyclean): Depend on parent-clean and just do submake for subdirs.
	(distclean, realclean): Depend on parent-clean and do submake
	distclean-1 passing it variable assignment distclean-1=$@.
	(distclean-1): Depend on subdir_$(distclean-1) and remove
	$(config-generated), config.status, config.make, Makefile (if not
	in srcdir).
	* manual/Makefile (subdir_clean): Target removed.
	(subdir_%): New rule to handle all such targets.
	(distclean): Depend on clean, not mostlyclean.
	(realclean): Depend on distclean, not clean.

	* sysdeps/unix/configure (unix_generated_dirpfx): New variable.
	Use it to put created .S files in sysdeps/unix if configured in
	srcdir, else in current directory.
	(unix_generated): Prepend $unix_generated_dirpfx.
	Have generated config.make fragment prepend $(objpfx).
	* sysdeps/unix/Makefile (generated): Don't set it.
	(config-generated): Set this instead; don't prepend any directory
	prefix to $(unix-generated).

	Fixes for SVR4 wait from jmc@ksu.ksu.edu (James Michael Chacon):
	* sysdeps/unix/sysv/sysv4/siginfo.h (__siginfo_t): Add `__code'
	and `__pid' fields.
	(EXITED, KILLED, CORED, TRAPPED, STOPPED, CONTINUED): New macros.
	* sysdeps/unix/sysv/sysv4/__waitpid.c: Switch on INFOP.__code and
	construct *STAT_LOC from INFOP.__status accordingly.

	* stdlib/testsort.c (main): Use puts to add newlines to printed lines.

Tue Jan 25 14:32:01 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Version 1.07.1.

	* manual/Makefile (%.z): Change target pattern to %.gz.
	(dist): Comment out dep.  Don't really need the separate doc dist.

	* stdio/stdio.h [__OPTIMIZE__] (getchar, putchar, getdelim,
	getline, __getline): Use extern inlines instead of macros.

	* sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Fix typo ($eax for %eax).

	* sysdeps/unix/siglist.c [! HAVE_GNU_LD] (_sys_siglist): #define
	to sys_siglist.
	* sysdeps/posix/__gettod.c [! HAVE_GNU_LD] (__daylight,
	__timezone, __tzname): #define to non-__ names.

	* math/math.h [__USE_BSD] (M_E, M_LOG2E, M_LOG10E, M_LN2, M-LN10,
	M_PI, M_PI_2, M_PI_4, M_1_PI, M_2_PI, M_2_SQRTPI, M_SQRT2,
	M_SQRT1_2): New macros.

Tue Jan 25 14:01:28 1994  Michael I. Bushnell  (mib at ernst.gnu.ai.mit.edu)

	* sysdeps/mach/hurd/start.c (start1): Decide separately whether to
	split argv and whether to split envp.

	* sysdeps/mach/hurd/i386/sysdep.h: File deleted.
	sysdeps/mach/i386/sysdep.h: Delete SET_SP macro.
	sysdeps/mach/hurd/start.c (_start): Don't call GET_SP; set globals
	instead of locals from exec_startup message.

	* misc/progname.c: Don't try to set
	program_invocation_name or program_invocation_short_name if argv
	or argv[0] is invalid.

Mon Jan 24 16:51:43 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/unix/sysv/sysv4/__waitpid.c: Return INFOP.__pid instead of
	the PID we were called with.

	* sysdeps/unix/sysv/__mkdir.c (__mkdir): Restore errno before
	returning, not after (lot of good that did).

	* sysdeps/unix/bsd/ultrix4/system.c, sysdeps/unix/bsd/bsd4.4/system.c,
	sysdeps/unix/bsd/osf1/system.c, sysdeps/unix/sysv/sco3.2.4/system.c,
	sysdeps/unix/bsd/sun/sunos4/system.c, sysdeps/unix/sysv/sysv4/system.c:
	New files.  Avoid sysdeps/unix/system.c, which defines NO_WAITPID.

	* set-init.c (__libc_init): Use `n' count field instead of
	checking for null terminator.  The latter loses when there are no
	set elts at all, and only one word is allocated for __libc_subinit.

	* sysdeps/generic/waitstatus.h (__WCOREFLAG): New macro.
	* posix/sys/wait.h [__USE_BSD] (WCOREFLAG): New; define to __WCOREFLAG.

	* stdio/fileno.c (fileno): Call __stdio_check_funcs.

	* stdio/tst-fileno.c: New file.

Fri Jan 21 16:56:50 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Rules (dep-dummy-lib, make-dummy-lib): New variables.
	($(objpfx)dummy.o): New file rule.
	* posix/Makefile ($(objpfx)libposix.a): Depend on
	$(dep-dummy-lib), and use $(make-dummy-lib) for commands.
	* math/Makefile ($(objpfx)libm.a): Likewise.

	* sysdeps/unix/sysv/sysv4/i386/__stat.S: New file.
	* sysdeps/unix/sysv/sysv4/i386/__lstat.S: Likewise.
	* sysdeps/unix/sysv/sysv4/i386/__fstat.S: Likewise.

	* sysdeps/sparc/bytesex.h: New file.

Thu Jan 20 12:45:35 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* sysdeps/stub/syscall.c (syscall): Declare arg type as int.

Wed Jan 19 18:18:15 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Makerules ($(before-compile) rule): Protect w/`ifdef before-compile'.

	* manual/Makefile: Change all `mv' uses to `mv -f'.
	(subdir_install): Depend on stubs.

	* Makerules ($(objpfx)%.dep: %.s): Depend also on $(objpfx)dummy.dep.

Tue Jan 18 19:12:57 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* stdlib/testsort.c (main): Swap dimensions of BUFS array.


See ChangeLog.2 for earlier changes.