News for hackers. Stuff that matters.
Re:Stop making Linux distributions, make applications instead by tempodox on Saturday December 09, 2023 @04:16PM (#38586169)
And on a lower level, `fgetwc()` gets crashed deliberately in `libc` when applied to a stream created with `fopencookie()`. It should be incredible, but Linux `libc` is not Unicode-capable in 2023.
Re:Stop making Linux distributions, make applications instead by zlg_codes on Saturday December 09, 2023 @04:33PM (#38586306)
Which libc?

There's glibc, musl libc, etc. Also consider you may be using the functions incorrectly.

Re:Stop making Linux distributions, make applications instead by tempodox on Sunday December 10, 2023 @12:52AM (#38589475)
Seriously? “You're holding it wrong”? Read the comment at the crash site (line 584) yourself:

https://elixir.bootlin.com/glibc/glibc-2.38/source/libio/gen...

Re:Stop making Linux distributions, make applications instead by zlg_codes on Monday December 11, 2023 @08:41AM (#38600539)
I wrote "consider", not "you are without a doubt at fault here". Learn how to read.
Re:Stop making Linux distributions, make applications instead by tripleo1 on Monday December 11, 2023 @02:20PM (#38604192)
He did consider it; You are without a doubt at fault.
Re:Stop making Linux distributions, make applications instead by account42 on Monday December 11, 2023 @12:05PM (#38602321)
Wide chars were a mistake and are not required to support Unicode.