1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
2001-02-18  Mark Kettenis  <kettenis@gnu.org>

	* malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
	(mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.

2001-02-17  H.J. Lu  <hjl@gnu.org>

	* sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
	scratch registers across the system call.
This commit is contained in:
Ulrich Drepper
2001-02-19 18:55:39 +00:00
parent b99a3ee222
commit 4c48dc9386
6 changed files with 36 additions and 33 deletions

View File

@ -42,6 +42,7 @@
#ifdef USE_IN_LIBIO
# include <libio/iolibio.h>
# define fopen(f, n) _IO_fopen64 (f, n)
# define setvbuf(s, b, f, l) _IO_setvbuf (s, b, f, l)
#endif
@ -268,7 +269,7 @@ mtrace ()
#endif
if (mallfile != NULL || mallwatch != NULL)
{
mallstream = fopen64 (mallfile != NULL ? mallfile : "/dev/null", "w");
mallstream = fopen (mallfile != NULL ? mallfile : "/dev/null", "w");
if (mallstream != NULL)
{
/* Make sure we close the file descriptor on exec. */