diff options
author | Alexander Kabaev <kan@FreeBSD.org> | 2015-06-13 15:14:39 +0000 |
---|---|---|
committer | Alexander Kabaev <kan@FreeBSD.org> | 2015-06-13 15:14:39 +0000 |
commit | dbf26257f1283ef73eb1e9fe29ba69df0bfc589d (patch) | |
tree | 12e7e304779718467323c68c3296846c29a132ca /bin/expr/Makefile.depend | |
parent | 619ba3b41634db404b3699bf677285350ddf00a0 (diff) | |
download | src-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 'bin/expr/Makefile.depend')
0 files changed, 0 insertions, 0 deletions