CVS commit: src/libexec/ld.elf_so

"Taylor R Campbell" <[email protected]> Sun, 19 Jul 2026 19:55:24 +0000
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	riastradh
Date:		Sun Jul 19 19:55:24 UTC 2026

Modified Files:
	src/libexec/ld.elf_so: xmalloc.c

Log Message:
ld.elf_so: Fix reversed sense of previous change to ASSERT macro.

Had tested the part of the change replacing botch("p") by botch(#p);
then didn't test the change from `if (!(p)) botch(#p)' to
`(__predict_false(p) ?  botch(#p) : (void)0)'.  Oops.

Now I have tested this with MALLOC_DEBUG enabled in ld.elf_so.

PR lib/59751: dlclose is not MT-safe depending on the libraries
unloaded


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/libexec/ld.elf_so/xmalloc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.