From 3f32d87036bba08e14a65e80ae9f70daffbb645f Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 08 2020 11:32:50 +0000 Subject: Apply patch glibc-rh1775819.patch patch_name: glibc-rh1775819.patch present_in_specfile: true location_in_specfile: 297 --- diff --git a/libio/oldstdfiles.c b/libio/oldstdfiles.c index f3dda89..9fe809b 100644 --- a/libio/oldstdfiles.c +++ b/libio/oldstdfiles.c @@ -87,6 +87,11 @@ _IO_check_libio (void) stdout->_vtable_offset = stderr->_vtable_offset = ((int) sizeof (struct _IO_FILE) - (int) sizeof (struct _IO_FILE_complete)); + + if (_IO_stdin_.vtable != &_IO_old_file_jumps + || _IO_stdout_.vtable != &_IO_old_file_jumps + || _IO_stderr_.vtable != &_IO_old_file_jumps) + IO_set_accept_foreign_vtables (&_IO_vtable_check); } }