+1999-01-04 Ulrich Drepper <drepper@cygnus.com>
+
+ * catgets/gencat.c: Update year in copyright message text.
+ * db2/makedb.c: Likewise.
+ * debug/catchsegv.sh: Likewise.
+ * elf/ldd.bash.in: Likewise.
+ * iconv/iconv_prog.c: Likewise.
+ * locale/programs/locale.c: Likewise.
+ * locale/programs/localedef.c: Likewise.
+ * malloc/mtrace.pl: Likewise.
+ * nscd/nscd.c: Likewise.
+
+1999-01-02 Philip Blundell <philb@gnu.org>
+
+ * sunrpc/Makefile: Ensure that we really use the right path for cpp.
+
+1999-01-03 Philip Blundell <philb@gnu.org>
+
+ * Makefile (tests-clean): New test output files.
+ * Makerules (do-tests-clean): New rule to support the above.
+ * Rules (subdir_testclean): Likewise.
+
+1999-01-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
+
+ * iconv/Makefile: Use install-others instead of explicit
+ dependency on subdir_install.
+
+1999-01-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
+
+ * iconv/gconv_db.c (find_derivation): Release lock before
+ returning.
+ (__gconv_find_transform): Likewise.
+
+1999-01-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
+
+ * inet/ether_ntoa.c (ether_ntoa): Make `asc' static since that's
+ what we return.
+
+1999-01-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
+
+ * Makerules: Remove all references to obsolete variables
+ tests-static and test-srcs-static.
+ * Make-dist: Likewise.
+ * Rules: Likewise. Remove rules to generate obsolete
+ empty.{c,o*}.
+
+1999-01-03 Philip Blundell <philb@gnu.org>
+
+ * sysdeps/unix/sysv/linux/arm/pread.c: Use the i386 implementation.
+ * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
+ * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
+ * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
+
1998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/m68k/dl-machine.h (elf_machine_rela): Reorder expression
foo:=$(shell echo subdir foo >&2)
+tsrcs := Makefile $(wildcard Versions) $(wildcard Depend) $(+tsrcs) \
- $(addsuffix .c,$(others) $(tests) $(tests-static) $(test-srcs)) \
- $(wildcard $(addsuffix .input,$(tests) (tests-static) $(test-srcs)) \
- $(addsuffix .args,$(tests) $(tests-static) $(test-srcs)))
+ $(addsuffix .c,$(others) $(tests) $(test-srcs)) \
+ $(wildcard $(addsuffix .input,$(tests) $(test-srcs)) \
+ $(addsuffix .args,$(tests) $(test-srcs)))
+tardeps := $(strip $(+tsrcs))
verbose = v
-# Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
+# Copyright (C) 1991,92,93,94,95,96,97,98,99 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
subdir_distinfo \
subdir_echo-headers subdir_echo-distinfo \
subdir_install \
+ subdir_testclean \
$(addprefix install-, no-libc.a bin lib data headers others)
\f
headers := errno.h sys/errno.h bits/errno.h limits.h values.h \
\f
# Targets to clean things up to various degrees.
-.PHONY: clean realclean distclean distclean-1 parent-clean parent-mostlyclean
+.PHONY: clean realclean distclean distclean-1 parent-clean parent-mostlyclean \
+ tests-clean
# Subroutines of all cleaning targets.
parent-mostlyclean: common-mostlyclean # common-mostlyclean is in Makerules.
@$(MAKE) subdir_mostlyclean no_deps=t
-rm -f $(postclean)
+tests-clean:
+ @$(MAKE) subdir_testclean no_deps=t
+
# The realclean target is just like distclean for the parent, but we want
# the subdirs to know the difference in case they care.
realclean distclean: parent-clean
-# Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
+# Copyright (C) 1991,92,93,94,95,96,97,98,99 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
\f
+depfiles := $(sources:.c=.d) \
$(patsubst %.o,%.d,$(filter %.o,$(extra-objs:.os=.o))) \
- $(addsuffix .d,$(tests) $(test-srcs) $(tests-static))
+ $(addsuffix .d,$(tests) $(test-srcs))
ifeq ($(build-programs),yes)
+depfiles += $(addsuffix .d,$(others) $(sysdep-others))
endif
\f
# Common cleaning targets.
-.PHONY: common-mostlyclean common-clean mostlyclean clean
+.PHONY: common-mostlyclean common-clean mostlyclean clean do-tests-clean
clean: common-clean
mostlyclean: common-mostlyclean
+do-tests-clean:
+ -rm -f $(addprefix $(objpfx),$(addsuffix .out,$(tests) $(test-srcs)) \
+ $(addsuffix .sout,$(tests-static)))
+
# Remove the object files.
common-mostlyclean:
-rm -f $(addprefix $(objpfx),$(tests) $(test-srcs) $(others) \
- $(sysdep-others) $(tests-static) stubs \
+ $(sysdep-others) stubs \
$(addsuffix .o,$(tests) $(test-srcs) \
- $(tests-static) \
$(others) \
$(sysdep-others)) \
- $(addsuffix .out,$(tests) $(test-srcs)) \
- $(addsuffix .sout,$(tests-static)))
+ $(addsuffix .out,$(tests) $(test-srcs))
-rm -f $(addprefix $(objpfx),$(extra-objs) $(install-lib) \
$(install-lib.so) \
$(install-lib.so:%.so=%_pic.a))
$(foreach var,subdir-dirs sources elided-routines sysdep_routines \
headers sysdep_headers distribute dont_distribute generated \
others tests test-srcs extra-libs $(extra-libs:%=%-routines) \
- tests-static versioned \
+ versioned \
$(addprefix install-,lib lib.so data bin sbin others),
echo >> $@.new '$(subdir)-$(var) := $($(var))'
echo >> $@.new '$(var) = $$($(subdir)-$(var))')
-# Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
+# Copyright (C) 1991,92,93,94,95,96,97,98,99 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
$(common-objpfx)dummy.c:
rm -f $@
echo 'void __dummy__ (void) { }' > $@
-$(common-objpfx)empty.c:
- cp -f /dev/null $@
-common-generated += dummy.o dummy.c empty.c \
- $(addprefix empty,$(object-suffixes))
+common-generated += dummy.o dummy.c
\f
# This makes all the auxiliary and test programs.
endif
ifeq ($(cross-compiling),yes)
tests: $(addprefix $(objpfx),$(tests) $(test-srcs))
-ifeq ($(build-static),yes)
-tests: $(addprefix $(objpfx),$(tests-static))
-endif
else
tests: $(tests:%=$(objpfx)%.out)
-ifeq ($(build-static),yes)
-tests: $(tests-static:%=$(objpfx)%.sout)
-endif
endif
ifeq ($(build-programs),yes)
binaries-all = $(others) $(sysdep-others) $(tests) $(test-srcs)
-binaries-static = $(others-static) $(tests-static) $(test-srcs-static)
+binaries-static = $(others-static)
else
binaries-all = $(tests) $(test-srcs)
-binaries-static = $(tests-static) $(test-srcs-static)
+binaries-static =
endif
binaries-shared = $(filter-out $(binaries-static), $(binaries-all))
$(objpfx)%.out: /dev/null $(objpfx)% # Make it 2nd arg for canned sequence.
$($*-ENV) $(built-program-cmd) > $@
endif # tests
-
-ifneq "$(strip $(tests-static) $(test-static-srcs))" ""
-# These are the implicit rules for making test outputs
-# from the test programs and whatever input files are present.
-$(objpfx)%.sout: %.args $(objpfx)% %.input
- $($*-ENV) $(built-program-file) `cat $(word 1,$^)` < $(word 3,$^) > $@
-$(objpfx)%.sout: %.args $(objpfx)%
- $($*-ENV) $(built-program-file) `cat $(word 1,$^)` > $@
-$(objpfx)%.sout: %.input $(objpfx)%
- $($*-ENV) $(built-program-file) < $(word 1,$^) > $@
-$(objpfx)%.sout: /dev/null $(objpfx)% # Make it 2nd arg for canned sequence.
- $($*-ENV) $(built-program-file) > $@
-endif # tests
\f
.PHONY: distclean realclean subdir_distclean subdir_realclean \
- subdir_clean subdir_mostlyclean
+ subdir_clean subdir_mostlyclean subdir_testclean
subdir_mostlyclean: mostlyclean
subdir_clean: clean
subdir_distclean: distclean
subdir_realclean: realclean
+subdir_testclean: do-tests-clean
realclean: distclean
distclean: clean
.PHONY: before-compile
before-compile: $(before-compile)
-define o-iterator-doit
-$(common-objpfx)empty$o: $(common-objpfx)empty.c $(before-compile);
- $$(compile-command.c)
-endef
-object-suffixes-left := $(object-suffixes)
-include $(o-iterator)
-
-define o-iterator-doit
-$(common-objpfx)dummy$o: $(common-objpfx)dummy.c $(before-compile);
- $$(compile-command.c)
-endef
-object-suffixes-left := $(object-suffixes)
-include $(o-iterator)
+$(common-objpfx)dummy.o: $(common-objpfx)dummy.c $(before-compile);
+ $(compile-command.c)
# There's no good place to put this - here will do.
# The dependencies are wrong if it's run from the top level.
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1996.
Copyright (C) %s Free Software Foundation, Inc.\n\
This is free software; see the source for copying conditions. There is NO\n\
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
-"), "1996, 1997");
+"), "1999");
fprintf (stream, gettext ("Written by %s.\n"), "Ulrich Drepper");
}
/* Create simple DB database from textual input.
- Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
Copyright (C) %s Free Software Foundation, Inc.\n\
This is free software; see the source for copying conditions. There is NO\n\
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
-"), "1996, 1997, 1998");
+"), "1999");
fprintf (stream, gettext ("Written by %s.\n"), "Ulrich Drepper");
}
#! /bin/sh
-# Copyright (C) 1998 Free Software Foundation, Inc.
+# Copyright (C) 1998, 1999 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
;;
--v | --ve | --ver | --vers | --versi | --versio | --version)
echo 'catchsegv (GNU libc) @VERSION@'
- echo 'Copyright (C) 1998 Free Software Foundation, Inc.
+ echo 'Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Ulrich Drepper.'
#! @BASH@
-# Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1998, 1999 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
case "$1" in
--vers | --versi | --versio | --version)
echo 'ldd (GNU libc) @VERSION@'
- echo $"Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+ echo $"Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper."
distribute = gconv_builtin.h gconv_int.h loop.c skeleton.c
others = iconv_prog
+install-others = $(inst_bindir)/iconv
CFLAGS-gconv_conf.c = -DGCONV_PATH='"$(gconvdir)"'
include ../Rules
-subdir_install: $(inst_bindir)/iconv
-
$(inst_bindir)/iconv: $(objpfx)iconv_prog $(+force)
$(do-install-program)
result = derivation_lookup (fromset_expand ?: fromset, toset_expand ?: toset,
handle, nsteps);
if (result == GCONV_OK)
- return result;
+ {
+ __libc_lock_unlock (lock);
+ return result;
+ }
/* ### TODO
For now we use a simple algorithm with quadratic runtime behaviour.
/* If we don't have a module database return with an error. */
if (__gconv_modules_db == NULL)
- return GCONV_NOCONV;
+ {
+ __libc_lock_unlock (lock);
+ return GCONV_NOCONV;
+ }
/* See whether the names are aliases. */
if (__gconv_alias_db != NULL)
/* Convert text in given files from the specified from-set to the to-set.
- Copyright (C) 1998 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
Copyright (C) %s Free Software Foundation, Inc.\n\
This is free software; see the source for copying conditions. There is NO\n\
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
-"), "1998");
+"), "1999");
fprintf (stream, gettext ("Written by %s.\n"), "Ulrich Drepper");
}
if (outptr != outbuf)
{
/* We have something to write out. */
- if (fwrite (outbuf, 1, outptr - outbuf, output) < outptr - outbuf
+ if (fwrite (outbuf, 1, outptr - outbuf, output) < outptr - outbuf
|| ferror (output))
{
/* Error occurred while printing the result. */
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
char *
ether_ntoa (const struct ether_addr *addr)
{
- char asc[18];
+ static char asc[18];
return ether_ntoa_r (addr, asc);
}
/* Implementation of the locale program according to POSIX 9945-2.
- Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
Copyright (C) %s Free Software Foundation, Inc.\n\
This is free software; see the source for copying conditions. There is NO\n\
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
-"), "1995, 1996, 1997, 1998");
+"), "1999");
fprintf (stream, gettext ("Written by %s.\n"), "Ulrich Drepper");
}
-/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
Copyright (C) %s Free Software Foundation, Inc.\n\
This is free software; see the source for copying conditions. There is NO\n\
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
-"), "1995, 1996, 1997");
+"), "1999");
fprintf (stream, gettext ("Written by %s.\n"), "Ulrich Drepper");
}
#! @PERL@
eval "exec @PERL@ -S $0 $*"
if 0;
-# Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+# Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
-# Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1997.
+# Contributed by Ulrich Drepper <drepper@gnu.org>, 1997.
# Based on the mtrace.awk script.
# The GNU C Library is free software; you can redistribute it and/or
$ARGV[0] eq "--vers" || $ARGV[0] eq "--versi" ||
$ARGV[0] eq "--versio" || $ARGV[0] eq "--version") {
print "mtrace (GNU $PACKAGE) $VERSION\n";
- print "Copyright (C) 1997, 1998 Free Software Foundation, Inc.\n";
+ print "Copyright (C) 1999 Free Software Foundation, Inc.\n";
print "This is free software; see the source for copying conditions. There is NO\n";
print "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n";
print "Written by Ulrich Drepper <drepper\@gnu.org>\n";
-/* Copyright (c) 1998 Free Software Foundation, Inc.
+/* Copyright (c) 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1998.
Copyright (C) %s Free Software Foundation, Inc.\n\
This is free software; see the source for copying conditions. There is NO\n\
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
-"), "1998");
+"), "1999");
fprintf (stream, gettext ("Written by %s.\n"),
"Thorsten Kukuk and Ulrich Drepper");
}
-# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+# Copyright (C) 1994, 95, 96, 97, 98, 99 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
$(objpfx)rpcsvc/%.stmp: rpcsvc/%.x $(objpfx)rpcgen
$(make-target-directory)
-@rm -f ${@:stmp=T} $@
- $(rpcgen-cmd) -Y `$(CC) -print-file-name=.` -h $< -o ${@:stmp=T}
+ $(rpcgen-cmd) -Y `$(CC) -print-file-name=cpp | sed "s|/cpp$$||"` \
+ -h $< -o ${@:stmp=T}
$(move-if-change) $(@:stmp=T) $(@:stmp=h)
touch $@
@:
$(objpfx)x%.stmp: rpcsvc/%.x $(objpfx)rpcgen
-@rm -f ${@:stmp=T} $@
- $(rpcgen-cmd) -Y `$(CC) -print-file-name=.` -c $< -o ${@:stmp=T}
+ $(rpcgen-cmd) -Y `$(CC) -print-file-name=cpp | sed "s|/cpp$$||"` \
+ -c $< -o ${@:stmp=T}
$(move-if-change) $(@:stmp=T) $(@:stmp=c)
touch $@
--- /dev/null
+#include <sysdeps/unix/sysv/linux/i386/pread64.c>
--- /dev/null
+#include <sysdeps/unix/sysv/linux/i386/pwrite.c>
--- /dev/null
+#include <sysdeps/unix/sysv/linux/i386/pwrite64.c>