From bb10459f2d534f67ebe771bed85e4ebfcd9eacd1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 12 Jan 2006 02:03:42 +0000 Subject: * libio/wmemstream.c: New file. * libio/Makefile (routines): Add wmemstream. (tests): Add tst-memstream1, tst-memstream2, tst-wmemstream2, and tst-wmemstream2. * libio/tst-memstream1.c: New file. * libio/tst-memstream2.c: New file. * libio/tst-wmemstream1.c: New file. * libio/tst-wmemstream2.c: New file. * libio/memstream.c (_IO_mem_sync): Remove useless call to _IO_default_sync. --- libio/memstream.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libio/memstream.c') diff --git a/libio/memstream.c b/libio/memstream.c index d8e8896144..742da740ef 100644 --- a/libio/memstream.c +++ b/libio/memstream.c @@ -106,11 +106,6 @@ _IO_mem_sync (fp) _IO_FILE* fp; { struct _IO_FILE_memstream *mp = (struct _IO_FILE_memstream *) fp; - int res; - - res = _IO_default_sync (fp); - if (res < 0) - return res; if (fp->_IO_write_ptr == fp->_IO_write_end) { -- cgit v1.2.3