diff options
author | Petr Machata <pmachata@redhat.com> | 2014-07-25 13:03:59 +0200 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-08-22 20:38:27 +0900 |
commit | 0b516067cef2b766e4a5a342a589bbc6f1ad7741 (patch) | |
tree | 4b6f711e71719f8c89a42a0ada67317fde273a63 | |
parent | dceb6df2657c94e6b422850f43c6c6d12554db11 (diff) | |
download | ltrace-0b516067cef2b766e4a5a342a589bbc6f1ad7741.tar.gz ltrace-0b516067cef2b766e4a5a342a589bbc6f1ad7741.tar.bz2 ltrace-0b516067cef2b766e4a5a342a589bbc6f1ad7741.zip |
Copy struct library.should_activate_latent on clone
- I don't think it makes actual difference, as the only consumer of this
symbol is proc_add_library, and that's not called from proc_clone (the
clone is done by directly iterating the library list). But the code is
more obviously right this way.
-rw-r--r-- | library.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -525,6 +525,7 @@ library_clone(struct library *retp, struct library *lib) library_set_pathname(retp, pathname, lib->own_pathname); retp->key = lib->key; + retp->should_activate_latent = lib->should_activate_latent; /* Clone symbols. */ { |