summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/libdl/dlopen.c
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2001-08-07 17:40:36 +0000
committerMystery Man <unknown@mandriva.org>2001-08-07 17:40:36 +0000
commit068d599562888a36a50e5bbdeb8b70f83fa7c287 (patch)
tree18f5eed8353b3af647412875d438b55ef8c07670 /mdk-stage1/dietlibc/libdl/dlopen.c
parentbe838931607e1ab14c8c699e20dd807b55579f7b (diff)
downloaddrakx-backup-do-not-use-topic/v_webmin_0_87.tar
drakx-backup-do-not-use-topic/v_webmin_0_87.tar.gz
drakx-backup-do-not-use-topic/v_webmin_0_87.tar.bz2
drakx-backup-do-not-use-topic/v_webmin_0_87.tar.xz
drakx-backup-do-not-use-topic/v_webmin_0_87.zip
This commit was manufactured by cvs2svn to create branchtopic/v_webmin_0_87
'v_webmin_0_87'.
Diffstat (limited to 'mdk-stage1/dietlibc/libdl/dlopen.c')
-rw-r--r--mdk-stage1/dietlibc/libdl/dlopen.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/mdk-stage1/dietlibc/libdl/dlopen.c b/mdk-stage1/dietlibc/libdl/dlopen.c
deleted file mode 100644
index 1693d889f..000000000
--- a/mdk-stage1/dietlibc/libdl/dlopen.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#include <fcntl.h>
-#include <dlfcn.h>
-#include <limits.h>
-
-int _dl_search(char*buf, int bufsize, const char*filename);
-void *_dl_open(const char*pathname, int fd, int flag);
-
-void *dlopen (const char *filename, int flag)
-{
- int fd;
- char buf[PATH_MAX];
- const char *p;
- if (*filename=='/')
- fd=open(p=filename,O_RDONLY);
- else {
- p=buf;
- fd=_dl_search(buf,sizeof(buf),filename);
- }
-
- return _dl_open(p,fd,flag);
-}