OSDN Git Service

As noted by Doru Petrescu, there was a spurious line that was using
authorEric Andersen <andersen@codepoet.org>
Tue, 20 Jan 2004 18:00:16 +0000 (18:00 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 20 Jan 2004 18:00:16 +0000 (18:00 -0000)
_dl_debug_addr prior to checking if it was NULL.

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

index ebd7b85..b116590 100644 (file)
@@ -288,7 +288,6 @@ void *_dlopen(const char *libname, int flag)
        
 
        /* Notify the debugger we have added some objects. */
-       _dl_debug_addr->r_state = RT_ADD;
        if (_dl_debug_addr) {
                dl_brk = (void (*)(void)) _dl_debug_addr->r_brk;
                if (dl_brk != NULL) {
index ebd7b85..b116590 100644 (file)
@@ -288,7 +288,6 @@ void *_dlopen(const char *libname, int flag)
        
 
        /* Notify the debugger we have added some objects. */
-       _dl_debug_addr->r_state = RT_ADD;
        if (_dl_debug_addr) {
                dl_brk = (void (*)(void)) _dl_debug_addr->r_brk;
                if (dl_brk != NULL) {