From f1778711c8a5b50052e9c7165d612449ba2ad087 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 26 Jul 1999 05:59:22 +0000 Subject: Update. * libio/iofclose.c (_IO_new_fclose): Only fall back on _IO_old_fclose if doing versioning. --- libio/iofclose.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libio/iofclose.c') diff --git a/libio/iofclose.c b/libio/iofclose.c index b9cb0a9980..04503e7817 100644 --- a/libio/iofclose.c +++ b/libio/iofclose.c @@ -36,11 +36,13 @@ _IO_new_fclose (fp) CHECK_FILE(fp, EOF); +#if defined PIC && DO_VERSIONING /* We desperately try to help programs which are using streams in a strange way and mix old and new functions. Detect old streams here. */ if (fp->_vtable_offset != 0) return _IO_old_fclose (fp); +#endif _IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp); _IO_flockfile (fp); -- cgit 1.4.1