diff options
| author | Florian Weimer <fweimer@redhat.com> | 2022-08-18 08:49:55 +0200 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2022-12-12 15:39:05 +0100 |
| commit | 45234c5d6ba9556451424940fa746e9e66b1a6f4 (patch) | |
| tree | 169257e7353181a47d839028b75aff7d3e239af9 /include/printf_buffer.h | |
| parent | 2deb7d2cffb76dbcaf7ba051e616ccb7e275ed54 (diff) | |
| download | glibc-45234c5d6ba9556451424940fa746e9e66b1a6f4.tar.xz glibc-45234c5d6ba9556451424940fa746e9e66b1a6f4.zip | |
libio: Convert __obstack_vprintf_internal to buffers (bug 27124)
This fixes bug 27124 because the problematic built-in vtable is gone.
Diffstat (limited to 'include/printf_buffer.h')
| -rw-r--r-- | include/printf_buffer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/printf_buffer.h b/include/printf_buffer.h index 3d4ef1d06c..a8211dd657 100644 --- a/include/printf_buffer.h +++ b/include/printf_buffer.h @@ -54,6 +54,7 @@ enum __printf_buffer_mode __printf_buffer_mode_fp, /* For __printf_fp_l_buffer. */ __printf_buffer_mode_fp_to_wide, /* For __wprintf_fp_l_buffer. */ __printf_buffer_mode_fphex_to_wide, /* For __wprintf_fphex_l_buffer. */ + __printf_buffer_mode_obstack, }; /* Buffer for fast character writing with overflow handling. @@ -319,6 +320,9 @@ struct __printf_buffer_fphex_to_wide; void __printf_buffer_flush_fphex_to_wide (struct __printf_buffer_fphex_to_wide *) attribute_hidden; +struct __printf_buffer_obstack; +void __printf_buffer_flush_obstack (struct __printf_buffer_obstack *) + attribute_hidden; struct __wprintf_buffer_to_file; void __wprintf_buffer_flush_to_file (struct __wprintf_buffer_to_file *) |
