Hacker News new | past | comments | ask | show | jobs | submit login

"If you want to use the forthcoming portable LibreSSL, you need: [...] modern C string capabilities (strlcat, strlcpy, asprintf, etc)"

This could lead to some fun arguments, since the Ulrich Drepper rejects the idea of strl{cat,cpy}: http://www.sourceware.org/ml/libc-alpha/2000-08/msg00053.htm...




In Linux you can find those functions in libbsd.


That's 14 years ago. Is Drepper involved in anything anymore?

http://www.linkedin.com/in/ulrichdrepper not Red Hat anymore, apparently.


Well, it was WONTFIXed in 2004, which is just ten years ago: https://sourceware.org/bugzilla/show_bug.cgi?id=178

Maybe it's worth reheating the debate?


The new glibc maintainers have very different opinions, and have reversed many WONTFIXes


Or perhaps we ought to drop this junk already. Musl libc implements strlcpy while being a whole lot less bloaty than glibc.


Which is more than a little ridiculous. I've written code for Arduino and even that has strlcat and strlcpy - in fact, I had to fill in replacements for them in order to port the code to run on Linux.


Drepper is consistently wrong.

At least he's consistent.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: