projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d07e55
)
add RTLD_NODELETE flag for dlopen
author
Rich Felker
<dalias@aerifal.cx>
Thu, 24 Jan 2013 03:18:45 +0000
(22:18 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Thu, 24 Jan 2013 03:18:45 +0000
(22:18 -0500)
this is a trivial no-op, because dlclose never deletes libraries. thus
we might as well have it in the header in case some application wants
it, since we're already providing it anyway.
include/dlfcn.h
patch
|
blob
|
history
diff --git
a/include/dlfcn.h
b/include/dlfcn.h
index 5b57e8acf48f21683b1e08fde0a998c576a18aad..e2f57b5343f842a0073096247cc80ec9bd31df70 100644
(file)
--- a/
include/dlfcn.h
+++ b/
include/dlfcn.h
@@
-10,6
+10,7
@@
extern "C" {
#define RTLD_LAZY 1
#define RTLD_NOW 2
#define RTLD_NOLOAD 4
+#define RTLD_NODELETE 4096
#define RTLD_GLOBAL 256
#define RTLD_LOCAL 0