Index: linux/libc/ChangeLog diff -c linux/libc/ChangeLog:1.165 linux/libc/ChangeLog:1.167 *** linux/libc/ChangeLog:1.165 Mon Feb 3 20:30:25 1997 --- linux/libc/ChangeLog Fri Feb 14 19:42:59 1997 *************** *** 1,3 **** --- 1,38 ---- + Fri Feb 14 19:41:54 1997 H.J. Lu (hjl@gnu.ai.mit.edu) + + * version 5.4.23 is released. + + * <_G_config.h>: change version to 5.4.23. + + * elf/libc/jump.params: set version to 5.4.23. + + * release.libc: update. + + * time/strptime.c (strptime): fix definition. + + Fri Feb 14 04:27:57 1997 Ulrich Windl + + * (strptime): fix the prototype. + + Sun Feb 9 12:05:06 1997 H.J. Lu (hjl@gnu.ai.mit.edu) + + * : update copyright. + (__libc_malloc_initialized): new. + + * dl-malloc/malloc.c (__libc_malloc_initialized): changed + from __malloc_initialized so that this variable is not + shared with other users of GNU malloc. + + Fri Feb 7 19:14:31 1997 "Ronald F. Guilmette" + + * inet/gethstnmad.c (gethostbyname): change sizeof (buf) + to sizeof (buf.buf) while calling res_search (). + + Wed Feb 5 16:25:14 1997 "Ronald F. Guilmette" + + * (prioritynames, prioritynames, facilitynames): + add missing '{' and '}'. + Mon Feb 3 19:57:45 1997 H.J. Lu (hjl@gnu.ai.mit.edu) * version 5.4.22 is released. Index: linux/libc/release.libc diff -c linux/libc/release.libc:1.37 linux/libc/release.libc:1.38 *** linux/libc/release.libc:1.37 Mon Feb 3 19:54:14 1997 --- linux/libc/release.libc Fri Feb 14 19:42:59 1997 *************** *** 19,38 **** so that the old XFree86 binaries will run fine with the new XFree86 shared librraries compiled with libc 6.x/glibc 2.x. ! If you use linux 2.1.x, you need libc 5.4.22 or above to compile libc yourself. The pre-compiled libc should run fine under linux 2.1.x. Also this library is compiled with -D_REENTRANT so that errno is MT safe. The shared libraries are now compiled with -g1 which can provide minimum information when core dump happens. You can strip ! libc.so.5.4.22 if you want. ! Due to the new, improved locale, the Linux C library 5.4.22 is binary compatible with libc 5.3.12 but not vice versa. The binaries ! compiled/linked with libc.so.5.4.22 may not run with libc.so.5.3.12. You may need to regenerate locale files for the new locale in libc ! 5.4.22 if you use locales other tha C/POSIX which are the defaults. The locale sources are at --- 19,38 ---- so that the old XFree86 binaries will run fine with the new XFree86 shared librraries compiled with libc 6.x/glibc 2.x. ! If you use linux 2.1.x, you need libc 5.4.23 or above to compile libc yourself. The pre-compiled libc should run fine under linux 2.1.x. Also this library is compiled with -D_REENTRANT so that errno is MT safe. The shared libraries are now compiled with -g1 which can provide minimum information when core dump happens. You can strip ! libc.so.5.4.23 if you want. ! Due to the new, improved locale, the Linux C library 5.4.23 is binary compatible with libc 5.3.12 but not vice versa. The binaries ! compiled/linked with libc.so.5.4.23 may not run with libc.so.5.3.12. You may need to regenerate locale files for the new locale in libc ! 5.4.23 if you use locales other tha C/POSIX which are the defaults. The locale sources are at *************** *** 41,47 **** There are many security bug fixes. Please consult ChangeLog for details. Please let me know if there are more security bugs remains. ! This is the beta release of the Linux C library 5.4.22. Please read the ChangeLog for details regarding changes/bug fixes. DISTRIBUTION SITES: --- 41,47 ---- There are many security bug fixes. Please consult ChangeLog for details. Please let me know if there are more security bugs remains. ! This is the beta release of the Linux C library 5.4.23. Please read the ChangeLog for details regarding changes/bug fixes. DISTRIBUTION SITES: *************** *** 62,72 **** DISTRIBUTION FILES: ! 1. libc-5.4.22.bin.tar.gz REQUIRED. This package contains the header files for libc, shared and static ELF libraries libc and libm, and the static ELF library libbsd.a. ! The header files in libc-5.4.22.bin.tar.gz are not complete. You need to install the kernel source tree for the system-dependent header files. The header files are in lib-x.y.z.bin.tar.gz and libc-x.y.z.tar.gz. You --- 62,72 ---- DISTRIBUTION FILES: ! 1. libc-5.4.23.bin.tar.gz REQUIRED. This package contains the header files for libc, shared and static ELF libraries libc and libm, and the static ELF library libbsd.a. ! The header files in libc-5.4.23.bin.tar.gz are not complete. You need to install the kernel source tree for the system-dependent header files. The header files are in lib-x.y.z.bin.tar.gz and libc-x.y.z.tar.gz. You *************** *** 77,87 **** to extract the header files without the binaries files. A separate tar file for the header files may cause unnecessary confusion. ! 2. libc-5.4.22.tar.gz Source tree for libc and header files. ! 3. libc-5.4.21-5.4.22.diff.gz Context diffs against the source tree from the previous libc release. Please make sure the empty libc/regex/rx.h is deleted. --- 77,87 ---- to extract the header files without the binaries files. A separate tar file for the header files may cause unnecessary confusion. ! 2. libc-5.4.23.tar.gz Source tree for libc and header files. ! 3. libc-5.4.22-5.4.23.diff.gz Context diffs against the source tree from the previous libc release. Please make sure the empty libc/regex/rx.h is deleted. *************** *** 152,158 **** rm -f /usr/include/wcstr.h /usr/include/mbstr.h rm -f /usr/include/ld_so_config.h /usr/include/localeinfo.h rm -rf /usr/include/netinet /usr/include/net /usr/include/pthread ! gzip -dc libc-5.4.22.bin.tar.gz | tar xvf - SOURCE INSTALLATION: --- 152,158 ---- rm -f /usr/include/wcstr.h /usr/include/mbstr.h rm -f /usr/include/ld_so_config.h /usr/include/localeinfo.h rm -rf /usr/include/netinet /usr/include/net /usr/include/pthread ! gzip -dc libc-5.4.23.bin.tar.gz | tar xvf - SOURCE INSTALLATION: *************** *** 219,225 **** H.J. hjl@gnu.ai.mit.edu ! 02/05/97 ---- RCS file: /home/cvs/gnu/make/dir.c,v retrieving revision 1.1.1.1 --- 219,225 ---- H.J. hjl@gnu.ai.mit.edu ! 02/14/97 ---- RCS file: /home/cvs/gnu/make/dir.c,v retrieving revision 1.1.1.1 Index: linux/libc/dl-malloc/malloc.c diff -c linux/libc/dl-malloc/malloc.c:1.9 linux/libc/dl-malloc/malloc.c:1.10 *** linux/libc/dl-malloc/malloc.c:1.9 Sat Jan 4 10:49:30 1997 --- linux/libc/dl-malloc/malloc.c Fri Feb 14 19:38:14 1997 *************** *** 883,893 **** #endif - #if defined(MALLOC_HOOKS) - /* Nonzero if already initialized. */ - extern int __malloc_initialized; - #endif - /* Public routines */ #if __STD_C --- 883,888 ---- *************** *** 3213,3219 **** #ifdef MALLOC_HOOKS /* Already initialized? */ ! int __malloc_initialized = 0; /* Initialization routine. */ static void --- 3208,3214 ---- #ifdef MALLOC_HOOKS /* Already initialized? */ ! int __libc_malloc_initialized = 0; /* Initialization routine. */ static void *************** *** 3221,3228 **** { char* s; ! if(__malloc_initialized) return; ! __malloc_initialized = 1; s = getenv("MALLOC_CHECK_"); if(s) { if(s[0]) mALLOPt(M_CHECK_ACTION, (int)(s[0] - '0')); --- 3216,3223 ---- { char* s; ! if(__libc_malloc_initialized) return; ! __libc_malloc_initialized = 1; s = getenv("MALLOC_CHECK_"); if(s) { if(s[0]) mALLOPt(M_CHECK_ACTION, (int)(s[0] - '0')); Index: linux/libc/elf/libc/jump.params diff -c linux/libc/elf/libc/jump.params:1.75 linux/libc/elf/libc/jump.params:1.76 *** linux/libc/elf/libc/jump.params:1.75 Mon Feb 3 19:54:17 1997 --- linux/libc/elf/libc/jump.params Fri Feb 14 19:38:15 1997 *************** *** 1 **** ! Version=5.4.22 --- 1 ---- ! Version=5.4.23 Index: linux/libc/inet/gethstnmad.c diff -c linux/libc/inet/gethstnmad.c:1.14 linux/libc/inet/gethstnmad.c:1.15 *** linux/libc/inet/gethstnmad.c:1.14 Fri Oct 4 15:52:51 1996 --- linux/libc/inet/gethstnmad.c Fri Feb 14 19:38:15 1997 *************** *** 1024,1030 **** switch (service_order[cc]) { case SERVICE_BIND: if ((n = res_search(name, C_IN, T_A, ! buf.buf, sizeof(buf))) < 0) { #ifdef DEBUG if (_res.options & RES_DEBUG) printf("res_search failed\n"); --- 1024,1030 ---- switch (service_order[cc]) { case SERVICE_BIND: if ((n = res_search(name, C_IN, T_A, ! buf.buf, sizeof(buf.buf))) < 0) { #ifdef DEBUG if (_res.options & RES_DEBUG) printf("res_search failed\n"); Index: linux/libc/time/strptime.c diff -c linux/libc/time/strptime.c:1.3 linux/libc/time/strptime.c:1.4 *** linux/libc/time/strptime.c:1.3 Fri Sep 13 01:44:30 1996 --- linux/libc/time/strptime.c Fri Feb 14 19:38:18 1997 *************** *** 75,81 **** char * DEFUN (strptime, (buf, format, tm), ! char *buf AND CONST char *format AND register struct tm *tm) { const char *rp; const char *fmt; --- 75,81 ---- char * DEFUN (strptime, (buf, format, tm), ! CONST char *buf AND CONST char *format AND register struct tm *tm) { const char *rp; const char *fmt; Index: linux/include/_G_config.h diff -c linux/include/_G_config.h:1.81 linux/include/_G_config.h:1.82 *** linux/include/_G_config.h:1.81 Mon Feb 3 19:54:47 1997 --- linux/include/_G_config.h Fri Feb 14 19:37:18 1997 *************** *** 2,11 **** #ifndef _G_config_h #define _G_config_h ! #define _LINUX_C_LIB_VERSION "5.4.22" #define _LINUX_C_LIB_VERSION_MAJOR 5 #define _LINUX_C_LIB_VERSION_MINOR 4 ! #define _LINUX_C_LIB_VERSION_SUBMINOR 22 #define _G_LIB_VERSION "2.7.2" --- 2,11 ---- #ifndef _G_config_h #define _G_config_h ! #define _LINUX_C_LIB_VERSION "5.4.23" #define _LINUX_C_LIB_VERSION_MAJOR 5 #define _LINUX_C_LIB_VERSION_MINOR 4 ! #define _LINUX_C_LIB_VERSION_SUBMINOR 23 #define _G_LIB_VERSION "2.7.2" Index: linux/include/malloc.h diff -c linux/include/malloc.h:1.5 linux/include/malloc.h:1.6 *** linux/include/malloc.h:1.5 Fri Jan 19 14:02:39 1996 --- linux/include/malloc.h Fri Feb 14 19:37:18 1997 *************** *** 1,24 **** ! /* Declarations for `malloc' and friends. ! Copyright 1990, 1991, 1992 Free Software Foundation, Inc. ! Written May 1989 by Mike Haertel. ! ! This library is free software; you can redistribute it and/or ! modify it under the terms of the GNU Library General Public License as ! published by the Free Software Foundation; either version 2 of the ! License, or (at your option) any later version. ! ! This library is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! Library General Public License for more details. ! ! You should have received a copy of the GNU Library General Public ! License along with this library; see the file COPYING.LIB. If ! not, write to the Free Software Foundation, Inc., 675 Mass Ave, ! Cambridge, MA 02139, USA. ! ! The author may be reached (Email) at the address mike@ai.mit.edu, ! or (US mail) as Mike Haertel c/o Free Software Foundation. */ #ifndef _MALLOC_H #define _MALLOC_H 1 --- 1,21 ---- ! /* Prototypes and definition for malloc implementation. ! Copyright (C) 1996, 1997 Free Software Foundation, Inc. ! This file is part of the GNU C Library. ! ! The GNU C Library is free software; you can redistribute it and/or ! modify it under the terms of the GNU Library General Public License as ! published by the Free Software Foundation; either version 2 of the ! License, or (at your option) any later version. ! ! The GNU C Library is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! Library General Public License for more details. ! ! You should have received a copy of the GNU Library General Public ! License along with the GNU C Library; see the file COPYING.LIB. If not, ! write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, ! Boston, MA 02111-1307, USA. */ #ifndef _MALLOC_H #define _MALLOC_H 1 *************** *** 41,46 **** --- 38,45 ---- #undef ptrdiff_t #define ptrdiff_t int #endif + + extern int __libc_malloc_initialized; /* For backward compatibilities and X11R5 */ #if (defined(MALLOC_0_RETURNS_NULL) || defined(NO_FIX_MALLOC)) \ Index: linux/include/time.h diff -c linux/include/time.h:1.6 linux/include/time.h:1.7 *** linux/include/time.h:1.6 Wed May 22 08:50:30 1996 --- linux/include/time.h Fri Feb 14 19:37:18 1997 *************** *** 88,94 **** extern char * ctime __P ((__const time_t * __tp)); extern size_t strftime __P ((char * __s, size_t __smax, __const char * __fmt, __const struct tm * __tp)); ! extern char * strptime __P ((char * __s, __const char * __fmt, struct tm * __tm)); extern void tzset __P ((void)); --- 88,94 ---- extern char * ctime __P ((__const time_t * __tp)); extern size_t strftime __P ((char * __s, size_t __smax, __const char * __fmt, __const struct tm * __tp)); ! extern char * strptime __P ((__const char * __s, __const char * __fmt, struct tm * __tm)); extern void tzset __P ((void)); Index: linux/include/sys/syslog.h diff -c linux/include/sys/syslog.h:1.3 linux/include/sys/syslog.h:1.4 *** linux/include/sys/syslog.h:1.3 Sat Jun 10 17:26:07 1995 --- linux/include/sys/syslog.h Fri Feb 14 19:37:19 1997 *************** *** 73,91 **** } CODE; CODE prioritynames[] = { ! "alert", LOG_ALERT, ! "crit", LOG_CRIT, ! "debug", LOG_DEBUG, ! "emerg", LOG_EMERG, ! "err", LOG_ERR, ! "error", LOG_ERR, /* DEPRECATED */ ! "info", LOG_INFO, ! "none", INTERNAL_NOPRI, /* INTERNAL */ ! "notice", LOG_NOTICE, ! "panic", LOG_EMERG, /* DEPRECATED */ ! "warn", LOG_WARNING, /* DEPRECATED */ ! "warning", LOG_WARNING, ! NULL, -1, }; #endif --- 73,91 ---- } CODE; CODE prioritynames[] = { ! { "alert", LOG_ALERT }, ! { "crit", LOG_CRIT }, ! { "debug", LOG_DEBUG }, ! { "emerg", LOG_EMERG }, ! { "err", LOG_ERR }, ! { "error", LOG_ERR }, /* DEPRECATED */ ! { "info", LOG_INFO }, ! { "none", INTERNAL_NOPRI }, /* INTERNAL */ ! { "notice", LOG_NOTICE }, ! { "panic", LOG_EMERG }, /* DEPRECATED */ ! { "warn", LOG_WARNING }, /* DEPRECATED */ ! { "warning", LOG_WARNING }, ! { NULL, -1 } }; #endif *************** *** 119,146 **** #ifdef SYSLOG_NAMES CODE facilitynames[] = { ! "auth", LOG_AUTH, ! "authpriv", LOG_AUTHPRIV, ! "cron", LOG_CRON, ! "daemon", LOG_DAEMON, ! "kern", LOG_KERN, ! "lpr", LOG_LPR, ! "mail", LOG_MAIL, ! "mark", INTERNAL_MARK, /* INTERNAL */ ! "news", LOG_NEWS, ! "security", LOG_AUTH, /* DEPRECATED */ ! "syslog", LOG_SYSLOG, ! "user", LOG_USER, ! "uucp", LOG_UUCP, ! "local0", LOG_LOCAL0, ! "local1", LOG_LOCAL1, ! "local2", LOG_LOCAL2, ! "local3", LOG_LOCAL3, ! "local4", LOG_LOCAL4, ! "local5", LOG_LOCAL5, ! "local6", LOG_LOCAL6, ! "local7", LOG_LOCAL7, ! NULL, -1, }; #endif --- 119,146 ---- #ifdef SYSLOG_NAMES CODE facilitynames[] = { ! { "auth", LOG_AUTH }, ! { "authpriv", LOG_AUTHPRIV }, ! { "cron", LOG_CRON }, ! { "daemon", LOG_DAEMON }, ! { "kern", LOG_KERN }, ! { "lpr", LOG_LPR }, ! { "mail", LOG_MAIL }, ! { "mark", INTERNAL_MARK }, /* INTERNAL */ ! { "news", LOG_NEWS }, ! { "security", LOG_AUTH }, /* DEPRECATED */ ! { "syslog", LOG_SYSLOG }, ! { "user", LOG_USER }, ! { "uucp", LOG_UUCP }, ! { "local0", LOG_LOCAL0 }, ! { "local1", LOG_LOCAL1 }, ! { "local2", LOG_LOCAL2 }, ! { "local3", LOG_LOCAL3 }, ! { "local4", LOG_LOCAL4 }, ! { "local5", LOG_LOCAL5 }, ! { "local6", LOG_LOCAL6 }, ! { "local7", LOG_LOCAL7 }, ! { NULL, -1 } }; #endif