summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2014-07-25 13:03:59 +0200
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:27 +0900
commit0b516067cef2b766e4a5a342a589bbc6f1ad7741 (patch)
tree4b6f711e71719f8c89a42a0ada67317fde273a63
parentdceb6df2657c94e6b422850f43c6c6d12554db11 (diff)
downloadltrace-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/library.c b/library.c
index a0cd860..7fb14c1 100644
--- a/library.c
+++ b/library.c
@@ -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. */
{