]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 15 Sep 2003 06:28:10 +0000 (06:28 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 15 Sep 2003 06:28:10 +0000 (06:28 +0000)
* libio/memstream.c (open_memstream): Don't allow wide char operations.

ChangeLog
libio/memstream.c

index ac3576f1d0a421f0962664bc4cac5bb5fd81aece..01cd350c2a3c377f37a6a530da563d0d480db1d6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2003-09-14  Ulrich Drepper  <drepper@redhat.com>
 
+       * libio/memstream.c (open_memstream): Don't allow wide char operations.
+
        * dirent/dirent.h: Remove __THROW from scandir.
 
 2003-09-14  Philip Blundell  <philb@gnu.org>
index efc6d83c21458d23c97814de8b4da5ddc0032104..68645fa8291adf8d023d479d85abb1f5805e10c2 100644 (file)
@@ -112,7 +112,7 @@ open_memstream (bufloc, sizeloc)
   buf = malloc (_IO_BUFSIZ);
   if (buf == NULL)
     return NULL;
-  _IO_no_init (&new_f->fp._sf._sbf._f, 0, 0, &new_f->wd, &_IO_wmem_jumps);
+  _IO_old_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;