[haiku-bugs] Re: [Haiku] #12515: can't build Haiku within haiku.

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Wed, 11 Jan 2017 11:54:10 -0000

#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:  13103
Has a Patch:  1          |   Platform:  x86
-------------------------+----------------------------

Comment (by pulkomandy):

 Well, that would be a problem: as you can see in comment:16, gawk is
 copying mbstate_t with operator=. Clearly the code here does not handle
 that (the copied state can still point to the freed unicode converter, for
 example).

 So, either some spec (POSIX or the like) says that mbstate_t should be
 trivially copiable, and we should fix or implementation, or, it is gawk
 fault for doing not allowed things.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12515#comment:24>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: