aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsdb
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2015-06-13 15:14:39 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2015-06-13 15:14:39 +0000
commitdbf26257f1283ef73eb1e9fe29ba69df0bfc589d (patch)
tree12e7e304779718467323c68c3296846c29a132ca /sbin/fsdb
parent619ba3b41634db404b3699bf677285350ddf00a0 (diff)
downloadsrc-dbf26257f1283ef73eb1e9fe29ba69df0bfc589d.tar.gz
src-dbf26257f1283ef73eb1e9fe29ba69df0bfc589d.zip
Unbreak libxo's handling of characters not representable in current locale
The xo_format_string_direct function loops forever never advancing the processed string pointer when it encounters a character that makes mbrtowc fail. Make it emit '?' character instead, as it seems this is what the code intent was, sans bugs. Differential Revision: https://reviews.freebsd.org/D2802 Reviewed by: marcel
Notes
Notes: svn path=/head/; revision=284340
Diffstat (limited to 'sbin/fsdb')
0 files changed, 0 insertions, 0 deletions