aboutsummaryrefslogtreecommitdiff
path: root/malloc/mtrace.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-15 10:15:16 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-15 10:15:16 +0000
commit479e9b3f2135707d4bfd13bf6c2ad1a242ea6cfc (patch)
tree9c17c6ca936f6c5ec2c003c9e47292bdba689643 /malloc/mtrace.c
parent480bc72713c841bbf55f4a33fe9f11d2c304ef1a (diff)
downloadglibc-479e9b3f2135707d4bfd13bf6c2ad1a242ea6cfc.zip
glibc-479e9b3f2135707d4bfd13bf6c2ad1a242ea6cfc.tar.gz
glibc-479e9b3f2135707d4bfd13bf6c2ad1a242ea6cfc.tar.bz2
Update.
1998-04-15 Ulrich Drepper <drepper@cygnus.com> * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in last change. 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix return value on overflow. 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64 bits. 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * malloc/mtrace.c (mtrace): Use standard function setvbuf instead of non-standard function setbuffer. 1998-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> * stdio-common/perror.c: Include <string.h> for __strerror_r.
Diffstat (limited to 'malloc/mtrace.c')
-rw-r--r--malloc/mtrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/mtrace.c b/malloc/mtrace.c
index a7f0a90..f3c1387 100644
--- a/malloc/mtrace.c
+++ b/malloc/mtrace.c
@@ -244,7 +244,7 @@ mtrace ()
if (mallstream != NULL)
{
/* Be sure it doesn't malloc its buffer! */
- setbuffer (mallstream, malloc_trace_buffer, TRACE_BUFFER_SIZE);
+ setvbuf (mallstream, malloc_trace_buffer, _IOFBF, TRACE_BUFFER_SIZE);
fprintf (mallstream, "= Start\n");
tr_old_free_hook = __free_hook;
__free_hook = tr_freehook;