diff options
author | Roland McGrath <roland@hack.frob.com> | 2012-10-03 16:13:14 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-10-03 16:13:14 -0700 |
commit | f57f805541562734a40088b8be93e3bc9e86be54 (patch) | |
tree | 8137253002dda45425068fef98c9b7649825c3fb /elf/dl-open.c | |
parent | 8f565a27edb9908e237cbb77c8ffc7824f579f15 (diff) | |
download | glibc-f57f805541562734a40088b8be93e3bc9e86be54.tar.gz glibc-f57f805541562734a40088b8be93e3bc9e86be54.tar.xz glibc-f57f805541562734a40088b8be93e3bc9e86be54.zip |
Clean up conditionalize of ld.so.cache support.
Diffstat (limited to 'elf/dl-open.c')
-rw-r--r-- | elf/dl-open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c index 0bc447aae0..5149e578b1 100644 --- a/elf/dl-open.c +++ b/elf/dl-open.c @@ -654,8 +654,8 @@ no more namespaces available for dlmopen()")); int errcode = _dl_catch_error (&objname, &errstring, &malloced, dl_open_worker, &args); -#ifndef MAP_COPY - /* We must munmap() the cache file. */ +#if defined USE_LDCONFIG && !defined MAP_COPY + /* We must unmap the cache file. */ _dl_unload_cache (); #endif |