[haiku-commits] r39306 - haiku/trunk/src/system/runtime_loader

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 4 Nov 2010 22:15:39 +0100 (CET)

Author: bonefish
Date: 2010-11-04 22:15:39 +0100 (Thu, 04 Nov 2010)
New Revision: 39306
Changeset: http://dev.haiku-os.org/changeset/39306

Modified:
   haiku/trunk/src/system/runtime_loader/elf.cpp
Log:
terminate_program(): Call the termination function of all images, not only
of the program image and its transitive dependencies.


Modified: haiku/trunk/src/system/runtime_loader/elf.cpp
===================================================================
--- haiku/trunk/src/system/runtime_loader/elf.cpp       2010-11-04 21:14:09 UTC 
(rev 39305)
+++ haiku/trunk/src/system/runtime_loader/elf.cpp       2010-11-04 21:15:39 UTC 
(rev 39306)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2008-2009, Ingo Weinhold, ingo_weinhold@xxxxxxx
+ * Copyright 2008-2010, Ingo Weinhold, ingo_weinhold@xxxxxxx
  * Copyright 2003-2008, Axel Dörfler, axeld@xxxxxxxxxxxxxxxxx
  * Distributed under the terms of the MIT License.
  *
@@ -910,7 +910,7 @@
        image_t **termList;
        ssize_t count, i;
 
-       count = get_sorted_image_list(gProgramImage, &termList, 
RFLAG_TERMINATED);
+       count = get_sorted_image_list(NULL, &termList, RFLAG_TERMINATED);
        if (count < B_OK)
                return;
 


Other related posts:

  • » [haiku-commits] r39306 - haiku/trunk/src/system/runtime_loader - ingo_weinhold