diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-08-09 08:50:50 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-08-09 08:50:50 +0000 |
commit | 40a982a9e1b825b175be7bc7c7199c6bdf363e4b (patch) | |
tree | 7523a21da3e35bed6e56133efbe1d16dadb6e6da /libio/ftello64.c | |
parent | 0f78390bd799fc0b0394240a9a704591481ac8c6 (diff) | |
download | glibc-40a982a9e1b825b175be7bc7c7199c6bdf363e4b.zip glibc-40a982a9e1b825b175be7bc7c7199c6bdf363e4b.tar.gz glibc-40a982a9e1b825b175be7bc7c7199c6bdf363e4b.tar.bz2 |
Update.
2001-08-09 Ulrich Drepper <drepper@redhat.com>
* libio/wfileops.c (_IO_wfile_seekoff): Don't even try to handle
seeking with backup buffer present.
Correct determining of internal buffer position.
Reset also wide buffers if we reset the internal buffers.
* libio/iofwide.c (_IO_fwide): Always determine file offset for wide
streams.
* libio/ioseekoff.c: Catch one unimplemented case.
* libio/ftello.c: Don't abort if the wide stream has backup buffer.
* libio/ftello64.c: Likewise.
* libio/iofgetpos.c: Likewise.
* libio/iofgetpos64.c: Likewise.
* libio/ftell.c: Likewise.
* libio/Makefile (tests): Add tst-ungetwc2.
* libio/tst-ungetwc2.c: New file.
Diffstat (limited to 'libio/ftello64.c')
-rw-r--r-- | libio/ftello64.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libio/ftello64.c b/libio/ftello64.c index adc1385..cd0670f 100644 --- a/libio/ftello64.c +++ b/libio/ftello64.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1995-2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -45,8 +45,6 @@ ftello64 (fp) { if (fp->_mode <= 0) pos -= fp->_IO_save_end - fp->_IO_save_base; - else - abort (); } _IO_funlockfile (fp); _IO_cleanup_region_end (0); |