-
Notifications
You must be signed in to change notification settings - Fork 11
/
ChangeLog.0
1732 lines (1120 loc) · 57.2 KB
/
ChangeLog.0
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
2000-01-30 Guido Flohr <guido@freemint.de>
* include/nan.h, include/huge_val.h: New headers for gmp
implementation.
* include/ieee754.h: Fixed for mshort.
* src/longlong.h: Sigh, disabled all fpu code.
* src/s_isinf.c, src/s_isinff.c, ssrc/s_isinfl.c, src/s_isnan.c,
src/s_isnanf.c, src/s_isnanl.c: New files.
* include/math.h: New macros isnan and isinf.
* src/strnlen.c: New file.
2000-01-29 Guido Flohr <guido@freemint.de>
* include/assert.h: Changed assert/__assert macros to avoid
compiler warnings.
2000-01-20 Guido Flohr <guido@freemint.de>
* include/signal.h, src/signames.c: Renamed signal_names
to __signal_names.
* include/clean-include.h: Added sigvec.h (used to be in portlib)
to list of stale header files (thanks to Johnny "Ligotage"
Blakeley <john.blakeley@mon.bbc.co.uk> for the hint).
1999-12-28 Guido Flohr <guido@freemint.de>
* include/sys/time.h: Corrected prototype for setitimer.
* crypt, tests: New directories.
* include/stdio.h: Typedef ssize_t for getline/getdelim.
* src/strstr.c: Correctly return haystack when needle is
empty.
* src/strcmp.c, src/strncmp.c: Fixed, now 8 bit clean.
1999-12-27 Frank Naumann <fnaumann@cs.uni-magdeburg.de>
* include/mintbind.h: Added new kernel calls Fsync, Dsetkey.
* include/sys/ioctl.h: New ioctls FIOEXCEPT, FSTAT64, and
FUTIME_UTC.
* include/termios.h: New terminal speeds B460800 and B921600
(optimist!).
* src/do_stat.c: Changed to support new Fstat64 call.
* src/fstat.c: Changed to use new FSTAT64 ioctl.
* src/fsync.c: No more a dummy with new kernels.
* src/utime.c: Changed to support new kernel features (UTC
timestamps).
1999-12-27 Guido Flohr <guido@freemint.de>
* src/setitimer.c: Fixed embarassing bug, the function
arguments were swapped!
* include/macros.h: Added bitwise rotation macros ROLL, RORL,
ROLW, RORW, ROLB, RORB, ROLL1, RORL1, ROLW1, RORW1, ROLB1
and RORB1 to give access to m68k ROdx instructions.
* src/stpcpy.c, src/stpncpy.c: Replaced buggy implementations
with GNU libc files.
1999-12-20 Guido Flohr <guido@freemint.de>
* src/SRCFILES: Added forgotten module vsnprintf.c.
1999-12-13 Guido Flohr <guido@freemint.de>
* include/linea.h: Changed char poiner to void pointer in
definition of MFDB to avoid conflicts with <gem.h>.
1999-11-28 Guido Flohr <guido@freemint.de>
* src/do_stat.c: Don't cache existence of Fstat system call.
Treat ENOSYS and EINVAL alike.
* src/canonicalize.c: Prototype for __lstat added.
* src/tconfig.h: Some changes to get libgcc2.c working (not
complete).
1999-11-21 Guido Flohr <guido@freemint.de>
* src/getspent_r.c, src/killpg.c, src/putpwent.c, src/remove.c,
src/tcattr.c, src/tzfile.h: Code cleanup.
* src/globals.c: Defined _exit_dummy_decl. Where does this come
from? From gcc itself?
* src/canconicalize.c, src/execvp.c: Code cleanup.
1999-10-23 Guido Flohr <guido@freemint.de>
* src/wordexp.c: Properly prototyped mempcpy.
1999-10-21 Guido Flohr <guido@freemint.de>
* src/ioctl.c: New ioctl TIOCSCTTY. For TIOCNOTTY we first try
the kernel's TIOCNOTTY and then emulate. If MiNT is active
then ENOSYS will be converted to EINVAL.
* include/sys/ioctl.h: Added TIOCSCTTY.
* src/kill.c: Revoked special treatment for system processes.
Has to be done by the kernel. Everything else will not
work.
* src/siglist.c, src/signames.c, include/signal.h, src/wait4.c:
SIGSYS back again and SIGPWR is now 31. Thanks to Thomas
Binder for fixing the kernel problem.
* include/macros.h: BUGFIX, abs macro was somehow messed up.
1999-10-17 Guido Flohr <guido@freemint.de>
* src/wait4.c: Convert ENOENT to ECHILD.
* src/kill.c, src/killpg.c: Emulate correct behavior for
kill (-1, sig). The pids 0, 1, 2, and 3 are considered priviliged
and won't get signaled.
1999-10-12 Guido Flohr <guido@freemint.de>
* src/siglist.c, src/signames.c, include/signal.h, src/wait4.c:
Removed SIGSYS (unused) and replaced its meaning with SIGPWR.
The kernel had problems with adding a new signal at the
end of the list. SIGSYS seems not to be used by any
software.
1999-10-11 Guido Flohr <guido@freemint.de>
* src/execvp.c: Bugfix, execvp always tried the current directory
first, no matter what $PATH said. Now $PATH gets respected.
* include/string.h: Removed prototype for __mempcpy().
* include/unistd.h, include/sys/types.h: Changed off_t back to
4 bytes (was temporarily 8 bytes).
* src/do_stat.c, src/fstat.c: Set st_flags to 0 (has nothing to
do with former member st_attr).
* include/unistd.h, src/lseek.c: Changed return value for lseek
from long to off_t.
* include/sys/ttydefaults.h: Changed defaults to output of
"stty sane".
1999-10-10 Guido Flohr <guido@freemint.de>
* include/utmp.h: Removed prototype for __setutent().
* include/unistd.h: Corrected off_t to long long.
1999-10-03 Guido Flohr <guido@freemint.de>
* src/fgetpwent_r.c, src/fgetspent_r.c, src/sgetspent_r.c:
Bugfix, no more EFAULT if *result is NULL.
1999-10-02 Guido Flohr <guido@freemint.de>
* src/rename.c: Bugfix, files residing on the same file system
were always considered to be the same file triggering EEXIST.
* src/open.c: Current kernels don't allow the superuser write
access to write-protected files. The MiNTLib tries to
work around that.
1999-09-30 Guido Flohr <guido@freemint.de>
* src/wait4.c: Repair broken wait status for processes that terminated
with exit codes > 255. Reported by Helmut Karlowski
<Helmut_Karlowski@mausd.gun.de>.
* include/signal.h: #define SIGPOLL to SIGIO (for SysV compatibility).
1999-09-29 Guido Flohr <guido@freemint.de>
* include/errno.h: Include <compiler.h>!
1999-09-28 Guido Flohr <guido@freemint.de>
* src/signal.c: Return EINVAL and not ERANGE for invalid signals.
1999-09-27 Guido Flohr <guido@freemint.de>
* configvars: Bumped version number to 0.54 and did a pre-release.
* src/fstat.c, src/ioctl.c, src/isctty.c, src/ttyname.c,
src/ttyname_r.c, src/write.c: Modified
for new Fstat() kernel interface.
* src/setsid.c: Bugfix, define __setsid to setsid without
weak symbols.
1999-09-26 Guido Flohr <guido@freemint.de>
* src/writev.c, src/readv.c: Removed, now in socket. Otherwise
we have problems with cross-dependencies.
* socket/writev.c, src/readv.c: New files, came here from libsocket.
* include/sys/stat.h, src/do_stat.c: Modified for new kernel call
Fstat().
* include/sys/types.h: Changed dev_t from short int (16 bits) to
unsigned long long int (64 bits) and off_t from long to long long.
* include/compiler.h: Changed uid_t and gid_t from unsigned short
to unsigned long. Changed pid_t from short to long.
* src/utime.c, src/ttyname.c, src/ttyname_r.c, src/rename.c,
src/readlink.c, src/symlink.c, src/open.c, src/mknod.,
src/mkfifo.c, src/link.c:
Changed struct stat in struct xattr for call to Fxattr. FIXME:
This should be changed in Fattrib() since we only check for
existence (avoids recalculations of timestamps inside the
kernel).
1999-09-25 Guido Flohr <guido@freemint.de>
* include/mint/errno.h, src/strerror.c: Added ENSLOCK and EXCPT for
kernel compatibility.
1999-09-22 Guido Flohr <guido@freemint.de>
* src/ctime.c: Bugfix, call tzset() explicitely.
* include/shadow.h, src/fgetspent.c, src/fgetspent_r.c, src/getspent.c,
src/getspent_r.c, src/getspnam.c, src/getspnam_r.c, src/lckpwdf.c,
src/putspent.c, src/sgetspent.c, src/sgetspent_r.c: New files.
1999-09-22 Guido Flohr <guido@freemint.de>
* include/crypt.h: New file.
* src/getpass.c: Replaced with glibc version.
* src/getline.c: Bugfix, really define weak aliases for
getline and getdelim.
1999-09-21 Guido Flohr <guido@freemint.de>
* include/mint/ssystem.h: Added new opcode S_CTRLALTDEL.
1999-09-20 Guido Flohr <guido@freemint.de>
* include/sys/reboot.h, src/reboot.c: New file.
1999-09-19 Guido Flohr <guido@freemint.de>
* src/libgcc1.c: Removed.
* src/temp.cpp: Removed, same as _normdf.cpp?
* src/_fxunsd.cpp: Removed, all in libgcc2.c?
* src/libgcc2.c: Replaced with recent version.
* src/tconfig.h, src/gthr.h, src/eh-common.h: New files.
* src/siglist.c, src/signames.c, include/signal.h: Added
new signal SIGPWR (number 31). This is experimental.
Don't yet rely on it.
1999-09-18 Guido Flohr <guido@freemint.de>
* src/rename.c, src/rmdir.c, src/setegid.c, src/setregid.c,
src/bsd_setpgrp.c, src/setpriority.c, src/seteuid.c,
src/setreuid.c, src/setsid.c, src/settimeofday.c, src/unlink.c,
src/wait4.c:
Adapted to new error codes.
* src/sysconf.c: Bug fixes for sysconf() and pathconf(). They
returned error codes.
* src/getutid.c, src/getutid_r.c, src/getutline.c, src/getutline_r.c,
src/logwtmp.c, src/updwtmp.c, src/utmp-private.h, src/utmp_file.c,
include/libc-lock.h:
New files.
* src/utmp.c: Removed.
1999-09-17 Guido Flohr <guido@freemint.de>
* include/stab.h, include/stab.def: Both files removed, they can
now be found in the package mintbin.
* src/strerror.c: Rewritten from scratch.
* src/alarm.c, src/chdir.c, src/chown.c, src/fchown.c,
src/lchown.c, src/flock.c, src/fcntl.c, src/do_lock.c,
src/statfs.c, src/truncate.c, src/setgroups.c, src/getpgrp.c,
src/getpriority.c, src/setpriority.c, src/getrusage.c,
src/ioctl.c, src/kill.c, src/killpg.c, src/link.c,
src/lseek.c, src/mkdir.c, src/open.c, src/pause.c, src/pipe.c,
src/readv.c:
Adapted to new error codes.
* include/mintbind.h: Renamed Pchroot to Dchroot.
1999-09-17 Frank Naumann <fnaumann@cs.uni-magdeburg.de>
* src/chdir.c: Fixed to not mess up current drive.
1999-09-14 Guido Flohr <guido@freemint.de>
* include/mint/errno.h: New file, containing the new
error codes.
* include/errno.h: Now basically includes <mint/errno.h>.
* src/getutent.c, src/getutent_r.c, src/utmpname.c: New files.
1999-09-12 Guido Flohr <guido@freemint.de>
* configvars: Bumped version number to 0.54.
* include/protocols/routed.h, include/protocols/rwhod.h,
include/protocols/talkd.h, include/protocols/timed.h:
New files.
* include/sys/ttychars.h, include/sys/ttydefaults.h:
New files.
* include/sys/uio.h, include/iovec.h: New files.
* include/compiler.h, include/unistd.h, include/sys/types.h:
New macro __SSIZE_TYPEDEF__ for ssize_t.
* src/cfsetspeed.c: New files.
* src/gethostn.c: Renamed to gethostname.c.
* src/cfsetspeed.c, src/chroot.c, src/daemon.c, src/fcrypt.c,
src/getdomainname.c, src/gethostid.c, src/getusershell.c,
src/ident.c, src/iflink.c, src/login_tty.c, src/logout.c,
src/logwtmp.c, src/pty.c, src/readv.c, src/rtent.c,
src/sigvec.c, src/snprintf.c, src/strsep.c, src/syslog.c,
src/writev.c: New files, either taken over or rewritten
from Kay Roemer's portlib.
* include/unistd.h: New function chroot(). Just btw,
with recent MiNT kernels the function even works. New
function ttyname_r().
* include/paths.h, include/pty.h: New files.
* include/mint/iflink.h: New file.
* include/utmp.h: Replaced with adapted version from GNU
libc.
* include/utmpbits.h: New file.
* src/utmp.c, src/wtmp.c: Removed. Attention, the undocumented
functions _write_utmp and _write_wtmp are not available
anymore! Use the functions listed (and explained) in
<utmp.h> en lieu!
* src/login.c: New file.
* include/signal.h: Protos for new functions siginterrupt()
and sigvec(). Added declaration for sys_siglist.
* include/stdio.h: Protos for new functions snprintf() and
vsnprintf() added.
* src/vsnprintf.c: New file.
* include/string.h: Proto added for strsep().
* include/syslog.h: New file.
* include/sys/socket.h, include/sys/un.h, include/arpa/ftp.h,
include/arpa/inet.h, include/arpa/nameser.h,
include/arpa/telnet.h, include/arpa/tftp.h, include/net/bpf.h,
include/net/if.h, include/net/if_arp.h, include/net/if_ppp.h,
include/net/if_sl.h, include/net/route.h,
include/net/slcompress.h, include/netinet/if_ether.h,
include/netinet/in_systm.h, include/netinet/ip_icmp.h,
include/netinet/tcp.h, include/netinet/tcpip.h,
include/netinet/udp_var.h, include/netinet/in.h,
include/netinet/ip.h, include/netinet/ip_var.h,
include/netinet/udp.h, include/rtent.h: New files.
* include/siglist.h: Removed.
* src/siglist.c, src/signames.c: Correct types.
* src/ttyname_r.c: New file.
1999-09-12 Guido Flohr <guido@freemint.de>
* src/getcwd.c: Allow 0 for SIZE argument to getcwd(). In this
case the buffer is allocated with the size needed.
* src/main.c: Set root drive when __libc_unix_name is non-zero.
* src/open.c: Always return -1 on error instead of
SMALLEST_VALID_HANDLE - 1. Hope this won't break anything
but returning anything but -1 or a valid file handle
is a bug.
* src/new_york.h: Append `L' to long constants, reported by
Helmut_Karlowski@mausd.gun.de (Helmut Karlowski).
1999-09-09 Guido Flohr <guido@freemint.de>
* src/do_lock.c: Check open mode before acquiring lock.
Thus, files don't have to be opened for writing in
order to get a read lock.
1999-20-06 Guido Flohr <guido@freemint.de>
* src/ioctl.c: Set default terminal speeds for MiNT emulation
to 9600 Baud.
* src/tcattr.c: Added fake line discipline.
* include/termios.h: Added member c_line to struct termios.
* include/sys/ioctl.h: New macros TOS and XKEY.
1999-08-06 Guido Flohr <guido@freemint.de>
* src/setlocal.c: Removed, renamed to setlocale.c.
* include/locale.h: Fixed struct localeconv.
1999-08-06 Guido Flohr <guido@freemint.de>
* src/utime.c: Workaround for kernel bug when changing timestamps
of toplevel directories that are symlinks.
1999-08-02 Guido Flohr <guido@freemint.de>
* src/exit.c: Typo fixed, no more unresolved references to
___fclose_all_files (reported by Johnnie Ligotage,
<johnnie@ligotage.demon.co.uk>.
1999-07-29 Frank Naumann <fnaumann@prinz-atm.cs.uni-magdeburg.de>
* src/readlink.c, src/symlink.c: Changed behavior of the
two functions once again. Only convert link names
when necessary.
1999-07-28 Guido Flohr <guido@freemint.de>
* src/div.c: Removed.
* src/div_safe.c: New file, former div.c. Having the assembler
file div.cpp and div.c simultaneously confused dependency
generation. Now, div.c is provided for information (or
other compilers than gcc) only.
1999-07-22 Guido Flohr <guido@freemint.de>
* src/temp.s: Removed.
* src/temp.c: New file, replaces temp.s. We needed a preprocessed
version so that there is no dangerous relocation to errno in
case of shared text compilation.
1999-07-21 Guido Flohr <guido@freemint.de>
* src/crt0.cpp: Removed definition for setstack().
* src/crtinit.c: Removed definition for _exit().
* src/setstack.cpp, src/_exit.c: New files, put into
separate modules to avoid crtinit.o and crt0.o to be dragged into
the link.
* src/_mon.cpp: Provide dummy definitions for profiling
stuff so that crt0.o is not dragged into the link if not
linked with no standard startup files.
* src/crtinit.c, src/globals.c: Moved another bunch of global
symbols from crtinit.c to globals.c.
* src/chdir.c: Include <string.h> for prototyping strcmp ().
1999-07-13 Guido Flohr <guido@freemint.de>
* src/readlink.c, src/symlink.c: Don't obey __libc_unix_names
here. Symlinks will continue to be stored in DOS format
on the medium.
1999-07-10 Guido Flohr <guido@freemint.de>
* include/mint/random.h: New file.
1999-07-10 Guido Flohr <guido@freemint.de>
* src/lchown.c: Removed, needs to get worked out first.
* include/mintbind.h: Removed macro for Flchown.
* include/unistd.h: Removed prototype for lchown().
1999-07-09 Guido Flohr <guido@freemint.de>
* src/fchown.c, src/fchmod.c, src/lchown.c: Bindings were completely
bogus. Sorry, too tired then.
1999-07-05 Guido Flohr <guido@freemint.de>
* include/mint/dcntl.h: #undef redeclaration of struct flock
(already in fcntl.h) if not compiling the kernel.
* src/read.c: The proverbial one-byte-error, logical OR instead
of logical AND and the entire I/O part is blown.
1999-07-04 Guido Flohr <guido@freemint.de>
* src/main.c: Moved exit() to different module so that referencing
exit() won't drag main.o into the link. Additionally moved
global variables into global.c and made _main a weak alias
for __libc_main.
* src/globals.c, src/exit.c: New files.
1999-07-03 Guido Flohr <guido@freemint.de>
* configvars: Bumped version number to 0.52.3
* buildrules, include/stdlib.h, include/ieee754.h: Disabled
compilation of POSIX 48 bit random functions when using
short (aka castrated) integers.
1999-07-03 Guido Flohr <guido@freemint.de>
* buildrules: Whew, crt0.o has made it into the library,
fixed.
* src/SRCFILES: Uhm, getrlimit.c has somehow fallen out
of the distribution, sorry Frank!
* src/libgcc2.c, src/psignal.c: Fixed unresolved references to
_write.
* src/mrand48.c, src/mrand48_r.c: Typos fixed.
* include/sys/fcntl.h: New file, simply includes <fcntl.h>,
reported by Frank Naumann <fnaumann@prinz-atm.cs.uni-magdeburg.de>.
* src/Makefile: Typo fixed. The `_sys.c' files will now
build (reported by Edgar Aichinger <eaiching@t0.or.at>.
* src/basename.c: Bugfix, return first character _after_
slash.
* include/mintbind.h: New macros for Ffchown, Ffchmod,
Flchown and Pchroot.
* src/fchown.c, src/lchown.c, src/fchmod.c: Check for
descriptors > SHRT_MAX, stubs implementation replaced
with real one.
1999-07-04 Frank Naumann <fnaumann@prinz-atm.cs.uni-magdeburg.de>
* src/siglist.c: Moved definition of array signal_names to
different file to avoid namespace problems.
* src/signames.c: New file.
* include/mint/dcntl.h: Several updates to recent kernels.
* src/statfs.c: Optimization for gcc.
* src/sysinfo.c: Removed non-existant processor types mc68070-90,
properly detect milan hardware.
1999-07-03 Guido Flohr <guido@freemint.de>
* src/gbl-ctors.h, src/glob.c, src/getopt.c, src/regex.c:
Fixed compiler warnings.
* src/fchmod.c, src/fchown.c, src/lchown.c: New files, first
implementation as a stub.
* include/sys/stat.h: Added prototype for fchmod().
* include/unistd.h: Added prototypes for fchown() and lchown().
* src/isatty.c, src/main.c, src/spawn.c: Fixed compiler warnings.
* include/errno.h: #defined EAGAIN to EWOULDBLOCK.
* include/fcntl.h: Renamed O_NDELAY to POSIX O_NONBLOCK. O_NDELAY
is still available with __USE_GNU.
* include/macros.h: Replaced `typedef' with `__typeof__' in
GNU macros (typedef throws a compiler warning with recent
gcc versions and __typeof__ should also be C++-safe).
1999-07-02 Guido Flohr <guido@freemint.de>
* src/crtinit.c: Changed default stksize to 16 kBytes. It seems
that the library internal code (tz evaluation) already consumes
too much stack to stay with the old limit of 8k.
* src/main.c: Global variable __libc_unix_names is set to 1
for recent MiNT versions (currently > 1.12) iff the root
drive is `U'. In this case the library will not call
_unx2dos to convert pathnames to Redmond style with drive
letter and backslash.
* src/chdir.c, src/chmod.c, src/do_stat.c, src/link.c, src/mkfifo.c,
src/mknod.c, src/open.c, src/opendir.c, src/readlink.c,
src/rename.c, src/rmdir.c, src/spawn.c, src/symlink.c, src/sysconf.c,
src/truncate.c, src/unlink.c, src/utime.c:
Don't convert filenames with _unx2dos() if __libc_unix_names is
non-zero.
* src/dostime.c: Renamed _dostime() to __dostime().
* src/lib.h: Changed protos for _unixtime to __unixtime and
_dostime to __dostime. Added declarations of global variables
__mint, __libc_enable_secure and __libc_unix_names.
* src/utime.c: Call __dostime() instead of _dostime(), see
above.
* src/do_stat.c: Check also for extenders `.app' and `.gtp'
when emulating x-bit for TOS.
* src/unixtime.c: Bugfix, the function previously assumed that
today's value of TIMEZONE is valid for all ages. It now
uses mktime() to calculate the correct value for the time
in question.
1999-06-30 Guido Flohr <guido@freemint.de>
* include/time.h, include/sys/resource.h, include/sys/time.h,
include/sys/times.h, include/sys/utsname.h: Changed
`__EXTERN "C" {' to `extern "C" {' resp. used __BEGIN_DECLS
instead (reported by Frank Naumann
<fnaumann@prinz-atm.cs.uni-magdeburg.de>).
* include/alloc.h: Removed.
* include/alloca.h: New file.
* include/memory.h: Moved prototypes for alloca() into
<alloca.h>.
* src/getpages.c: Removed.
* src/getpagesize.c: New file, former getpages.c. Patch
by Frank Naumann <fnaumann@prinz-atm.cs.uni-magdeburg.de>
to return correct pagesize for MiNT without MP.
1999-06-25 Guido Flohr <guido@freemint.de>
* src/lrand48.c: Added prototype for __nrand48_r().
* src/lrand48_r.c: Fixed wrong prototype for __nrand48_r().
1999-06-25 Guido Flohr <guido@freemint.de>
* configvars: Released version 0.52, bumped version number to
0.52.1.
* src/tmpfile.c: Bugfix, don't use a NULL pointer as argument
to tmpnam_r().
1999-06-25 Guido Flohr <guido@freemint.de>
* src/drand48_r.c, src/erand48.c, src/erand48_r.c: Fixed broken
macros for calling erand48_r().
* include/sys/cdefs.h: New file, compatibility with GNU libc.
* src/err.c, include/err.h: New files, 4.4BSD error functions.
1999-06-23 Guido Flohr <guido@freemint.de>
* include/stdio.h: Removed prototype for getstr(), reported
by Frank Naumann <fnaumann@prinz-cs.uni-magdeburg.de>.
* src/getline.c: Made getstr() static, weakened getline() and
getdelim().
1999-06-17 Guido Flohr <guido@freemint.de>
* src/drand48.c, src/drand48_r.c, src/erand48.c, src/erand48_r.c,
src/jrand48.c, src/jrand48_r.c, src/lcong48.c, src/lcong48_r.c,
src/lrand48.c, src/lrand48_r.c, src/mrand48.c, src/mrand48_r.c,
src/nrand48.c, src/nrand48_r.c, src/seed48.c, src/srand48.c,
src/srand48_r.c: Adapted for MiNTLib weak symbols.
* include/stdlib.h: Fixed buggy prototypes (use doubly-underscored
argument names).
1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* src/jrand48_r.c (__jrand48_r): Set also upper half of result.
Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1999-06-17 Ulrich Drepper <drepper@cygnus.com>
* include/stdlib.h (struct drand48_data): Leave X to user macros
and use x for member name.
Reported by Daniel Lyddy <daniel@cs.berkeley.edu>.
* src/drand48.c: Change according to member name change.
* src/drand48_r.c: Likewise.
* src/lcong48_r.c: Likewise.
* src/lrand48.c: Likewise.
* src/lrand48_r.c: Likewise.
* src/mrand48.c: Likewise.
* src/mrand48_r.c: Likewise.
* src/seed48.c: Likewise.
* src/seed48_r.c: Likewise.
* src/srand48_r.c: Likewise.
1999-06-17 Klaus Espenlaub <kespenlaub@hydra.informatik.uni-ulm.de>
* src/erand48_r.c (__erand48_r): Implement for 32 bit short
int.
1999-06-16 Guido Flohr <guido@freemint.de>
* src/rename.c: Fixed typo, defined weak alias for pause()
instead of rename().
1999-06-13 Petr Stehlik <stehlik@cas3.zlin.vutbr.cz>
* src/read.c: Patch to make the MiNTLib work with ncurses.
1999-06-13 Guido Flohr <guido@freemint.de>
* include/termcap.h: Removed. This does not belong here,
install it with ncurses.
1999-06-12 Guido Flohr <guido@freemint.de>
* src/access.c, src/alarm.c, src/canonicalize.c, src/chdir.c,
src/chmod.c, src/chown.c, src/close.c, src/creat.c, src/dup.c,
src/dup2.c, src/error.c, src/execve.c, src/fcntl.c,
src/fgetpwent_r.c, src/flock.c, src/fork.c, src/fstat.c, src/fsync.c,
src/ftruncate.c, src/getegid.c, src/geteuid.c, src/getgid.c,
src/getgroups.c, src/getitimer.c, src/getpid.c, src/getppid.c,
src/getpriority.c, src/getpw.c, src/getpwent_r.c, src/getpwnam_r.c,
src/getpwuid_r.c, src/getrlimit.c, src/getrusage.c,
src/gettimeofday.c, src/getuid.c, src/getumask.c, src/glob.c,
src/gtty.c, src/initgroups.c, src/ioctl.c, src/kill.c, src/killpg.c,
src/link.c, src/lseek.c, src/lstat.c, src/mempcpy.c, src/mkdir.c,
src/nice.c, src/open.c, src/pause.c, src/pipe.c, src/read.c,
src/readdir.c, src/readlink.c, src/rename.c, src/rmdir.c,
src/select.c, src/setenv.c, src/setgid.c, src/setgroups.c,
src/setitimer.c, src/setpriority.c, src/setregid.c, src/setreuid.c,
src/setrlimit.c, src/setsid.c, src/settimeofday.c, src/setuid.c,
src/sigaction.c, src/sigblock.c, src/signal.c, src/sigpause.c,
src/sigpending.c, src/sigreturn.c, src/sigsetmask.c, src/stat.c,
src/statfs.c, src/stty.c, src/symlink.c, src/sync.c, src/times.c,
src/truncate.c, src/umask.c, src/unlink.c, src/utime.c, src/wait.c,
src/wait3.c, src/wait4.c, src/waitpid.c, src/write.c:
Various modifications to support weak symbols.
* src/libc-symbols.h: New file.
* include/sys/param.h: Include endian.h to avoid run-time tests
when configuring with GNU autoconf.
* src/canonicalize.c: New file, definining canonicalize_file_name()
and realpath().
* src/setenv.c: New file, defining setenv(), clearenv(),
and unsetenv().
* include/stdlib.h: Added prototypes for setenv(), clearenv(),
canonicalize_file_name() and realpath().
1999-06-11 Guido Flohr <guido@freemint.de>
* src/stpcpy.c, src/stpncpy.c: New files, define stpcpy() and
stpncpy().
* src/strndup.c: New file, definining strndup().
* include/string.h: Added prototypes for stpcpy(), stpncpy(),
and strndup().
1999-06-08 Guido Flohr <guido@freemint.de>
* src/wordexp.c, include/wordexp.h: New files, implementation
for wordexp().
* src/mempcpy.c: New file, new function mempcpy().
* include/string.h: Added prototype for mempcpy().
* src/crtinit.c: Replaced static definitions of argc and
argv by global definitions for __libc_argc and __libc_argv
(needed by wordexp).
* src/getpw.c: File removed.
* src/fgetpwent.c, src/fgetpwent_r.c, src/getpwent.c, src/getpwent_r.c,
src/getpwnam.c, src/getpwnam_r.c, getpwuid.c, getpwuid_r.c:
New files, password file handling rewritten from scratch.
* include/pwd.h: Rewritten.
* include/sys/types.h: Added #defines for uid_t, gid_t and pid_t
so that we can remember if we already typedef'd them.
1999-06-05 Guido Flohr <guido@freemint.de>
* src/seekdir.c, include/sys/utsname.h, src/system.c: Typos fixed,
changed #ifndef __TURBOC__ to #ifdef __TURBOC__ (or similar).
* src/getcookie.c: Fixed compiler warning.
1999-05-28 Guido Flohr <guido@freemint.de>
* src/unlink.c: unlink() is NOT the same as remove, rewritten.
* src/remove.c: New file, proper implementation for remove().
1999-05-25 Guido Flohr <guido@freemint.de>
* src/mknod.c: Changed function header to match sys/stat.h.
* include/sys/stat.h: Included prototype for mknod().
* include/sys/stat.h: Removed "#ifdef __MINT__" around reserved
members in struct statbuf definition: The size of this structure
should always be the same, no matter what the compile time
flags are. Or have I missed something here?
Namespace cleanup: Conditionally define macros depending on
features used.
* include/support.h: Removed prototypes for
- nice ->sys/resource.h
- putenv ->stdlib.h
* src/dirname.c, src/basename.c: New files, new functions.
* include/string.h: Added prototype for basename().
* include/libgen.h: New file. Declares basename() and dirname().
1999-05-25 Joerg Westheide <Joerg_Westheide@su.maus.de>
* src/vfork.cpp: New method (only if MiNT is present):
The return address is duplicated on the stack. The child will
use the upper one (at sp@) which it is allowed to clobber, the
parent will remove the (possibly clobbered) one of the child and
use the lower one (at sp@4). Ao this implementation relies on the
vfork specification that the child returns before the parent.
1999-05-23 Christian Felsch <Christian_Felsch@hh.maus.de>
* src/getopt_init.c: Removed inline for Turbo C.
* include/regexp.h: #define regexec to __V8_regexec to avoid
name conflict with regex.c.
* src/clock.c: Rewritten.
* src/main.c: Sets global variable __has_no_ssystem to avoid
letting Ssystem fail over and over again.
* src/getcookie.c: Optimized to use global variable
__has_no_ssystem.
* src/ioctl.c, src/sysvar.c: Use __has_no_ssystem now.
1999-05-22 Guido Flohr <guido@freemint.de>
* src/gmon.c: Changed output format of gmon.out to the format
expected by GNU gprof 2.9.1. To get the old format set the
envariable "OLD_GMON" while running (!) the profiled program.
1999-05-17 Guido Flohr <guido@freemint.de>
* src/gmon.c: Changed call to _write() in call to write().
1999-05-13 Guido Flohr <guido@freemint.de>
* src/mktime.c: Bugfix for mktime(), if tm_isdst was set to 0
and DST really applied for that particular date, mktime()
returned an error. Now it is always set to -1 (undecided)
before the algorithm is entered. This fixes the bug but
I'm not sure if this is really the right place to do it
(it should probably be done in one of the sub-algorithms).
1999-05-09 Guido Flohr <guido@freemint.de>
* include/termios.h: Replaced conditional defines for _IOCTL_H
with _SYS_IOCTL_H.
1999-05-08 Guido Flohr <guido@freemint.de>
* src/drand48.c, src/drand48-iter.c, src/drand48_r.c,
src/erand48.c, src/erand48_r.c, src/jrand48.c, src/jrand48_r.c,
src/lcong48.c, src/lcong48_r.c, src/lrand48.c, src/lrand48_r.c,
src/mrand48.c, src/mrand48_r.c, src/nrand48.c, src/nrand48_r.c,
src/seed48.c, src/seed48_r.c, src/srand48.c, src/srand48_r.c:
New files, implementation for 48 bit pseudo number generation.
* include/stdlib.h: Added prototypes for 48 bit pseudo number
generation functions.
* include/compiler.h: New convenience macros __P, __BEGIN_DECLS and
__END_DECLS for GNU compatibility (unnecessary nuisances without
them).
* src/ctype.c, include/ctype.h: Provide real functions for ctype
macros as demanded by C standard (reported by Katherine Ellis
<kellis@leading.net>). Note that the macro __NO_CTYPE (name
taken from GNU libc) can be used to disable all macros.
* include/endian.h: Added macro __BYTE_ORDER.
* include/features.h.in: Include <compiler.h>.
* include/ieee754.h: New file.
1999-05-08 Guido Flohr <guido@freemint.de>
* include/osbind.h: Removed prototype for Getcookie(), not
used.
1999-05-04 Guido Flohr <guido@freemint.de>
* include/unistd.h: New variable __libc_enable_secure.
* src/main.c: Define __libc_enable_secure if secure mode
is advised (if suid or guid). Note that in secure mode
the default drive is automatically set to 'u' and binary
mode is always set on (we can't call getenv).
* src/fread.c: Replaced call to _read() by call to read().
* src/diraccess.c: New file for internal library function
__diraccess().
* src/tmpfile.c: This function was not reentrant, fixed.
* src/mkstemp.c: New file, new function mkstemp().
* include/stdlib.h: Added prototypes for mktemp() and mkstemp().
* include/unistd.h: Moved prototype for mktemp() to unistd.h.
* src/mktemp.c: Replaced #include <unistd.h> by #include <stdlib.h>
* include/stdio.h: Added protoype for tmpnam_r(). New library
internal function __secure_getenv().
* src/tmpnam_r: New file, reentrant version tmpnam_r() of
tmpnam().
1999-05-03 Guido Flohr <guido@freemint.de>
* include/sys/types.h: Added some BSD compatibility typedefs.
* include/sys/queue.h: New file.
* src/getline.c: New file, new functions getline() and getdelim().
* include/stdio.h: Protoypes for getline() and getdelim() added.
1999-05-02 Guido Flohr <guido@freemint.de>
* src/creat.c, include/fcntl.h: Changed mode argument for creat()
from unsigned to unsigned short (mode_t).
* src/chmod.c, include/sys/stat.h: Changed mode argument for
chmod() from int to mode_t.
* src/chown.c, include/unistd.h: Changed 2nd and 3rd argument
of chown() from int to uid_t and gid_t.
1999-05-01 Guido Flohr <guido@freemint.de>
* include/time.h: Ooops, tm->tm_gmtoff was int instead of
long, fixed.
* src/fflush.c, src/fputc.c, src/fwrite.c, src/eprintf.c,
src/lseek.c: Changed call to _write() in call to write().
* src/filbuf.c: Changed call to _read() in call to read().