aboutsummaryrefslogtreecommitdiff
path: root/libio/memstream.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-01-12 02:03:42 +0000
committerUlrich Drepper <drepper@redhat.com>2006-01-12 02:03:42 +0000
commitbb10459f2d534f67ebe771bed85e4ebfcd9eacd1 (patch)
treed8f06d6ce03d5289e07b68f0d1726b31a6d9339d /libio/memstream.c
parent37169cccddb401c9efeac446703dff7f815b5d1d (diff)
downloadglibc-bb10459f2d534f67ebe771bed85e4ebfcd9eacd1.zip
glibc-bb10459f2d534f67ebe771bed85e4ebfcd9eacd1.tar.gz
glibc-bb10459f2d534f67ebe771bed85e4ebfcd9eacd1.tar.bz2
* 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.
Diffstat (limited to 'libio/memstream.c')
-rw-r--r--libio/memstream.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libio/memstream.c b/libio/memstream.c
index d8e8896..742da74 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)
{