(buffered_vfprintf): Set hp->_vtable_offset to 0.
authordrepper <drepper>
Sun, 14 Dec 1997 21:50:37 +0000 (21:50 +0000)
committerdrepper <drepper>
Sun, 14 Dec 1997 21:50:37 +0000 (21:50 +0000)
stdio-common/vfprintf.c

index de30c9a..4abee7e 100644 (file)
@@ -1637,6 +1637,9 @@ buffered_vfprintf (register _IO_FILE *s, const CHAR_T *format,
   hp->_IO_write_ptr = buf;
   hp->_IO_write_end = buf + sizeof buf;
   hp->_IO_file_flags = _IO_MAGIC|_IO_NO_READS;
+#if _IO_JUMPS_OFFSET
+  hp->_vtable_offset = 0;
+#endif
 #ifdef _IO_MTSAFE_IO
   hp->_lock = &helper.lock;
   __libc_lock_init (*hp->_lock);