aboutsummaryrefslogtreecommitdiff
path: root/libio/iofgetpos.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofgetpos.c')
-rw-r--r--libio/iofgetpos.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libio/iofgetpos.c b/libio/iofgetpos.c
index b8b2f87..cc7d9e9 100644
--- a/libio/iofgetpos.c
+++ b/libio/iofgetpos.c
@@ -43,11 +43,8 @@ _IO_new_fgetpos (fp, posp)
pos = _IO_seekoff (fp, 0, _IO_seek_cur, 0);
if (_IO_in_backup (fp))
{
- if (fp->_vtable_offset != 0 || fp->_mode <= 0)
+ if (fp->_mode <= 0)
pos -= fp->_IO_save_end - fp->_IO_save_base;
- else
- /* XXX For now. */
- abort ();
}
if (pos == _IO_pos_BAD)
{