mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
[BZ #116]
Update. * elf/dl-load.c (_dl_map_object): If __RTLD_CALLMAP flag is set, reset loader before the actual loading. * elf/dl-open.c (dl_open_worker): If file name contains no path element determine map of caller. Pass caller map in this case to _dl_map_object. Set __RTLD_CALLMAP in mode. * include/dlfcn.h (__RTLD_CALLMAP): Define. [BZ #116] Patch by Greg Wolodkin <greg@mathworks.com>.
This commit is contained in:
@ -391,8 +391,6 @@ __libc_res_nquerydomain(res_state statp,
|
||||
const char *longname = nbuf;
|
||||
int n, d;
|
||||
|
||||
write(2,"<<aaaa\n",7);
|
||||
|
||||
#ifdef DEBUG
|
||||
if (statp->options & RES_DEBUG)
|
||||
printf(";; res_nquerydomain(%s, %s, %d, %d)\n",
|
||||
@ -423,11 +421,8 @@ __libc_res_nquerydomain(res_state statp,
|
||||
}
|
||||
sprintf(nbuf, "%s.%s", name, domain);
|
||||
}
|
||||
int r = (__libc_res_nquery(statp, longname, class, type, answer,
|
||||
return (__libc_res_nquery(statp, longname, class, type, answer,
|
||||
anslen, answerp));
|
||||
write(2,">>aaaa\n",7);
|
||||
return r;
|
||||
|
||||
}
|
||||
|
||||
int
|
||||
|
Reference in New Issue
Block a user