summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-18 19:15:31 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-18 19:15:31 +0000
commit8b8074da86f81a4f5974f01c1f9d297025ab04fe (patch)
treeb1145a035fc7b75662c04fa97f7a39b749733d53 /libio
parentbcc86889c775a0f717de272cc270e3b089aa5221 (diff)
downloadglibc-8b8074da86f81a4f5974f01c1f9d297025ab04fe.tar.gz
glibc-8b8074da86f81a4f5974f01c1f9d297025ab04fe.tar.xz
glibc-8b8074da86f81a4f5974f01c1f9d297025ab04fe.zip
Update.
2003-09-18  Jakub Jelinek  <jakub@redhat.com>

	* libio/memstream.c (open_memstream): Use _IO_init instead of
	_IO_old_init.
Diffstat (limited to 'libio')
-rw-r--r--libio/memstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/memstream.c b/libio/memstream.c
index d09b8ab920..67a15584cc 100644
--- a/libio/memstream.c
+++ b/libio/memstream.c
@@ -86,7 +86,7 @@ open_memstream (bufloc, sizeloc)
   buf = malloc (_IO_BUFSIZ);
   if (buf == NULL)
     return NULL;
-  _IO_old_init (&new_f->fp._sf._sbf._f, 0);
+  _IO_init (&new_f->fp._sf._sbf._f, 0);
   _IO_JUMPS ((struct _IO_FILE_plus *) &new_f->fp._sf._sbf) = &_IO_mem_jumps;
   _IO_str_init_static_internal (&new_f->fp._sf, buf, _IO_BUFSIZ, buf);
   new_f->fp._sf._sbf._f._flags &= ~_IO_USER_BUF;