Wed Dec 22 07:02:31 1993 H.J. Lu (hlu@nighthawk) * version 4.5.8 is released. * pwd/shadow.c: speed up if /etc/shadow doesn't exist. * : * : new files for 0.99 pl14e above. * : fix typo in comment for strcat (). * : don't define __CONSTVALUE2 if __STDC__ is not define. * ./libio/stdio/ChangeLog: new entries. * ./libio/ChangeLog: new entries. * ./libio: copy files from libg++ 2.5.3 and apply my fixes. Sat Dec 11 09:11:55 1993 H.J. Lu (hlu@nighthawk) * jump/libm/jump.params: * jump/libm/jump.params.build: * jump/libc.lite/jump.params: * jump/libc.lite/jump.params.build: * jump/libc/jump.params: * jump/libc/jump.params.build: bump up to version 4.5.8. * jump/libc.lite/jump.funcs: * jump/libc/jump.funcs: add __IO_default_underflow. * : don't include . don't pollute the name space with . use __gnuc_va_list in vsyslog (). * misc/syslog.c: include . * ./libio/stdio/ChangeLog: new entries. * ./libio/ChangeLog: new entries. Fri Dec 10 08:57:10 1993 H.J. Lu (hlu@nighthawk) * version 4.5.7 is released. * jump/libm/jump.params: * jump/libm/jump.params.build: * jump/libc.lite/jump.params: * jump/libc.lite/jump.params.build: * jump/libc/jump.params: * jump/libc/jump.params.build: bump up to version 4.5.7. * sysdeps/linux/i386/Makefile: make "lib" depend on "libieee" for the static library. * locale/setlocale.c: add more features and try to be ANSI C. * nls/msgcat-libc.c: * nls/msgcat.c: support LOCALE. * : define LC_MESSAGES and add it to LC_ALL. * : * ./jump/libm/jump.funcs: change logp1 to log1p. * ./sysdeps/linux/i386/math/log1p.c: renamed from logp1.c with name change. * ./sysdeps/linux/i386/math/logp1.c: removed. * ./sysdeps/linux/i386/math/Makefile: change logp1.c to log1p.c. * ./libio/ChangeLog: new entries. * posix/readv.c: return 0 if 0 byte read in. * posix/writev.c return 0 if 0 byte to write. * : clear __CONSTVALUE2 if "const" is defined. clear __NORETURN2 if "noreturn" is defined. Mon Dec 6 14:39:29 1993 H.J. Lu (hlu@nighthawk) * version 4.5.6 is released. * jump/libm/jump.params: * jump/libm/jump.params.build: * jump/libc.lite/jump.params: * jump/libc.lite/jump.params.build: * jump/libc/jump.params: * jump/libc/jump.params.build: bump up to version 4.5.6. * jump/libc.lite/jump.funcs: enable all the functions in libtermcap.a. * inet/inet_net.c (inet_network): treat the network address as a.b.c.d (with each treated as 8-bits) a.b.c (with each treated as 8-bits) a.b (with each treated as 8 bits) a (with a treated as 8 bits) * ./libio/ChangeLog: new entries. * libio: copy files from libg++ 2.5.2 and apply my fixes. * mntent/setmntent.c: change fopen to _IO_fopen. Fri Dec 3 09:46:56 1993 H.J. Lu (hlu@nighthawk) * version 4.5.5 is released. * jump/libm/jump.params: * jump/libm/jump.params.build: * jump/libc.lite/jump.params: * jump/libc.lite/jump.params.build: * jump/libc/jump.params: * jump/libc/jump.params.build: bump up to version 4.5.5. * gcc/Makefile: add _op_new, _op_delete and _new_handler to LIB2FUNCS. * inet/inet_net.c: return the network number. * jump/libc.lite/jump.vars: * jump/libc/jump.vars: restore ___new_handler. * jump/libc.lite/jump.funcs: * jump/libc/jump.funcs: restore ___builtin_delete, ___builtin_new, ___set_new_handler and _set_new_handler. add __IO_file_close_it. change "___eprintf" to the type 'T'. * ./libio/ChangeLog: * ./libio/stdio/ChangeLog: new entries. * libio: copy files from libg++ 2.5.2 beta and apply my fixes. * : don't define const if __USE_BSD is define since __attribute__ uses const. * : change memcpy (src, dest, len) to memcpy(dest, src, len). * nls/msgcat.c: catopen() requires either a valid return catalog descriptor or -1. Mon Nov 29 09:45:31 1993 H.J. Lu (hlu@nighthawk) * version 4.5.4 is released. * gnu/types.h (__promoted_{dev,gid,uid,mode,nlink}_t): * fcntl.h, grp.h, pwd.h, rpc/auth.h, sys/stat.h, unistd.h: * sys/types.h (promoted_{dev,gid,uid,mode,nlink}_t): undo changes on Nov 27. * jump/libm/jump.params: * jump/libm/jump.params.build: * jump/libc.lite/jump.params: * jump/libc.lite/jump.params.build: * jump/libc/jump.params: * jump/libc/jump.params.build: bump up to version 4.5.4. * sysdeps/linux/i386/math/Makefile: fix typos. Sat Nov 27 20:39:58 1993 Chip Salzenberg (chip@fin.uucp) * gnu/types.h (__promoted_{dev,gid,uid,mode,nlink}_t): Define. * fcntl.h, grp.h, pwd.h, rpc/auth.h, sys/stat.h, unistd.h: Use. * sys/types.h (promoted_{dev,gid,uid,mode,nlink}_t): Define. Sat Nov 27 20:34:37 1993 Chip Salzenberg (chip@fin.uucp) * features.h (__extention__): Remove definition. * sys/cdefs.h (__extension__): Define. (__NORETURN{,2}, __CONSTVALUE{,2}): Define correctly for all versions of GCC and other compilers. * math.h, setjmp.h, stdlib.h, time.h, unistd.h: Use them. Fri Nov 26 18:55:26 1993 H.J. Lu (hlu@nighthawk) * version 4.5.3 is released. * Makefile: for the shared math library, don't looking for libgcc.sa, use libgcc3.a instead. * jump/libm/jump.params: * jump/libm/jump.params.build: bump up to version 4.5.3. * jump/libc.lite/jump.params: * jump/libc.lite/jump.params.build: * jump/libc/jump.params: * jump/libc/jump.params.build: bump up to version 4.5.3. * jump/libc.lite/jump.vars: * jump/libc/jump.vars: * jump/libc.lite/jump.funcs: * jump/libc/jump.funcs: add _endspent, _fgetspent, _getspent, _getspnam, _putspent, _setspent, _sgetspent, _endsgent, _fgetsgent, _getsgent, _getsgnam, _putsgent, _setsgent and _sgetsgent. * : * : changes for shadow. * grp/Makefile (SRCS): add gshadow.c. * pwd/Makefile (SRCS): add shadow.c. * pwd/pwdread.c (__pwdread): if NO_SHADOW is not defined, call getspnam () to get the shadow password on the local machine. * string/strsignal.c: * nls/Makefile: * nls/msgcat.c: * nls/msgcat.h: * nls/nl_types.h: * nls/linux/Makefile: * nls/linux/xtract.l: * nls/linux/extract: * nls/linux/NOTES: * nls/linux/README.editing: * libio/ioperror.c: changes for NLS. * : new for NLS. * locale/ISO88591_ct.c: * locale/C-ctype_ct.c: '\b' is not a white space. * gcc/longlong.h: removed. * gcc/libgcc1.c: removed. * gcc/Makefile (LIB2FUNCS): remove _muldi3, _udivdi3, _umoddi3 and _udivmoddi4. * ./libio/ChangeLog: * ./libio/stdio/ChangeLog: new entries. Wed Nov 24 15:58:22 1993 H.J. Lu (hlu@nighthawk) * version 4.5.2 is released. * ./Makefile: fix typo. * ./libio/ChangeLog: * ./libio/stdio/ChangeLog: new entries. * jump/libc.lite/jump.funcs: * jump/libc/jump.funcs: remove __IO_file_close_it. * jump/libc.lite/jump.params: * jump/libc.lite/jump.params.build: * jump/libc/jump.params: * jump/libc/jump.params.build: bump up to version 4.5.2. Tue Nov 23 01:09:06 1993 H.J. Lu (hlu@nighthawk) * version 4.5.1 is released. * ./libio/ChangeLog: * ./libio/stdio/ChangeLog: new entries. * jump/libc.lite/jump.params: * jump/libc.lite/jump.params.build: * jump/libc/jump.params: * jump/libc/jump.params.build: bump up to version 4.5.1. * jump/libc.lite/jump.vars: * jump/libc/jump.vars: * jump/libc.lite/jump.funcs: * jump/libc/jump.funcs: change "___eprintf" to the type 't'. Sun Nov 21 22:55:43 1993 H.J. Lu (hlu@nighthawk) * version 4.5 is released. * <_G_config.h>: * : * : new header files from the new libio-based stdio. * jump/libc.lite/jump.params: * jump/libc.lite/jump.params.build: * jump/libc/jump.params: * jump/libc/jump.params.build: bump up to version 4.5. * jump/libc.lite/jump.vars: * jump/libc/jump.vars: * jump/libc.lite/jump.funcs: * jump/libc/jump.funcs: new for the libio-based stdio. * jump/libc.lite/jump.vars.iostream: * jump/libc/jump.vars.iostream: * jump/libc.lite/jump.funcs.iostream: * jump/libc/jump.funcs.iostream: copied from the iosteram-based stdio. * Makefile: remove libgcc.a and libgcc.sa. * gcc/Makefile: use libgcc3.a. * stdlib/Makefile: for _IO_stdtod.c. * stdlib/strtod.c: alias for _IO_stdtod (). * misc/Makefile: for stdiocompat.c and dtoa.c. * misc/dtoa.c: alias for _IO_dtoa (). * misc/stdiocompat.c: new file for backward compatibilities with stdin, stdout and stderr. * ./Maketargets: change targets to "clean::" and "realclean::". add TARGET=$@. * iostream: removed. * libio: new. * Makeconfig: add NEWSTDIOFLAGS. Sat Nov 20 14:56:24 1993 H.J. Lu (hjl@jalod) * version 4.4.4c is released. * ./nls/Makefile: * ./nls/linux/English/auth.m: * ./nls/linux/English/clnt-misc.m: * ./nls/linux/English/errlist-u.m: * ./nls/linux/English/errlist.m: * ./nls/linux/English/getopt.m: * ./nls/linux/English/h-errlist.m: * ./nls/linux/English/net-misc.m: * ./nls/linux/English/rpc-errlist.m: * ./nls/linux/English/rpc-misc.m: * ./nls/linux/English/siglist-u.m: * ./nls/linux/English/siglist.m: * ./nls/linux/Makefile: * ./nls/nl_types.h: * ./nls/nls_libc.h: * ./inet/gethstnmad.c: * ./inet/herror.c: * ./inet/rcmd.c: * ./inet/rexec.c: * ./inet/ruserpass.c: * ./rpc/auth_unix.c: * ./rpc/clnt_perror.c: * ./rpc/clnt_raw.c: * ./rpc/clnt_tcp.c: * ./rpc/clnt_udp.c: * ./rpc/get_myaddr.c: * ./rpc/pmap_clnt.c: * ./rpc/pmap_getmaps.c: * ./rpc/pmap_rmt.c: * ./rpc/svc_au_ux.c: * ./rpc/svc_run.c: * ./rpc/svc_simple.c: * ./rpc/svc_tcp.c: * ./rpc/svc_udp.c: * ./rpc/xdr.c: * ./rpc/xdr_array.c: * ./rpc/xdr_rec.c: * ./rpc/xdr_ref.c: changes for NLS. * <: don't use __times. it is used in . * : new file for realpath () from jrs@world.std.com. * (sigprocmask): add __const to the 2nd arg. * ./inet/rcmd.c (ruserok): call seteuid(saveuid) before error return. Sun Nov 14 12:30:35 1993 H.J. Lu (hjl@jalod) * version 4.4.4b is released. * stdlib/labs.c: * stdlib/ldiv.c: remove __CONSTVALUE. * : * : change __CONSTVALUE in gcc 2.5 style. * : change __NORETURN and __CONSTVALUE in gcc 2.5 style. * : change __NORETURN in gcc 2.5 style. * : from glibc 1.06.7 for __NORETURN with fixes. * : from glibc 1.06.7 for __CONSTVALUE with fixes. * ./sstream: removed. * ./Makeconfig: * ./Makefile: * ./crt/Makefile: add CHECKER for SBPM Marc GINGOLD . * ./crt/chkrcrt0.S: new for CHECKER. * ./math/Makefile: add CHECKER. * ./sysdeps/linux/i386/math/cos.S: * ./sysdeps/linux/i386/math/sin.S: change comments for gas 2.x. * ./sysdeps/linux/i386/sysdep.h: change to $(SYS_##syscall_name) for gas 2.x. * : add realpath (). * bsd/realpath.c: new file for realpath () from jrs@world.std.com. * bsd/Makefile: add realpath.c. * nls/Makefile: * nls/msgcat.c: * nls/msgcat.h: add support for mmap (). from Mitchum DSouza . * jump/libc.lite/jump.funcs: * jump/libc/jump.funcs: add _realpath, _catopen, _catgets, _catclose, _MCGetSet and _MCGetMsg. Sat Nov 6 18:15:52 1993 H.J. Lu (hlu@nighthawk) * version 4.4.4a is released. * ./inet/ruserpass.c: call gethostbyname () while parsing ~/.netrc for aliases. from bin@att2.cs.mankato.msus.edu. * ./inet/gethstnmad.c: new patches from Mitchum DSouza . * ./Makeconfig: * ./Makefile: * ./bsd/psignal.c: * ./inet/herror.c: * ./iostream/stdio/perror.c: * ./posix/getopt.c: * ./string/strerror.c: * ./string/strsignal.c: add NLS support. * ./nls: NLS internationalization, catopen(), etc.. from Mitch DSouza . Please read instructions in ./nls for details. * jump/libc.lite/jump.funcs: * jump/libc/jump.funcs: add _mprotect, ___adjtime, ___adjtimex, and ___ntp_gettime, * Gcc 2.5.2 is mandatory due to the new C++ name mangling. * jump/libc.lite/jump.vars: * jump/libc/jump.vars: change `__vt$streambuf' to `__vt$9streambuf', change `__vt$filebuf' to `__vt$7filebuf', change `__vt$backupbuf' to `__vt$9backupbuf', change `__vt$ios' to `__vt$3ios', change `__vt$12strstreambuf' to `__vt$12strstreambuf'. * : change the type to int in sig[set|get]mask (). * ./time/difftime.c: remove __CONSTVALUE. * ./stdlib/abort.c: * ./stdlib/exit.c: * ./sysdeps/i386/__longjmp.c: * ./sysdeps/linux/i386/libc_exit.c: * ./setjmp/siglongjmp.c: remove __NORETURN. * ./misc/ldexp.c: remove __const. * ./jump/libm/jump.funcs: add _logp1 and _expm1. * ./sysdeps/linux/i386/math/logp1.c: * ./sysdeps/linux/i386/math/expm1.S: new files. * ./sysdeps/linux/i386/math/Makefile: add logp1.c and expm1.S. * : add logp1 () and expm1 (). * ./Makeconfig: use gcc 2.5.2. * ./iostream/stdstrbufs.C: change vt_filebuf to _vt$7filebuf for gcc 2.5.x. * ./compat/i386/__old_sigsj.c: * ./compat/i386/__old_sigjmp.c: * ./sysdeps/i386/sigsetjmp.c: * ./setjmp/__sj_save.c: use __sigprocmask () instead of __sigsgtmask (). * ./posix/sleep.c: use __sigprocmask () instead of __sigsetmask (). * ./sysdeps/linux/i386/__sigstmsk.c: * ./sysdeps/linux/i386/__siggtmsk.c: deleted. * ./sysdeps/linux/i386/Makefile: delete __sigstmsk.c and __siggtmsk.c. * ./sysdeps/linux/__sigstmsk.c: * ./sysdeps/linux/__siggtmsk.c: new files. * : add mprotect (). * ./sysdeps/linux/__sigproc.S: * ./sysdeps/linux/mprotect.S: new files. * ./sysdeps/linux/__sigstmsk.S: * ./sysdeps/linux/__siggtmsk.S: * ./sysdeps/linux/__sigproc.c: deleted. * ./sysdeps/linux/Makefile: delete __sigstmsk.S, __siggtmsk.S, and __sigproc.c. add __sigstmsk.c, __siggtmsk.c, __sigproc.S and mprotect.S. * : new system calls, mprotect and sigprocmask. * ./gmon/profil.c: change the profile signal handler according to kernel 0.99 pl 13. a different patch from jrs@world.std.com (Rick Sladkey). * ./string/strsignal.c: check signum >= NSIG. don't check sprintf () return. * ./string/strerror.c: unknown_error[len] = '\0'; * ./grp/grpread.c (__ypparsegrp): check if "end" is NULL. * : change va_list to _G_va_list in vsyslog (). include and . * : change FNDLEAY to FNDELAY. * : define __CONSTFUNCTION. * : * : declare extern const foo bar (...); as typedef foo foo_t (...); extern const foo_t bar; * : * : * : declare a function void foo (...) with no return as typedef void foo_t (...); extern volatile foo_t foo; * : declare __adjtimex () and __ntp_gettime (). need 0.99 pl 14. * : add adjtime () and __adjtime (). need 0.99 pl 14. * : change _TIMES_H to _SYS_TIMES_H. * ./sysdeps/linux/i386/__ntpgttm.c: new. need 0.99 pl 14. * ./sysdeps/linux/i386/__adjtimex.S: new. need 0.99 pl 14. * ./sysdeps/linux/i386/__adjtime.c: new. need 0.99 pl 14. * ./sysdeps/linux/i386/Makefile: add __adjtime.c, __ntpgttm.c and __adjtimex.S. add -I../../.. * ./time/adjtime.c: from glibc 1.04. need 0.99 pl 14. * ./time/Makefile: add adjtime.c. * ./gmon/profil.c: change the profile signal handler according to kernel 0.99 pl 13. from Jochen_Kiemes@s2.maus.de (Jochen Kiemes). Sat Oct 16 17:46:45 1993 H.J. Lu (hlu@nighthawk) * version 4.4.4 is released. * ./jump/libc/jump.params: * ./jump/libc/jump.params.build: * ./jump/libc.lite/jump.params: * ./jump/libc.lite/jump.params.build: * ./jump/libm/jump.params: * ./jump/libm/jump.params.build: change version to 4.4.4. * : add SYS_modify_ldt and SYS_adjtimex. * : new file. include . * : new file. include . * : add sv_flags. * ./inet/rcmd.c: change the effective uid when checking the users .rhosts. * ./Makefile: Use ./libc.a for __load.o, __setfpucw.o and __fpu_cpntrol.o while making the shared library. Thu Oct 14 15:53:23 1993 H.J. Lu (hlu@nighthawk) * version 4.4.2e is released. * ./jump/libc/jump.params: * ./jump/libc/jump.params.build: * ./jump/libc.lite/jump.params: * ./jump/libc.lite/jump.params.build: * ./jump/libm/jump.params: * ./jump/libm/jump.params.build: change version to 4.4.3. * ./Makeconfig: add LDSO_ADDR and LDSO_ENTRY. very BAD. what if they are changed in ld.so? * ./misc/ldexp.c: add __const. * ./sysdeps/linux/i386/Makefile: add _DLDSO_ADDR=$(LDSO_ENTRY) to CFLAGS. * ./sysdeps/linux/i386/config.h: * ./sysdeps/linux/i386/fixups.h: from ld.so 1.3. Wed Oct 13 13:25:03 1993 H.J. Lu (hlu@nighthawk) * version 4.4.2d is released. * : deleted. * : change __const to const. * : new file. * ./inet/gethstnmad.c: * ./inet/inetprivate.h: patched for resolve+ (?) 2.1.1. * ./sysdeps/linux/i386/__load.c: from ld.so 1.2a. * ./Makefile (realclean): new target. * ./Maketargets (depend): add $(CFLAGS). * : parenthesize the arguments. * : include if __STDC__ is not defined. use __DOTS. * ./crt/crt0.S: * ./crt/gcrt0.S: add "addl $4,%esp" after call __setfpucw (). * iostream/floatconv.C (strtod): modify checking "+" and "-". * ./crt/crt0.S: * ./crt/gcrt0.S: add "pushl %eax" before call __setfpucw (). Thu Sep 9 14:36:01 1993 H.J. Lu (hlu@nighthawk) * version 4.4.2c is released. * : new header file for 387 control word. * ./io/Makefile: fix a typo. * ./Makefile: changes for 387 control word. * ./sysdeps/linux/i386/Makefile: add __setfpucw.c and __fpu_control.c. * ./sysdeps/linux/i386/ieee.c: * ./sysdeps/linux/i386/__setfpucw.c: * ./sysdeps/linux/i386/__fpu_control.c: new files for 387 control word. * ./crt/crt0.S: * ./crt/gcrt0.S: call __setfpucw () to setup 387 control word. * ./sysdeps/linux/Makefile: fix typo. * ./locale/ISO88591-ctype.c: comment out _ctype_info. Mon Sep 6 15:25:10 1993 H.J. Lu (hlu@nighthawk) * version 4.4.2b is released. * ./iostream/stdio/Makefile: * ./iostream/Makefile: * ./Makefile: * ./signal/Makefile: * ./bsd/Makefile: * ./ctype/Makefile: * ./curses/Makefile: * ./cvt/Makefile: * ./dirent/Makefile: * ./grp/Makefile: * ./setjmp/Makefile: * ./locale/Makefile: * ./login/Makefile: * ./malloc/Makefile: * ./misc/Makefile: * ./posix/Makefile: * ./pwd/Makefile: * ./regex/Makefile: * ./yp/Makefile: * ./stdlib/Makefile: * ./string/Makefile: * ./termcap/Makefile: * ./time/Makefile: * ./ufc/Makefile: * ./mntent/Makefile: * ./io/Makefile: * ./rpc/Makefile: * ./inet/Makefile: * ./gmon/Makefile: * ./gdbm/Makefile: * ./sysdeps/i386/Makefile: * ./sysdeps/linux/i386/Makefile: * ./sysdeps/linux/Makefile: * ./sysdeps/Makefile: * ./math/Makefile: * ./compat/Makefile: * ./compat/i386/Makefile: * ./shadow/Makefile: * ./libbsd/Makefile: * ./sbin/lib/Makefile: * ./sbin/crt/Makefile: * ./sbin/Makefile: * ./sstream/Makefile: * ./malloc-930716/Makefile: include "Maketargets". * iostream/floatconv.C (strtod): check "+" and "-". * ./Maketargets: new file. * ./Makeconfig: fix for YP. * jump/libc.lite/jump.funcs: * jump/libc/jump.funcs: add sethost ()/gethostid (). * ./misc/Makefile: add hostid.c. * ./misc/hostid.c: new from Mitchum DSouza * : change BYTE_ORDER to __BYTE_ORDER and XXX_ENDIAN to __XXX_ENDIAN. * ./string/memcopy.h: change #ifdef __XXX_ENDIAN to #if __BYTE_ORDER == __XXX_ENDIAN * ./inet/gethstnmad.c: check NULL pointers. Sat Aug 21 12:30:04 1993 H.J. Lu (hlu@nighthawk) * ./jump/libc.lite/jump.funcs: commented out YP functions. * : * : * : * : new files. need new network code. * : renamed from * : linked to ip_tcp.h. * : linked to ip_udp.h. Tue Aug 17 16:07:42 1993 H.J. Lu (hlu@nighthawk) * iostream/floatconv.C (dtoa): check "rve" instead of "*rve". * : "strerr()" -- this should be "strerror()" * : include for LONG_MAX. Sun Aug 15 12:28:32 1993 H.J. Lu (hlu@nighthawk) * version 4.4.2a is released. Sat Aug 14 13:40:44 1993 H.J. Lu (hlu@nighthawk) * : use __const instead of const. * : cleanup. * : cleanup. use __const instead of const. * : use __const instead of CONST. * : remove redundant __P (). * : add __CONSTVALUE in front of math functions. * : use __const instead of CONST. * : change __P(()) to __P((void)). * : add __P () for K&R code. remove the definition of __CONSTVALUE. * : add the definition of __CONSTVALUE. * : add __CONSTVALUE in front of difftime (). Tue Aug 10 14:07:26 1993 H.J. Lu (hlu@nighthawk) * Makefile: don't add LIBYP if it is libc. * Makeconfig: add SHARED for YP. * inet/Makefile: add -DNIS if YP is defined. Mon Aug 9 22:03:15 1993 H.J. Lu (hlu@nighthawk) * FYI, I have no idea if I implement the ISO-8859-1 char set support right. * locale/Makefile: add the ISO 8859 1 char set support. define -DUSE_ISO_8859_1. * locale/setlocale.c: add the ISO-8859-1 char set support if -DUSE_ISO_8859_1 is defined. * locale/ISO88591-ctype.c: * locale/ISO88591_ct.c: * locale/ISO88591_mb.c: new files for the ISO-8859-1 char set support. Sun Aug 8 14:52:29 1993 H.J. Lu (hlu@nighthawk) * : define HZ as HZ iff __STDC__ is defined. * : comment out define `ffs' to `__builtin_ffs' since gcc is broken. * rpc/Makefile: add -fno-builtin since gcc is broken. * gcc/libgcc2.c: add an inline static version of ffs () to _ffsdi2.o. Sat Aug 7 18:30:55 1993 H.J. Lu (hlu@nighthawk) * gdbm/system.h: comment out #define fsync(f) sync();sync() for Linux. Sat Aug 7 15:13:55 1993 H.J. Lu (hlu@nighthawk) * version 4.4.2 is released. * ./TODO: new file. * ./verify.out.libc.so: for 4.4.2. * ./jump/libm/jump.params: * ./jump/libm/jump.params.build: change version to 4.4.2. Fri Aug 6 01:02:21 1993 H.J. Lu (hlu@nighthawk) * jump/libc.lite/jump.funcs: * jump/libc/jump.funcs: change `_exception__3iosi' to `_exceptions__3iosi'. remove `_init_const__12strstreambuf'. change ` ___ls__7ostreamPv' to ` ___ls__7ostreamPCv'. * jump/libc.lite/jump.vars: * jump/libc/jump.vars: change `_not_open_filebuf' to `__DUMMY__". * ./compat/i386/__old_sigjmp.c: renamed from __old_sigsj.c. change it for new . * ./compat/i386/Makefile: change to __old_sigjmp.o from __old_sigsj.o. * ./sysdeps/linux/i386/__wait.c: * ./sysdeps/linux/i386/__wait3.c: * ./sysdeps/linux/i386/__waitpid.c: ajust for new . * ./misc/usleep.c: include . * ./posix/sleep.c: Save errno on entry and restore it before returning. * : from glibc 1.06.4. * iostream/Makefile: * iostream/stdio/Makefile: add target `obj'. * <_G_config.h>: compatible with libg++ 2.4. * : * : * : use the new . * : * : * : include the new . Thu Aug 5 18:02:43 1993 H.J. Lu (hlu@nighthawk) * ./malloc-930716: renamed from malloc-930326 * ./Makefile: malloc-930326 to malloc-930716. * ./malloc-930716/free.c: * ./malloc-930716/malloc.c: * ./malloc-930716/malloc.h: patches from mike@sisters.cs.uoregon.edu. * ./malloc-930716/README: update. * ./malloc/free.c: * ./malloc/malloc.c: * ./malloc/malloc.h: patches adapted from mike@sisters.cs.uoregon.edu. Wed Jul 28 21:21:37 1993 H.J. Lu (hlu@nighthawk) * ./Makefile: * ./Makeconfig: add YP support. from swen@uni-paderborn.de. * ./jump/libc/jump.funcs: ./jump/libc.lite/jump.funcs: add YP functions. * ./jump/libc/jump.ignore: ./jump/libc.lite/jump.ignore: add YP stuff. * ./jump/libc/jump.params: * ./jump/libc/jump.params.build: * ./jump/libc.lite/jump.params: * ./jump/libc.lite/jump.params.build: change version to 4.4.2. * ./pwd/getpwent.c: * ./pwd/getpwnam.c: * ./pwd/getpwuid.c: add YP support. from swen@uni-paderborn.de. * ./pwd/pwdread.c: add YP support. from swen@uni-paderborn.de. use __getline (). * ./grp/getgrent.c: * ./grp/getgrgid.c: * ./grp/getgrnam.c: add YP support. from swen@uni-paderborn.de. * ./grp/grpread.c: add YP support. from swen@uni-paderborn.de. use __getline (). * ./rpc/getrpcent.c: add YP support. from swen@uni-paderborn.de. * ./yp/Makefile: * ./yp/xdryp.c: * ./yp/xdryppasswd.c: * ./yp/yplib.c: new files for YP. from swen@uni-paderborn.de. Sun Jul 25 15:05:35 1993 H.J. Lu (hlu@nighthawk) * ./misc/obstack.c: from glibc 1.06.4. GPL to LGGL. * : from glibc 1.06.4. GPL to LGGL with minor changes. * ./posix/getopt.c: * ./posix/getopt1.c: from glibc 1.06.4. GPL to LGGL. * : from glibc 1.06.4. LGPL. * ./Makeconfig: define _LIBC. Fri Jul 23 22:55:03 1993 H.J. Lu (hlu@nighthawk) * ./jump/libc.lite/jump.funcs: * ./jump/libc/jump.funcs: change __sj_save to sigjmp. * : define _longjmp as longjmp if __FAVOR_BSD is not defined. * setjmp/sigjmp_save.c: Renamed to sigjmp.c. * setjmp/Makefile : Change reference. * (sigjmp_buf): Rename `__savemask' to `__mask_was_saved' and `__sigmask' to `__saved_mask'. * setjmp/sigjmp.c (__sigjmp_save): Change use. * setjmp/siglongjmp.c (siglongjmp): Likewise. * ./libc-linux/misc/__getline.c: new file. * ./libc-linux/misc/Makefile: add __getline.o. * ./libc-linux/grp/grpread.c: use __getline (). * ./libc-linux/pwd/pwdread.c: use __getline (). * ./libc-linux/iostream/PlotFile.C: * ./libc-linux/iostream/PlotFile.h: GPL to LGPL from Per. * : new file. * : from glibc 1.06.4. * : from glibc 1.06.4. * : from glibc 1.06.4 with patches for Linux. Mon Jul 12 19:55:03 1993 H.J. Lu (hlu@nighthawk) * : define FNDEALY as O_NDELAY if it is defined. * grp/initgroups.c: from glibc 1.06.4. [! NGROUPS_MAX || NGROUPS_MAX == 0]: Just return 0 and do nothing. close the file descriptor for /etc/group. * posix/ttyname.c: from glibc 1.06.4. Replace fixed-sized NAME array with static char *NAME and static size_t NAMELEN. Don't check S_ISCHR. Don't hack NAME before the loop. If need more than NAMELEN chars to hold the name, increase NAMELEN to more than big enough and malloc NAME. Save errno in local var SAVE before doing anything; restore it when returning non-error. change dirent structre fields for linux. * misc/ioctl.c: from glibc 1.06.4. Replace function_alias with: [HAVE_GNU_LD]: Use symbol_alias. [! HAVE_GNU_LD]: Write out the function; it must fetch its third arg with va_arg and then call __ioctl. Thu Jul 8 19:02:40 1993 H.J. Lu (hlu@nighthawk) * ./libc-linux/inet/inet_net.c: don't mask out hostid for subnet. * ./libc-linux/regex/regex.c: (re_comp ():) return if *s == '\0'. * ./libc-linux/string/strsignal.c: fix typos in comments. * ./libc-linux/string/strerror.c: check errnum >= sys_nerr instead of just errnum > sys_nerr. * ./libc-linux/posix/execvp.c: root should be able to run anything executable by anyone. * ./libc-linux/iosteram: use iostream in libg++ 2.4. * ./libc-linux/iostream/filebuf.C: filebuf::xspunts () calls streambuf::xspunts () instread of streambuf::spunts (). fix filebuf::open () to allow setting up a filebuf on an open file descriptor for fdopen (). * ./libc-linux/iostream/ioprivate.h: add some defaults for __linux__. * ./libc-linux/iostream/procbuf.h: add _exit_status and exit_status () in procbuf class. * ./libc-linux/iostream/procbuf.C: comment out signal stuff; turn on close-on-exec in parent; use waitpid (); check errno == EINTR; save the exit status of the child. * ./libc-linux/iostream/iomanip.h: in template class iapp, change iapp(ostream& (*f)(istream&,TP)) : _f(f) {} to iapp(istream& (*f)(istream&,TP)) : _f(f) {} * ./libc-linux/iostream/stdstrbufs.C: don't include if defined(_STDIO_USES_IOSTREAM) or defined(USE_FILEBUF). if defined(_STDIO_USES_IOSTREAM) or defined(USE_FILEBUF), don't define stdiobuf-bases objects. * ./libc-linux/iostream/_sbuf.C: aliases for old _cin_sbuf, _cout_sbuf and _cerr_sbuf. * ./libc-linux/iostream/Makefile: remove __flow.o * ./libc-linux/jump/libc/jump.funcs: ./libc-linux/jump/libc.lite/jump.funcs: change the filename of ___underflow and ___overflow from __flow to streambuf. change the filename of sysd-stdio to tempname. * ./libc-linux/iostream/stdio/sysd-stdio.c: removed. * ./libc-linux/iostream/stdio/tempname.c: get ./sysdeps/posix/tempname.c from glibc 1.06.4 and rewrite it based on ./libc-linux/iostream/stdio/sysd-stdio.c. * ./libc-linux/iostream/stdio/Makefile: change sysd-stdio.o to tempname.o. Thu Jul 1 17:17:28 1993 H.J. Lu (hlu@nighthawk) * version 4.4.1 is released. Mon Jun 28 08:51:00 1993 H.J. Lu (hlu@nighthawk) * version 4.4.0f is released. * update to tools 2.7.5. * ./libc-linux/jump/libm/jump.params: ./libc-linux/jump/libm/jump.params.build: Change back to GOT=0x00000100. You have to use tools newer than 2.7.4. * ./libc-linux/jump/libc/jump.vars: ./libc-linux/jump/libc.lite/jump.vars: change _BC, _PC and _UP to 'C' from 'D'. Sat Jun 26 19:02:04 1993 H.J. Lu (hlu@nighthawk) * version 4.4.0e is released. * : move #define __USE_BSD_SIGNAL before #include_next . * ./libc-linux/Makefile: build everything other than libc.so.x.y with -lgcc -lc -lgcc. * ./libc-linux/jump/libm/jump.params: ./libc-linux/jump/libm/jump.params.build: Change to GOT=0x00001000. Old binaries using GOT in libm may break. I don't think many use it. Sat Jun 19 13:30:26 1993 H.J. Lu (hlu@nighthawk) * version 4.4.0d is released. Thu Jun 17 19:32:11 1993 H.J. Lu (hlu@nighthawk) * ./libc-linux/sysdeps/linux/i386/Makefile: fix typos. * ./libc-linux/jump/libc/jump.funcs: ./libc-linux/jump/libc.lite/jump.funcs: add `_' to the names of new functions. Wed Jun 16 09:33:48 1993 H.J. Lu (hlu@nighthawk) * update to tools 2.7.4. * ./libc-linux/jump/libc/jump.ignore: ./libc-linux/jump/libc.lite/jump.ignore: delete __GLOBAL_$I$fprintf and __GLOBAL_$I$sync_with_stdio__3iosi. Fri Jun 11 17:27:48 1993 H.J. Lu (hlu@nighthawk) * ./libc-linux/misc/Makefile: add ftok.o. * ./libc-linux/misc/ftok.c: new file for ftok (). * ./libc-linux/sysdeps/linux/i386/Makefile: add msgctl.o, msgget.o, msgrcv.o msgsnd.o semctl.o semget.o semop.o, shmat.o, shmctl.o, shmdt.o amd shmget.o. * ./libc-linux/sysdeps/linux/i386/msgctl.c: * ./libc-linux/sysdeps/linux/i386/msgget.c: * ./libc-linux/sysdeps/linux/i386/msgrcv.c: * ./libc-linux/sysdeps/linux/i386/msgsnd.c: * ./libc-linux/sysdeps/linux/i386/semctl.c: * ./libc-linux/sysdeps/linux/i386/semget.c: * ./libc-linux/sysdeps/linux/i386/semop.c: * ./libc-linux/sysdeps/linux/i386/shmat.c: * ./libc-linux/sysdeps/linux/i386/shmctl.c: * ./libc-linux/sysdeps/linux/i386/shmdt.c: * ./libc-linux/sysdeps/linux/i386/shmget.c: new files for SYSV IPC. * ./libc-linux/jump/libc/jump.funcs: ./libc-linux/jump/libc.lite/jump.funcs: new entries: ftok, msgctl, msgget, msgrcv, msgsnd, semctl, semget, semop, shmat, shmctl, shmdt and shmget. Fri Jun 3 10:20:19 1993 H.J. Lu (hlu@nighthawk) * version 4.4.0c is released. source code patch only. * ./libc-linux/Makerules: add .S -> .s. * ./libc-linux/sysdeps/linux/fsync.S: new file. need the latest 0.99 pl 10 or above to use. * ./libc-linux/sysdeps/linux/fsync.c: removed. Thu Jun 3 20:26:29 1993 H.J. Lu (hlu@nighthawk) * version 4.4.0b is released. * update to tools 2.7.3. Sun May 30 23:40:19 1993 H.J. Lu (hlu@nighthawk) * update to tools 2.7.2. * ./libc-linux/Makeconfig: set i486 as default. * ./libc-linux/Makefile: add libgcc.a to the math shared library for __main (). * ./libc-linux/gcc/Makefile: add __main.o, _exit.o and _ctors.o to the shared libgcc.a. * ./libc-linux/jump/libc/jump.ignore: ./libc-linux/jump/libc.lite/jump.ignore: add ___main, ___do_global_ctors, ___do_global_dtors and __exit_dummy_decl. Fri May 28 15:04:02 1993 H.J. Lu (hlu@nighthawk) * : fix it for 0.99 pl 10. * : include the gcc's limits.h only if it is not included already. * : only declare `alloca' if __STDC__ is defined or __GNUC__ < 2. `alloca' is the built-in function for gcc 2.x. * : add signaling NaNs, double and float. Sun May 23 16:45:45 1993 H.J. Lu (hlu@nighthawk) * ./libc-linux/Makefile: add gcc to the static dirs. Sat May 22 13:50:46 1993 H.J. Lu (hlu@nighthawk) * version 4.4.0a is released. * ./libc-linux/iostream/filebuf.C: (filebuf::sync ()): don't do sys_seek () if not in putback mode. WARNING: it may break something, especially the unlimited put back operations. I am still waiting for reply from Per. * : add signal and quiet NaN as well as float version. * ./libc-linux/sysdeps/linux/i386/math/ __infnan.c: return signal NaN. * ./libc-linux/sysdeps/linux/i386/math: (acos.c, acosh.c, asin.c, atanh.c, log.c, log10.c, pow.c, sqrt.c): change the return values for domain errors to IEEE conforming values. from flebbe@pluto.tat.physik.uni-tuebingen.de (Olaf Flebbe). Fri May 21 14:27:12 1993 H.J. Lu (hlu@nighthawk) * ./libc-linux/string/strncscmp.c: ./libc-linux/string/strcasecmp.c: change GPL to GLGPL. Thu May 20 23:25:25 1993 H.J. Lu (hlu@nighthawk) * version 4.4 is released. * ./libc-linux/sstream/Makefile: ./libc-linux/rpc/Makefile: ./libc-linux/inet/Makefile: add -I../include. * ./libc-linux/compat/i386/Makefile: ./libc-linux/sysdeps/i386/Makefile: ./libc-linux/sysdeps/linux/Makefile: add -I../../include. * : include . * ./libc-linux/rpc: (get_myaddr.c, pmap_getmaps.c, pmap_getport.c and pmap_rmt.c): include . it has no effect to RPC in the current Linux C library. * ./libc-linux/include: new directory for the kernel header files which are needed to compile the Linux C library but not present in the current public kernel source. (1) linux/in.h: new header file from the kernel 0.99 pl 10. (2) linux/if.h: dummy. we don't really need stuff inside that file. (3) linux/untsname.h: new header file from the kernel 0.99 pl 10. Wed May 19 22:51:06 1993 H.J. Lu (hlu@nighthawk) * ./libc-linux/Makefile: make libgcc.a while building the static library. * ./libc-linux/Makeconfig: change gcc version to 2.4.0. * : remove #if 0 and define _LIBC_LIMITS_H_ * ./libc-linux/crt/[g]crt0.S: ./libc-linux/sysdeps/linux/i386/__load.c: add copyright. Mon May 17 10:49:42 1993 H.J. Lu (hlu@nighthawk) * : (__MAX_ERRNO, __CHECK_RETURN_ADDR, __check_errno): defined. In case of returning a memory address, negative values may not mean error. * ./libc-linux/sysdeps/linux/i386/mmap.c: define __CHECK_RETURN_ADDR before include . Sun May 16 12:48:00 1993 H.J. Lu (hlu@nighthawk) * version 4.3.3g is released. Sat May 15 23:23:45 1993 H.J. Lu (hlu@nighthawk) * ./libc-linux/compat/Makefile: add i386 in clean target. * copy libgcc2.c to ./libc-linux/gcc from ss-930515. Mon May 10 23:52:25 1993 H.J. Lu (hlu@nighthawk) * version 4.3.3f is released. * ./libc-linux/misc/syslog.c: use NUL as a message delimiter. * : change _SYSEXIST_H to _SYSEXITS_H. * : remove __GNU_LIBRARY__ and __bits. Sun May 9 14:33:04 1993 H.J. Lu (hlu@nighthawk) * ./libc-linux/sysdeps/linux/i386/math/pow.c: return 0.0 for pow (x, 1.0). Sat May 8 10:22:11 1993 H.J. Lu (hlu@nighthawk) * and : include . * : add /* The `sig' bit is set if the interrupt on it * is enabled via siginterrupt (). */ extern sigset_t _sigintr; * : only declare `memcpy' and `memcmp' if __STDC__ is defined or __GNUC__ < 2. `memcpy' and `memcmp' are built-in functions for gcc 2.x. * ./libc-linux/libbsd/roundup.c: deleted. ditto Makefile. Fri May 7 14:25:20 1993 H.J. Lu (hlu@nighthawk) * ./libc-linux/sbin: new directory for special static linked binaries. * ./libc-linux/Makefile: target `clean' includes `sbin'. * : from gnu regex 0.12. * ./libc-linux/regex/regex.c: from gnu regex 0.12 + fixes. * add _sigintr in ./libc-linux/bsd/sigint.c to keep track which signal is set to allow interrupt. * remove inline function __bsd_signal () from . * ./libc-linux/sysdeps/linux/__bsd_sig.c: new file for __bsd_signal (). do not restart the signal handler if _sigintr is set by siginterrupt (). * ./libc-linux/sysdeps/linux/Makefile: add __bsd_sig.o. * add ___bsd_signal to jump/libc/jump.funcs and jump/libc.lite/jump.funcs. * add __sigintr to jump/libc/jump.vars and jump/libc.lite/jump.vars. Thu May 6 10:50:32 1993 H.J. Lu (hlu@nighthawk) * version 4.3.3e is released. * fix ./libc-linux/termcap/termcap.c. thanks to Orest Zborowski. * fix ./jump/libc/jump.funcs and ./jump/libc.lite/jump.funcs for new __gethostname () and old __gethostname (). * add __old__ghn.c to ./libc-linux/compat/i386 for old __gethostname (). Wed May 4 13:30:49 1993 H.J. Lu (hlu@nighthawk) * version 4.3.3d1 is released. * define roundup(x,y) in and . * ./libc-linux/sysdeps/linux/__gethstnm.c: use __uname () instead of uname (). * add prefix "__" to all variables in inline functions in . Tue May 4 14:32:59 1993 H.J. Lu (hlu@nighthawk) * version 4.3.3d is released. Mon May 3 14:21:06 1993 H.J. Lu (hlu@nighthawk) * bump up the version number to 4.4: ./libc-linux/jump/lib[cm][.lite]/jump.params[.build]. * install and from gnu make 3.64. * copy fnmatch.c and glob.c from gnu make 3.64 to ./libc-linux/posix. * add ___glob_closedir_hook, ___glob_opendir_hook and ___glob_readdir_hook to jump/libc/jump.funcs and jump/libc.lite/jump.funcs. * install from Michael Haardt. (Eric Allman ) Sun May 2 13:52:12 1993 H.J. Lu (hlu@nighthawk) * apply patch from Branko Lankester for ./libc-linux/profil.c to handle RA_RESTART in the new kernel (0.99.8 and newer). * modify ./libc-linux/sysdeps/linux/signal.c: mask out SA_RESTART. * modify (__bsd_signal): set sa_flags = SA_RESTART if SA_RESTART is defined. Thu Apr 29 15:59:34 1993 H.J. Lu (hlu@nighthawk) * ./libc-linux/Makefile and ./libc-linux/gcc: use libgcc.a from gcc 2.4 snapshot, ss-930426. * cleanup ./libc-linux/Makefile. * ./libc-linux/crt/[g]crt0.S: change 387 control word to 0x1372 from 0x1272. Use 80 bits for FP in 387. * ./libc-linux/Makefile: install libmcheck.a if DEBUG == true. * apply the patch from Rick Sladkey to fix the NGRPS bug in ./libc-linux/rpc/auth_unix.c when NGROUPS > NGRPS. Wed Apr 28 23:42:11 1993 H.J. Lu (hlu@nighthawk) * , and : change __inline__ to __inline. * in ./libc-linux/sysdeps/linux, change uname.S to __uname.S. add aliases for uname (). modify Makefile for that. * modify : add __uname () and a new filed domainname to struct utsname. * fix ./jump/libc/jump.funcs and ./jump/libc.lite/jump.funcs for new __uname () and old __uname (). * add __old___uname.c to ./libc-linux/compat/i386 for old __uname (). * add SYS_sigreturn, SYS_clone and SYS_setdomainname to . * libc-linux/sysdeps/linux: add setdnnm.c and getdnnm.c. modify Makefile for that. * add setdomainname () and getdomainname () to . * need setdomainname () support in kernel. Sat Apr 24 23:53:03 1993 H.J. Lu (hlu@nighthawk) * ./libc-linux/inet: inet_net.c: copy inet_addr.c, mask out hostid. Sat Apr 24 23:23:13 1993 H.J. Lu (hlu@nighthawk) * version 4.3.3c is released. * appy patch for from Rick Sladkey. fix union __wait. Thanks Rick. * modify ./libc-linux/sysdeps/linux/i386/__load.c: we append DEFAULT_LD_LIBRARY_PATH to LD_LIBRARY_PATH if LD_LIBRARY_PATH is ever used. Thanks Ted. Fri Apr 23 13:01:30 1993 H.J. Lu (hlu@nighthawk) * modify ./libc-linux/posix/cfmakeraw.c according to the suggestions from Bruce Evans. Thanks Bruce. Please report the problems to H.J. Lu (hlu@eecs.wsu.edu). * bump up the version number to 4.3.4: ./libc-linux/jump/lib[cm][.lite]/jump.params[.build]. * apply patch for ./libc-linux/rpc/clnt_udp.c from Rick Sladkey. fix a shadowed variable. * turn off GETOPT_COMPAT again in ./libc-linux/posix/Makefile for ./libc-linux/posix/getopt.c. Thu Apr 22 23:51:30 1993 H.J. Lu (hlu@nighthawk) * remove the leading '/' in the name of the shared libc image: ./libc-linux/jump/libc[.lite]/jump.params[.build]. * add obstack.c from the FSF to ./libc-linux/misc. modify ./libc-linux/Makefile for obstack.o. * add from the FSF with minor modifications. * add "_obstack" to jump/libc/jump.vars and jump/libc.lite/jump.vars. * add __obstack_allocated_p, __obstack_begin, __obstack_begin_1, __obstack_free, __obstack_newchunk and _obstack_free to jump/libc/jump.funcs and jump/libc.lite/jump.funcs. Wed Apr 21 23:11:40 1993 H.J. Lu (hlu@nighthawk) * turn on GETOPT_COMPAT again in ./libc-linux/posix/Makefile for ./libc-linux/posix/getopt.c which was turned off by Roland. should be phased out later. * modify ./libc-linux/sysdeps/linux/i386/__load.c: we use the environment LD_LIBRARY_PATH if the binary is not setuid nor setgid, otherwise use DEFAULT_LD_LIBRARY_PATH. * fix MINDOUBLE and MINFLOAT in . we use the denormals now. * add union i387_float to . Tue Apr 20 13:09:32 1993 H.J. Lu (hlu@nighthawk) * version 4.3.3b is released. * add and define UL_GETFSIZE and UL_SETFSIZE. modify ./libc-linux/sysdeps/linux/i386/ulimit.c: 1. takes UL_GETFSIZE and UL_SETFSIZE. 2. change ulimit () to long ulimit (int cmd, ...); * modify ./libc-linux/sysdeps/linux/i386/__load.c: we search the environment LD_LIBRARY_PATH for each shared image. we use DEFAULT_LD_LIBRARY_PATH if 1. USR_LD_LIBRARY_PATH == NULL or 2. set_ugid != 0 && the shared image name begins with '/'. Rational: We only care some functions in the C library. Xterm is often setuid root so that it can chown its tty properly. We still want to allow the user to select Xaw3d (for 3d scroll bars and such). So we check LD_LIBRARY_PATH on shared image by shared images cases. * use GNU termcap 1.2 with support for TIOCGWINSZ. * fix a memory leak in ./libc-linux/iostream/floatconv.C. Sat Apr 17 13:09:32 1993 H.J. Lu (hlu@nighthawk) * define _IEEE 1 in for i386. * remove the leading '/' in the name of the shared math image: ./libc-linux/jump/libm/jump.params[.build]. * add ./libc-linux/sstream: a BSD scoket stream. Not fully supported under Linux due to the incomplete networking support. The demos ran fine under Ultrix 4.2. * in ./libc-linux/iostream: modify stdstrbufs.C and __flow.C for other systems other than Linux. * change , and such that #ifndef NULL #ifdef __cplusplus #define NULL 0 #else #define NULL ((void *)0) #endif #endif Tue Apr 15 15:13:29 1993 H.J. Lu (hlu@nighthawk) * define fd_mask as unsigned long in . * define howmany(x,y) in and . fix MAXPATHLEN and NOFILE in . * copy ./libc-linux/iostream/iomanip.h from sstream, Mayan Moudgill. /usr/g++-include/iomanip.h: ditto. * in ./libc-linux/iostream/stdio: fix typos in getw.C, putw.C, fread.C and fwrite.C. Tue Apr 14 16:13:29 1993 H.J. Lu (hlu@nighthawk) * remove strsep.o from ./libc-linux/libbsd/Makefile. Tue Apr 14 06:13:29 1993 H.J. Lu (hlu@nighthawk) * version 4.3.3a1 is released. * fix typos in ./libc-linux/termcap/tparam.c. * fix typos in ./libc-linux/jump/libc/jump.vars and ./libc-linux/jump/libc.lite/jump.vars. * fix a typo in ./libc-linux/sysdeps/linux/_errlist.c. * replace ./libc-linux/string/strsep.c from jrs@world.std.com (Rick Sladkey). * fix ./libc-linux/jump/Makefile for pdksh. Tue Apr 13 22:13:29 1993 H.J. Lu (hlu@nighthawk) * version 4.3.3a is released. * fix procbuf/stdio in ./libc-linux/iostream. 1. ./libc-linux/iostream/procbuf.h: add _exit_status and exit_status (). 2. ./libc-linux/iostream/procbuf.C: comment out signal stuff; turn on close-on-exec in parent; use waitpid (); check errno == EINTR; save the exit status of the child. 3. ./libc-linux/iostream/stdio/popen.C: borrow code from fclose () and return the exit status of the child. * copy ./libc-linux/iostream/procbuf.h to /usr/g++-include. * check if return of fcntl () == -1 in ./libc-linux/iostream/filebuf.C. Mon Apr 12 11:45:08 1993 H.J. Lu (hlu@nighthawk) * update ./libc-linux/posix/getopt.c from Roland for "optopt". add "optopt" to jump/libc/jump.vars and jump/libc.lite/jump.vars. * update setjmp from glibc 1.05 with bug fixes for i386: 1. rename ./libc-linux/sysdeps/i386/sigsetjmp.c to ./libc-linux/compat/i386/__old_sigsj.c and change the function name to __old_sigsetjmp (). 2. in jump/libc/jump.funcs and jump/libc.lite/jump.funcs: change _sigsetjmp to __old_sigsetjmp and add __sigjmp_save (). 3. . files affected: 1. ./libc-linux/setjmp: Makefile, __sj_save.c, _setjmp.c, siglongjmp.c, _longjmp.c, longjmp.c 2. sysdeps/i386: Makefile, __setjmp.c * remove ./libc-linux/jumptable1 and ./libc-linux/jumptable1 from ./libc-linux/Makefile. files affected: 1. ./libc-linux/ctype: Makefile, ctype-info.c. 2. ./libc-linux/curses: Makefile, curses.c, unctrl.c. 3. ./libc-linux/gdbm: global.c. 4. ./libc-linux/inet: herror.c, res_init.c, rexec.c. 5. ./libc-linux/iostream: Makefile, stdstrbufs.C. 6. ./libc-linux/iostream/stdio: emulate.C. 7. ./libc-linux/misc: Makefile, __environ.S, errno.S. 8. ./libc-linux/misc: Makefile, __environ.S, errno.S. 9. ./libc-linux/posix: getopt.c. 10. ./libc-linux/regex: regex.c. 11. ./libc-linux/rpc: Makefile, rpc_comdata.c. 12. ./libc-linux/sysdeps/linux: Makefile, _errlist.c, _siglist.c. 13. ./libc-linux/sysdeps/linux/i386: __brk.c. 14. ./libc-linux/sysdeps/linux/i386/math: lgamma.c. 15. ./libc-linux/termcap: termcap.c. 16. ./libc-linux/time: bsdtime.c. modify jump/libc/jump.vars, jump/libc.lite/jump.vars and jump/libm/jump.vars for those changes. * increase size of "svc_fdset" in jump/libc/jump.vars and jump/libc.lite/jump.vars to 0x40 bytes. move it to a new location. Fri Apr 9 16:40:43 1993 H.J. Lu (hlu@nighthawk) * add "extern int optopt;" to . * in ./libc-linux/sysdeps/linux, change statfs.S to __statfs.S and fstatfs.S to __fstatfs.S. add aliases for statfs () and fstatfs.(). modify Makefile for that. * modify . fix ./jump/libc/jump.funcs and ./jump/libc.lite/jump.funcs * use __statfs ()/__fstatfs () for _PC_NAME_MAX in ./libc-linux/sysdeps/linux/__fpathconf.c and ./libc-linux/sysdeps/linux/__pathconf.c. * apply fix from junio@twinsun.com (Junio Hamano) to ./libc-linux/termcap/tparam.c. ------------ In comp.os.linux, Heiko Bobzin writes: I tried to write a termcap-entry for my ADM3a-based terminal ! The problem I have concerns cursor-positioning: The ESC-sequence should be: ESC = y x where x = (char)row + \040 and y = (char)col + \040 I thought it must be 'cm=\E=%+ %+ ,' but that fails: !!! The eighth bit is ALWAYS set in the 'x' and 'y' characters !!! All other characters are sent as expected. It indeed is caused by the termcap routine (tparam1 called from tgoto) used in GNU emacs and GNU termcap (hence linux libc). The intention of the original code seems to avoid putting '\0' in the encoded string, but it is a little too eager to do so and screws up other cases. -junio ----------- * use /bin/shell to get pwd in ./libc-linux/Makeconfig. * in ./libc-linux/inet/ruserpass.c, use pwd to get username when getlogin () fails. fix a memory leak. Sun Apr 4 12:37:41 1993 H.J. Lu (hlu@nighthawk) * version 4.3.3 is released. Fri Apr 2 10:13:57 1993 H.J. Lu (hlu@nighthawk) * fix and : include only if __STDC__ is defined. Thu Apr 1 13:53:19 1993 H.J. Lu (hlu@nighthawk) * version 4.3.2i is released. Tue Mar 30 15:23:22 1993 H.J. Lu (hlu@nighthawk) * modify ./libc-linux/termcap/termcap.c for broken TIOCGWINSZ. make sure ws.ws_row and ws.ws_col are not zero. Mon Mar 29 15:40:05 1993 H.J. Lu (hlu@nighthawk) * in ./libc-linux/Makefile, fix a typo. Sun Mar 28 11:59:01 1993 H.J. Lu (hlu@nighthawk) * from Bruce Evans with a few changes: ./libc-linux/posix/getcwd.c: 'dirstream' was not being closed when the buffer was too small (try size 3 in /tmp). While fixing this I noticed several other bugs with resources not being freed, and fixed a couple. See the XXX comment for more details. ./libc-linux/posix/execl.c: ./libc-linux/posix/execle.c: ./libc-linux/posix/execlp.c: Cases where argv [0] == NULL and argc > 8192 were botched. Sat Mar 27 13:54:22 1993 H.J. Lu (hlu@nighthawk) * add -m486 to LDFLAGS if I486 = true in ./libc-linux/Makefile. You need the latest binutils.tar.z for that. Sat Mar 27 11:54:22 1993 H.J. Lu (hlu@nighthawk) * version 4.3.2h1 is released. Fri Mar 26 23:15:08 1993 H.J. Lu (hlu@nighthawk) * fix __gethostname () type and include in ./libc-linux/sysdeps/linux/__gethstnm.c. * clean up libc-linux/malloc/Makefile. * get libc-linux/malloc-930326 from Mike Haertel, mike@cs.uoregon.edu. remove libc-linux/malloc-930325. * modify jump/libc/jump.vars and jump/libc.lite/jump.vars to undefine __aligned_blocks, ___morecore and __mb_shift * modify jump/libc/jump.ignore and jump/libc.lite/jump.ignore to add __aligned_blocks, ___morecore and __mb_shift * change libc-linux/malloc-930325/valloc.c from Mike Haertel, mike@cs.uoregon.edu. * restore libc-linux/malloc-930325/malloc.h from Mike Haertel, mike@cs.uoregon.edu. * remove libc-linux/malloc-930325/memalign.c from libc-linux/malloc, which is a SunOS invention and is not in ANSI C, POSIX 1003.1, or 4.3BSD. You now have to use libg.a to use it. * modify libc-linux/malloc-930325/Makefile. * modify jump/libc/jump.funcs and jump/libc.lite/jump.funcs to undefine memalign. * add libc-linux/malloc-930325/README.Linux. Fri Mar 26 16:15:08 1993 H.J. Lu (hlu@nighthawk) * version 4.3.2h is released. * remove the internal malloc stuff from . * in libc-linux/malloc, add -I. -I. -I. in Makefile and make libmcheck.a only if DEBUG is defined; apply fix from Mike Haertel, mike@cs.uoregon.edu for malloc.c, malloc.h and realloc.c. * new directory libc-linux/malloc-930325, a fast malloc implementation from Mike Haertel, mike@cs.uoregon.edu, which is the basis of GNU malloc. This version differs from the GNU version in that it does not support debugging hooks, and does not record statistics. Therefore it is slightly faster. we use it in libc.a and libc_p.a. the GNU malloc is kept in libg.a. We need speed. * modify ./libc-linux/Makefile: use ./libc-linux/malloc only if DEBUG is defined (for libg.a) and for the other libraries use ./libc-linux/malloc-930325. * modify jump/libc/jump.funcs and jump/libc.lite/jump.funcs to undefine mcheck, mtrace, mstats and _free_internal. You now have to use libg.a to use them. Thu Mar 25 23:14:31 1993 H.J. Lu (hlu@nighthawk) * add __vt$xxxxxxxx from fstream.o in iostream to jump/libc/jump.vars and jump/libc.lite/jump.vars, and pad the size of them to 0x50 bytes. delete them from jump/libc/jump.ignore and jump/libc.lite/jump.ignore. * add __old_libc.c and __old_libm.c to ./libc-linux/compat for backward compatility. Also change ./libc-linux/Makefile. Tue Mar 23 23:13:35 1993 H.J. Lu (hlu@nighthawk) * modify ./libc-linux/misc/ldexp.c from glibc 1.05. * include in for CLK_TCK. * siginterrupt () (sigint.c) is added: libc-linux/bsd/sigint.c and libc-linux/bsd/Makefile. add siginterrupt () to the ends of ./libc-linux/jump/libc/jump.funcs and ./libc-linux/jump/libc.lite/jump.funcs. Mon Mar 22 16:58:07 1993 H.J. Lu (hlu@nighthawk) * version 4.3.2g1 is released. * fix a stupid typo in ./libc-linux/Makefile which will prevent __load.o being included in libc.sa. Sun Mar 21 17:41:26 1993 H.J. Lu (hlu@nighthawk) * version 4.3.2g is released. Sat Mar 20 12:09:48 1993 H.J. Lu (hlu@nighthawk) * change ./libc-linux/Makefile: get __load.o from the static libc.a. * include instead of in ./libc-linux/sysdeps/linux/nlist.c. * fix ./libc-linux/inet/inet_addr.c. * undo sa_flags = SA_RESTART for bsd singnal in . * undo sa_flags = SA_RESTART in ./libc-linux/posix/system.c ./libc-linux/gmon/profil.c Fri Mar 19 17:41:26 1993 H.J. Lu (hlu@nighthawk) * version 4.3.2f is released. Wed Mar 17 15:07:42 1993 H.J. Lu (hlu@nighthawk) * fix typos in ./libc-linux/termcap/termcap.c. * in ./libc-linux/sysdeps/linux/i386/mmap.c, mmap () just returns _mmap (). * add fsync () to the ends of ./libc-linux/jump/libc/jump.funcs and ./libc-linux/jump/libc.lite/jump.funcs. add it to and remove it from libc-linux/libbsd. * add _validuser () to the ends of ./libc-linux/jump/libc/jump.funcs and ./libc-linux/jump/libc.lite/jump.funcs. remove it from ./libc-linux/jump/libc/jump.ignore. and ./libc-linux/jump/libc.lite/jump.ignore. * in , rename SYS_syslog to sys_klog. add SYS_sysinfo, SYS_ipc and SYS_fsync. they are not implemented in the stock kernel yet. * in ./libc-linux/sysdeps/linux add a fake fsync () [fync ()] in fsync.c and Makefile. change to system call later. Tue Mar 16 16:09:23 1993 H.J. Lu (hlu@nighthawk) * set sa_flags = SA_RESTART for bsd singnal in . need 0.99 pl8 for that. * set sa_flags = SA_RESTART in ./libc-linux/posix/system.c ./libc-linux/gmon/profil.c Mon Mar 15 23:27:24 1993 H.J. Lu (hlu@nighthawk) * fix warning in . * fix regcomp () in ./libc-linux/regex/regex.c: add preg->allocated = 0; preg->used = 0; * apply fix for ./libc-linux/iostream/floatconv.C from Per Bothner. define IEEE_8087 if i386 is defined and a small bug fix. * restore ./libc-linux/iostream/ioprivate.h. Fri Mar 12 23:19:47 1993 H.J. Lu (hlu@nighthawk) * version 4.3.2e is released. * apply the fix for XDR representation of floats and doubles on i386 from jrs@world.std.com (Rick Sladkey), ./libc-linux/rpc/xdr_float.c. * apply termcap patches from obz@Kodak.COM (Orest Zborowski) to termcap/termcap.c. o Fixed incorrect behavior when TERMCAP was set but didn't match TERM. This was a matter of fixing a missing else clause. o Added the ability to read the number of lines/columns from the current tty and set them in the capability string returned. This is the behavior that Sun has, and allows curses applications to take advantage of the entire screen. * modify ./libc-linux/Makecofig for libbsd.a. Thu Mar 11 23:19:47 1993 H.J. Lu (hlu@nighthawk) * add "regex" to DIRS in jumptable1/Makefile if LITE is defined. * change WTMP_FILE to "/usr/adm/wtmp" in . * modify for BSD codes and move old one to . * in ./libc-linux/sysdeps/linux/i386, modify __wait.c, __wait3.c and __waitpid.c for new . * add a new diretory /usr/include/bsd with lots of new header files for BSD codes. is not included. * add lots of new files to /usr/include/rpcsvc. yppasswd.x is left out since it is not compatible with the current . * copy , , , and from "Fred N. van Kempen" . * modify files in ./libc-linux/rpc: get_myaddr.c, pmap_getmaps.c, pmap_getport.c and pmap_rmt.c to comment out for the time being. * add ./libc-linux/libbsd from "Fred N. van Kempen" . * modify ./libc-linux/Makefile for ./libc-linux/libbsd. only build it for static library. Wed Mar 10 23:56:54 1993 H.J. Lu (hlu@nighthawk) * version 4.3.2d is released. * fix ./libc-linux/sysdeps/linux/i386/Makefile and ./libc-linux/Makefile. * fix typos in ./libc-linux/iostream/filebuf.C. don't write any code at 3:30 am in the morning :-(. I am too aggressive in fdopen (). relax a little, only check O_APPEND ("a"). * should we close the file descriptor on a stream obtained with fdopen ()? iostream/stdio/fdopen.C. the current scheme is YES. * copy ./jump/libc/jump.ignore to ./jump/libc.lite. * fix two typos in ./jump/libc.lite/jump.vars. Wed Mar 10 13:56:54 1993 H.J. Lu (hlu@nighthawk) * version 4.3.2c is released. Tue Mar 9 23:56:54 1993 H.J. Lu (hlu@nighthawk) * fix libc-linux/iostream/filebuf.C: filebuf::xspunts () calls streambuf::xspunts () instread of streambuf::spunts (). filebuf::overflow() check if read buffer is full when changing from get mode to put mode. * change libc-linux/Makeconfig. only make libalias.a for the shared library. * remove minix fs macro from . getmntent () in libc-linux/mntent/mntent.c return NULL if no filesystem type is provided. * remove . * fix libc-linux/sysdeps/linux/i386/readir.c. POSIX says that readdir() does not change errno when there are no more entries. * remove "__" from networking routines in . change libc-linux/jump/libc/jump.funcs and libc-linux/jump/libc.lite/jump.funcs. Mon Mar 8 21:56:54 1993 H.J. Lu (hlu@nighthawk) * fix libc-linux/sysdeps/linux/i386/sysdep.h for new cpp in gcc, add ##. * remove error checking in string/strerr.c. trust sprintf () :-). Sun Mar 7 21:56:54 1993 H.J. Lu (hlu@nighthawk) * According to POSIX, directory streams should be closed when exec. "Anna Pluzhnikov" (Paul Pluzhnikov?) fixes ./libc-linux/dirent/opendir.c. * add FILE * check for some stdio functons. files in ./libc-linux/iostream/stdio changed: fgetc.C, fputc.C, fputs.C and macros.C. Sun Mar 7 11:56:54 1993 H.J. Lu (hlu@nighthawk) * version 4.3.2b is released. * modify and for strict ANSI C, -pedantic. * fix filebuf::open () in iostream/filebuf.C to allow setting up a filebuf on an open file descriptor for fdopen (). * call filebuf::open (NULL, mode) in iostream/stdio/fdopen.C. * fix ./libc-linux/mntent/mntent.c from "Fred N. van Kempen" for comment lines in /etc/fstab. Sat Mar 6 22:20:08 1993 H.J. Lu (hlu@nighthawk) * add some functions to libm.a. add new directory: ./libc-linux/math. add new files in ./libc-lunux/sysdeps/linux/i386/math: __copysign.c, __infnan.c, __isinf.c, __isnan.c, __rint.c. add them to the shared math library, jump/libm/jump.funcs. modify ./libc-linux/Makefile for those additions. add those new declarations to . add two new header files and . change ./libc-lunux/sysdeps/linux/i386/math/drem.S to __drem.S and add an alias to drem (). NOTE: most of the new header files and functions are from glibc 1.05. * not to use the general syscall macros for _exit (). move libc_exit.c to ./libc-linux/sysdeps/linux/i386. * add -Wstrict-prototypes -Wmissing-prototypes to ./libc-linux/Makeconfig. Fri Mar 5 23:32:27 1993 H.J. Lu (hlu@nighthawk) * version 4.3.2a is released. * change all "linux" to "__linux__" in some header files. * add the YP header files. no library code yet. need more kernel support. * not to use the general syscall macros for __sigsetmask() and __siggetmask(). move __siggtmsk.c and __sigstmsk.c to ./libc-linux/sysdeps/linux/i386. * add IEEE_8087 to iostream/ioprivate.h for correct strtod () in libc-linux/iostream/floatconv.C. That fixes a very serious FP bug. * fix string/strerr.c, not to null terminate the string. * fix char * strstr (const char *s1, const char *s2); in string/strstr.c. If s2 points to a string with zero length, the function returns s1. Thu Mar 4 14:52:04 1993 H.J. Lu (hlu@nighthawk) * version 4.3.2 is released. rename version 4.3.1f to 4.3.2. Wed Mar 3 16:12:12 1993 H.J. Lu (hlu@nighthawk) * version 4.3.1f is released. * change Makefiles for stupid SVR3. Tue Mar 2 13:42:24 1993 H.J. Lu (hlu@nighthawk) * change volatile to __volatile__ in . * fix dirent/alphasort.c, dirent/scandir.c and : the correct alphasort () is: extern int alphasort ( const struct dirent * const *, const struct dirent * const * ); thanks to alfie@dcs.warwick.ac.uk (Nick Holloway). * change __PATH_ETC to __PATH_ETC_INET. change and . change __PATH_ETC_INET from "/usr/etc/inet" to "/etc/inet". change inet/gethstnmad.c. * modify libc-linux/sysdeps/linux/i386/__load.c to search /usr/lib/, /lib/, then "". change jump/*/jump.params*. * change change __PATH_ETC_INET from "/etc/inet" to "/etc" :-). Mon Mar 1 13:57:54 1993 H.J. Lu (hlu@nighthawk) * put regex back in lite.so.x.y. fix ./libc-linux/Makefile and libc-linux/jump/libc.lite/jump.*. Sun Feb 28 13:47:53 1993 H.J. Lu (hlu@nighthawk) * version 4.3.1e is released. * fix ./libc-linux/Makefile and ./libc-linux/gcc/Makefile for libgcc.sa. * make libgcc.a for i486. * fix libc.sa. Sat Feb 27 16:47:53 1993 H.J. Lu (hlu@nighthawk) * version 4.3.1d is released. Fri Feb 26 18:47:53 1993 H.J. Lu (hlu@nighthawk) * fix dirent/scandir.c from alfie@dcs.warwick.ac.uk (Nick Holloway). The 'select' parameter is allowed to be null, meaning choose all, as is the 'cmp' parameter. * add BC, PC and UP to libcurses.sa (jump/libc/jump.vars). Wed Feb 24 11:08:40 1993 H.J. Lu (hlu@nighthawk) * add .EXPORT_ALL_VARIABLES: to libc-linux/Makeconfig. * fix posix/mktemp.c: check if a templated file exists and always start from the very first letter. * change bsd/mkstemp.c: use algorithm in posix/mktemp.c directly. * add i486 support to ./crt/[g]crt0.S. * add more tests to sysdeps/linux/i386/math/test-math.c. * `remove' symbols in regex.o from jump/libc.lite/jump.funcs and jump/libc.lite/jump.vars. save the old ones in jump/libc.lite/saved. Tue Feb 23 23:23:56 1993 H.J. Lu (hlu@nighthawk) * version 4.3.1c is released. * cleanup Makefiles. * apply fix to sysdeps/linux/i386/math/cosh.S and add i486 support to libm.a. Tue Feb 23 15:23:56 1993 H.J. Lu (hlu@nighthawk) * version 4.3.1b is released. * remove ./jump/src. use tools-x.y.tar.z * add __vt$xxxxxxxx from iostream to jump/libc/jump.vars and jump/libc.lite/jump.vars, and pad the size of them by 0x40 bytes. Sun Feb 21 20:32:05 1993 H.J. Lu (hlu@nighthawk) * cleanup Makefiles. * fix sysdeps/linux/i386/math/cosh.S and add i486 support to libm.a. * reduce the jump table size and GOT size. Sat Feb 20 23:32:05 1993 H.J. Lu (hlu@nighthawk) * version 4.3.1a is released. * in change all "linux" to "__linux__" * cleanup libm.a and add support for make MATH=true [SHARED=true] * in grp/initgroups.c, close the file descriptor for /etc/group. * make "signgam" always external in * copy from gnu libc 1.05. change to : /cvt/cvt.c, ./misc/ldexp.c, ./misc/modf.c and ./sysdeps/linux/i386/math/frexp.c. * futher cleanup Makefiles. add support for make LITE=true * inc 4.3.1, h_errlist and h_nerr are put back in libc.sa. BC, UP and PC are moved from libcurses.sa to libtermcap.sa. __new_handler is put back in libgcc.sa. those may cause some troubles for binaries linked with 4.3, i.e., Xfree86 1.2. that also means 4.3 is not 100% compatible with 4.2 and 4.1. * add ".long 5" as the end of jumptable1/inet/herrlist.S for h_nerr. the real one is moved to new location. but will someone really want to change that number? * in jump/libc[.lite]/jump.ignore, those symbols in libgmon.a and libm.a are removed. h_errlist and h_nerr are also removed since they are in jump.vars now. Fri Feb 19 00:28:58 1993 H.J. Lu (hlu@yardbird) * version 4.3.1 is released. * add __tcgetattr () to . * include in ./login/getpass.c. * undefine _POSIX_SOURCE for linux in ./iostream/procbuf.C. that is done automatically under linux. * cleanup Makefiles to use GNU make and make it easier for the shared library. try to build the dll in ./libc-linux * move tools 1.9 to ./jump/src. * include in termcap/termcap.c. * replace __fcntl.c, __ioctl.c and __open.c with assembly codes. move them from libc-linux/sysdeps/linux/i386 to libc-linux/sysdeps/linux. * add PIC to * add PIC to ____sig.S, __brk.c, __sbrk.c, __select.c, __sigact.c, getprio.c, ptrace.c, readdir.c, sigsuspend.c, sysdep.h in libc-linux/sysdeps/linux/i386. PIC is not supported in libc-linux/sysdeps/linux/i386/syscall.c yet. * add ./gcc for libgcc.a from gcc 2.3.3. * add ./compat for libcompat.a. Tue Feb 16 14:42:32 1993 H.J. Lu (hlu@yardbird) * Fix libc-linux/sydeps/linux/i386/__load.c for emacs from Eric Youngdale. Mon Feb 15 09:11:20 1993 H.J. Lu (hlu@yardbird) * the Linux C library 4.3 is released. * take "const" out of "struct timeval" of select () in and libc-linux/sysdeps/lnux/i386/__select (). no need to recompile the library. Sun Feb 14 13:11:20 1993 H.J. Lu (hlu@yardbird) * in posix/sleep.c, restore the signal mask before return. some small changes to make it more reliable. Fri Feb 12 15:41:43 1993 H.J. Lu (hlu@yardbird) * make posix/sleep.c more reliable with signal blocking. * add one more check to sysdeps/linux/i386/sigsuspend.c * modify crt/gcrt0.S for dll. * take out of . fix your code if you have to. * for non-kernel header files change "linux" to "__linux__" and "i386" to "__i386__". Thu Feb 11 23:31:55 1993 H.J. Lu (hlu@yardbird) * fix iostream/streambuf.C, ungetc (c, fp) with c != char was just read. * from jrs@world.std.com (Rick Sladkey), in ./rpc, fix clnt_tcp.c, clnt_udp.c, getrpcent.c, pmap_rmt.c, svc_au_ux.c and svc_tcp.c. select () modifies its last argument, timeout. also fix posix/sleep.c when it is interrupted by a signal. * from Eric, for dynamic linking, crt/crt0.S and sysdeps/linux/i386/__load.c. Wed Feb 10 15:34:59 1993 H.J. Lu (hlu@yardbird) * include in , instead of . Thu Feb 4 11:05:57 1993 H.J. Lu (hlu@yardbird) * complete . Wed Feb 3 23:40:44 1993 H.J. Lu (hlu@yardbird) * fix sysdeps/linux/__flock.c to use F_SHLCK and F_EXLCK. * copy fnmath.[ch] from gnu tar 1.11.1. Wed Feb 3 15:44:44 1993 H.J. Lu (hlu@yardbird) * fix sigaddset (), sigdelset () and sigismember() in . Sun Jan 24 15:30:19 1993 H.J. Lu (hlu@yardbird) * fix a typo in iostream/filebuf.C. filebuf::open (filename, "a+") should set `read_write' with read_write &= _S_IS_APPENDING; * apply patches from Per for pipe error. * apply patches from Ted for posix/getcwd.c, fixing stat (x, y) -> lstat (x, y). * fixe misc/syslog.c. open things with O_NOCTTY. Mon Jan 18 12:35:37 1993 H.J. Lu (hlu@yardbird) * add _CURSES_H to . Fri Jan 8 16:22:04 1993 H.J. Lu (hlu@yardbird) * fix __sigismember() in to check of sig # is less than _NSIG. Sat Jan 2 14:00:35 1993 H.J. Lu (hlu@yardbird) * include in . * include in . * change for C++. Fri Jan 1 14:00:35 1993 H.J. Lu (hlu@yardbird) * fixe typos in . * include in and if SHADOW_PWD is defined. * make fd == 0 ok in ./bsd/mkstemp.c. * change __sigsetjmp to sigsetjmp in . * set LINES and COLS in ./jumptable1/curses/curses.c to be 0. Tue Dec 29 21:22:53 1992 H.J. Lu (hlu@yardbird) * add shadow.h. * fix checking file existence in bsd/mkstemp.c and iostream/stdio/sysd-stdio.c. * change `__bits' in `fd_set' to `fds_bits'. rpc/svc.c. * change "%E" and "%G" to be the same as "%e" and "%g". * the Linux C library 4.2 is released. Sun Dec 27 23:38:08 1992 H.J. Lu (hlu@yardbird) * use new inet/gethstnmad.c. * put libnet and librpc back into libc to avoid confusion. Sat Dec 19 13:50:23 1992 H.J. Lu (hlu@yardbird) * upgrade iostream to libgcc 2.3. add 0's before the decimal point in iostream/outfloat.C. * comment out fsync () in * add ulimit (). No support for setting break values. * use sigaction () in sleep.c. Thu Dec 3 16:17:52 1992 H.J. Lu (hlu@yardbird) * separate libnet.a and librpc.a from libc.a. * modify ./jumptable1/inet to make sure the new shared libraries are compatible with old ones. * all kinds of misc changes for backward compatibilities. It is very ugly. * massive changes to shared libraries for backward compatibilities. I don't like what I did. * move ./rpc/bindresvport.c to ./inet. Sun Nov 29 14:56:32 1992 H.J. Lu (hlu@yardbird) * fix typo in . Fri Nov 27 23:56:32 1992 H.J. Lu (hlu@yardbird) * typo in memset.c, add the 4th copy. * fix sysd-stdio.c and change TMP_MAX in to 238328. * add __stdio_gen_tempname to jump table. * fix getcwd.c. Thu Nov 26 15:56:32 1992 H.J. Lu (hlu@yardbird) * use __MALLOC_0_RETURNS_NULL in and . * add const to struct timeval of select () in and __select.c. Mon Nov 23 10:56:32 1992 H.J. Lu (hlu@yardbird) * change signal () back to unreliable, usg style. put __USE_BSD_SIGNAL back in . Sat Nov 21 10:56:32 1992 H.J. Lu (hlu@yardbird) * add fchmod () to . * fix , not include . * change for . use MALLOC_0_RETURNS_NULL in and . change extern in malloc () to static when MALLOC_0_RETURNS_NULL is not defined. * add __old_getdtablesize () to shared image. Fri Nov 20 10:56:32 1992 H.J. Lu (hlu@yardbird) * comment oout IP_OPTIONS in . Linux doesn't have it for the moment. * don't use ld -x -r on crt0.o/gcrt0.o. * change signal () to reliable, bsd style. add __USE_USG_SIGNAL to . * apply jrs@world.std.com (Rick Sladkey)'s patches for sources and header files of rpc. * change BAD_SIG to BADSIG in signal.h. * change the definitions of malloc and calloc in stdlib.h. Thu Nov 19 10:56:32 1992 H.J. Lu (hlu@yardbird) * put __old_select () back in shared image with a minor fix. Tue Nov 17 10:56:32 1992 H.J. Lu (hlu@yardbird) * delete __old_select (). * add . Sat Nov 14 10:56:32 1992 H.J. Lu (hlu@yardbird) * use alpha libg++.a 2.3 * use GNU regex 0.11. * add __muldi3 () __udivdi3 (), _udivmoddi4 and __umoddi3 () to jump table. They are used by iostream. Thu Nov 12 12:40:46 1992 H.J. Lu (hlu@yardbird) * change fd_set and FD_XXX for 0.98 pl 4. * add NFDBITS. * add __old_select () to to shared image. * fix sigaction (sig, NULL, old). Thu Nov 5 12:25:06 1992 H.J. Lu (hlu@yardbird) * add syslog.c, paths.h. It uses UDP on domain socket. It has not been supported in kernel yet. Mon Nov 2 13:58:01 1992 H.J. Lu (hlu@yardbird) * move new glob () and globfree () to new location in jump table. redirect old glob () and globfree () to __libc_changed (). * fix typo in socket functions. * add utimes, idle, insque, remque, localeconv, memfrob, memmem, nlist, getusershell, endusershell, setegid, seteuid, strfry, strsep and syscall. * change system call back to push/pop. * move syscall (), __open (), __ioctl () and __fcntl () to sysdeps/linux/i386 since they use . With push/pop, we may move them back to sysdeps/linux. Tue Oct 27 01:21:25 1992 H.J. Lu (hlu@yoda) * define TZDIR to "/usr/lib/zoneinfo" in ./time. Fri Oct 23 16:24:47 1992 H.J. Lu (hlu@yardbird) * fix signal.c. use sigaction (). * fix perror.c. * check if a file exists in iostream/stdio/sysd-stdio.c. Thu Oct 22 11:36:01 1992 H.J. Lu (hlu@yardbird) * add mkstemp (). * fix a memory leak in grpread.c. Sun Oct 18 11:08:14 1992 H.J. Lu (hlu@yardbird) * change psignal (unsigned int, ..) to psignal (int, ...). * get localeconv () from glibc 1.05. * fix const in signal.h and errno.h. Tue Oct 13 01:07:32 1992 H.J. Lu (hlu@nighthawk) * add flock (). * add utimes (), seteuid () and setegid (). * add insque () and remque (). * fix getsocketopt (), get new socketcall.h from the kernel source. Wed Oct 7 18:16:09 1992 H.J. Lu (hlu@nighthawk) * add sun rpc 4.0. * change a few header files for gcc 2.3, stdio.h. * change to and use __P instead of _ARGS. Tue Oct 6 01:01:55 1992 H.J. Lu (hlu@nighthawk) * use scandir, alphasort and ftw from glibc 1.05. * use from glibc 1.05 to replace . * system call idle was added. * the floating point output bugs, `%-xxx' stuff, were fixed. * there was a new structure for compiler: different versions of library, i.e., static, jump table and classic shared library, would be in the same directory. static verion would be libfoo.a. jump table version would be libfoo.sa and classic version would be libfoo.ca. `ld' would search for the jump table library by default. you can overwrite it by adding -static or -nojump to `ld' or 'gcc'. jump table and classic verions are not compatible with each other. and the static library is used as the last resort. * strcmp, strncmp and memcpy were fixed for unsigned char. * sun rpc 4.0 was in. * the GNU C library 1.05 was used. * use `xchg' in system calls. Fri Sep 11 13:29:05 1992 H.J. Lu (hlu@poly2) * rearrange the file structures of gcc. separate compiler from libraries and header files. Here is the new structure: 1. static libraries are in /usr/lib. 2. jump table version of shared library stubs are in /usr/lib/shlib/jump. 3. classic version of shared library stubs are in /usr/lib/shlib/nojump 4. default for gcc is jump table. the other options are -nojump and -static. -g and -pg will use the corresponding static libraries. * shared images are in a separate package. * from this release on, the gcc will follow the FSF naming. the libraries will be named after jump table version number. the current versions are gcc 2.2.2d, the Linux C library 4.1 and the Linux math library 4.0. the Linux math library won't change with the minor version number. so for all the version y.xxx's, there is only one release of math library, version `y.0'. * file list for gcc 2.2.2d, libc 4.1 and libm 4.0: 1. 222d7.TZ gcc 2.2.2d linked with jump table 4.1. it has gcc, cc1, cc1plus and cpp. it also has version dependent header files. unpack it under /. 2. lib41.tar static libraries and shared library stubs. it has lib-4.1.TZ and lib-4.1.sh. run lib-4.1.sh will install lib-4.1.TZ. do lib-4.1.sh you have to have a real sh to run it. This script is used to install the math library, soft or hard. 3. inc-4.1.TZ header files for lib 4.1. unpack it under /. You have to make two symbolic links. one from include/linux of kernel source to /usr/include/linux, another from include/asm of kernel source to /usr/include/asm. There is a file, /usr/include/linux/const.h. You have to move it to include/linux of kernel source before you make symbolic link. unpack it under /. 4. jump41.tar shared images for jump table 4.1. it has jump-4.1.TZ and jump-4.1.sh. do jump-4.1.sh to install jump-4.1.TZ. this script is used to install the shared math image, soft or hard. 5. libdp-4.1.TZ libc_p.a and libg.a. unpack it under /. 6. jump-src-4.1.TZ scripts for build jump table 4.1. almost no documentations. contributions are welcome. 7. lib-src-4.1.TZ source code for the Linux C library 4.1. * the install procedures are minimal. it didn't do much file permission fixing. fix them when you find they are wrong. * this release contains no new binaries for gcc, cc1, cc1plus or cpp. only things changed are in libraries. Mon Sep 7 13:44:09 1992 H.J. Lu (hlu@poly2) * change to jump table 4.1 * add prefix __ to header files. * use strftime from shellutils 1.7 to replace the one from glibc.a 1.03. Sat Sep 5 16:57:21 1992 H.J. Lu (hlu@poly2) * swapoff, wait4 (real one, need 0.97 pl3 or above) are added. * vm86 () and are added. Fri Sep 4 17:31:44 1992 H.J. Lu (hlu@meriadoc) * change jump table to 4.0. Add __brk_addr to global data. fix streambuf static member, _list_all. Wed Sep 2 13:01:59 1992 H.J. Lu (hlu@poly2) * __overflow () and __underflow () are moved into a separate file to facilitate the implementation of jump table. * getdtablesize () returns OPEN_MAX. Mon Aug 31 16:14:38 1992 H.J. Lu (hlu@poly2) * new getpass () from poeigl-1.6.tar.Z. * add C++ wrapper in setjmp.h. * GNU regex 0.9 is used. * file lock in gdbm is changed for real thing in 0.97 pl 2. * ntol? () and hton? () netinet/in.h are fixed. Thu Aug 27 00:12:10 1992 H.J. Lu (hlu@yoda) * regex (version 0.9) from shellutiles-1.7 is used. * bsd style signal () is added in . define _USE_BSD_SIGNAL to use it. * sigblock and sigpause () are added. * ftw () is added. It is untested. It uses seekdir and telldir (). I am afraid it may not work with VFS. Wed Aug 26 00:17:33 1992 H.J. Lu (hlu@fili) * scandir () and alphasort () are added. * killpg () is added to . Sun Aug 23 14:49:23 1992 H.J. Lu (hlu@poly2) * some files are changed for the new shared image scheme. * you have to have 0.97 pl 2 or above to use it. * define WTMP_FILENAME and UTMP_FILENAME as WTMP_FILE and UTMP_FILE in . Sat Aug 22 10:57:11 1992 H.J. Lu (hlu@luke) * fix re_comp (""). * setfileno () is added to stdio. don't use it unless you have to. * use POSIX signals in curses, ./posix/system.c and ./iostream/procbuf.C ----------------Start to Use ChangeLog------------------ Thu Aug 12 1992 * gcc-2.2.2d You need to have the header files from virgin Linux kernel 0.97 patch 1 or above on line to use this release. The source codes for gcc itself is unchanged from 2.2.2, but it was recompiled for new kernel. And lots of bugs are fixed. I am trying to make the Linux C library to be POSIX.1 compliant. I cleared up the header files and some library functions. 1. and are fixed. (in 2.2.2dmisc.tar.Z) 2. is fixed, remove __tzname_max (). (in 0.97pl1inc.tar.Z) 3. posix/sysconf.c. (the shared image is compiled with old one. I don't think it will matter too much. this will be fixed in the next release.) 4. time/Makefile (remove tzname.o) There are some problems with pathconf()/fpathconf(). We need a new sys call to get info about the filesystem. Someone mentioned vfsstat (). It may be a good idea. To be compliance with POSIX.1, we need 1. LINK_MAX 2. MAX_CANON 3. NAME_MAX 4. PATH_MAX 5. PIPE_BUF 6. _POSIX_CHOWN_RESTRICTED 7. _POSIX_NO_TRUNC 8. _POSIX_VDISABLE Some of them may change for different filesystems. Some don't. Some may do in the future. The installation procedure is changed. Please read README first. The new correct setjmp/longjmp are not compatible with gcc 2.2.2. If your code uses them, please recompile it with gcc 2.2.2d. And DO NOT USE setjmp/longjmp WITH THE SHARED X386 v1.1, WAIT FOR v2.0. The following bugs in libraries are fixed. 1. div/ldiv. 2. setjmp/longjmp. 3. crt0.o/gcrt0.o. 387 control word is changed to 0x1272. No overflow exception. 4. floating point format errors are fixed. 5. minor bug in mntent.c. 6. popen.o is fixed in libg.a. 7. fopen ("foo", "a") will seek to the end of file. 8. printf ("%10.2f\n", 10.0); 9. libg++.a 2.2 is used. 10. libinet.a is folded into libc.a. All the data bases are in /usr/etc/inet. But you need kernel support for that. Please contact "bir7@leland.stanford.edu" first. 11. a typo in libc-linux/socket/bytedorer.c is fixed. 12. size of args + envs for exec () is fixed. 13. new mount for 0.97. 14. a bug in temporary filename creation is fixed. Now it checks if a process has permission to create a file in specified directory. 15. in libhard.a, pow (0.0, 0.0) = 1.0 now. 16. cc1/cc1plus is fixed for double foo=DBL_MAX; The following functions are added to libraries. 1. setpiority/getpiority. 2. iopl. 3. sigsetjmp/siglongjmp. 4. cfree. The following changes are made to the header files. You won't notice the changes unless you are testing TCP/IP. If you are, please first contact "bir7@leland.stanford.edu". You need more than that. 1. is fixed. 2. is fixed. 3. all the header files are now compatible with gcc -traditional. 4. strncasecmp is added to . 5. is added. 6. lots of bugs are fixed. 7. and are changed. 8. and are changed for TCP/IP. 9. and are in for TCP/IP. 10. lots of header files in kernel and /usr/include are fixed. two dummies, and are added for gdb 4.6. The following changes are made to libraries. 1. byte order functions for networking are written in C. Please read libc-linux/socket/byteorder.c and David's jump table version 2 release 2.1 is in. Jun 27 1992 * gcc-2.2.2 Please get the new binutils.tar.Z, which fixed some bugs in as and gprof with some patches from Rick Sladkey at jrs@world.std.com I added some jumptable stubs to gcc. But I don't have the time to implement it. In the future, you can use jump table with -jump in CFLAGS. Libg++.a is 2.2 beta. This gcc will produce binaries only run safely under 0.96a patch level 4 or above. The following bugs in libc.a are fixed. 1. hard and soft math libs are fixed. some of functions are totally rewritten. 2. acosh, asinh and atanh are added to libsoft.a and math.h. 3. open a file for read and write, then do fseek followed by fwrite works now. 4. now random () and srandom () are renamed to __random () and __srandom (), respectively. 5. the header files taken from glibc.a are fixed. 6. the sys call mount now takes 4 args. 7. getpagesize and getdtablesize work now. 8. netdb.h, resolv.h, sys/uio.h, netinet.h, arpa/inet.h and arpa/nameser.h are changed. 9. Some function declarations are added to sys/socket.h in 0.96bp2inc.tar.Z. The following functions are added to libc.a. 1. profil. 2. libg.a is there. 3. getdtablesize. 4. lots of stuffs added to errno.h and string/errlist.c. 5. some changes in string/siglist.c. 6. dtoa. 7. there is a new strtod, please check it out. 8. drem. 9. the inet library functions are in libinet.a. They are untested. Once they are tested ok, they will be moved to libc.a. All the inet library functions are there, except for res_xxxx, rcmd, rexec and ruserpass, which require more kernel support, like F_SETOWN, FASYNC, and a few network system calls. There should also be a set of files in /etc for inet functions. I hope Ross will provide them. In this release, there is a libc_p.a compiled with "-pg" for profiling. You should use "-g" for debugging and "-pg/-p" for profiling in CFLAGS when you compile the source code. Jun 16 1992 * gcc-2.2 based on FSF release gcc-2.2.1 new binutils.tar.Z, which fixed some bugs in as. Libg++.a is 2.1 A new structure of gcc is introduced here. All the static libs are in /usr/lib/gcc-lib/i386-linux/2.xxx and all the shared libs are in /usr/lib/gcc-lib/i386-linux/2.xxx/shared. By default, gcc will search /usr/lib/gcc-lib/i386-linux/2.xxx/shared first, then the static libs. You can turn off the shared libs with "-static". The following bugs in libc.a are fixed. 1. dirent.[ch] are fixed such that static memory no longer is used in readdir (). 2. sys/dir.h sys/dirent.h are modified such that there will be a warning when both of them are included. They are also compatible now. 3. __cpluscplus in fnmath.h 4. gets () will only give a warning during linking. 5. wait3 (). 6. is fixed. fputc, fgets and gets are no longer macros. 7. is added in 0.96ap2inc.tar.Z. 8. The return value of clock ticks of the old sysconf () was wrong. It returned 60 instead of 100. 9. The domain errors in the math libraries are improved. 10. bsearch and qsort are fixed for zero element. The following functions are added to libc.a. 1. accept 2. bind 3. bstring 4. connect 5. ftime 6. fchmod 7. fchown 8. ftruncate 9. getpagesize 10. getpeername 11. getsockname 12. getwd 13. ioperm 14. itimer. 15. listen 16. mmap 17. mntent. 18. ntohs/htons 19. ntohl/htonl 20. psignal 21. ptrace 22. setenv/unsetenv 23. socket 24. socketpair 25. statfs () and fstatfs (). 26. truncate 27. usleep 28. vfork 29. wait3() and wait4 (). Gdbm 1.5 is here for X11R5. popen now is based on iostream. I also changed the structure of header files. May 30 1992 * gcc-2.12c based on ss-920528 from FSF From this release, gcc will use the shared lib. That means you have to keep the shared images used by all the compilers you have. Now libg++.a 2.0.91 is here. The following bugs in gcc are fixed. 1. "\xxx" works now. 2. No more warning about "__FUNCTION__" stuffs. The following bugs in libc.a are fixed. 1. hypot added to math.h 2. popen is fixed by Per, Check it out. 3. __cpluseplus in setjmp.h 4. copy sys/dirent.h to sys/dir.h, but change dirent to direct. 5. proto type of gdbm_open in gdbm.h 6. Per tried to fix fseek/fread/fwrite. Check it out. Here is the list of the known bugs. 1. -O won't work with getdate.c from shellutils 1.6. I am trying to fix the following bugs in libg++.a. 1. Maybe Complex.o, which uses hypot. May 27 1992 * gcc-2.12b The following bugs in libc.a are fixed. 1. types used in sigsetmask and siggetmask are now sigset_t. 2. a minor change in sigproc.c. 3. signal.h is changed. I am trying to fix the follwing bugs in libg++.a. 1. Regex.o and String.o Please do this to fix the bug in libg++.a. /bin/rm -rf /usr/g++-include/regex.h May 26 1992 * gcc-2.12 based on FSF prerelease of gcc-2.2. The follwing bugs in libc.a are fixed. 1. index. 2. sigxxxx return values should be right now. 3. execxxx are taken from glibc.a 1.03. Please check it out. 4. malloc in stdlib.h and malloc.h, when they are included together, they may cause trouble. Can I include malloc.h in stdlib.h and fix malloc in malloc.h? The following functions are added. 1. tell (bsd) 2. sigsetmask 3. siggetmask popen now is based on iostream. I also changed the structure of header files. Libg++.a 2.0.90 is here, which is MUCH better than the one in gcc 2.11c. Please try this. Stdio should be less buggy. Check it out. To use this release, please get new binutils.tar.Z which has a new gas. May 19 1992 * gcc-2.11c ldd is supported. The source code of the libraries is in libc-2.11c.tar.Z. There are two files: gcc-2.1.tar.Z, for compiler, including some tips for cross-compiling. shlib-2.11c.tar.Z, for building the shared libs. May 17 1992 * gcc-2.11b 1. sleep (0) is fixed. 2. All binaries are recompiled with new gas. 3. X11R5 is not the part of gcc 2.1 anymore. Please get the new binutils.tar.Z. The old one may have bugs.