Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dird: Show the output of dlerror() correctly.
As we use NPRT(dlerror()) we call dlerror() twice while expanding the NPRT() macro and the manual page of dlerror() says: The returned string contains no trailing newline. If no dynamic linking errors have occurred since the last invocation of dlerror(), dlerror() returns NULL. Thus, invoking dlerror() a second time, immediately following a prior invocation, results in NULL being returned.
- Loading branch information
Showing
1 changed file
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters