about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-01 07:11:57 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-01 07:11:57 +0000
commite2e9ee177f2c301bf4abcc9214228c010aaba3d1 (patch)
tree4ae1870fc8370e2903e64e127c062c8303f0a615
parent39b77cef25a1beb0bd146d2f9c8c50e9f0618fd2 (diff)
downloadglibc-e2e9ee177f2c301bf4abcc9214228c010aaba3d1.tar.gz
glibc-e2e9ee177f2c301bf4abcc9214228c010aaba3d1.tar.xz
glibc-e2e9ee177f2c301bf4abcc9214228c010aaba3d1.zip
Update.
1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>

	* io/Makefile (static-only-routines): Add stat64, fstat64 and
	lstat64.

1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* manual/Makefile: Use object-suffixes-for-libc instead of
	object-suffixes.
	* rpm/Makefile (install-lib): Likewise.

1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.

	* sysdeps/unix/sysv/linux/configure.in: Match $machine against
	`m68*', not only `m68k'.

1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
-rw-r--r--ChangeLog20
-rw-r--r--io/Makefile2
-rw-r--r--manual/Makefile4
-rw-r--r--rpm/Makefile2
-rw-r--r--sysdeps/unix/sysv/linux/lddlibc4.c4
5 files changed, 25 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index e01db2822d..f765982d41 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,22 @@
-Wed Apr  1 10:50:23 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
+
+	* io/Makefile (static-only-routines): Add stat64, fstat64 and
+	lstat64.
+
+1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+	* manual/Makefile: Use object-suffixes-for-libc instead of
+	object-suffixes.
+	* rpm/Makefile (install-lib): Likewise.
+
+1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+	* sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
+
+	* sysdeps/unix/sysv/linux/configure.in: Match $machine against
+	`m68*', not only `m68k'.
+
+1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
 
 	* sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
 
diff --git a/io/Makefile b/io/Makefile
index 8329f4fa62..e15676f39d 100644
--- a/io/Makefile
+++ b/io/Makefile
@@ -49,7 +49,7 @@ routines :=							      \
 # These routines will be omitted from the libc shared object.
 # Instead the static object files will be included in a special archive
 # linked against when the shared library will be used.
-static-only-routines = stat fstat lstat mknod
+static-only-routines = stat fstat lstat mknod stat64 fstat64 lstat64
 
 others		:= pwd
 test-srcs	:= ftwtest
diff --git a/manual/Makefile b/manual/Makefile
index a952299ee7..e4efe73ae5 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -144,7 +144,7 @@ glibc-doc-$(edition).tar: $(doc-only-dist) $(distribute)
 .PHONY: mostlyclean distclean realclean clean
 mostlyclean:
 	-rm -f libc.dvi libc.info* dir-add.info $(common-objpfx)stub-manual
-	-rm -f $(foreach o,$(object-suffixes),$(objpfx)stamp$o)
+	-rm -f $(foreach o,$(object-suffixes-for-libc),$(objpfx)stamp$o)
 clean: mostlyclean
 distclean: clean
 indices = cp fn pg tp vr ky
@@ -207,7 +207,7 @@ $(glibc-targets):
 # Create stamp files if they don't exist, so the parent makefile's rules for
 # updating the library archives are happy with us, and never think we have
 # changed the library.
-lib: $(foreach o,$(object-suffixes),$(objpfx)stamp$o)
+lib: $(foreach o,$(object-suffixes-for-libc),$(objpfx)stamp$o)
 stubs: $(common-objpfx)stub-manual
 $(common-objpfx)stub-manual ../po/manual.pot $(objpfx)stamp%:
 	$(make-target-directory)
diff --git a/rpm/Makefile b/rpm/Makefile
index 3edf21ebbf..d6f82d2167 100644
--- a/rpm/Makefile
+++ b/rpm/Makefile
@@ -43,7 +43,7 @@ install-slib += $(foreach lib,$(versioned),\
 install-lib += $(versioned)
 
 # Add libc.a and libc_p.a.
-install-lib += $(foreach o,$(filter-out .os,$(object-suffixes)),\
+install-lib += $(foreach o,$(filter-out .os,$(object-suffixes-for-libc)),\
 			 $(patsubst %,$(libtype$o),c))
 
 ifeq (yes,$(build-shared))
diff --git a/sysdeps/unix/sysv/linux/lddlibc4.c b/sysdeps/unix/sysv/linux/lddlibc4.c
index 7c00d05d43..ae6e611859 100644
--- a/sysdeps/unix/sysv/linux/lddlibc4.c
+++ b/sysdeps/unix/sysv/linux/lddlibc4.c
@@ -75,11 +75,11 @@ main (int argc, char *argv[])
   /* We don't need the file open anymore.  */
   fclose (fp);
 
-  /* We must put `__LDD=ARGV0=<program-name>' in the environment.  */
+  /* We must put `__LDD_ARGV0=<program-name>' in the environment.  */
   filename_len = strlen (filename);
   buf = (char *) alloca (sizeof "__LDD_ARGV0=" + filename_len);
   mempcpy (mempcpy (buf, "__LDD_ARGV0=", sizeof "__LDD_ARGV0=" - 1),
-	   filename, filename_len);
+	   filename, filename_len + 1);
   /* ...and put the value in the environment.  */
   putenv (buf);