qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCHv4 0/2] ui/curses: BSD portability fixes
@ 2019-04-27 18:33 Samuel Thibault
  2019-04-27 18:33 ` Samuel Thibault
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Samuel Thibault @ 2019-04-27 18:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Samuel Thibault, kraxel, kamil

BSD needs a few fixes for wide character manipulations.

Difference with v1:
- Fix unitialized value in error message

Difference with v2:
- Add cchar_t manipulation fix

Difference with v3:
- use mbrtowc/wcrtomb instead of mbtowc/wctomb
- use MB_LEN_MAX instead of MB_CUR_MAX to avoid using a VLA.

Samuel Thibault (2):
  ui/curses: do not assume wchar_t contains unicode
  ui/curses: manipulate cchar_t with standard curses functions

 ui/curses.c | 194 ++++++++++++++++++++++++++++++++++------------------
 1 file changed, 126 insertions(+), 68 deletions(-)

-- 
2.20.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-05-14  6:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-27 18:33 [Qemu-devel] [PATCHv4 0/2] ui/curses: BSD portability fixes Samuel Thibault
2019-04-27 18:33 ` Samuel Thibault
2019-04-27 18:33 ` [Qemu-devel] [PATCHv4 1/2] ui/curses: do not assume wchar_t contains unicode Samuel Thibault
2019-04-27 18:33   ` Samuel Thibault
2019-04-27 18:33 ` [Qemu-devel] [PATCHv4 2/2] ui/curses: manipulate cchar_t with standard curses functions Samuel Thibault
2019-04-27 18:33   ` Samuel Thibault
2019-05-14  6:19 ` [Qemu-devel] [PATCHv4 0/2] ui/curses: BSD portability fixes Gerd Hoffmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).