commit | d53fd721a18f8c827aa69ffbd15abd99641b5e20 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tom@tromey.com> | Fri Dec 31 10:40:02 2021 -0700 |
committer | Tom Tromey <tom@tromey.com> | Wed Jan 05 11:01:02 2022 -0700 |
tree | 436641845129a7eb9eb38733a456656da9312366 | |
parent | 28a4e64dd1b17b0d9f267c3466d7da3e8a41afd8 [diff] |
Implement putstr and putstrn in ui_file In my tour of the ui_file subsystem, I found that fputstr and fputstrn can be simplified. The _filtered forms are never used (and IMO unlikely to ever be used) and so can be removed. And, the interface can be simplified by removing a callback function and moving the implementation directly to ui_file. A new self-test is included. Previously, I think nothing was testing this code. Regression tested on x86-64 Fedora 34.