PR/59751 CVS commit: src/libexec/ld.elf_so

"Taylor R Campbell" <[email protected]>
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
The following reply was made to PR lib/59751; it has been noted by GNATS.

From: "Taylor R Campbell" <[email protected]>
To: [email protected]
Cc: 
Subject: PR/59751 CVS commit: src/libexec/ld.elf_so
Date: Sat, 18 Jul 2026 05:06:39 +0000

 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.