From 0b9225cd7ffd2a6289e780f2c4bbca04f6868ac3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 25 Aug 2003 19:24:09 +0000 Subject: Update. 2003-08-25 Jakub Jelinek * elf/cache.c (save_cache): Don't write beyond end of file_entries buffer. Duplicate last old cache entry if the count would be odd. --- libio/ioseekoff.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'libio/ioseekoff.c') diff --git a/libio/ioseekoff.c b/libio/ioseekoff.c index 9383d71972..9229166705 100644 --- a/libio/ioseekoff.c +++ b/libio/ioseekoff.c @@ -53,12 +53,7 @@ _IO_seekoff_unlocked (fp, offset, dir, mode) callback may not know to do the right thing about it. This may be over-kill, but it'll do for now. TODO */ if (mode != 0 && ((_IO_fwide (fp, 0) < 0 && _IO_have_backup (fp)) - || ( -#if defined _LIBC && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1) - __builtin_expect (&_IO_stdin_used != NULL, 1) && -#endif - _IO_fwide (fp, 0) > 0 && _IO_have_wbackup (fp)) - )) + || (_IO_fwide (fp, 0) > 0 && _IO_have_wbackup (fp)))) { if (dir == _IO_seek_cur && _IO_in_backup (fp)) { -- cgit v1.2.3