forked from lattera/glibc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.1
2670 lines (1797 loc) · 92.4 KB
/
ChangeLog.1
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
Thu Sep 3 17:31:13 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/unix/bsd/setgroups.S: New file. How did this manage not
to exist already??
* Version 1.04.
* sysdeps/generic/memmem.c (memmem): Fixed loop condition not to
use nonexistent variable.
* string/string.h (memmem): Put const qualifier on args.
* sysdeps/stub/sigaltstack.c (sigaltstack): Fix arg type.
* setjmp/sigsetjmp.c: #undef sigsetjmp before defining the function.
Wed Sep 2 16:43:58 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* misc/Makefile (headers): Add syscall.h.
* sysdeps/unix/Makefile: Only generate syscall.h if it would
otherwise come from stub.
* sysdeps/stub/syscall.h: New file.
* time/Makefile (routines): Add stime.
* io/Makefile (routines): Add fchdir.
* signal/Makefile (routines): Add sigaltstack.
* string/Makefile (routines): Add memmem.
* setjmp/Makefile (routines): Add sigsetjmp, _setjmp.
* misc/Makefile (routines): Add getpass.
* Makefile (distribute): Add NEWS.
* Makerules (ar-it) [! objdir]: Pass `ru' instead of `u' to ar.
Use $(..)libc.a instead of $(libc.a).
* sysdeps/unix/sysv/i386/linux/sysdep.h (PSEUDO): Call numbers are
SYS_*, not __NR_*.
* sysdeps/unix/sysv/i386/linux/__wait.S: Prepend extra _ to
`__waitpid' for jmp.
* Makerules (check): New rule; alias for `tests'.
* sysdeps/stub/__setregid.c: Args are gid_t, not int.
* sysdeps/posix/readv.c: #include <string.h>.
* sysdeps/generic/printf_fp.c: If LDBL_DIG or LDBL_MAX_10_EXP is
defined by float.h, #define each to DBL_*.
Tue Sep 1 16:29:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/unix/Makefile (syscall.h): Add missing backslashes.
* Makeconfig [!objdir && !..] (common-objpfx): Define as
`sysdeps/..'; The Almighty KludgeMeister 2000 wins again.
* Makerules (sysdep-Makefile): Rename to sysd-Makefile.
* Makeconfig (CC): Don't use -pipe by default.
* configure (switches): Put quotes around os-release and
os-version values.
Mon Aug 31 19:33:15 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/stub/cbrt.c: New file.
* sysdeps/generic/cabs.c: New file.
* sysdeps/generic/ceil.c: New file, split from floor.c.
* sysdeps/generic/__rint.c: Replaced with code split from floor.c.
* sysdeps/generic/Makefile (routines): Don't remove ceil, __rint.
Thu Aug 27 15:58:13 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
* malloc/malloc.h [! __STDC__] (ptrdiff_t): #define.
Wed Aug 26 18:15:47 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* malloc/free.c (__free): Rename to _free_internal.
(free), malloc/malloc.c (morecore): Change callers.
* malloc/malloc.h: Change decl.
Tue Aug 18 17:38:13 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/generic/__copysign.c: New file.
* sysdeps/unix/sysv/sysdep.h: #include <syscall.h>, not
<sys/syscall.h>. Don't #define _SYS_SYS_S; should no longer be
necessary.
* sysdeps/unix/Makefile (syscall.h): Replaced simple code to just
find the file in any of several places, with hairier code to find
it and massage it.
* malloc/Makefile (obstack.%): Remove rule.
(gpl2lgpl): Define this instead.
* posix/Makefile (gpl2lgpl): Define to include getopt source files.
* Makerules ($(gpl2lgpl)): New rule to snarf code and frob its
copying notices.
Fri Aug 14 13:28:39 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* Makeconfig (common-objdir, common-objpfx): Define new vars.
(libc.a): Define in terms of $(common-objpfx).
Find config.make with $(common-objpfx), not $(objpfx).
* Makerules (common-objdir-compile): Define canned sequence.
(native-compile): Use $(@D)/$(@F) instead of stripping off $(objpfx).
* sysdeps/unix/Makefile, sysdeps/unix/bsd/Makefile,
sysdeps/generic/Makefile: Use it.
Use $(common-objpfx) for generated things not specific to one subdir.
* sysdeps/unix/Makefile (sysdep_headers): Add
$(sys/param.h-includes) to this instead of to headers.
Thu Aug 13 18:30:58 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* posix/glob.c: Always #include <sys/types.h>.
[! USG]: Don't do it here.
[STDC_HEADERS]: Test this instead of __STDC__ for size_t.
[HAVE_STRCOLL]: Test this instead of ANSI_STRING for strcoll.
* posix/glob/Makefile.in (Makefile): Remove rule.
Wed Aug 12 16:12:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/sparc/jmp_buf.h: Deansideclized.
* sysdeps/generic/make_siglist.c: #undef HAVE_SYS_SIGLIST, not
SYS_SIGLIST_MISSING.
* sysdeps/generic/signame.[ch]: Re-symlinked from /gd/gnu/lib.
Who's been removing random things from my source tree??
Tue Aug 11 15:01:50 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* posix/getconf.c (main): Cast printf field with arg to int.
* Makefile (distribute): Remove ansidecl, ansidecl.m4.
* posix/glob.c [_AIX]: Don't declare alloca.
Mon Aug 10 17:09:40 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/m68k/fpu/__math.h (__expm1): Define just like expm1.
* sysdeps/unix/ioctls-tmpl.c [SMIOSTATS, SMIOGETREBOOT0,
ZIOCBCMD]: Include headers for these.
Fri Aug 7 16:01:43 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* string/tester.c (main): Use sys_nerr and sys_errlist, not _sys_*.
* stdio/stdio.h [__USE_GNU] (_sys_nerr, _sys_errlist): Declare.
* string/strerror.c, stdio/perror.c
[HAVE_GNU_LD] (_sys_errlist, _sys_nerr): Remove decls.
* stdio/memstream.c (enlarge_buffer): Notice when target is -1 and
don't treat it as a huge value.
* stdio/tst-printf.c: #if 0 code that tickles printf_fp bugs.
* grp/testgrp.c: Don't bomb if uid not in passwd file.
* stdlib/tst-strtol.c (tests): C-t on LONG_MIN and LONG_MIN-1 elts.
* stdlib/strtol.c: Use int flag NEGATIVE instead of char 1/-1 SIGN.
Fixed checking for overflow of long int that fits in unsigned long
int--must cast LONG_MIN before negating!
Thu Aug 6 18:46:24 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* stdio/bug3.c (main): Define ansideclifily.
* sysdeps/unix/bsd/sun/sparc/__pipe.S: Define __pipe, not ___pipe.
* math/test-math.c (main): Remove unused vars.
* io/flock.c: #include <sys/file.h>, and not fcntl.h or sys/types.h.
* sysdeps/m68k/fpu/__math.h (__rint): Define just like rint.
* math/math.h (__rint): Declare.
* configure (esix*): base_os=unix/sysv.
* dirent/getdents.c: #include <dirent.h>.
* Rules (subdir): Avoid TAB before # at end of defn.
* sysdeps/unix/bsd/bsd4.4/__wait3.c: Last arg type is struct rusage *.
Tue Aug 4 18:19:43 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/ieee754/Makefile: Removed.
* math/math.h: Declare __expm1.
Mon Aug 3 13:02:05 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/ieee754/cabs.c (cabs, z_abs): Members of structure have __.
* sysdeps/unix/bsd/seq386: Remove directory.
Thu Jul 30 15:42:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/unix/bsd/sun/sparc/sigcontext.h: Deansideclized.
* sysdeps/unix/bsd/sun/sunos4/__wait4.c: Make last arg struct rusage
instead of PTR.
* sysdeps/unix/morecore.c (__default_morecore): Make arg ptrdiff_t.
* sysdeps/ieee754/cabs.c (cabs, z_abs): Use `struct __complex' for arg.
* sysdeps/generic/pow.c: #include <limits.h>.
* sysdeps/generic/mathimpl.c: #include <math.h> before frobnication.
* misc/getusersh.c (okshells): Make const.
(initshells): Properly declare static.
* sysdeps/unix/bsd/__tcgetatr.c: Cast sg_[io]speed to (unsigned char)
to avoid gcc warnings.
* math/bsd/common/atan2.c, math/bsd/common/tan.c,
math/bsd/common/sincos.c, math/bsd/common/trig.h,
math/bsd/common_source/__expm1.c, math/bsd/common_source/fmod.c,
math/bsd/common_source/acosh.c, math/bsd/common_source/log.c,
math/bsd/common_source/asincos.c, math/bsd/common_source/asinh.c,
math/bsd/common_source/log1p.c, math/bsd/common_source/atan.c,
math/bsd/common_source/log__L.c, math/bsd/common_source/atanh.c,
math/bsd/common_source/mathimpl.h, math/bsd/common_source/cosh.c,
math/bsd/common_source/exp.c, math/bsd/common_source/sinh.c,
math/bsd/common_source/exp__E.c, math/bsd/common_source/tanh.c,
math/bsd/common_source/floor.c: Moved to sysdeps/generic.
* math/bsd/ieee/{cabs,cbrt,support}.c: Moved to sysdeps/ieee754.
* All above + sysdeps/generic/mathimpl.h, sysdeps/generic/pow.c: New
code from 4.4/net2.
* sysdeps/generic/ffs.c: #include <string.h>, not <bstring.h>.
* posix/glob/Makefile.in (Makefile): Depend on config.status; invoke
it directly instead of using $(SHELL).
* posix/glob.c [! USG]: #include <sys/types.h> before <sys/dir.h>.
Tue Jul 28 17:54:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/unix/bsd/ultrix42: Renamed to ultrix4.
* sysdeps/unix/sysv/isc2.2/__rename.S: New.
* configure (isc*): base_os=unix/sysv.
* Makefile, Makerules, Rules, math/Makefile, ctype/Makefile: Use
"export foo := $(foo)" instead of ifdef have_export_directive.
* Makeconfig (have_export_directive): Remove; move .NOEXPORT down.
Mon Jul 27 18:01:30 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* configure: Remove redundant test to set os_used.
Sun Jul 26 17:03:31 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* README.template: Don't mention Q+A.
* Makefile (distribute): Remove Q+A.
* Makefile, Makerules, Rules, math/Makefile, ctype/Makefile: Put
"ifdef have_export_directive" around uses of `export' directive.
They are only needed for dist and tags anyway.
* Makeconfig (have_export_directive): Add commented-out defn, and
comment to explain.
(.NOEXPORT): Add special target for old versions of GNU make.
* posix/glob.c [_AIX]: #pragma alloca first thing.
[ANSI_STRING]: Remove #define's for index et al.
Thu Jul 23 21:49:53 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* misc/getpass.c: New.
* posix/unistd.h (getpass): Declare.
* posix/unistd.h (getusershell, setusershell, endusershell): Declare.
* misc/Makefile (routines): Add getusersh.
* misc/getusersh.c: New.
Tue Jul 14 20:03:57 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* stdlib/Makefile (tests): Add testdiv.
* stdlib/testdiv.c: New.
* sysdeps/unix/sysv/i386/linux/{rename,__mkdir,__rmdir,__dup2,
getpgrp,__setpgrp,setsid}.S: New files.
* sysdeps/unix/__getppid.S: If SYS_getppid is defined, use it rather
than alternate value of getpid.
* __gete[ug]id.S: Similar.
* sysdeps/unix/sysv/i386/linux/__waitpid.S: New file.
* sysdeps/unix/sysv/i386/linux/__wait.S: New file.
* sysdeps/posix/__wait3.c: New file.
* sysdeps/unix/sysv/i386/linux/socket.S: New file.
* bind.S, connect.S, listen.S, accept.S, getsockname.S,
getpeername.S, socketpair.S: Also new (and trivial).
Mon Jul 13 17:41:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/unix/sysv/i386/linux/sysdep.[hS]: New files.
* configure (linux*): base_os=unix/sysv
(gnu*, linux*): Always set --with-gnu-ld and --with-gnu-as.
* stdio/obstream.c: #include <string.h>
(obstack_vprintf): Use bzero rather than memset.
* stdio/glue.c (unix_FILE.glue): Add two members, which will overlap
get_limit and put_limit in GNU stdio.
(_iob): Initialize them to same as `streamp'.
Thu Jul 9 21:27:39 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* stdio/stdio.h (open_obstack_stream, obstack_printf,
obstack_vprintf): Declare.
* posix/glob.c [STDC_STRINGS]: Don't test this.
[! ANSI_STRING]: Put memcpy, strrchr, memset defns here instead.
* posix/glob/Makefile.in (glob.o, fnmatch.o): / after $(srcdir).
Tue Jul 7 03:11:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* stdio/Makefile (routines): Add obstream.
* Makerules (%.o: %.S, %.o: %.c): If using gcc, put the file name
before the options on the command line.
* malloc/Makefile (dist-routines): Define with routines for malloc.tar.
(routines): Define with that plus the rest.
(nodist): Remove.
(routines): Add obstack.
(headers): Add obstack.h.
(obstack.%): New rule.
* stdio/glue.c: Add comments.
* stdio/printf.h (struct printf_info.spec): Make unsigned char.
* stdio/stdio.h (__validfp): Fixed glued-stream snarfing.
Mon Jul 6 20:00:47 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/i386/jmp_buf.h: Deansideclized.
* sysdeps/posix/Makefile (objdir-CPPFLAGS): Define; if in parent
dir, add ..s to -Is.
(mk-stdiolim): Use it in place of $(CPPFLAGS).
Sat Jul 4 20:44:42 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* posix/glob/Makefile.in (glob.o, fnmatch.o): Put $(srcdir) on deps.
Wed Jul 1 00:13:40 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/generic/strstr.c: If NEEDLE is "", return end of HAYSTACK.
* string/tester.c (main): Remove decls of sys_nerr and sys_errlist.
* configure: Accept --prefix=*, --exec_prefix=* options.
Set values in config.make and config.status.
* io/umask.c: Fixed return type in fn alias.
* posix/glob.c [! ANSI_STRING]: #define strcoll to strcmp.
Remove extra decls of free, qsort, malloc, and realloc.
* dirent/alphasort.c: #include <string.h>, and not <stdlib.h>.
* sysdeps/unix/bsd/i386/__wait3.S: Load SYS_wait into %eax before
trapping. Use literal .byte instead of lcall to avoid gas bug.
Use 0(REG), not (REG), for register-indirect addressing.
* configure: Make config.status executable.
Tue Jun 30 21:14:53 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* configure: Add --os-release=* and --os-version=* options. Record
settings (which might be automagically guessed) in config.status.
* misc/mknod.c: Use __mode_t for arg in fn alias.
* posix/unistd.h (setregid): Declare to take __gid_t args.
* sysdeps/unix/bsd/i386/__wait3.S: Don't use lcall insn gas barfs on.
* posix/vfork.c: Move to sysdeps/generic/.
* Rules (others, tests): Export them.
* io/umask.c, io/mkdir.c, io/chmod.c: Use mode_t not int in arg decls.
* sysdeps/i386/ffs.c: #include <string.h>, not <bstring.h>.
* stdio/vfscanf.c: Use function_alias.
* stdio/vsscanf.c: Use va_list, not PTR, in arg decl in fn alias.
* sysdeps/unix/i386/sysdep.h (PSEUDO): Enough backslashes and
semicolons.
* stdio/stdio.h: For __gnuc_va_list, #test __GNUC_VA_LIST, not
__va_list_defined.
* stdio/fmemopen.c: Use memchr to find NUL for append mode.
* stdio/memstream.c (enlarge_buffer): Double the buffer size, rather
than adding 100. Don't clobber *INFO->bufsize when called with the
put limit reset. If the target has been set, extend and zero-fill
the buffer.
(seek): New function.
(open_memstream): Use it for seek io fn. Call fmemopen with "w+" mode.
Sun Jun 28 19:01:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* stdio/fseek.c: Fail with EINVAL for a negative file pos.
Fri Jun 26 00:07:53 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* Makeconfig (stdarg.h): New variable.
* Makefile (headers): Add $(stdarg.h).
* stdio/stdio.h: Change __va_list to __gnuc_va_list in decls.
* sysdeps/unix/morecore.c: Include malloc.h #ifndef _MALLOC_INTERNAL.
Don't include <stdio.h>.
(NULL): Define to 0 if not defined.
* sysdeps/i386/bzero.c: Include string.h, not bstring.h.
Thu Jun 25 21:01:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* stdio/perror.c, string/strerror.c (_sys_errlist, _sys_nerr): Don't
declare #ifndef HAVE_GNU_LD.
* stdio/fwrite.c: Cast arg to write io func to const char * (from uns).
* sysdeps/unix/Makefile: If syscall.h doesn't exist in
$(sysincludedir), look for sys/syscall.h and create $(objpfx)syscall.h
to #include it.
* sysdeps/unix/morecore.c (__default_morecore): Deansideclized.
* malloc/*.c: Only #include <malloc.h> #ifndef _MALLOC_INTERNAL.
Wed Jun 24 19:09:04 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/unix/snarf-ioctls: Avoid looking at a few particular
headers which tend to mislead us.
* Makefile (distribute): Add COPYING.
* configure (Makefile): When invoking make in srcdir, set ARCH
rather than objdir on the cmd line.
* posix/glob.c [DIRENT] (direct): Don't define to dirent.
[! DIRENT] (direct): Define to dirent.
* Make-dist [!subdir] (+tsrcs): Don't include $(distribute). It was
already included above.
Mon Jun 22 16:58:34 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* Makerules (sysdep_routines): Export it.
Wed Jun 17 17:58:05 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* posix/glob.c (my_realloc): Test only __GNU_LIBRARY__. Can't trust
STDC_HEADERS.
Tue Jun 16 20:20:01 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* resource/sys/resource.h (enum __rlimit_resource): Added MEMLOCK,
NPROC, OFILE.
* posix/Makefile (glob.tar): Include Makefile.in & configure, and not
Makefile.
(glob/configure): New rule.
* posix/glob/Makefile: Moved to posix/glob/Makefile.in.
(VPATH, srcdir, CPPFLAGS): Define to be replaced by autoconf.
* posix/glob.c: Rearranged conditionals for use with autoconf.
Thu Jun 11 15:47:43 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/unix/bsd/sun/sparc/start.c: Added alias for start -> __start.
Tue Jun 9 20:15:12 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/posix/rename.c: Return failure and don't remove the old
link if the link failed with other than EEXIST.
* posix/glob/Makefile: Fixed copyright notice.
(realclean): Don't remove ~ backup files.
Thu Jun 4 16:41:56 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* time/Makefile (install-data): Don't include zoneinfo/.
Makerules already makes sure the necessary directories exist.
* setjmp/setjmp.h (sigsetjmp) [__GNUC__]: Use typeof hackery to
construct the type of the temporary var for the arg.
(_setjmp) [__FAVOR_BSD]: Make same as setjmp.
* malloc/malloc.h (mtrace): Declare.
* malloc/malloc.h, malloc/calloc.c, malloc/free.c, malloc/malloc.c,
malloc/mcheck.c, malloc/memalign.c, malloc/mstats.c,
malloc/mtrace.c, malloc/realloc.c, malloc/valloc.c: Deansideclized;
changed copyright notices to be independent of libc.
* malloc/Makefile (glob/%.c, glob/%.h): Don't need to ansideclificate.
* io/ftw.h, io/ftw.c: New.
* io/Makefile (headers): Added ftw.h.
(routines): Added ftw.
Tue Jun 2 21:49:22 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/unix/bsd/signum.h (SIG_ERR, SIG_DFL, SIG_IGN): Use
__sighandler_t.
* posix/glob.c (__ptr_t): Define.
Thu May 28 06:57:14 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/m68k/jmp_buf.h: Don't use PTR.
Wed May 27 18:09:40 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* posix/{glob,fnmatch}.[ch]: Deansideclized; changed copyright
notice to be independent of libc.
* posix/Makefile (glob/%.c, glob/%.h): Don't need to ansideclificate.
* posix/unistd.h (_SC_2_FORT_RUN, _SC_2_LOCALDEF): Define.
* posix/unistd.h: Define _POSIX2_* without #ifdef __USE_POSIX2.
* posix/unistd.h (_POSIX2_FORT_DEV): Removed.
* posix/fnmatch.h (FNM_FILE_NAME): Alias for FNM_PATHNAME.
Tue May 26 00:39:39 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* time/Makefile (install-data): Include zoneinfo/, so the directory
gets made.
* Makeconfig (+gcc-nowarn): Define to -w if using gcc.
* time/Makefile (tz-cc): Use it to suppress warnings for grody code.
* posix/Makefile (libposix.a), math/Makefile (libm.a): Make archive
containing /dev/null instead of nothing; ar won't create an empty
archive.
* Makerules (%/): Added generic mkdir rule.
* posix/Makefile (install-lib): Define to libposix.a.
(libposix.a): Create empty archive.
* posix/Makefile (distribute): Added utsnamelen.h.
* ctype/ctype.c (tolower, toupper): If the arg doesn't fit in a
char, return it unchanged.
* ctype/ctype.h (tolower, toupper): Don't define as macros.
[__GNUC__]: Define as extern inline functions.
* sysdeps/unix/bsd/sun/sunos4/utsnamelen.h,
sysdeps/unix/bsd/sun/sunos4/uname.S: New.
* configure: Only do hacking to snarf uname info if the config uses
the generic uname implementation.
* Makeconfig (+defines): Define to include $(gnu_ld), rather than
-DHAVE_GNU_LD.
* configure: Write config.make with gnu_ld/gnu_as defns.
* sysdeps/unix/bsd/sun/sunos411: Renamed back to .../sunos4.
* sysdeps/unix/bsd/bsd44: Renamed to .../bsd4.4.
* Makeconfig: include $(objpfx)configparms instead of
$(objdir)/Makeconfig.
Define objpfx as soon as objdir is defined, so we can use it.
* sysdeps/generic/uname.c: Use UNAME_* from config-name.h.
Mon May 25 19:33:07 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* configure: Accept all standard GNU configure options.
Expect to be run in object directory, and find source directory
elsewhere.
Write config.status as a shell script that can be run to recreate
the configuration.
Grok os names containing dots by trying each successively
less-precise substring.
Write Sysnames and config-name.h in current directory.
Write #define's for uname sysname, release, version, and machine
elts in config-name.h. Hackery to intuit release and version info.
* stdio/vsnprintf.c, stdio/vsprintf.c, stdio/vasprintf.c,
stdio/vdprintf.c, stdio/vfscanf.c, stdio/vscanf.c,
stdio/__vsscanf.c: Take arg list as va_list, not PTR.
* stdio/stdio.h: Replaced #include <stdarg.h> with magic.
Properly use __va_list in prototypes.
* Makeconfig (exec_prefix): Define.
(libdir, includedir, bindir): Use it.
* sysdeps/unix/sysv/Makefile [subdir==io] (sysdep-routines): Removed
__utssys.
* sysdeps/unix/sysv/Dist: Removed __utssys.S.
* sysdeps/unix/sysv/__utssys.S, sysdeps/unix/sysv/uname.c: Removed.
* sysdeps/unix/sysv/uname.S, sysdeps/unix/sysv/utsnamelen.h: New.
* posix/sys/utsname.h (_UTSNAME_LENGTH): Don't define; instead,
#include <utsnamelen.h> to define it.
* sysdeps/generic/utsnamelen.h: New.
Sun May 24 00:07:45 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* sysdeps/generic/inet-cvt.h: Deansideclized.
* string/string.h (memfrob): First arg is __ptr_t, not char *.
* misc/sys/cdefs.h (__ptr_t): Made #define rather than a typedef.
Fri May 22 01:52:04 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* Makefile, Rules, Makerules: Remove all rules for ansideclificating
headers.
* posix/glob.h, posix/fnmatch.h: Use explicit cruft for C++.
Define __P and const for C++/ANSI vs old C ourselves, to avoid
dependence on <sys/cdefs.h>.
* inet/Makefile: Remove cruft to snarf things from bsd/.
* inet/bsd/*.c: Moved to inet/.
* Makerules: Install headers from source directories into
$(includedir), rather than ansidecl madness.
* Makeconfig (ansi-incldir, trad-incldir): Removed.
(includedir): Define instead.
* assert/assert.h, ctype/ctype.h, dirent/dirent.h, grp/grp.h,
locale/locale.h, locale/localeinfo.h, math/math.h,
misc/sys/file.h, misc/sys/ioctl.h, misc/sys/ptrace.h,
misc/sys/uio.h, misc/sgtty.h, misc/nlist.h, posix/gnu/types.h,
posix/sys/wait.h, posix/sys/types.h, posix/sys/times.h,
posix/sys/utsname.h, posix/unistd.h, posix/tar.h, posix/utime.h,
posix/wordexp.h, posix/glob.h, posix/fnmatch.h, pwd/pwd.h,
resource/sys/resource.h, resource/sys/vlimit.h,
resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h,
signal/gnu/signal.h, socket/sys/socket.h, stdio/stdio.h,
stdio/printf.h, stdlib/alloca.h, stdlib/stdlib.h, string/string.h,
termios/termios.h, time/sys/time.h, time/time.h, io/sys/stat.h,
io/fcntl.h, errno.h, stddef.h, malloc/malloc.h:
Deansideclized. Use <sys/cdefs.h> macros instead of ansidecl and
C++ cruft.
* features.h: #include <sys/cdefs.h>.
* string/string.h (strfry, memfrob): Declare.
* string/Makefile (routines): Added strfry and memfrob.
* string/strfry.c, string/memfrob.c: New.
* locale/C-ctype_ct.c: Made BS be isspace.
* sysdeps/generic/strstr.c: Return HAYSTACK, not its end, if NEEDLE
is the empty string.
* sysdeps/generic/strncase.c: Fixed for case of empty string.
Wed May 20 02:36:09 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* io/sys/stat.h (fchmod): Declare, rather than two __fchmod decls.
* configure (sysv, bsd): Don't make base_os=unix; unix/{sysv,bsd}
instead.
Set os_used if base_os is used.
Tue May 19 21:00:11 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* crypt/*: New files from glad.
* stdio/stdio.h (sys_nerr, sys_errlist): Don't declare const.
Sun May 17 15:50:00 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* io/Makefile (headers): Remove gnu/stat.h; add sys/stat.h.
* posix/glob.c (glob): Don't let us fall off the end without returning.
* sysdeps/stub/setenv.c, sysdeps/posix/setenv.c: New.
* stdlib/stdlib.h [__USE_BSD] (setenv): Declare.
* stdlib/Makefile (routines): Add setenv.
* malloc/mtrace.c (old_{free,malloc,realloc}_hook): Renamed to tr_&
to not conflict with mcheck.c when combined into gmalloc.c.
Fri May 15 19:07:54 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* socket/sys/socket.h (PF_NBS, AF_NBS): Removed.
(PF_ISO, PF_OSI, PF_APPLETALK, PF_ROUTE, PF_LINK): Define.
(PF_MAX): Increase accordingly.
* inet/bsd/*.c: Snarfed latest code from 4.4.
* misc/sys/cdefs.h (__BEGIN_DECLS, __END_DECLS): Define cruft for C++.
Thu May 14 01:45:12 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* posix/glob.h (GLOB_MAGCHAR): Check user feature-test macros,
rather than __USE_BSD, so we don't depend on features.h.
* sysdeps/stub/__wait4.c: Last arg is struct rusage *, not PTR.
* math/bsd/common_source/mathimpl.h: Don't #define const.
#include <sys/cdefs.h> instead.
* Makefile (+other_dirs): Add crypt, but only if it exists at run time.
* crypt/GNUmakefile: New file.
* sysdeps/sparc/Makefile, sysdeps/m68k/Makefile (crypt):
Define to use machine-dependent assembly code in crypt/crypt.*.S.
* crypt: New directory.
* find-sysdirs: Don't lose if there are no sysnames.
* termios/Makefile (headers): Added sys/termios.h.
* termios/sys/termios.h: New file; just #include <termios.h>.
* stdlib/qsort.c: Define _quicksort rather than qsort.
* stdlib/msort.c: New file; defines qsort function that does merge
sort. Falls back to _quicksort if it fails to allocate a temp array.
* stdlib/Makefile (routines): Added msort.
* string/string.h (memccpy, strdup): Also declare #ifdef __USE_BSD.
[__USE_BSD] (index, rindex, bcmp, bzero, ffs): Declare.
* string/strings.h: Just #include <string.h>.
* string/Makefile (headers): Removed bstring.h.
* misc/Makefile (routines): Removed swab.
* string/Makefile (routines): Put it here instead.
* misc/swab.c: Moved to string/swab.c.
* stdio/stdio.h [__USE_BSD] (sys_nerr, sys_errlist): Declare.
* grp/grp.h (setgrent, endgrent, getgrent): Also do #ifdef __USE_BSD.
* posix/glob.h [__USE_BSD] (GLOB_MAGCHAR): Declare.
(glob_t): Added member `gl_flags'.
* posix/glob.c (glob, glob_in_dir): Set gl_flags member to FLAGS;
or in GLOB_MAGCHAR if any metachars are seen.
* sysdeps/unix/bsd/bsd44/readdir.c: New.
* sysdeps/unix/bsd/sun/readdir.c: Don't need to declare
__getdirentries here. Use off_t and ssize_t.
* misc/Makefile (routines): Removed getdents and __getdents.
* dirent/Makefile (routines): Put them here instead.
* misc/getdents.c: Moved to dirent/getdents.c.
* dirent/dirent.h [__USE_BSD] (__getdirentries, getdirentries):
Declare.
* dirent/Makefile (routines): Added scandir and alphasort.
* dirent/scandir.c, dirent/alphasort.c: New.
* dirent/dirent.h [__USE_BSD] (scandir, alphasort): Declare.
* sysdeps/unix/bsd/nice.c, sysdeps/unix/sysv/nice.S,
sysdeps/stub/nice.c: New.
* resource/Makefile (routines): Added nice.
* misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): #define to
__ versions, for the sake of 4.4 header files.
Wed May 13 00:35:12 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* stdlib/tst-strtol.c: Fixed typo in test table.
* stdlib/strtol.c: Fixed checking for overflow of long int that fits
in unsigned long int.
* misc/Makefile (headers): Added ttyent.h.
(routines): Added getttyent.
* misc/ttyent.h, misc/getttyent.h: New; snarfed from 4.4.
* posix/sys/wait.h [__USE_BSD]: Added forward decl for struct rusage.
(__wait4, __wait3): Declare arg as struct rusage, not PTR.
* inet/arpa/*.h, inet/protocols/*.h, inet/netdb.h, inet/resolv.h:
New files from 4.4.
* inet/Makefile (headers): Snarf *.h from arpa/ and protocols/.
* sysdeps/m68k/fpu/__math.h, assert/assert.h: #include <sys/cdefs.h>
and use its macros rather than rolling our own.
* misc/sys/cdefs.h: New file.
* misc/Makefile (headers): Add it.
* Makerules: Moved check for headers coming from env to Rules.
Tue May 12 01:04:10 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* sysdeps/generic/strsep.c: New.
* string/string.h [__USE_BSD] (strsep): Declare.
* string/Makefile (routines): Added strsep.
* sysdeps/unix/sysv/__settod.c, sysdeps/unix/sysv/stime.S,
sysdeps/unix/bsd/stime.c, sysdeps/stub/stime.c: New.
* time/time.h [__USE_SVID] (stime): Declare it.
* sysdeps/unix/bsd/bsd44/__getdents.S: New.
* posix/wordexp.h, posix/utime.h, posix/unistd.h, time/time.h,
termios/termios.h, posix/tar.h, string/strings.h, string/string.h,
stdlib/stdlib.h, signal/signal.h, stdio/stdio.h, misc/sgtty.h,
setjmp/setjmp.h, inet/resolv.h, pwd/pwd.h, stdio/printf.h,
misc/nlist.h, inet/netdb.h, math/math.h, malloc/malloc.h,
locale/locale.h, grp/grp.h, posix/glob.h, posix/getopt.h,
posix/fnmatch.h, io/fcntl.h, errno.h, dirent/dirent.h,
ctype/ctype.h, string/bstring.h, assert/assert.h, stdlib/alloca.h,
misc/a.out.h [__cplusplus]: Added stupid cruft for losing C++.
Mon May 11 01:40:49 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* math/Makefile (headers): Added huge_val.h and nan.h.
* io/Makefile (headers): Changed gnu/stat.h to statbuf.h.
* time/Makefile (install-data): Include $(localtime-file) and
$(posixrules-file) if they are relative.
(install-others): Include them if absolute.
($(posixrules-file), $(localtime-file)): Define rules to install if
absolute file names.
* Makerules (+install): Include $(install-others) verbatim.
* Makeconfig (localtime-file): Made default /etc/localtime.
* sysdeps/generic/Makefile (endian.h): Only generate if would
otherwise use stub version.
* sysdeps/stub/endian.h, sysdeps/i386/endian.h: New.
* Rules, Makefile: Export distribute and dont_distribute.
* Make-dist: Export sysdep_dirs. Unexport things rather than
clobbering their values.
* misc/sys/ptrace.h: Fixed typo.
* stdio/stdio.h (__io_read, __io_write, __io_seek, __io_close):
Added comments.
* stdio/internals.c (flushbuf): If in append mode, don't do aligned
writing, seek to the target, or update the offset.
* posix/unistd.h (lseek): Doc fix.
* misc/swab.c: New.
* misc/Makefile (routines): Added swab.
Wed May 6 12:32:18 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* math/Makefile, inet/Makefile (source_dirs): Export it.
* MakeTAGS (all-dirs): Include $(source_dirs).
* Makefile (TAGS): Removed dep on subdir_TAGS.
(+subdir_targets): Removed subdir_TAGS.
* MakeTAGS [! subdir] (TAGS): Depend on subdir_TAGS.
[! subdir] (subdir_TAGS): Recurse on subdirectories.
* Makerules (headers): Don't take value from the environment.
* Makerules (sysdirs, sysdep_dir): Export them.
* MakeTAGS: New makefile.
* Makefile (distribute): Include it.
* Makefile (TAGS), Rules (TAGS): Removed rules.
* Makerules (TAGS): New rule that uses MakeTAGS.
* Makefile (TAGS): Depend on subdir_TAGS.
* Makerules (install, install-lib, install-data, routines, aux):
Don't bother removing these if they come from the environment, since
they won't with make >= 3.62.8.
* Rules (distribute, headers): Ditto.
(subdir): Export it.
* Makerules (sources, headers): Export these.
* Makefile (subdirs): Export it.
* Rules (+tags_sources): Removed.
* Makerules (tags-sources): Define here.
* ctype/Makefile (tags-sources): Redefine to give headers precedence
over sources.
* Rules (TAGS), Makefile (TAGS): Rewrote rules.
* Makeconfig (+ctags): Removed.
(ETAGS): Define.
* sysdeps/posix/getcwd.c: Don't closedir twice.
* sysdeps/unix/bsd/hp/m68k/__wait3.S: Define __wait3, not ___wait3.
* posix/sys/types.h [__USE_BSD] (fsid_t): Define.
* posix/gnu/types.h (__fsid_t): Define.
* io/fcntl.h (F_GETLK): Define.
Tue May 5 18:36:46 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
* misc/Makefile (routines): Added seteuid and setegid.
* sysdeps/stub/sete[ug]id.c, sysdeps/unix/bsd/bsd44/sete[ug]id.S: New.
* posix/unistd.h [__USE_BSD] (seteuid, setegid): Declare.
* sysdeps/unix/bsd/tcsendbrk.c: #include <sys/types.h>
* Makerules: Strip whitespace from $(headers) so ifdef wins.
* sysdeps/unix/bsd/bsdtty.h: #undef a bunch more things.
* sysdeps/unix/bsd/bsd44/errnos.h: New, hacked from 4.4 <sys/errno.h>.
* sysdeps/unix/Makefile (ioctls.h, errnos.h): Only generate if
the files that would be used otherwise are the stub versions.
* sysdeps/unix/bsd/tcflow.c: Don't write VSTOP or VSTART if it is
_POSIX_VDISABLE.
* sysdeps/unix/bsd/tcflush.c: Use FREAD|FWRITE for TCIOFLUSH.
* sysdeps/unix/bsd/usleep.c: Use select rather than itimers to wait.
* sysdeps/unix/bsd/tcsendbrk.c: Use select rather than itimers to wait.
* termios/cfmakeraw.c: New.
* termios/Makefile (routines): Added cfmakeraw.
* sysdeps/unix/bsd/bsd44/ioctls.h: New file, hacked from 4.4
<sys/ioctl.h>.
* sysdeps/unix/bsd/bsd44/__tcgetatr.c: New.
* sysdeps/unix/bsd/bsd44/tcsetattr.c: New.
* sysdeps/unix/bsd/bsd44/tcdrain.c: New.
* termios/sys/ttydefaults.h: New, snarfed from 4.4.
* termios/Makefile (headers): Define.
* termios/termios.h [__USE_BSD]: #include <sys/ttydefaults.h>
* sysdeps/posix/getcwd.c: Removed unused variable.
* time/__tzset.c: Cast string literal to (char *).
* setjmp/sigjmp_save.c: Declare properly to return void.
* sysdeps/ieee754/nan.h: Created; somehow it disappeared.
Mon May 4 18:30:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* sysdeps/unix/bsd/bsd44/__wait4.S: New.
* sysdeps/unix/bsd/4.4: Renamed to sysdeps/unix/bsd/bsd44.
* signal/gnu/signal.h (__SA_DISABLE, __SA_NOCLDSTOP): Use same bits
4.4 uses.
Sun May 3 13:57:25 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* stdio/fwrite.c: Use unsigned char to avoid sign extension.
* stdlib/__random.c (randtbl): Replaced default constants so they
match the state produced by "srandom (1)".
* stdlib/mbtowc.c: Test for S == "" before testing for no mbchars.
* stdlib/Makefile (tests): Added testrand.
* stdlib/testrand.c: New test for rand.
* stdlib/testmb.c: Added 2 mblen tests.
* stdlib/wcstombs.c: Don't do anything strange for EOF.
Copy non-MB characters as they are.
Properly increment S after writing.
* stdlib/testmb.c: Added test case for wcstombs.
* signal/signal.h (SA_DISABLE): Define.
* signal/gnu/signal.h (__SA_DISABLE): Define.
* signal/signal.h (struct sigaltstack): Define new type.
(sigaltstack): Declare new fn.
* sysdeps/stub/sigaltstack.c: New.
* sysdeps/unix/bsd/4.4/sigaltstack.S: New.