mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
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>
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user