Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* elf/tst-tls13.c (do_test): Avoid using the library path when
	looking for tst-tlsmod13a.so.
  • Loading branch information
Ulrich Drepper committed Dec 27, 2005
1 parent 11f685f commit 285a709
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
@@ -1,5 +1,8 @@
2005-12-27 Ulrich Drepper <drepper@redhat.com>

* elf/tst-tls13.c (do_test): Avoid using the library path when
looking for tst-tlsmod13a.so.

* stdio-common/tstdiomisc.c: If FLT_EVEL_METHOD is 2 use long
double math to generate NaN results.

Expand Down
6 changes: 3 additions & 3 deletions elf/tst-tls13.c
Expand Up @@ -2,17 +2,17 @@
#include <dlfcn.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>


static int
do_test (void)
{
int i;
for (i = 0; i < 1000;)
for (int i = 0; i < 1000;)
{
printf ("round %d\n",++i);

void *h = dlopen ("tst-tlsmod13a.so", RTLD_LAZY);
void *h = dlopen ("$ORIGIN/tst-tlsmod13a.so", RTLD_LAZY);
if (h == NULL)
{
printf ("cannot load: %s\n", dlerror ());
Expand Down

0 comments on commit 285a709

Please sign in to comment.