mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
* elf/tst-tls13.c (do_test): Avoid using the library path when
looking for tst-tlsmod13a.so.
This commit is contained in:
parent
11f685f5d8
commit
285a709ace
@ -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.
|
||||
|
||||
|
@ -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 ());
|
||||
|
Loading…
Reference in New Issue
Block a user