[ltrace-commits] 13/13: Copy struct library.should_activate_latent on clone

Petr Machata pmachata-guest at moszumanska.debian.org
Fri Jul 25 11:05:30 UTC 2014


This is an automated email from the git hooks/post-receive script.

pmachata-guest pushed a commit to branch master
in repository ltrace.

commit 45efc69b5c1ff10520bb0e41038526a2fe7038db
Author: Petr Machata <pmachata at redhat.com>
Date:   Fri Jul 25 13:03:59 2014 +0200

    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(+)

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.  */
 	{

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/ltrace.git



More information about the ltrace-commits mailing list