Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 26 Jul 1999 05:59:22 +0000 (05:59 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 26 Jul 1999 05:59:22 +0000 (05:59 +0000)
* libio/iofclose.c (_IO_new_fclose): Only fall back on
_IO_old_fclose if doing versioning.

ChangeLog
libio/iofclose.c

index 0e39609..d0dac7c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
 
+       * libio/iofclose.c (_IO_new_fclose): Only fall back on
+       _IO_old_fclose if doing versioning.
+
        * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
        them appropriately.
        * libio/oldiofclose.c (_IO_old_fclose): Likewise.
index b9cb0a9..04503e7 100644 (file)
@@ -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);