Re: hello-2.11 fails multibyte-1 and atexit-1 on musl

2022-01-31 Thread Reuben Thomas
On Mon, 31 Jan 2022 at 18:43, Reuben Thomas wrote: > > Thanks! I'll make a new release. I've released 2.12. -- https://rrt.sc3d.org

Re: hello-2.11 fails multibyte-1 and atexit-1 on musl

2022-01-31 Thread Reuben Thomas
On Mon, 31 Jan 2022 at 18:37, Sergei Trofimovich wrote: > Your varian of atext-1 works on musl for me. Thank you! Thanks! I'll make a new release. -- https://rrt.sc3d.org

Re: hello-2.11 fails multibyte-1 and atexit-1 on musl

2022-01-31 Thread Sergei Trofimovich
On Mon, 31 Jan 2022 11:39:47 + Reuben Thomas wrote: > Thanks very much for the analysis and suggested patch. > > I don't think however that a code change is needed. Arguably, the > correct fix would be to check the return value of wprintf, but in fact > close_stdout() already checks if

Re: hello-2.11 fails multibyte-1 and atexit-1 on musl

2022-01-31 Thread Reuben Thomas
Thanks very much for the analysis and suggested patch. I don't think however that a code change is needed. Arguably, the correct fix would be to check the return value of wprintf, but in fact close_stdout() already checks if there was a previous error on the stream. I think that arbitrarily