[haiku-commits] r41681 - haiku/branches/developer/bonefish/signals/src/system/kernel

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 23 May 2011 15:55:17 +0200 (CEST)

Author: bonefish
Date: 2011-05-23 15:55:17 +0200 (Mon, 23 May 2011)
New Revision: 41681
Changeset: https://dev.haiku-os.org/changeset/41681

Modified:
   haiku/branches/developer/bonefish/signals/src/system/kernel/team.cpp
Log:
job_control_entry assignment operator: Also copy the signaling_user field.
Fixes incorrect values in the si_uid field of the siginfo_t waitid() returns.


Modified: haiku/branches/developer/bonefish/signals/src/system/kernel/team.cpp
===================================================================
--- haiku/branches/developer/bonefish/signals/src/system/kernel/team.cpp        
2011-05-23 13:25:44 UTC (rev 41680)
+++ haiku/branches/developer/bonefish/signals/src/system/kernel/team.cpp        
2011-05-23 13:55:17 UTC (rev 41681)
@@ -2166,12 +2166,13 @@
 {
        state = other.state;
        thread = other.thread;
+       signal = other.signal;
        has_group_ref = false;
+       signaling_user = other.signaling_user;
        team = other.team;
        group_id = other.group_id;
        status = other.status;
        reason = other.reason;
-       signal = other.signal;
 
        return *this;
 }


Other related posts:

  • » [haiku-commits] r41681 - haiku/branches/developer/bonefish/signals/src/system/kernel - ingo_weinhold