repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Don't crash when dependencies are missing
[glibc.git]
/
elf
/
nodelete2.c
blob
b3d7e31a088853eac1966faad63c150fad8e5344
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include <dlfcn.h>
4
5
int
6
main
(
void
)
7
{
8
void
*
handle
=
dlopen
(
"nodel2mod3.so"
,
RTLD_LAZY
);
9
if
(
handle
==
NULL
)
10
{
11
printf
(
"%s
\n
"
,
dlerror
());
12
exit
(
1
);
13
}
14
dlclose
(
handle
);
15
exit
(
1
);
16
}