forked from h4ck3rm1k3/glibc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.4
2324 lines (1683 loc) · 87.4 KB
/
ChangeLog.4
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
Mon Dec 12 01:41:07 1994 Roland McGrath <[email protected]>
* Version 1.09.3.
* sysdeps/mach/hurd/alpha/trampoline.c: Use `long int' for sigcode
values. Use _hurdsig_catch_fault. Pass address of __sigreturn in
$27, SCP value in $25. In trampoline code, use those regs.
* sysdeps/mach/hurd/alpha/__sigret.c: Use asms instead of global
register vars to restore FP regs. Fix typo in REI invocation.
Sun Dec 11 14:10:11 1994 Roland McGrath <[email protected]>
* hurd/hurd/fd.h (hurd_register_ioctl_handler,
_HURD_HANDLE_IOCTLS): Third arg to handler is a void *, not a
__gnuc_va_list.
* stdio/memstream.c (enlarge_buffer): Always add one char into
NEED for the char we are writing or the NUL terminator.
* stdio/memstream.c (enlarge_buffer): If realloc fails, just set
error flag and preserve old buffer state.
* stdio/fwrite.c: In fill_buffer case, check for zero buffer space
after fflush and write one char normally.
Sat Dec 10 00:02:21 1994 Roland McGrath <[email protected]>
* sysdeps/mach/hurd/__fork.c: Use natural_t in place of int.
* sysdeps/alpha/macros.m4: Use C comments instead of ! comments.
* sysdeps/mach/hurd/mmap.c: Cast -1 to long int before casting to
caddr_t.
* sysdeps/mach/alpha/syscall.S: Include
<mach/machine/alpha_instruction.h> to define op_chmk.
* sysdeps/mach/hurd/__mknod.c: Include <string.h>.
* sysdeps/mach/hurd/setegid.c: Likewise.
* sysdeps/mach/hurd/seteuid.c: Likewise.
* sysdeps/mach/hurd/__setregid.c: Likewise.
* sysdeps/mach/hurd/__setreuid.c: Likewise.
* sysdeps/mach/hurd/__ioctl.c: Likewise.
* sysdeps/mach/hurd/recvfrom.c: Include <string.h>. Use
mach_msg_type_number_t in place of unsigned int.
* sysdeps/mach/hurd/recv.c: Likewise.
* sysdeps/mach/hurd/getsockopt.c: Likewise.
* sysdeps/mach/hurd/getsocknam.c: Likewise.
* sysdeps/mach/hurd/getpeernam.c: Likewise.
* sysdeps/mach/hurd/accept.c: Likewise.
* sysdeps/mach/hurd/__gethstnm.c: Likewise.
Fri Dec 9 00:01:21 1994 Roland McGrath <[email protected]>
* sysdeps/mach/hurd/__readlink.c: Use mach_msg_type_number_t in
place of unsigned int.
* sysdeps/mach/hurd/__fork.c: Likewise.
* sysdeps/mach/hurd/__setgid.c: Include <string.h>.
* sysdeps/mach/hurd/__setuid.c: Likewise.
* sysdeps/mach/hurd/__getgrps.c: Likewise.
* hurd/getuids.c: Likewise.
* sysdeps/mach/hurd/__getdents.c: Likewise.
* sysdeps/mach/hurd/dirstream.h (DIR): Use unsigned long int for
`__allocation' and `__size' members.
* sysdeps/mach/hurd/alpha/exc2signal.c: Use `long int' for sigcode
values.
* sysdeps/mach/hurd/i386/exc2signal.c: Likewise.
* mach/devstream.c (input): Use mach_msg_type_number_t for NREAD.
* sysdeps/mach/hurd/__setitmr.c (preempt_sigalrm): Use `long int'
for SIGCODE; take SIGERROR arg.
* sysdeps/alpha/divrem.m4: Include <sysdep.h> instead of
<regdef.h>. Use C comments instead of ! comments.
* sysdeps/alpha/memchr.c: Remove extra shift and OR of CHARMASK.
* sysdeps/alpha/strchr.c: Likewise.
* sysdeps/mach/hurd/sysd-stdio.c: Use mach_msg_type_number_t in
place of unsigned int.
* sysdeps/posix/tempname.c (__stdio_gen_tempname): Cast FD to long
int before casting to pointer.
* stdio/printf_fp.c: Include <string.h>.
* sysdeps/alpha/setjmp_aux.c: Use ENV[0].__jmpbuf[0].
* sysdeps/mach/alpha/sysdep.h (ENTRY): New macro.
* hurd/hurdioctl.c (fioctl): Pass a mach_msg_type_number_t* to
__io_readable.
* hurd/hurd-raise.c: Use `long int' for sigcode values.
* hurd/hurdfault.c: Use `long int' for sigcode values.
* hurd/hurdfault.h: Likewise.
* hurd/hurd/signal.h (struct hurd_signal_preempt): Handler takes
new SIGERROR arg.
* hurd/preempt-sig.c: Likewise.
* hurd/hurdsig.c (_hurd_internal_post_signal): Pass SIGERROR to
PREEMPT.
* hurd/hurdlookup.c: Use mach_msg_type_number_t and natural_t in
place of unsigned int and int.
* hurd/hurd/id.h: Use mach_msg_type_number_t in place of unsigned int.
* hurd/catch-exc.c: Use `long int' for sigcode values.
* sysdeps/mach/hurd/i386/trampoline.c: Likewise.
* hurd/preempt-sig.c: Likewise.
* configure.in (machine): Don't recognize r[34]00.
Convert mips64* to mips/mips64/& and mips* to mips/&.
* sysdeps/mips/mipsel/bytesex.h: New file.
* sysdeps/mips/r4000: Directory renamed to sysdeps/mips/mips64.
* sysdeps/mach/alpha/sysdep.h (START_MACHDEP): Add missing
backslashes.
(CALL_WITH_SP): Cast FN to long int.
* sysdeps/mach/alpha/thread_state.h (struct machine_thread_all_state):
New member `exc'.
* hurd/fd-read.c: Include <string.h>. Use mach_msg_type_number_t
in place of mach_msg_type_size_t.
* hurd/hurdfault.c: Use natural_t instead of int.
* hurd/hurd/signal.h: Use `long int' for sigcode values.
* hurd/hurdsig.c: Use mach_msg_type_number_t and natural_t in
place of unsigned int and int. Use `long int' for sigcode values.
* hurd/vpprintf.c (pwrite): Cast &N to mach_msg_type_number_t *.
* hurd/__fopenport.c: Include <string.h>. Use
mach_msg_type_number_t in place of unsigned int.
* hurd/hurdauth.c: Include <string.h>.
* hurd/hurdsock.c: Likewise.
* sysdeps/mach/alpha/machine-lock.h: Remove ".set noreorder" et
al; GCC already emits them. Fix register constraints in asms.
Set RTN in C, not asm.
* hurd/hurdprio.c: Use mach_msg_type_number_t in place of unsigned
int.
Thu Dec 8 04:00:11 1994 Roland McGrath <[email protected]>
* sysdeps/mach/hurd/alpha/__sigret.c: Remove ".set noreorder" et
al; GCC already emits them.
* sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
* sysdeps/mach/thread_state.h: Use mach_msg_type_number_t and
natural_t in place of unsigned int and int.
* sysdeps/mach/sysdep.h (ENTRY): Don't #error if undefined.
* sysdeps/mach/syscall.h: New file.
* sysdeps/mach/Makefile: Remove debugging printout.
* sysdeps/mach/hurd/configure.in: Converted to an autoconf script
from sysdeps/mach/hurd/configure, to work better with autoconf
version 2.
* sysdeps/mach/configure.in: Likewise, from sysdeps/mach/configure.
* hurd/hurdmsg.c: Use mach_msg_type_number_t in place of unsigned
int.
* sysdeps/mach/alpha/sysdep.h: Rename variable `sp' to avoid
conflict with #define in <mach/alpha/asm.h>.
* sysdeps/mach/hurd/alpha/__sigret.c: Remove unused variable.
* sysdeps/mach/hurd/__ioctl.c: Pass arg to
__mig_dealloc_reply_port.
* configure.in: Converted to Autoconf version 2.
* sysdeps/generic/configure.in: Likewise.
* sysdeps/unix/common/configure.in: Likewise.
* sysdeps/unix/configure.in: New file, converted to a
part-autoconf script from sysdeps/unix/configure, to work better
with autoconf version 2.
* aclocal.m4: Converted to Autoconf version 2.
(AC_CHECK_SYMBOL): New macro.
* config.make.in: New file.
* config-name.in: New file.
* Makefile (distribute): Rename install.sh to install-sh.
Add config.make.in, config-name.in, Makefile.in.
(distclean-1): Remove config-name.h and config.cache.
* Makefile.in: New file.
* Makeconfig (+gnu-stabs, gnu-as): Match -DHAVE_GNU_{AS,LD}=1 too.
Wed Dec 7 14:05:12 1994 Roland McGrath <[email protected]>
* sysdeps/mach/mips/cacheflush.c: New file.
* sysdeps/mach/mips/Makefile: New file.
* sysdeps/mach/mips/Dist: New file.
* hurd/hurdmalloc.c (vm_allocate, vm_page_size): #define these to
__ names at top.
* posix/glob/Makefile.in (realclean): Remove config.status.
* posix/glob/Makefile.in (DEFS): New variable, set from @DEFS@.
(CPPFLAGS): Remove @DEFS@ from here.
(.c.o): Use $(DEFS).
* setjmp/siglongjmp.c: First arg is const.
Tue Dec 6 19:04:50 1994 Roland McGrath <[email protected]>
* posix/glob/Makefile.in (CPPFLAGS): Include @DEFS@.
Mon Dec 5 12:05:10 1994 Roland McGrath <[email protected]>
* posix/glob/configure.in: Add AC_PROG_CC.
* sysdeps/mach/hurd/alpha/longjmp-ts.c: Use ENV[0].__jmpbuf[0].
* sysdeps/mach/hurd/mips/longjmp-ts.c: Likewise.
* sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise.
* Version 1.09.2.
* sysdeps/mach/hurd/__select.c: Don't make TO const.
Sun Dec 4 12:06:36 1994 Roland McGrath <[email protected]>
* sysdeps/unix/configure (config_vars): Add missing backslash
before a $.
Revamp the `setjmp' interface to be cleaner: only one type
`jmp_buf'/`sigjmp_buf', and only one `longjmp' function (with
aliases `_longjmp', `siglongjmp'). Internal setjmp interface is
now __sigsetjmp, which takes SAVEMASK flag and optionally saves
the signal mask. Add extern entry points `setjmp' and `_setjmp'
for BSD compatiblity; they tail-call __sigsetjmp.
* setjmp/setjmp.h: Include <sigset.h> for __sigset_t, not
<signal.h>
(jmp_buf): Define unconditionally with old `sigjmp_buf' defn.
(__sigjmp_save): Declare to return int.
(__setjmp): Remove declaration; this function no longer exists.
(__sigsetjmp): Declare it; this is the new internal function.
(setjmp): Define to call __sigsetjmp, second arg depending on
__FAVOR_BSD.
[__OPTIMIZE__] (longjmp): Remove #define.
[__USE_BSD] (_longjmp): Declare it, another name for `longjmp'.
[__USE_BSD] (_setjmp): Define macro to do __sigsetjmp (ENV, 0).
[__FAVOR_BSD]: Remove all these defns.
[__USE_POSIX] (sigjmp_buf): Define as another name for `jmp_buf'.
[__USE_POSIX] (sigsetjmp): Define to call __sigsetjmp.
* setjmp/sigjmp.c (__sigjmp_save): Return an int, always zero, not
void.
* setjmp/Makefile (routines): Remove _setjmp, add bsd-setjmp and
bsd-_setjmp.
* setjmp/longjmp.c: Define as a real funciton, which restores
signal mask and calls __longjmp.
* setjmp/siglongjmp.c: Make this an alias to longjmp.
* setjmp/_longjmp.c: Alias to longjmp, not siglongjmp.
* sysdeps/stub/setjmp.c: Implement __sigsetjmp instead of
__setjmp; call __sigjmp_save.
* sysdeps/sparc/setjmp.S: Likewise.
* sysdeps/m68k/setjmp.c: Likewise.
* sysdeps/i386/setjmp.c: Likewise.
* sysdeps/vax/setjmp.c: Likewise.
* sysdeps/mips/setjmp.S: Implement __sigsetjmp instead of
__setjmp; call __sigsetjmp_aux instead of __setjmp_aux. Pass SP
and FP as 3rd and 4th args, not 2nd and 3rd.
* sysdeps/alpha/setjmp.S: Likewise.
* sysdeps/mips/setjmp_aux.c: Implement __sigsetjmp_aux instead of
__setjmp_aux; call __sigjmp_save.
* sysdeps/alpha/setjmp_aux.c: Likewise.
* sysdeps/mips/bsd-setjmp.S, sysdeps/mips/bsd-_setjmp.S: New files.
* sysdeps/alpha/bsd-setjmp.S, sysdeps/alpha/bsd-_setjmp.S: New files.
* sysdeps/vax/bsd-setjmp.S, sysdeps/vax/bsd-_setjmp.S: New files.
* sysdeps/sparc/bsd-setjmp.S, sysdeps/sparc/bsd-_setjmp.S: New files.
* sysdeps/i386/bsd-setjmp.S, sysdeps/i386/bsd-_setjmp.S: New files.
* sysdeps/m68k/bsd-setjmp.S, sysdeps/m68k/bsd-_setjmp.S: New files.
* sysdeps/stub/bsd-setjmp.c, sysdeps/stub/bsd-_setjmp.c: New files.
* setjmp/_setjmp.c: File removed.
* sysdeps/alpha/__longjmp.c: Take arg of type __jmp_buf, not
jmp_buf.
* sysdeps/vax/__longjmp.c: Likewise.
* sysdeps/stub/__longjmp.c: Likewise.
* sysdeps/i386/__longjmp.c: Likewise.
* sysdeps/m68k/__longjmp.c: Likewise.
Sat Dec 3 09:00:17 1994 Roland McGrath <[email protected]>
* sysdeps/mach/hurd/alpha/__sigret.c: Set up frame for `rei' to
restore on user stack, aligned to an 8-word boundary and with a PS
value that restores user's stack alignment.
Fri Dec 2 19:31:24 1994 Roland McGrath <[email protected]>
* sysdeps/unix/readdir.c: Search one char more than D_NAMLEN(DP)
for the null terminator. Always set D->d_namlen, using
D_NAMLEN(DP) if no null is found.
* sysdeps/unix/sysv/sco3.2.4/__sigact.S: Fix typo `.global' to
`.globl'. Silly me, I used a vowel in a Unix program.
Mon Nov 28 16:11:39 1994 Roland McGrath <[email protected]>
* io/fts.c (ALIGN, ALIGNBYTES): New macros, defined if not already
defined.
Tue Nov 22 06:39:49 1994 Roland McGrath <[email protected]>
* sysdeps/unix/bsd/osf1/dirstream.h: File removed.
* sysdeps/stub/sigcontext.h (struct sigcontext): Use `__sigset_t'
instead of `sigset_t' for `sc_mask'.
* sysdeps/mach/hurd/i386/sigcontext.h: Likewise.
* sysdeps/mach/hurd/alpha/sigcontext.h: Likewise.
* sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Likewise.
* sysdeps/unix/bsd/sun/m68k/sigcontext.h: Likewise.
* sysdeps/unix/bsd/sun/sparc/sigcontext.h: Likewise.
* hurd/hurdsig.c (_hurd_internal_post_signal: case handle): Call
abort_thread always, first thing after thread_suspend.
Mon Nov 21 13:18:07 1994 Roland McGrath <[email protected]>
* sysdeps/mach/hurd/__fcntl.c: Don't make this whole function a
critical section.
* sysdeps/generic/strpbrk.c: Don't call strchr; do it by hand for
efficiency.
Wed Nov 16 12:47:22 1994 Roland McGrath <[email protected]>
* sysdeps/unix/bsd/m68k/sysdep.S [__motorola__]: Swap operands in
cmp.l.
* hurd/msgportdemux.c (_hurd_msgport_receive): Call
_hurd_self_sigstate to get sigstate cached before running any
signal thread code.
* sysdeps/mach/hurd/__fork.c: Pass _hurd_msgport_thread to
__thread_get_state, not _hurd_sigthread. Don't do
__thread_get_state on THREAD_SELF--the kernel does not allow it.
* hurd/hurdsig.c (_hurd_internal_post_signal): In stopping orphan
test, take sigmask of SIGNO, don't & its value with a mask. In
blocked signal test, be careful not to pass SIGNO=0 to __sigismember.
Tue Nov 15 01:39:36 1994 Roland McGrath <[email protected]>
* Makerules (stub-$(subdir)): Save absolute name of
$(..)sysdeps/stub before cd'ing, transform gleaned file names to
refer to saved name.
* sysdeps/mach/hurd/socketpair.c: Include <fcntl.h>.
* time/test_time.args: Add CST as a test case.
* sysdeps/mach/hurd/socketpair.c: Rewritten (copying __pipe.c).
* sysdeps/unix/bsd/dirstream.h [__USE_BSD] (dirfd): New macro.
* posix/unistd.h: Declare fchdir.
* io/fts.c (MAXPATHLEN): Define if not defined.
* io/fts.c, io/fts.h: New files, from 4.4 BSD code by Keith Bostic.
* io/Makefile (routines): Add fts.
(headers): Add fts.h.
Mostly ported the Hurd to the DEC Alpha.
* sysdeps/mach/alpha/machine-sp.h: New file.
* sysdeps/mach/alpha/thread_state.h: New file.
* sysdeps/mach/alpha/sysdep.h: New file.
* sysdeps/mach/alpha/machine-lock.h: New file.
* sysdeps/mach/hurd/alpha/sigcontext.h: New file.
* sysdeps/mach/hurd/alpha/longjmp-ts.c: New file.
* sysdeps/mach/hurd/alpha/trampoline.c: New file.
* sysdeps/mach/hurd/alpha/exc2signal.c: New file.
* sysdeps/mach/hurd/alpha/__sigret.c: New file.
* sysdeps/mach/hurd/Makefile (errlist.c, errnos.h): Make the
output unwritable.
* sysdeps/alpha/Makefile (divrem rule): Make the output
unwritable, use mv -f.
* sysdeps/sparc/Makefile (divrem rule): Likewise.
* configure.in (sysnames): Put another loop on $mach inside $base
loop but outside $vendor loop. This should catch .../cpu/vendor.
Mon Nov 14 22:52:03 1994 Roland McGrath <[email protected]>
* sysdeps/mach/hurd/start.c: Add missing #endif.
Sun Nov 13 05:04:18 1994 Roland McGrath <[email protected]>
* sysdeps/mach/hurd/__select.c: At end of receiving loop, clear TO
instead of TIMEOUT.
* malloc/mcheck-init.c (turn_on_mcheck): Add gratuitous self
reference to silence compiler warning.
(_hurd_preinit_hook): Add the function to this set too.
* time/__tzset.c (__tzset): Give tz_rules coherent default when TZ
value is short or malformed.
* mach/devstream.c: Echo input after reading it.
* Make-dist (generated): Mutate to add .S and .s variations for .c
files.
Fri Nov 11 11:43:26 1994 Michael I Bushnell <[email protected]>
* sysdeps/mach/hurd/i386/__sigret.c (__sigreturn): Don't actually
abort here; at least let the user continue with bogus FP; that's
better than a random crash until it's fixed.
Thu Nov 10 04:56:28 1994 Roland McGrath <[email protected]>
* sysdeps/unix/bsd/sun/sunos4/sys/mman.h (msync): Use __caddr_t
instead of caddr_t in decl.
* sysdeps/mach/start.c (START_ARGS): Define to void if undefined.
[START_MACHDEP]: Reference this if defined.
[START_MACHDEP] (_start): #define to _start0.
(_start): Take args START_ARGS.
* sysdeps/mach/hurd/start.c: Likewise.
Wed Nov 9 08:02:59 1994 Roland McGrath <[email protected]>
* hurd/Makefile (sig): Remove longjmp-ctx (it is never called).
* sysdeps/mach/hurd/__fork.c: Do thread_get_state on parent's
threads to modify and thread_set_state new child threads.
Mon Nov 7 00:38:45 1994 Roland McGrath <[email protected]>
* posix/glob/configure.in: Converted to Autoconf v2.
* posix/glob.c: Test HAVE_DIRENT_H, HAVE_SYS_DIR_H, HAVE_NDIR_H
instead of DIRENT, SYSDIR, NDIR.
* posix/glob/Makefile.in (CC): New variable, set from @CC@.
(CPPFLAGS): Set from @CPPFLAGS@, not @DEFS@.
* sysdeps/unix/__fork.S: Use decrement and AND instead of test and
branch.
* sysdeps/unix/sparc/__fork.S: Likewise.
* sysdeps/unix/sparc/__vfork.S: Likewise.
* sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise.
* sysdeps/unix/bsd/hp/m68k/__vfork.S: Likewise.
* sysdeps/unix/i386/__fork.S: File removed.
Sun Nov 6 19:26:28 1994 Roland McGrath <[email protected]>
* Version 1.09.
Fri Nov 4 16:52:05 1994 Roland McGrath <[email protected]>
* Version 1.08.14.
* manual/Makefile (stamp-summary): Depend on $(chapters-incl) too.
Thu Nov 3 18:33:50 1994 Roland McGrath <[email protected]>
* sysdeps/generic/sigset.h (__sigemptyset): Cast to __sigset_t.
(__sigfillset): Likewise. Use ~(__sigset_t)0 in place of -1.
(__SIGSETFN): Don't try to be clever. Test bounds of SIG with <
and >.
* sysdeps/mach/hurd/__fork.c: Unlock signal state earlier, just
after unlocking _hurd_ports locks.
* sysdeps/unix/bsd/osf1/direct.h: File removed.
* sysdeps/unix/bsd/direct.h (struct direct): Use `unsigned int'
instead of `unsigned long int' for `d_fileno' member.
* Makerules (common-mostlyclean): Remove $(tests:=.out) too.
* assert/assert-perr.c (__assert_perror_fail): Add missing comma.
* sysdeps/unix/ioctls-tmpl.c [__osf__ && __alpha__] (FIOPIPESTAT,
SIOCSRREQR, SIOCSRREQW, SRVC_REQUEST): #undef these.
Wed Nov 2 23:00:19 1994 Roland McGrath <[email protected]>
* sysdeps/mach/hurd/setegid.c: Pass poly and count args for
other_handles in correct order in call to auth_makeauth.
* sysdeps/mach/hurd/__setregid.c: Likewise.
* sysdeps/mach/hurd/__setreuid.c: Likewise.
* Makerules (compile.S): Add -DASSEMBLER.
* sysdeps/mach/sysdep.h [ASSEMBLER]: Don't include
<mach/mig_support.h> if this is defined.
Wed Nov 2 22:39:55 1994 Michael I Bushnell <[email protected]>
* sysdeps/mach/hurd/seteuid.c: Pass poly and count args for
other_handles in correct order in call to auth_makeauth.
Wed Nov 2 15:03:51 1994 Roland McGrath <[email protected]>
* stdio/internals.c (fillbuf): Make sure returned char doesn't get
sign extended.
Tue Nov 1 01:25:28 1994 Roland McGrath <[email protected]>
* sysdeps/unix/common/Implies: File removed.
* sysdeps/unix/bsd/Implies: Add unix/inet.
* assert/assert-perror.c: Renamed to assert-perr.c.
* assert/Makefile (routines): Rename assert-perror to assert-perr.
* Version 1.08.13.
* mach/Makefile (generated): Add __%.c for $(mach-shortcuts) too.
* dirent/Makefile (tests): Add tst-seekdir.
* dirent/tst-seekdir.c (main): New file.
* sysdeps/unix/bsd/seekdir.c: New file.
* sysdeps/unix/bsd/telldir.c: New file.
* sysdeps/unix/bsd/dirstream.h (DIR): New member `__pos'.
* sysdeps/unix/bsd/readdir.c: Update DIRP->__pos in getdirentries
call.
* sysdeps/unix/opendir.c: Use calloc in place of malloc, to zero
fill new DIRs.
* sysdeps/standalone/i386/force_cpu386/force_cpu386.ld: Renamed to
target.ld.
* sysdeps/standalone/i386/force_cpu386/Makefile: Install it from
that name (still into $(libdir)/force_cpu386.ld).
* mach/Makefile (headers, user-interfaces, server-interfaces):
Don't add default_pager stuff.
Mon Oct 31 07:00:40 1994 Roland McGrath <[email protected]>
* sysdeps/unix/bsd/sun/sunos4/termbits.h (TCSASOFT): Macro
removed.
* malloc/malloc.h: Change #ifdef __STDC__ to #if defined
(__STDC__) && __STDC__.
Fri Oct 28 00:09:24 1994 Roland McGrath <[email protected]>
* sysdeps/mach/sysdep.h: Include <mach/mig_support.h> for decls.
(FATAL_PREPARE): Pass arg to __mig_dealloc_reply_port.
* assert/Makefile (routines): Add assert-perror.
* Makerules (stubs): cd into $(objdir) and use local file names,
making the cmd shorter.
* sysdeps/mach/hurd/getprio.c (getonepriority): Call
proc_getprocinfo with proc port.
* sysdeps/mach/hurd/errnos.awk: Grok "@comment errno %d" in
errno.texi, instead of assigning sequentially.
* sysdeps/mach/hurd/errlist.awk: Likewise.
* stdio/fwrite.c: Reset BUFFER_SPACE after fflush in fill_buffer
case.
* sysdeps/generic/sigset.h (__SIGSETFN): When losing, punt to
`raise (-1)'. Old method looped.
* hurd/hurd/resource.h: Include <hurd/process.h>.
Thu Oct 27 15:00:50 1994 Roland McGrath <[email protected]>
* sysdeps/standalone/standalone.h: Fixed typo.
Wed Oct 26 00:21:16 1994 Roland McGrath <[email protected]>
* sysdeps/unix/i386/vfork.S: New file.
* sysdeps/generic/strchr.c: Increment CP properly in check for 5th
char of quadword hit.
* sysdeps/mach/hurd/getprio.c (getonepriority): Always set ONERR.
Tue Oct 25 03:53:26 1994 Roland McGrath <[email protected]>
* hurd/hurd/resource.h: Include <errno.h>.
* stdio/ftell.c: If STREAM->__pushed_back, calculate from
pushback_bufp instead of bufp.
* Makefile (format-me): New canned sequence; runs makeinfo
--no-headers.
(INSTALL): Use it.
(NOTES): New file rule.
* manual/intro.texi (Feature Test Macros): Node moved off to
creature.texi.
* manual/creature.texi: New file, broken out of intro.texi.
* manual/Makefile (indices): New variable; include ky.
(realclean): Use $(indices) to remove all index and sorted index
files.
* sysdeps/mach/hurd/fcntlbits.h (O_ASYNC, O_FSYNC, O_SYNC):
Protect with [__USE_BSD].
Mon Oct 24 00:16:59 1994 Roland McGrath <[email protected]>
* sysdeps/unix/bsd/utime.c: Initialize tv_usec fields.
Use __gettimeofday instead of time.
* sunrpc/pmap_rmt.c: Include <sys/param.h> before <net/if.h>.
Undef _POSIX_SOURCE before that.
* sunrpc/pm_getport.c: Likewise.
* sunrpc/pm_getmaps.c: Likewise.
* sunrpc/get_myaddr.c: Likewise.
* misc/sys/cdefs.h: Undef __P first.
* Version 1.08.12.
* sysdeps/mach/hurd/getprio.c: Rewritten.
* sysdeps/mach/hurd/setprio.c: New file.
* hurd/hurdprio.c: New file.
* hurd/Makefile (routines): Add hurdprio.
* hurd/hurd/resource.h (_hurd_priority_which_map): Declare it.
(NICE_TO_MACH_PRIORITY, MACH_PRIORITY_TO_NICE): New macros.
Sun Oct 23 19:39:18 1994 Roland McGrath <[email protected]>
* Makerules (sources): Fix typo in last change.
Fri Oct 21 13:15:39 1994 Roland McGrath <[email protected]>
* sysdeps/generic/termbits.h (ECHOKE): Remove gratuitous leading
space before #define.
* Makerules (sources): Filter out $(elided-routines).
* sysdeps/sparc/divrem.m4 (entry point): For OP=rem, set SIGN from
dividend only, ignoring divisor.
(Lgot_result): Test SIGN here for OP=rem too (as originally).
Wed Oct 19 02:40:02 1994 Roland McGrath <[email protected]>
* hurd/hurdsig.c: Use assert_perror.
* assert/assert-perror.c (__assert_perror_fail): New file.
* assert/assert.h (assert_perror): New macro.
* Version 1.08.11.
* hurd/hurdsig.c (abort_rpcs): Actually return a port instead of
boolean, as the type says.
* hurd/hurdsig.c (abort_all_rpcs): If waiting for reply from
interrupted RPC returns error, print debugging msg with error
test, don't assert.
Mon Oct 17 00:06:03 1994 Roland McGrath <[email protected]>
* stdlib/strtol.c: Deansideclized.
* sysdeps/generic/strcspn.c: Deansideclized.
* sysdeps/generic/putenv.c: Deansideclized, added portability
cruft.
Fri Oct 14 14:00:11 1994 Roland McGrath <[email protected]>
* sysdeps/unix/sysv/sysv4/solaris2/utsnamelen.h:
Moved to sysdeps/unix/sysv/sysv4.
Thu Oct 13 22:06:50 1994 Roland McGrath <[email protected]>
* sysdeps/unix/common/glue-ctype.c [HAVE__LOCP]: Move this defn to
first. Include sys/types.h.
* sysdeps/unix/bsd/readdir.c: Include direct.h.
* socket/sys/socket.h (__SOCKADDR_ARG): Always use non-GCC defn,
for now.
* posix/sys/wait.h (__WAIT_STATUS): Likewise.
Tue Oct 11 00:42:50 1994 Roland McGrath <[email protected]>
* Version 1.08.10.
Mon Oct 10 00:33:47 1994 Roland McGrath <[email protected]>
* malloc/malloc.h [_MALLOC_INTERNAL] (CHAR_BIT): Don't define if
already defined.
* stdio/__vfscanf.c: Grok %q modifier like %ll.
* mach/__msgserver.c: Increase default MAX_SIZE to two pages.
* misc/init-misc.c: Cast string constant to non-const type.
* sysdeps/i386/ffs.c: Use %1 again instead of listing TMP as an
input with constraint "1". This avoids a warning that TMP may be
used before set.
Sun Oct 9 22:41:20 1994 Roland McGrath <[email protected]>
* hurd/hurdsig.c (abort_all_rpcs): Declare SS.
Sun Oct 09 01:19:38 1994 Jim Meyering ([email protected])
* posix/fnmatch.c: Remove CONFIG_BROKETS conditional.
Fri Oct 7 15:28:07 1994 Roland McGrath <[email protected]>
* stdio/__vfscanf.c: Properly grok %a modifier.
* hurd/hurdsig.c (abort_rpcs): Return the reply port or null,
instead of boolean.
(abort_all_rpcs): Record the returns from abort_rpcs and wait for
a message on each reply port. Don't bother locking _hurd_siglock.
Thu Oct 6 18:57:44 1994 Roland McGrath <[email protected]>
* hurd/hurd.h (_hurd_socket_server): Take new arg DEAD; explain
its use in comment.
* hurd/hurdsock.c (_hurd_socket_server): Take new arg DEAD; if
nonzero, clear any old cached port and always do a fresh lookup.
* sysdeps/mach/hurd/socket.c: Pass new arg to _hurd_socket_server,
cope with dead server on socket_create.
* sysdeps/mach/hurd/__pipe.c: Likewise.
Mon Oct 3 02:09:43 1994 Roland McGrath <[email protected]>
* sysdeps/generic/utsnamelen.h (_UTSNAME_LENGTH): Increase to
1024.
Sun Oct 2 18:35:16 1994 Roland McGrath <[email protected]>
* posix/glob.h (__P): Change arg name to `protos', for congruence
with 4.4 BSD.
* posix/fnmatch.h (__P): Likewise.
Sat Oct 1 04:25:35 1994 Roland McGrath <[email protected]>
* misc/Makefile (routines): Add daemon.
Fri Sep 30 16:49:09 1994 Roland McGrath <[email protected]>
* misc/daemon.c: New file, incorporated from BSD 4.4-Lite.
* sysdeps/mach/hurd/__setsid.c: Call _hurd_setcttyid with
MACH_PORT_NULL after proc_setsid.
* hurd/hurdioctl.c (_hurd_setcttyid): Don't do mod_refs if port is
null.
Always use fds' `port' cell for the generic port.
For ctty fds, use the `ctty' cell for the ctty-special port.
* hurd/dtable.c (get_dtable_port): Use port, never ctty.
(fork_child_dtable): Reset D->ctty instead of D->port.
(ctty_new_pgrp): Likewise.
* sysdeps/mach/hurd/__ioctl.c: Use ctty port for RPC if set and
!NOCTTY.
* hurd/port2fd.c (_hurd_port2fd): Install normal port in D->port
cell, and ctty-special port in the D->ctty cell, not the reverse.
* hurd/hurdioctl.c (tiocsctty): Don't assume MACH_PORT_NULL is
zero.
* hurd/hurdexec.c (_hurd_exec): Always pass fds' normal port,
never its ctty port.
* hurd/fd-write.c (_hurd_fd_write): Use ctty port for RPC if set
and !NOCTTY.
* hurd/fd-read.c (_hurd_fd_read): Use ctty port for RPC if set.
Thu Sep 29 18:28:01 1994 Roland McGrath <[email protected]>
* mach/mig_syms.c (mig_put_reply_port): Add symbol alias to __
name.
Thu Sep 29 12:23:07 1994 Brendan Kehoe ([email protected])
* sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (ENTRY): Use
poundfnc instead of \#function, to satisfy gcc-2.6.0 and higher.
(cat, poundfnc): Define macros to pull it off.
* sysdeps/unix/sysv/sysd-stdio.c: Include
sysdeps/generic/sysd-stdio.h,
not looking in sysdeps/posix.
Thu Sep 29 05:38:14 1994 Roland McGrath <[email protected]>
* sysdeps/unix/common/configure.in (ctype check): In test prog,
just reference $ctype; we don't care what type it is.
* sysdeps/unix/bsd/bsd4.4/direct.h: New file.
(HAVE_D_TYPE): Define this macro.
* dirent/dirent.h (struct dirent): New member `d_type'; shorten
`d_namlen' to a byte.
* sysdeps/unix/bsd/readdir.c [! HAVE_D_TYPE]: Shuffle d_namlen and
clear d_type.
Wed Sep 28 17:23:26 1994 Roland McGrath <[email protected]>
* posix/sys/utsname.h [__USE_SVID] (SYS_NMLN): New macro.
* dirent/scandir.c: Free storage on error from readdir.
Mon Sep 26 00:55:34 1994 Roland McGrath <[email protected]>
* Version 1.08.9.
* MakeTAGS (all-dist): Prepend the appropriate sysdep dir names.
* hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): Create a
send right.
Sat Sep 24 13:44:51 1994 Jim Meyering ([email protected])
* sysdeps/generic/memcmp.c [CMP_LT_OR_GT]: New macro.
(memcmp): Use it in place of each of ten 5-line #ifdef blocks.
Fri Sep 23 16:55:54 1994 Roland McGrath <[email protected]>
* sysdeps/mach/hurd/sigsuspend.c: Include <hurd/msg.h>.
* sysdeps/mach/hurd/sigsuspend.c: Add missing & in __mach_msg
call.
Thu Sep 15 14:22:56 1994 Roland McGrath <[email protected]>
* sysdeps/standalone/i386/force_cpu386/Dist: New file.
* sysdeps/standalone/m68k/m68020/mvme136/Dist: New file.
* sysdeps/standalone/i960/Dist: New file.
* sysdeps/standalone/m68k/m68020/Dist: New file.
* sysdeps/standalone/i386/force_cpu386/force_cpu386.ld: New file.
* sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: New file.
* sysdeps/standalone/i960/i960ca.h: New file.
* sysdeps/standalone/m68k/m68020/m68020.h: New file.
* sysdeps/unix/common/configure.in: Use AC_COMPILE_CHECK instead
of AC_HAVE_FUNCS.
* sysdeps/generic/make_siglist.c (sys_siglist): Define as macro to
my_siglist.
* sysdeps/mach/i386/thread_state.h: Include from mach/machine, not
mach/i386.
* sysdeps/mach/hurd/i386/sigcontext.h: Likewise.
* mach/mach/mig_support.h (__mig_put_reply_port): Declare.
(__mig_dealloc_reply_port): Take arg.
* sysdeps/mach/hurd/mig-reply.c (__mig_put_reply_port): New
function.
(__mig_dealloc_reply_port): Take arg, ignore it.
Wed Sep 14 18:16:07 1994 Roland McGrath <[email protected]>
* sysdeps/mach/hurd/Makefile (libc-name): Set to crt.
[!subdir]: Install libc-ldscript as libc.a.
* sysdeps/mach/hurd/Dist: Add libc-ldscript.
Tue Sep 13 19:57:09 1994 Roland McGrath <[email protected]>
* sysdeps/mach/hurd/sync.c: Don't be synchronous: pass WAIT=0 to
file_syncfs.
* Makerules (libc-name): New variable.
(install, libc installation rule): Use $(libc-name) in place of `c'.
Sun Sep 11 23:28:20 1994 Roland McGrath <[email protected]>
* sysdeps/mach/hurd/__readlink.c: Only decrement LEN to remove the
null terminator when LEN is already large enough to include it.
* hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Add break
after FS_RETRY_MAGICAL case.
Fri Sep 9 04:03:59 1994 Roland McGrath <[email protected]>
* stdio/vfprintf.c: Grok q modifier like ll.
* Make-dist (sysdep-Subdir-files, subdirs): Set these early on,
before doing distinfo.
[parent] (+distinfo): Set inhibit_interface_rules=t in sub-make.
Thu Sep 8 17:18:14 1994 Roland McGrath <[email protected]>
* sysdeps/generic/morecore.c (__default_morecore) [! __STDC__]:
Declare arg as `int' instead of `ptrdiff_t'.
Tue Sep 6 19:06:00 1994 Roland McGrath <[email protected]>
* posix/glob.c (prefix_array, glob): Avoid const on initialized
variables. Some compiler generates bad code.
Mon Sep 5 13:24:26 1994 Roland McGrath <[email protected]>
* malloc/Makefile (malloc/%: ../sysdeps/generic/%): New rule, to get
morecore.c.
* malloc/malloc.h (size_t, ptrdiff_t): Never define these as macros.
(__malloc_size_t): Define this instead.
Change all uses of size_t to __malloc_size_t.
* malloc/valloc.c: Replace all uses of size_t with __malloc_size_t.
* malloc/memalign.c: Likewise.
* malloc/mcheck.c: Likewise.
* malloc/mtrace.c: Likewise.
* malloc/malloc.c: Likewise.
* malloc/free.c: Likewise.
* malloc/realloc.c: Likewise.
* malloc/calloc.c: Likewise.
* MakeTAGS (TAGS): Define first so as to be default goal.
(sysdep_dirs): Set this by running find, if it is not already set.
(all-dirs): Include that value.
(all-dist): Filter output of cat, not args to it.
* Makerules (TAGS): Depend on distinfo, not distfile.
* resolv/getnetnamadr.c (getnetbyname): Arg is always const,
regardless of [sun].
Sun Sep 4 00:04:55 1994 Roland McGrath <[email protected]>
* Version 1.08.8.
* Makerules (distinfo-vars): Double $s in final emitted sources defn.
* inet/Makefile (headers): Add netdb.h.
* resolv/Makefile (headers): Remove netdb.h.
* resolv/netdb.h: Moved to inet.
* inet/netdb.h: Incorporated from BSD 4.4-Lite.
Add back h_errno declaration.
* hurd/Makefile (faultexc.c): Change this to a pattern rule to
build both faultexc.[ch].
(hurdfault.o): Depend on faultexc.h and faultexc.c to get them built.
* sysdeps/mach/hurd/i386/trampoline.c
(_hurdsig_rcv_interrupted_p): Make PC volatile.
(_hurd_setup_sighandler): Cast SS->context to int before comparing to
_hurdsig_fault_sigcode.
* sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_SET_{SP,PC}):
Cast args to unsigned long int.
* sysdeps/mach/hurd/i386/trampoline.c: Use _hurdsig_catch_fault.
* Make-dist (subdirs): Use sed to remove comments from Subdirs files.
* MakeTAGS (subdirs): Likewise.
* sysdeps/mach/i386/thread_state.h: Include
<mach/i386/thread_status.h> first thing.
* hurd/Makefile (sig): Add faultexc.
($(objpfx)faultexc.c): New target.
(generated): Append faultexc.c.
* hurd/Makefile (sig): Add hurdfault; remove init-fault.
(distribute): Add hurdfault.h.
* hurd/hurdfault.h: New file.
* hurd/hurdfault.c: New file.
* hurd/hurdsig.c (interrupted_reply_port_location): Use
_hurdsig_catch_fault and _hurdsig_end_catch_fault.
(_hurdsig_getenv): Likewise.
* sysdeps/mach/hurd/i386/trampoline.c: Likewise.
* hurd/catch-exc.c: Return EPERM if TASK is not right.
* hurd/hurdsig.c (_hurd_sigthread_fault_env): Variable moved to
hurdfault.c.
(_hurdsig_fault_init): Function moved to hurdfault.c.
Sat Sep 3 12:22:53 1994 Roland McGrath <[email protected]>
* sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_SET_PC,
MACHINE_THREAD_STATE_SET_SP): New macros.
* mach/setup-thread.c: Use MACHINE_THREAD_STATE_SET_PC.
* sysdeps/mach/hurd/__fork.c: Likewise.
* string/test-ffs.c (main: try): Actually call ffs in the test.
Fri Sep 2 21:20:17 1994 Roland McGrath <[email protected]>
* sysdeps/mach/hurd/mips/__sigret.c: Restore FPU state. Code from
kkojima.
* sysdeps/mach/hurd/__mknod.c: Fixed copying of the translator
name into buffer with major and minor numbers, and setting of LEN.
* sysdeps/unix/configure (unix_syscall): In sed cmd, do = first to
avoid clobbering produced assignments.
Thu Sep 1 03:25:17 1994 Roland McGrath <[email protected]>
* Version 1.08.7.
* sysdeps/mach/hurd/connect.c (connect): Fix accidental renaming
of sun_path to sun_file_name.