From 0b516067cef2b766e4a5a342a589bbc6f1ad7741 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Fri, 25 Jul 2014 13:03:59 +0200 Subject: 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. --- library.c | 1 + 1 file changed, 1 insertion(+) (limited to 'library.c') 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. */ { -- cgit v1.2.3