diff options
46 files changed, 4169 insertions, 1294 deletions
@@ -1,3 +1,133 @@ +Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com> + + * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write + output to $@T and move to $@ later since the new rpcgen will not + overwrite existing files. + + * po/Makefile (libc.pot): Fix typo. + +Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de> + + Update rpcgen program to TI-rpc code. + * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o. + (distribute): Add proto.h. + * sunrpc/proto.h: New file. Prototypes for all the RPC functions. + * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code. + * sunrpc/rpc_cout.c: Likewise. + * sunrpc/rpc_hout.c: Likewise. + * sunrpc/rpc_main.c: Likewise. + * sunrpc/rpc_parse.c: Likewise. + * sunrpc/rpc_parse.h: Likewise. + * sunrpc/rpc_scan.c: Likewise. + * sunrpc/rpc_scan.h: Likewise. + * sunrpc/rpc_svcout.c: Likewise. + * sunrpc/rpc_util.c: Likewise. + * sunrpc/rpc_util.h: Likewise. + + * sunrpc/rpc_tblout.c: New file. + * sunrpc/rpc_sample.c: Likewise. + +Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp> + + * sysdeps/unix/opendir.c: Add semicolon for consistency. + +Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be> + + * locale/progams/localedef.c (main): Test with -1 to find out + whether read failed. + +Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and + PSEUDO_END macro. + +Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed. + +Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT. + * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): + Likewise. + * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. + Correct generation of system call. + +Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makerules (sysd-Makefile): Fix command so that it works in the + subdirectories. + (BUILD_CFLAGS): Change back using $(..) instead of + $(common-objpfx), the latter fails in the toplevel directory when + $(objdir) is relative. + (common-objdir-compile): Run compiler in $(objdir). + * sysdeps/posix/Makefile (mk-stdiolim): Likewise. + +Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com> + + * string/string.h [__USE_SVID]: Add prototype for swab. + * time/sys/time.h [__USE_BSD]: Add prototype for ualarm. + Reported by Andreas Jaeger. + + The available nlist implementation is not generally usable. + Especially on the currently supported ELF systems the nlist + function comes with the libelf. + * misc/Makefile (headers): Remove nlist.h. + (routines): Remove nlist. + + * Makefile ($(objpfx)version-info.h): Include information about + system the libc is built on in version-info.h file. + + * po/Makefile (distribute): Add header.pot. + +Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de> + + * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype. + * sysdeps/unix/sysv/linux/reboot.c: Likewise. + * misc/error.c: Likewise. + +Tue Oct 15 22:41:27 1996 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid. + +Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de> + + * crypt/Makefiel (rpath-link): Extend search path to current directory. + +Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be> + + * sysdeps/i386/i586/strlen.S: Correct handling of prolog for + aligning pointer. + +Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com> + + * stdio-common/vfprintf.c: Don't declare __flockfile as weak. + + * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning. + +Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed, + replaced by `&'. + (PSEUDO_END): Provide definition to use .size directive. + (PSEUDO): Don't interpret negative return values less than -128 as + syscall error. + * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise. + + * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide + .size directive. + * sysdeps/m68k/bsd-setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of + explicit .size directive. + Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com> * shlib-versions: Add version number/name for ld.so. @@ -8,7 +138,7 @@ Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com> Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu> - * libio/iogets.c: Warn when gets used. + * libio/iogets.c: Warn when gets is used. * stdio/gets.c: Strengthen the warning. Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com> @@ -57,7 +187,7 @@ Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com> * po/fr.po: Update. - * time/strptime.c: Recognize %s, %u, %g, and %G format. +cd * time/strptime.c: Recognize %s, %u, %g, and %G format. * posix/getopt.c: Add some more casts and initializations to prevent warnings. @@ -456,7 +456,7 @@ change the `specs' file of your gcc. This file is normally found at In this file you have to change a few things: -- change `ld-linux.so.1' to `ld.so.1' +- change `ld-linux.so.1' to `ld.so.1' (or to ld-linux.so.2, see below) - remove all expression `%{...:-lgmon}'; there is no libgmon in glibc @@ -517,6 +517,16 @@ example the gcc-2.7.2 specs file when GNU libc is installed at ----------------------------------------------------------------------- +The above is currently correct for all systems but ix86/Linux. +Because of compatibility issues on this platform the dynamic linker +must have a different name: ld-linux.so.2. So you have to replace + + %{!dynamic-linker:-dynamic-linker=/home/gnu/lib/ld.so.1} +by + %{!dynamic-linker:-dynamic-linker=/home/gnu/lib/ld-linux.so.2} + +in the above example specs file. + Future versions of GCC will automatically provide the correct specs. @@ -169,9 +169,9 @@ include $(common-objpfx)version.mk # The following code requires GNU date. $P/libc.pot: $(all-pot) @rm -f $@.new - disp='set `date -R`; echo $$6'; \ + set `date -R`; disp="$$6"; \ sed -e 's/VERSION/$(version)/' \ - -e "s/DATE/`date +'%Y-%m-%d %I:%M'$$disp/" \ + -e "s/DATE/`date +'%Y-%m-%d %H:%M'$$disp`/" \ po/header.pot > $@.new $(XGETTEXT) -d - --omit-header -n -s $^ >> $@.new mv -f $@.new $@ @@ -124,7 +124,23 @@ $(objpfx)sysd-dirs: $(+sysdir_pfx)config.make $(all-Subdirs-files) all-Banner-files = $(wildcard $(addsuffix /Banner, $(subdirs))) $(objpfx)version-info.h: $(+sysdir_pfx)config.make $(all-Banner-files) - (files="$(all-Banner-files)"; \ + (case $(config-os) in \ + linux*) version=`(echo -e "#include <linux/version.h>\nUTS_RELEASE"\ + | $(CC) -E -P - | \ + sed -e 's/"\([^"]*\)".*/\1/p' -e d) 2>/dev/null`;\ + if [ -z "$$version" ]; then \ + if [ -r /proc/version ]; then \ + version=`sed 's/.*version \([^ ]*\) .*/>>\1<</' \ + < /proc/version`; \ + else \ + version=`uname -r`; \ + fi; \ + fi; \ + echo -n "\"Compiled on a Linux $$version system "; \ + echo "on `date +%Y/%m/%d`.\\n\"" ;; \ + *) ;; \ + esac; \ + files="$(all-Banner-files)"; \ if test -n "$$files"; then \ echo "\"Available extensions:"; \ sed -e '/^#/d' -e 's/^[[:space:]]*/ /' $$files; \ @@ -104,13 +104,17 @@ $(+sysdir_pfx)sysd-Makefile: $(+sysdir_pfx)config.make $(..)Makerules \ (echo 'sysd-Makefile-sysdirs := $(config-sysdirs)'; \ for dir in $(config-sysdirs); do \ file=$$dir/Makefile; \ - if [ -f $(..)$$file ]; then \ + case $$dir in \ + /*) rel= ;; \ + *) rel=$(..) ;; \ + esac; \ + if [ -f $$rel$$file ]; then \ case $$dir in \ /*) echo include "$$file" ;; \ *) echo include "\$$(..)$$file" ;; \ esac; \ else true; fi; \ - done; \ + done; \ echo 'sysd-Makefile-done=t') > $@T mv -f $@T $@ endif @@ -758,12 +762,14 @@ cwd=`pwd`; cd $(@D); $(BUILD_CC) $(BUILD_CFLAGS) \ endef # Command to compile $< in $(common-objdir) using the native libraries. +# We must cd to $(objdir) anyway so that $(..)config.h is valid. define common-objdir-compile -cd $(@D); $(BUILD_CC) $(BUILD_CFLAGS) $(<:$(common-objpfx)%=%) -o $(@F) +cd $(objpfx).; \ +$(BUILD_CC) $(BUILD_CFLAGS) $(<:$(common-objpfx)%=$(..)%) -o $(..)$(@F) endef # We always want to use configuration definitions. -BUILD_CFLAGS = -include $(common-objpfx)config.h +BUILD_CFLAGS = -include $(..)config.h # Support the GNU standard name for this target. .PHONY: check @@ -1,4 +1,4 @@ -This directory contains the version 1.94 test release of the GNU C Library. +This directory contains the version 1.96 test release of the GNU C Library. Many bugs have been fixed since the last release. Some bugs surely remain. @@ -46,7 +46,7 @@ provides the Unix `crypt' function, plus some other entry points. Because of the United States export restriction on DES implementations, we are distributing this code separately from the rest of the C library. There is an extra distribution tar file just for crypt; it is -called `glibc-1.94-crypt.tar.gz'. You can just unpack the crypt +called `glibc-1.96-crypt.tar.gz'. You can just unpack the crypt distribution along with the rest of the C library and build; you can also build the library without getting crypt. Users outside the USA can get the crypt distribution via anonymous FTP from ftp.uni-c.dk diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c index 6d37a0e398..fbcd04a67b 100644 --- a/locale/programs/localedef.c +++ b/locale/programs/localedef.c @@ -305,7 +305,7 @@ cannot `stat' locale file `%s'"), { long int n; n = read (fd, read_ptr, left); - if (n == 1) + if (n == -1) error (5, errno, _("cannot read locale file `%s'"), fname); read_ptr += n; diff --git a/misc/Makefile b/misc/Makefile index 343cc3ee62..43b6bbda43 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -24,7 +24,7 @@ subdir := misc headers := sys/uio.h iovec.h sys/ioctl.h ioctls.h ioctl-types.h \ sys/ptrace.h sys/file.h sys/dir.h sys/cdefs.h \ - ar.h a.out.h nlist.h stab.h stab.def sgtty.h \ + ar.h a.out.h stab.h stab.def sgtty.h \ ttyent.h syslog.h sys/syslog.h paths.h sys/reboot.h \ sys/mman.h sys/param.h fstab.h mntent.h search.h err.h error.h\ sys/queue.h sysexits.h syscall.h sys/syscall.h sys/swap.h \ @@ -44,7 +44,7 @@ routines := brk sbrk sstk ioctl \ swapon swapoff mktemp mkstemp \ ualarm usleep \ gtty stty \ - ptrace nlist \ + ptrace \ fstab mntent mntent_r \ utimes \ truncate ftruncate \ diff --git a/misc/error.c b/misc/error.c index 82de13777e..3d2777bc2c 100644 --- a/misc/error.c +++ b/misc/error.c @@ -47,6 +47,8 @@ Cambridge, MA 02139, USA. */ void exit (); #endif +#include "error.h" + #ifndef _ #define _(String) String #endif diff --git a/po/Makefile b/po/Makefile index 2b12628a72..b013cd964a 100644 --- a/po/Makefile +++ b/po/Makefile @@ -47,7 +47,7 @@ mo-installed = $(localedir)/%/LC_MESSAGES/$(domainname).mo install-others = $(LINGUAS:%=$(mo-installed)) # Files to distribute: all the source and compiled binary translation files. -distribute = $(ALL_LINGUAS:=.po) $(ALL_LINGUAS:=.mo) libc.pot +distribute = $(ALL_LINGUAS:=.po) $(ALL_LINGUAS:=.mo) libc.pot header.pot include ../Rules diff --git a/po/libc.pot b/po/libc.pot index fe893ec943..cd873a1cba 100644 --- a/po/libc.pot +++ b/po/libc.pot @@ -1,12 +1,12 @@ -# GNU libc message catalog of translations +# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Free Software Foundation, Inc. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: libc 1.94\n" -"POT-Creation-Date: 1996-09-08 3:45\n" +"Project-Id-Version: libc 1.96\n" +"POT-Creation-Date: 1996-10-17 03:22+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+DIST\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -14,16 +14,6 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: ENCODING\n" -#: sunrpc/rpc_main.c:80 -#, c-format -msgid " %s [-c | -h | -l | -m] [-o outfile] [infile]\n" -msgstr "" - -#: sunrpc/rpc_main.c:83 -#, c-format -msgid " %s [-s udp|tcp]* [-o outfile] [infile]\n" -msgstr "" - |
