rmyorston / busybox-w32

WIN32 native port of BusyBox.
https://frippery.org/busybox
Other
670 stars 124 forks source link

win32: UTF8_OUTPUT: flush stream before conversion #398

Closed avih closed 4 months ago

avih commented 4 months ago

Fix incorrect output order with a buffered stream which is only partially converted as UTF-8, as described here https://github.com/rmyorston/busybox-w32/issues/396#issuecomment-2041060417 .

avih commented 4 months ago

forced-pushed a minor optimization of fputc - testing ascii before is_console.

rmyorston commented 4 months ago

Merged, thanks.

avih commented 4 months ago

Thanks.