| commit | 1be8435c74de6738aec7ed623b59e381fa9bb644 | [log] [tgz] |
|---|---|---|
| author | Tom Tromey <tom@tromey.com> | Wed Jan 26 18:07:18 2022 -0700 |
| committer | Tom Tromey <tom@tromey.com> | Mon Oct 10 10:43:33 2022 -0600 |
| tree | 0a2e2d275bf9cc7b63bc5ece21ecfb828a78bc64 | |
| parent | 79aafec96b237165e66f14ba963214fb709af847 [diff] |
Fix latent quote char bug in generic_printstr
generic_printstr prints an empty string like:
fputs_filtered ("\"\"", stream);
However, this seems wrong to me if the quote character is something
other than double quote. This patch fixes this latent bug. Thanks to
Andrew for the test case.
Co-authored-by: Andrew Burgess <aburgess@redhat.com>