CVSROOT:        /cvs
Module name:    src
Changes by:     dera...@cvs.openbsd.org 2025/05/22 18:40:05

Modified files:
        lib/libc/stdlib: malloc.3 malloc.c 

Log message:
When commons were deprecated, noone noticed that malloc_options in static
binaries had become unlinkable. Change the libc definition to weak to solve
that, and to "const char * const" so that noone will try to set it late.
It must be stable before the first malloc() call, which could be before
main()...
discussion with otto, kettenis, tedu

Reply via email to