about summary refs log tree commit diff
path: root/sysdeps/unix
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 /sysdeps/unix
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>
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/lddlibc4.c4
1 files changed, 2 insertions, 2 deletions
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);