[Qemu-devel] [PATCH] curses: do not assume wchar_t contains unicode

2019-04-27 Thread Samuel Thibault
E.g. BSD and Solaris even use locale-specific encoding there. We thus have to go through the native multibyte representation and use mbtowc/wctomb to make a proper conversion. Signed-off-by: Samuel Thibault --- ui/curses.c | 151 1 file chang

[Qemu-devel] [PATCH] curses: Do not assume wchar_t contains unicode

2019-04-27 Thread Samuel Thibault
E.g. BSD and Solaris even use locale-specific encoding there. We thus have to go through the native multibyte representation and use mbtowc/wctomb to make a proper conversion. Signed-off-by: Samuel Thibault --- ui/curses.c | 151 1 file chang

Re: [Qemu-devel] [PATCH] curses: Do not assume wchar_t contains unicode

2019-04-27 Thread Samuel Thibault
Ah, sorry, I missed putting v2 above and the change summary: I fixed an uninitalized value in an error message. Samuel Samuel Thibault, le sam. 27 avril 2019 17:58:07 +0200, a ecrit: > E.g. BSD and Solaris even use locale-specific encoding there. > > We thus have to go through the native multiby

Re: [Qemu-devel] [PATCH] curses: Do not assume wchar_t contains unicode

2019-04-27 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190427153031.5119-1-samuel.thiba...@ens-lyon.org/ Hi, This series failed the asan build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BEGIN === #!/bin/

[Qemu-devel] [PATCH] curses: Do not assume wchar_t contains unicode

2019-04-27 Thread Samuel Thibault
E.g. BSD and Solaris even use locale-specific encoding there. We thus have to go through the native multibyte representation and use mbtowc/wctomb to make a proper conversion. Signed-off-by: Samuel Thibault --- ui/curses.c | 151 1 file chang