#12515: can't build Haiku within haiku.
-------------------------+----------------------------
Reporter: khallebal | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: - General | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 1 | Platform: x86
-------------------------+----------------------------
Comment (by dknoto):
I found satisfaing solution. Just before each call mbrlen we reset the
converter field in mbstatus record. This is very interesting because value
in this field is constant lifelong program.
{{{
tmp_state.converter = NULL;
mbrlen(lexptr, idx+1, &tmp_state);
}}}
--
Ticket URL: <https://dev.haiku-os.org/ticket/12515#comment:11>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.