#StandardC

2025-06-08

@dalias @ska

Well they *are* making their own versions of those two macros. I'd already read the ostensible rationale for it, and it seemed poor.

They have a problem with their own code's headers having lots of cross-dependencies. (Strong coupling and low cohesion: a long-standing #systemd problem.) That's not a reason for fiddling with the #StandardC library, let alone making one's own FILE and DIR macros.

#musl

2025-06-07

@ska @dalias

I understood Daniel J. Bernstein's avoidance of the Standard C library, especially strings and standard I/O which had been rife with pointer mis-uses for decades.

But this is not that.

Why on Earth would one continue to use stdio but roll one's own version of the GNU C library's FILE and DIR macros?

github.com/systemd/systemd/iss

#StandardC #systemd #musl

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst