OSDN Git Service

For now, revert Ronald Wahl's change to dlopen. We need to
authorEric Andersen <andersen@codepoet.org>
Fri, 15 Nov 2002 14:37:59 +0000 (14:37 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 15 Nov 2002 14:37:59 +0000 (14:37 -0000)
look into what is breaking dlclose() further...
 -Erik

ldso/libdl/dlib.c
ldso/libdl/libdl.c

index 6008f8c..a0d3ec8 100644 (file)
@@ -149,7 +149,7 @@ void *_dlopen(const char *libname, int flag)
 #endif
                return NULL;
        }
-       tpnt->libtype = loaded_file;
+       //tpnt->libtype = loaded_file;
 
        dyn_chain = rpnt = (struct dyn_elf *) malloc(sizeof(struct dyn_elf));
        _dl_memset(rpnt, 0, sizeof(*rpnt));
index 6008f8c..a0d3ec8 100644 (file)
@@ -149,7 +149,7 @@ void *_dlopen(const char *libname, int flag)
 #endif
                return NULL;
        }
-       tpnt->libtype = loaded_file;
+       //tpnt->libtype = loaded_file;
 
        dyn_chain = rpnt = (struct dyn_elf *) malloc(sizeof(struct dyn_elf));
        _dl_memset(rpnt, 0, sizeof(*rpnt));