CVS commit: src/libexec/ld.elf_so

"Taylor R Campbell" <[email protected]> Sat, 18 Jul 2026 05:06:39 +0000
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	riastradh
Date:		Sat Jul 18 05:06:39 UTC 2026

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

Log Message:
ld.elf_so: Fix ASSERT macro in xmalloc.c.

1. Use #p, not "p", in the expansion of #define ASSERT(p), for C as of
   this millennium.

2. Consistently make ASSERT(...) a single expression.

Prompted by enabling MALLOC_DEBUG to track down issues in:

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


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 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.