Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/regress/usr.bin/rtld/dlerror-cleared use RTLD_NOW now that i...
details: https://anonhg.NetBSD.org/src/rev/46e4f5ed93b5
branches: trunk
changeset: 750771:46e4f5ed93b5
user: christos <christos%NetBSD.org@localhost>
date: Wed Jan 13 20:18:24 2010 +0000
description:
use RTLD_NOW now that it works.
diffstat:
regress/usr.bin/rtld/dlerror-cleared/dlerror-cleared.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 8925ce47f54b -r 46e4f5ed93b5 regress/usr.bin/rtld/dlerror-cleared/dlerror-cleared.c
--- a/regress/usr.bin/rtld/dlerror-cleared/dlerror-cleared.c Wed Jan 13 20:17:21 2010 +0000
+++ b/regress/usr.bin/rtld/dlerror-cleared/dlerror-cleared.c Wed Jan 13 20:18:24 2010 +0000
@@ -12,7 +12,7 @@
* dlopen() call.
*/
handle = dlopen("libnonexistent.so", RTLD_LAZY);
- handle = dlopen("libm.so", RTLD_LAZY);
+ handle = dlopen("libm.so", RTLD_NOW);
error = dlerror();
if (error == NULL)
errx(1, "Failed: dlerror() was cleared by successful dlopen()\n");
Home |
Main Index |
Thread Index |
Old Index