Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/tests/libexec/ld.elf_so



Module Name:    src
Committed By:   kre
Date:           Thu Jul 11 01:58:15 UTC 2024

Modified Files:
        src/tests/libexec/ld.elf_so: t_tls_extern.c

Log Message:
Compensate for change in ATF_REQUIRE_MSG

ATF_REQUIRE_MSG() was recently changed so that ATF_REQUIRE_MSG(x = y, ..)
would generate a warning message, as it probably intended to be x == y.

In ATF_REQUIRE_DL() the use is always ATF_REQUIRE_DL(var = dlopen(...), ...)
where the '=' is certainly not intended to be ==, but is instead checking
that the result of dlopen() is not NULL (while also saving it for later).

Alter the definition of ATF_REQUIRE_DL() to make that explicit.

(The s/\t/ / is just for 80 column police avoidance)


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/tests/libexec/ld.elf_so/t_tls_extern.c

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




Home | Main Index | Thread Index | Old Index