Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164809382
D2802.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
475 B
Referenced Files
None
Subscribers
None
D2802.diff
View Options
Index: head/contrib/libxo/libxo/libxo.c
===================================================================
--- head/contrib/libxo/libxo/libxo.c
+++ head/contrib/libxo/libxo/libxo.c
@@ -2077,7 +2077,8 @@
ilen = mbrtowc(&wc, cp, ilen, &xop->xo_mbstate);
if (ilen < 0) { /* Invalid data; skip */
xo_failure(xop, "invalid mbs char: %02hhx", *cp);
- continue;
+ wc = L'?';
+ ilen = 1;
}
if (ilen == 0) { /* Hit a wide NUL character */
len = 0;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 5, 3:54 AM (5 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35991296
Default Alt Text
D2802.diff (475 B)
Attached To
Mode
D2802: Unbreak libxo's handling of characters not representable in current locale
Attached
Detach File
Event Timeline
Log In to Comment