Index: linux/libc/ChangeLog diff -u linux/libc/ChangeLog:1.182 linux/libc/ChangeLog:1.183 --- linux/libc/ChangeLog:1.182 Sat May 24 17:24:00 1997 +++ linux/libc/ChangeLog Fri May 30 10:02:32 1997 @@ -1,3 +1,19 @@ +Fri May 30 07:56:13 1997 H.J. Lu (hjl@gnu.ai.mit.edu) + + * version 5.4.32 is released. + + * <_G_config.h>: change version to 5.4.32. + + * elf/libc/jump.params: set version to 5.4.32. + + * release.libc: update. + +Wed May 28 07:31:49 1997 H.J. Lu (hjl@gnu.ai.mit.edu) + + * time/strptime.c: use 9999 as the limit for year, instead + of INT_MAX. Yes, we got a year 9999 problem. + Always use 1900 for offset. + Sat May 24 17:13:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu) * version 5.4.31 is released. Index: linux/libc/release.libc diff -u linux/libc/release.libc:1.49 linux/libc/release.libc:1.50 --- linux/libc/release.libc:1.49 Sat May 24 17:24:00 1997 +++ linux/libc/release.libc Fri May 30 10:02:33 1997 @@ -1,9 +1,9 @@ Hi, Gals and Guys, -I would like to release libc 5.4.31 to public in a day or 2. But +I would like to release libc 5.4.32 to public in a day or 2. But I was told libc 5.4.26 doesn't work with shadow-970211. I couldn't -reproduce the problem. I'd like to hear the results of libc 5.4.31 -and shadow-970211 before I release 5.4.31 to public. Thanks. +reproduce the problem. I'd like to hear the results of libc 5.4.32 +and shadow-970211 before I release 5.4.32 to public. Thanks. I modified sysdeps/linux/i386/crt/gcrt0.S to call sbrk () before any calls to malloc () which may be used by atexit () since not all malloc @@ -18,7 +18,7 @@ glibc's putenv () was used in libc 5.4.23 which breaks many TeX binaries. You have to re-compile them with -DSMART_PUTENV. Otherwise they won't work. Please see kpathsea/xputenv.c in those packages for -details. I backed this change out in libc 5.4.31. +details. I backed this change out in libc 5.4.32. I have modified the NIS support in libc, which is not compatible with the previous version, but is compatible with SunOS, Solaris, ... @@ -39,20 +39,20 @@ 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.31 or above to compile libc +If you use linux 2.1.x, you need libc 5.4.32 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.31 if you want. +libc.so.5.4.32 if you want. -Due to the new, improved locale, the Linux C library 5.4.31 is binary +Due to the new, improved locale, the Linux C library 5.4.32 is binary compatible with libc 5.3.12 but not vice versa. The binaries -compiled/linked with libc.so.5.4.31 may not run with libc.so.5.3.12. +compiled/linked with libc.so.5.4.32 may not run with libc.so.5.3.12. You may need to regenerate locale files for the new locale in libc -5.4.31 if you use locales other tha C/POSIX which are the defaults. +5.4.32 if you use locales other tha C/POSIX which are the defaults. The locale sources are at @@ -61,7 +61,7 @@ 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.31. Please read +This is the beta release of the Linux C library 5.4.32. Please read the ChangeLog for details regarding changes/bug fixes. DISTRIBUTION SITES: @@ -82,11 +82,11 @@ DISTRIBUTION FILES: -1. libc-5.4.31.bin.tar.gz +1. libc-5.4.32.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.31.bin.tar.gz are not complete. You need to +The header files in libc-5.4.32.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 @@ -97,11 +97,11 @@ 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.31.tar.gz +2. libc-5.4.32.tar.gz Source tree for libc and header files. -3. libc-5.4.30-5.4.31.diff.gz +3. libc-5.4.31-5.4.32.diff.gz Context diffs against the source tree from the previous libc release. Please make sure the empty libc/regex/rx.h is deleted. @@ -172,7 +172,7 @@ 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.31.bin.tar.gz | tar xvf - +gzip -dc libc-5.4.32.bin.tar.gz | tar xvf - SOURCE INSTALLATION: @@ -238,4 +238,4 @@ H.J. hjl@gnu.ai.mit.edu -05/24/97 +05/30/97 Index: linux/libc/elf/libc/jump.params diff -u linux/libc/elf/libc/jump.params:1.84 linux/libc/elf/libc/jump.params:1.85 --- linux/libc/elf/libc/jump.params:1.84 Sat May 24 16:10:39 1997 +++ linux/libc/elf/libc/jump.params Fri May 30 10:02:34 1997 @@ -1 +1 @@ -Version=5.4.31 +Version=5.4.32 Index: linux/libc/time/strptime.c diff -u linux/libc/time/strptime.c:1.5 linux/libc/time/strptime.c:1.6 --- linux/libc/time/strptime.c:1.5 Fri Mar 14 20:03:08 1997 +++ linux/libc/time/strptime.c Fri May 30 10:02:40 1997 @@ -244,8 +244,17 @@ break; case 'Y': /* Match year including century number. */ - get_number (0, INT_MAX); - tm->tm_year = val - (val >= 2000 ? 2000 : 1900); + /* Use 9999 instead of INT_MAX. That is best we can do. + * Let others worry about a year 9999 problem. H.J. */ + if (sizeof (time_t) > 4) + { + get_number (0, 9999); + } + else + { + get_number (0, 2038); + } + tm->tm_year = val - 1900; break; case 'Z': /* XXX How to handle this? */ Index: linux/include/_G_config.h diff -u linux/include/_G_config.h:1.90 linux/include/_G_config.h:1.91 --- linux/include/_G_config.h:1.90 Sat May 24 16:10:41 1997 +++ linux/include/_G_config.h Fri May 30 10:02:28 1997 @@ -2,10 +2,10 @@ #ifndef _G_config_h #define _G_config_h -#define _LINUX_C_LIB_VERSION "5.4.31" +#define _LINUX_C_LIB_VERSION "5.4.32" #define _LINUX_C_LIB_VERSION_MAJOR 5 #define _LINUX_C_LIB_VERSION_MINOR 4 -#define _LINUX_C_LIB_VERSION_SUBMINOR 31 +#define _LINUX_C_LIB_VERSION_SUBMINOR 32 #define _G_LIB_VERSION "2.7.2"