Browse Source

For now, revert Ronald Wahl's change to dlopen. We need to
look into what is breaking dlclose() further...
-Erik

Eric Andersen 21 years ago
parent
commit
3176366da2
2 changed files with 2 additions and 2 deletions
  1. 1 1
      ldso/libdl/dlib.c
  2. 1 1
      ldso/libdl/libdl.c

+ 1 - 1
ldso/libdl/dlib.c

@@ -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));

+ 1 - 1
ldso/libdl/libdl.c

@@ -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));