apple-oss-distributions/Libc
View on GitHub ↗ ★ 104 C
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2023-10-20 · latest 2025-01-07
20082026
-
…better to be honest, e.g. Apple's Libc has a header with attributes for some common resource types. https://github.com/apple-oss-distributions/Libc/blob/Libc-16...
comment by EPWN3D · 2025-01-07 · in C: Simple Defer, Ready to Use -
…there. The Apple Libc appears to just unconditionally drops the environ lock in the child ( https://github.com/apple-oss-distributions/Libc/blob/c5a3293... ), while glibc doesn't appear to even bother with that (…
comment by manwe150 · 2023-11-20 · in Setenv Is Not Thread Safe and C Doesn't Want to Fix It -
…a potential use-after-free client side. but older versions (from 10.9) don't even have any locking: https://github.com/apple-oss-distributions/Libc/blob/Libc-99...
comment by krackers · 2023-10-20 · in Getaddrinfo() on glibc calls getenv(), oh boy